Skip to content

Commit

Permalink
efinix: ifacewriter: add in_clk_inv for GPIO INPUT block
Browse files Browse the repository at this point in the history
add `in_clk_inv` for GPIO INPUT block.

Signed-off-by: Fin Maaß <[email protected]>
  • Loading branch information
maass-hamburg committed Sep 26, 2024
1 parent 10ab1b7 commit 2c35367
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions litex/build/efinix/ifacewriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ def generate_gpio(self, block, verbose=True):
cmd += f'design.set_property("{name}","IN_CLK_PIN","{in_clk_pin}")\n'
if "in_delay" in block:
cmd += f'design.set_property("{name}","INDELAY","{block["in_delay"]}")\n'
if "in_clk_inv" in block:
cmd += f'design.set_property("{name}","IS_INCLK_INVERTED","{block["in_clk_inv"]}")\n'
if prop:
for p, val in prop:
cmd += 'design.set_property("{}","{}","{}")\n'.format(name, p, val)
Expand Down

0 comments on commit 2c35367

Please sign in to comment.