1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-15 16:11:33 +00:00

himbaechel: Add discovery of uarch and chipdb

Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
gatecat
2023-09-12 17:29:26 +02:00
committed by myrtle
parent 3cac90a30a
commit 565927dfcc
12 changed files with 332 additions and 94 deletions

View File

@@ -12,7 +12,8 @@ function build_nextpnr {
# We'd ideally use pypy3 for speed (as works locally), but the version
# our CI Ubuntu provides doesn't like some of the typing stuff
python3 ../himbaechel/uarch/example/example_arch_gen.py ./example.bba
./bba/bbasm --l ./example.bba ./example.bin
mkdir -p share/himbaechel/example
./bba/bbasm --l ./example.bba share/himbaechel/example/example.bin
popd
}
@@ -22,6 +23,6 @@ function run_tests {
function run_archcheck {
pushd build
./nextpnr-himbaechel --uarch example --chipdb ./example.bin --test
./nextpnr-himbaechel --device EXAMPLE --test
popd
}