efinix: ifacewriter: fix in output
fix in OUTPUT Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
This commit is contained in:
parent
d6eec8e76d
commit
70f4a349e5
|
@ -204,7 +204,7 @@ design.create("{2}", "{3}", "./../gateware", overwrite=True)
|
||||||
cmd += 'design.create_output_gpio("{}")\n'.format(name)
|
cmd += 'design.create_output_gpio("{}")\n'.format(name)
|
||||||
cmd += 'design.assign_pkg_pin("{}","{}")\n'.format(name, block["location"][0])
|
cmd += 'design.assign_pkg_pin("{}","{}")\n'.format(name, block["location"][0])
|
||||||
else:
|
else:
|
||||||
cmd += 'design.create_input_gpio("{}",{},0)\n'.format(name, block["size"]-1)
|
cmd += 'design.create_output_gpio("{}",{},0)\n'.format(name, block["size"]-1)
|
||||||
for i, pad in enumerate(block["location"]):
|
for i, pad in enumerate(block["location"]):
|
||||||
cmd += 'design.assign_pkg_pin("{}[{}]","{}")\n'.format(name, i, pad)
|
cmd += 'design.assign_pkg_pin("{}[{}]","{}")\n'.format(name, i, pad)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue