Commit 0a020813 authored by Andrey Filippov's avatar Andrey Filippov

Added early reset to MMCM to mitigate unisims change between versions

parent b5b8661b
......@@ -647,6 +647,16 @@ class X393SensCmprs(object):
self.x393Sensor.set_sensor_io_width(
num_sensor = num_sensor, # input [1:0] num_sensor;
width = 0) # Or use 0 for sensor-generated HACT input [15:0] width; # 0 - use HACT, >0 - generate HACT from start to specified width
self.x393Sensor.set_sensor_io_ctl (
num_sensor = num_sensor,
mrst = False,
arst = False,
aro = False,
mmcm_rst = True, #reset mmcm
clk_sel = None, #Dealing with Unisims bug: "Error: [Unisim MMCME2_ADV-4] Input clock can only be switched when..."
set_delays = False,
quadrants = None)
self.x393Sensor.set_sensor_io_ctl (
num_sensor = num_sensor,
mrst = False,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment