Commit Graph

88 Commits

Author SHA1 Message Date
Unai Martinez-Corral ce0c29bddb
f4pga/wrappers/tcl: combine 'conv.*.tcl' into 'synth.*.tcl' (#633)
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-09-06 23:50:29 +02:00
Pawel Czarnecki 236b07be5d f4pga/utils: all python scripts moved from quicklogic arch-defs tarballs
Co-Authored-By: Unai Martinez-Corral <umartinezcorral@antmicro.com>
Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
2022-09-06 22:07:14 +02:00
Unai Martinez-Corral 873ea7e61b f4pga/utils: all python scripts moved from xc7 arch-defs tarballs
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-30 04:47:52 +02:00
Unai Martinez-Corral b90682d1a2 f4pga/wrappers/sh: call p_vpr_run directly
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-29 19:29:09 +02:00
Unai Martinez-Corral 23557375fd f4pga/wrappers/sh/generate_bitstream: convert arg parser from shell to python
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-29 19:29:09 +02:00
Unai Martinez-Corral eaed7ea8ad f4pga/wrappers/sh: pass F4PGA_SHARE_DIR to synth and ql only
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-29 19:29:09 +02:00
Unai Martinez-Corral cd88d6e1a6 f4pga/wrappers/sh/fasm2bels: convert arg parser from shell to python
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-29 19:29:09 +02:00
Unai Martinez-Corral 419da03f68 f4pga/wrappers/sh/synth: handle some envvars in python
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-29 19:29:07 +02:00
Unai Martinez-Corral 3c35010893 f4pga/wrappers/sh: use F4PGA_SHARE_DIR in python, instead of shell
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-29 19:28:17 +02:00
Unai Martinez-Corral 182d7f32b7
f4pga/wrappers/sh: convert vpr_common shell scripts to python (#626)
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-29 19:27:00 +02:00
Unai Martinez-Corral 947b0807a0 f4pga: split_inouts moved from arch-defs
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-29 12:19:49 +02:00
Unai Martinez-Corral e098aee540 f4pga: run black
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-19 18:33:52 +02:00
Unai Martinez-Corral f8e0f65b48 f4pga: F4PGA_INSTALL_DIR is optional
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-19 10:00:17 +02:00
Unai Martinez-Corral b6f8fe83dc f4pga: add submodule 'flows'
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-19 10:00:17 +02:00
Unai Martinez-Corral c1c612b575 f4pga: yosys TCL wrappers moved from f4pga-arch-defs
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-16 23:58:30 +02:00
Unai Martinez-Corral e0ffd4e094 f4pga/wrappers/sh/vpr_common: remove function parse_args
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:59 +02:00
Unai Martinez-Corral cb7f555511 f4pga/wrappers/sh/quicklogic/ql: remove redundant condition
Co-Authored-By: Pawel Czarnecki <pczarnecki@antmicro.com>
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:59 +02:00
Unai Martinez-Corral 453fffea4e f4pga/wrappers/sh: cleanup
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:59 +02:00
Unai Martinez-Corral 6dc738fd3d f4pga/setup: rm vpr_common
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:59 +02:00
Unai Martinez-Corral 9dc9d6cb98 f4pga/wrappers/sh: cleanup
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:59 +02:00
Unai Martinez-Corral a6f4fbd481 f4pga/wrappers/sh/quicklogic: rm generate_constraints.f4pga.sh
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:59 +02:00
Unai Martinez-Corral 3ae5760017 f4pga/wrappers/sh/generate_constraints: cleanup; rm symbiflow_generate_constraints
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:59 +02:00
Unai Martinez-Corral b33e80dbb6 f4pga/wrappers/sh/vpr_run: convert to Python only
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:59 +02:00
Unai Martinez-Corral 77ea3b96ae f4pga/wrappers/sh: add vpr_run
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:59 +02:00
Unai Martinez-Corral 1c94ac60a6 f4pga/wrappers/sh/vpr_common: style
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:59 +02:00
Unai Martinez-Corral 8dc2c18038 f4pga/wrappers/sh: cleanup
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:59 +02:00
Unai Martinez-Corral 66d69b237a f4pga/wrappers/sh/xc7: rm generate_constraints.f4pga.sh
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:59 +02:00
Unai Martinez-Corral dd52188179 f4pga/wrappers/sh: rm place.f4pga.sh
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:58 +02:00
Unai Martinez-Corral 30a2aa5b54 f4pga/wrappers/sh: remove unused function
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:58 +02:00
Unai Martinez-Corral 68139d14db f4pga/wrappers/sh/xc7: rm write_bitstream.f4pga.sh
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:58 +02:00
Unai Martinez-Corral 7b597d43cf f4pga/wrappers/sh: rm route.f4pga.sh
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:58 +02:00
Unai Martinez-Corral 52c27abd57 f4pga/wrappers/sh/quicklogic: rm repack.f4pga.sh
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:58 +02:00
Unai Martinez-Corral 5d0642249d f4pga/wrappers/sh/quicklogic: rm fasm2bels.f4pga.sh
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:58 +02:00
Unai Martinez-Corral dab5de2d1f f4pga/wrappers/sh/quicklogic: rm generate_bitstream.f4pga.sh
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:58 +02:00
Unai Martinez-Corral 45020ee7a6 f4pga/wrappers/sh/generate_libfile: cleanup
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:58 +02:00
Unai Martinez-Corral 8720c4ff25 f4pga/wrappers/sh/quicklogic: rm generate_libfile.f4pga.sh
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:58 +02:00
Unai Martinez-Corral de504b9930 f4pga/wrappers/sh/quicklogic: rm analysis.f4pga.sh
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:58 +02:00
Unai Martinez-Corral 20171e4d1e f4pga/wrappers/sh/fasm: use Path instead of bash's mv
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:58 +02:00
Unai Martinez-Corral 315ffd2df2 f4pga/wrappers/sh: merge 'genfasm' into 'write_fasm'
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:58 +02:00
Unai Martinez-Corral a74239fb35 f4pga/wrappers/sh/pack: use Path instead of bash's mv
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:58 +02:00
Unai Martinez-Corral 918e8a6c2d f4pga/wrappers/sh: add helper func 'vpr_common_cmds'
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:58 +02:00
Unai Martinez-Corral 0b6432d0eb f4pga/wrappers/sh: add helper func 'run_bash_cmds'
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:58 +02:00
Unai Martinez-Corral 1d36340eeb f4pga/wrappers/sh: rm write_fasm.f4pga.sh
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:57 +02:00
Unai Martinez-Corral 5d01306eb1 f4pga/wrappers/sh/xc7: rm write_xml_rr_graph.f4pga.sh
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:57 +02:00
Unai Martinez-Corral 0e93d141c2 f4pga/wrappers/sh/xc7/vpr_common: style
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:57 +02:00
Unai Martinez-Corral e6fa4ebf28 f4pga/wrappers/sh: convert genfasm.f4pga.sh into a Python function
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:57 +02:00
Unai Martinez-Corral 20b64d9506 f4pga/wrappers/sh: add genfasm.f4pga.sh
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:57 +02:00
Unai Martinez-Corral ee80ab8dc6 f4pga/wrappers/sh/xc7: cleanup
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:57 +02:00
Unai Martinez-Corral ba7fec4bde f4pga/wrappers: rm pack.f4pga.sh
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:02:57 +02:00
Unai Martinez-Corral 8a5db23271
f4pga/wrappers/sh/xc7/vpr_common: use '--' to separate additional VPR options (#614)
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-14 14:00:40 +02:00