mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
efinix: add gpio MIPI_CLKIN to ifacewriter
This commit is contained in:
parent
55268af279
commit
2174a9219b
1 changed files with 5 additions and 0 deletions
|
@ -174,6 +174,11 @@ design.create("{2}", "{3}", "./../gateware", overwrite=True)
|
|||
cmd += "\n"
|
||||
return cmd
|
||||
|
||||
if mode == "MIPI_CLKIN":
|
||||
cmd += 'design.create_mipi_input_clock_gpio("{}")\n'.format(name)
|
||||
cmd += 'design.assign_pkg_pin("{}","{}")\n\n'.format(name, block["location"])
|
||||
return cmd
|
||||
|
||||
if mode == "OUTPUT_CLK":
|
||||
cmd += 'design.create_clockout_gpio("{}")\n'.format(name)
|
||||
cmd += 'design.set_property("{}","OUT_CLK_PIN","{}")\n'.format(name, name)
|
||||
|
|
Loading…
Reference in a new issue