diff --git a/litex/build/efinix/common.py b/litex/build/efinix/common.py index f43afb0c6a..28aa62c747 100644 --- a/litex/build/efinix/common.py +++ b/litex/build/efinix/common.py @@ -295,7 +295,8 @@ def __init__(self, platform, io, o1, o2, oe1, oe2, i1, i2, clk): "out_reg" : "DDIO_RESYNC", "out_clk_pin" : clk, "oe_reg" : "REG", - "is_inclk_inverted" : False, + "in_clk_inv" : 0, + "out_clk_inv" : 0, "drive_strength" : io_prop_dict.get("DRIVE_STRENGTH", "4") } platform.toolchain.ifacewriter.blocks.append(block) @@ -333,7 +334,8 @@ def __init__(self, platform, io, o, oe, i, clk): "out_reg" : "REG", "out_clk_pin" : clk, "oe_reg" : "REG", - "is_inclk_inverted" : False, + "in_clk_inv" : 0, + "out_clk_inv" : 0, "drive_strength" : io_prop_dict.get("DRIVE_STRENGTH", "4") } platform.toolchain.ifacewriter.blocks.append(block) @@ -365,7 +367,7 @@ def __init__(self, platform, i, o, clk): "size" : 1, "out_reg" : "REG", "out_clk_pin" : clk, - "is_inclk_inverted" : False, + "out_clk_inv" : 0, "drive_strength" : io_prop_dict.get("DRIVE_STRENGTH", "4") } platform.toolchain.ifacewriter.blocks.append(block) @@ -399,7 +401,7 @@ def __init__(self, platform, i1, i2, o, clk): "size" : 1, "out_reg" : "DDIO_RESYNC", "out_clk_pin" : clk, - "is_inclk_inverted" : False, + "out_clk_inv" : 0, "drive_strength" : io_prop_dict.get("DRIVE_STRENGTH", "4") } platform.toolchain.ifacewriter.blocks.append(block) @@ -460,7 +462,7 @@ def __init__(self, platform, i, o1, o2, clk): "size" : 1, "in_reg" : "DDIO_RESYNC", "in_clk_pin" : clk, - "is_inclk_inverted" : False + "in_clk_inv" : 0 } platform.toolchain.ifacewriter.blocks.append(block) platform.toolchain.excluded_ios.append(platform.get_pin(i))