Commit Graph

1071 Commits

Author SHA1 Message Date
Unai Martinez-Corral df95a8a987
f4pga/utils: all python scripts moved from quicklogic arch-defs tarballs (#613) 2022-09-06 22:29:25 +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 cf35028b0a scripts/prepare_environment: remove all python scripts from arch-defs packages
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-09-06 05:22:18 +02:00
Unai Martinez-Corral e6b7f346ce f4pga/utils/xc7/create_place_constraints: fix reading stdout of subprocess_run
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-09-06 05:14:27 +02:00
Unai Martinez-Corral 153ba52cc3
docs/how: fix link to f4pga-arch-defs repo (#632) 2022-09-05 17:43:42 +02:00
Ezra Thomas aa6e78e662
Fixed broken link to f4pga-arch-defs repo. 2022-09-05 11:35:27 -04:00
Unai Martinez-Corral 2829f61ee9 f4pga/utils/xc7/create_ioplace: pcf is a path, not a TextIOWrapper
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-09-02 03:30:38 +02:00
Unai Martinez-Corral 9946ed7f3d
f4pga/utils: all python scripts moved from xc7 arch-defs tarballs (#631) 2022-08-30 13:12:49 +01:00
Unai Martinez-Corral f88054c0a2 scripts/prepare_environment: remove all the python scripts included in xc7 arch-defs tarballs
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-30 04:47:52 +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 de9ed1f3db f4pga/flows/common_modules/generic_script_wrapper: support script params of type list
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-30 01:06:45 +02:00
Unai Martinez-Corral a9b7ac7c3d
f4pga/flows: override user configuration with CLI options; allow overriding with None (#609) 2022-08-29 18:53:59 +01:00
Unai Martinez-Corral 7dcefb2757
f4pga/flows/common_modules/generic_script_wrapper: allow short flag names (#629) 2022-08-29 18:50:55 +01:00
Unai Martinez-Corral cfe69b69e9
f4pga/flows/common_modules/generic_script_wrapper: fix relocating files when paths are specified explicitely (#628) 2022-08-29 18:49:16 +01:00
Unai Martinez-Corral 306f916795
f4pga/flows/common_modules/place: update with path resolution that makes more sense (#627) 2022-08-29 18:47:01 +01:00
Unai Martinez-Corral 1efe0d27f0
f4pga/wrappers/sh: convert shell to python (#630) 2022-08-29 18:43:51 +01: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 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