Commit Graph

774 Commits

Author SHA1 Message Date
Unai Martinez-Corral 7404c82127 ci: add License-check
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-05-31 15:13:06 +02:00
Tomasz Michalak 297978cb82
Merge pull request #566 from antmicro/umarcor/envvars
f4pga/wrappers/sh: do not require F4PGA_ENV_* envvars as long as F4PGA_INSTALL_DIR is defined
2022-05-31 08:11:56 +02:00
Unai Martinez-Corral a7d5a28486 test: wrappers without F4PGA_INSTALL_DIR (exception expected)
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-05-30 23:41:17 +02:00
Unai Martinez-Corral e3bc36fa1d f4pga/wrappers/sh: raise exception if F4PGA_INSTALL_DIR is undefined
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-05-30 23:41:17 +02:00
Unai Martinez-Corral b51e8e3a0c f4pga/wrappers/sh: do not require F4PGA_ENV_* envvars as long as F4PGA_INSTALL_DIR is defined
Create them and pass a custom env to run_sh

Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-05-30 23:41:17 +02:00
Tomasz Michalak 3b7ba9b15a
Merge pull request #568 from antmicro/remove-platform
Remove platform option
2022-05-30 16:15:59 +02:00
Krzysztof Boronski 04b882d924 Update docs
Signed-off-by: Krzysztof Boronski <kboronski@antmicro.com>
2022-05-27 08:01:25 -05:00
Krzysztof Boronski fac1dbbce7 Update CI tests
Signed-off-by: Krzysztof Boronski <kboronski@antmicro.com>
2022-05-27 07:59:48 -05:00
Krzysztof Boronski 63bc565a1a Remove platform option
Signed-off-by: Krzysztof Boronski <kboronski@antmicro.com>
2022-05-27 06:57:30 -05:00
Unai Martinez-Corral 42fc3f8627 Symbicache fix and documentation typos (#567) 2022-05-27 00:36:36 +02:00
Adam Taylor 8f13538200 Fixed two minor documentation typos 2022-05-24 13:03:40 -06:00
Adam Taylor 13182ef89a Don't wrap JSON Symbicache hashes in string
This fixes a bug where the hashes were being read in from the file as a string, which throws a runtime error because the Symbicache stores the hashes as a dictionary as opposed to a single string
2022-05-24 12:59:54 -06:00
Unai Martinez-Corral 9b140e9d34
Revert "f4pga/platforms/xc7a50t: override the path to arty.xdc" (#563) 2022-05-24 20:18:45 +02:00
Unai Martinez-Corral daab4b3c02 ci/sftest: provide path to xdc files
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-05-24 20:01:45 +02:00
Unai Martinez-Corral 4cc9a68399 Revert "f4pga/platforms/xc7a50t: override the path to arty.xdc"
This reverts commit ba3a9d925e.

Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-05-24 20:00:58 +02:00
Unai Martinez-Corral 186ca3862f test: f4pga-* wrappers were removed in 22910261
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-05-22 18:50:09 +02:00
Unai Martinez-Corral a4ff811f4e
test: enable pytest to automatically discover tests (#559) 2022-05-22 16:14:39 +02:00
Xiretza a7386c6e9c fix(tests): allow pytest to automatically discover tests
By default, pytest only looks for modules named test_*.
2022-05-22 14:44:49 +02:00
Tomasz Michalak a6f19c029f
Merge pull request #530 from antmicro/umarcor/add-pyFPGA
Add sfbuild|pyF4PGA
2022-05-17 11:57:56 +02:00
Unai Martinez-Corral 697932e21f docs: theme s/SymbiFlow/F4PGA/
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-05-12 20:04:31 +02:00
Unai Martinez-Corral a3d6829af5 ci: rm pip option --use-feature=in-tree-build 2022-05-12 19:58:59 +02:00
Krzysztof Boronski 080a59884a Spelling corrections
Signed-off-by: Krzysztof Boronski <kboronski@antmicro.com>
2022-05-11 08:14:50 -05:00
Krzysztof Boronski 3f5202d2ba f4pga docs: Updated platform support list
Signed-off-by: Krzysztof Boronski <kboronski@antmicro.com>
2022-05-11 07:50:07 -05:00
Krzysztof Boronski 100367b134 f4pga: Update usage commands and fix small errors in docs
Signed-off-by: Krzysztof Boronski <kboronski@antmicro.com>
2022-05-06 12:42:36 -05:00
Krzysztof Boronski ea14047a29 f4pga: remove unused arguments
Signed-off-by: Krzysztof Boronski <kboronski@antmicro.com>
2022-05-06 12:41:45 -05:00
Krzysztof Boronski c763733b8b Update docs and replace some references to sfbuild/symbiflow with f4pga
Signed-off-by: Krzysztof Boronski <kboronski@antmicro.com>
2022-05-06 10:58:44 -05:00
Krzysztof Boronski 1e82b22bb5 f4pga: Update f4pga/setupy.py to not install removed code
Signed-off-by: Krzysztof Boronski <kboronski@antmicro.com>
2022-05-06 06:46:50 -05:00
Krzysztof Boronski eb195d2135 f4pga: Remove some dead code and refactor flow_config.py
Signed-off-by: Krzysztof Boronski <kboronski@antmicro.com>
2022-05-06 06:44:11 -05:00
Krzysztof Boronski 2291026181 f4pga: Remove irrelevant old prototype code
Signed-off-by: Krzysztof Boronski <kboronski@antmicro.com>
2022-05-06 06:00:12 -05:00
Unai Martinez-Corral 9d169a44af add tests with pytest
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-26 12:16:38 +02:00
Unai Martinez-Corral 636da72d32 f4pga: cleanup and style
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-26 12:16:38 +02:00
Unai Martinez-Corral 26fb1d63b0 f4pga: mv part_db/parts.json part_db.json
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-26 12:16:38 +02:00
Unai Martinez-Corral d0641bdf53 f4pga/wrappers/xc7
* move helpers from common to __init__
* merge write_fasm, route and place into __init__
* rename common to vpr
* synth: style
* write_fasm: style

Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-26 12:16:38 +02:00
Unai Martinez-Corral dc58d412b9 mv python toolchain wrappers into f4pga
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-26 12:16:38 +02:00
Unai Martinez-Corral 382e09b307 ci: merge workflow pyF4PGA into Pipeline
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-26 12:16:38 +02:00
Unai Martinez-Corral c44a0e164c f4pga: rm sf_ prefixes
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-26 12:16:37 +02:00
Unai Martinez-Corral fcb4ce8811 f4pga: merge sfbuild into __init__
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-26 12:16:37 +02:00
Unai Martinez-Corral 920d1d5ec3 f4pga: test pyF4PGA in CI
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-26 12:16:37 +02:00
Unai Martinez-Corral 22003c2f49 ci: make examples env
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-26 12:16:37 +02:00
Unai Martinez-Corral c13d6fc6eb ci: add sftest.json
Authored-By: Krzysztof Boronski <kboronski@internships.antmicro.com>
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-26 12:16:37 +02:00
Unai Martinez-Corral f58637f3d4 ci: test f4pga|sfbuild
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-26 12:16:37 +02:00
Unai Martinez-Corral 849d3efd48 ci: add GitHub Actions workflow 'pyFPGA'
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-26 12:16:37 +02:00
Unai Martinez-Corral eeac9239d7 f4pga: rename single file modules
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-26 12:16:37 +02:00
Unai Martinez-Corral ba3a9d925e f4pga/platforms/xc7a50t: override the path to arty.xdc
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-26 12:16:37 +02:00
Unai Martinez-Corral 72913daac2 f4pga/sfbuild: get INSTALL_DIR from environ
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-26 12:16:37 +02:00
Unai Martinez-Corral 898eab8232 f4pga/module_runner: import importlib.util explicitly
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-26 12:16:37 +02:00
Unai Martinez-Corral 3ab6f2b10d f4pga: add requirements.txt
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-26 12:16:37 +02:00
Unai Martinez-Corral f00ff8924d docs: s/sfbuild/f4pga/
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-26 12:16:37 +02:00
Unai Martinez-Corral 2ba01e787a docs/f4pga: reorganise, add scope and references
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-26 12:16:37 +02:00
Unai Martinez-Corral 1b304a4271 docs: use MyST instead of recommonmark
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-26 12:16:37 +02:00