Merge pull request #1138 from fjullien/efinix_add_ifacewriter_mipi_clkin
efinix: add gpio MIPI_CLKIN to ifacewriter
This commit is contained in:
commit
72126f90a0
|
@ -174,6 +174,11 @@ design.create("{2}", "{3}", "./../gateware", overwrite=True)
|
||||||
cmd += "\n"
|
cmd += "\n"
|
||||||
return cmd
|
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":
|
if mode == "OUTPUT_CLK":
|
||||||
cmd += 'design.create_clockout_gpio("{}")\n'.format(name)
|
cmd += 'design.create_clockout_gpio("{}")\n'.format(name)
|
||||||
cmd += 'design.set_property("{}","OUT_CLK_PIN","{}")\n'.format(name, name)
|
cmd += 'design.set_property("{}","OUT_CLK_PIN","{}")\n'.format(name, name)
|
||||||
|
|
Loading…
Reference in New Issue