Commit Graph

1054 Commits

Author SHA1 Message Date
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 1f36d814ff
f4pga: split_inouts moved from arch-defs (#625) 2022-08-29 18:26:06 +01:00
Krzysztof Boronski 8b04f939d6 generic script wrapper: allow short flag names
Signed-off-by: Krzysztof Boronski <kboronski@antmicro.com>
2022-08-29 12:59:47 +02:00
Krzysztof Boronski ed7d5ec51a Fix relocating files when paths for generic script wrapper are specified explicitely
Signed-off-by: Krzysztof Boronski <kboronski@antmicro.com>
2022-08-29 12:54:20 +02:00
Krzysztof Boronski ee1dace73c Update place module with path resolution that makes more sense
Signed-off-by: Krzysztof Boronski <kboronski@antmicro.com>
2022-08-29 12:52:59 +02:00
Unai Martinez-Corral 6e7c4b3f72 scripts/prepare_environment: remove split_inouts.py from extracted tarballs
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-29 12:19:49 +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 831492aa0d
docs/changes: add 7 (#621) 2022-08-29 11:14:35 +01:00
Unai Martinez-Corral 7c918ab0f0 docs/changes/7: update ref
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-29 12:07:31 +02:00
Unai Martinez-Corral 1b15ba70bb docs/changes/repo_url: handle PR refs
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-29 12:06:30 +02:00
Unai Martinez-Corral eb25aa6b2b docs/changes: add 7
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-29 12:06:30 +02:00
Unai Martinez-Corral a3a15f8cad scripts/prepare_environment: bump arch-defs packages
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-29 12:06:30 +02:00
Unai Martinez-Corral 38ccd7a4ed scripts/prepare_environment: bump arch-defs packages
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-29 12:06:30 +02:00
Unai Martinez-Corral 1c104b4a18 scripts/prepare_environment: bump arch-defs packages
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-29 12:06:30 +02:00
Unai Martinez-Corral be2151878b scripts/prepare_environment: bump arch-defs packages
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-29 12:06:30 +02:00
Unai Martinez-Corral dd94994167 scripts/prepare_environment: bump arch-defs packages
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-29 12:06:30 +02:00
Unai Martinez-Corral 4184daa0c5 scripts/prepare_environment: bump arch-defs packages
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-29 12:06:30 +02:00
Unai Martinez-Corral 820088d955 f4pga/flows/common_modules/io_rename: add missing imports
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-25 06:40:38 +02:00
Unai Martinez-Corral 5a0c3d1a1f f4pga/flows/argparser: cleanup
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-24 20:07:29 +01:00
Krzysztof Boronski 64022f1e77 Override user configuation with CLI options. Allow overriding with None
Signed-off-by: Krzysztof Boronski <kboronski@antmicro.com>
2022-08-24 19:45:20 +01:00
dependabot[bot] 77d5eaeb26
build(deps): bump actions/setup-python from 2 to 4 (#622)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 02:20:38 +00:00
Unai Martinez-Corral 2d8d85706e
use 'black' for Python formatting (#616) 2022-08-19 19:15:11 +02:00
Unai Martinez-Corral 5fdea4bd11 f4pga/flows/common_modules/synth: cleanup
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-19 18:41:19 +02:00
Unai Martinez-Corral 2ccbbbe4e4 f4pga: style
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-19 18:40:23 +02:00
Unai Martinez-Corral b161b69048 ci: add job 'Format'
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-19 18:33:57 +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 e709908bcb f4pga: add pyproject.toml
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-19 18:33:04 +02:00
Unai Martinez-Corral 30eb91feed
f4pga: add submodule 'flows' (#620) 2022-08-19 18:27:36 +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 5a576e64bc f4pga/flows/flow: style 2022-08-19 10:00:17 +02:00
Unai Martinez-Corral 3315f705a3 f4pga/flows: split commands
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-19 10:00:17 +02:00
Unai Martinez-Corral 7ca33a0ca4 f4pga/flows: split Flow
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-19 10:00:17 +02:00
Unai Martinez-Corral c6e0c3bcc6 f4pga/flows: style
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-19 10:00:17 +02:00
Unai Martinez-Corral ebabd6a5a3 f4pga/flows: mv module_inspector.py inspector.py
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-19 10:00:17 +02:00
Unai Martinez-Corral fa77c04e0a f4pga/flows: mv module_runner.py runner.py
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 8eb0441d71
f4pga/setup: same installation regardless of FPGA_FAM (#619) 2022-08-18 11:49:00 +02:00
Unai Martinez-Corral 1bc7804fde f4pga/setup: style
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-17 12:55:22 +02:00
Unai Martinez-Corral cfa9563e90 f4pga/setup: same installation regardless of FPGA_FAM
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-17 12:55:22 +02:00
Tomasz Michalak d54ac407fe
Merge pull request #604 from antmicro/umarcor/tcl
f4pga: yosys TCL wrappers moved from f4pga-arch-defs
2022-08-17 12:28:39 +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 0d451747ad f4pga/common_modules: let VprArgs accept cwd of type Path
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-16 21:15:57 +02:00
Unai Martinez-Corral f4a85507a3
f4pga: do not use wildcard imports (#617) 2022-08-16 19:10:18 +02:00
Unai Martinez-Corral 482dbb854c f4pga/common_modules/generic_script_wrapper: use pathlib.rename instead of shutil.move
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-15 08:17:37 +02:00
Unai Martinez-Corral 5494b5bc62 f4pga/common_modules/synth: use pathlib instead of os.path
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-15 08:17:37 +02:00