
Primarily, this commit makes both of them use the `BBAsm` functions to build and compile `.bba` files. In addition, Himbaechel targets are now aligned with the rest in how they are configured: instead of having all uarches enabled with all of the devices disabled (the opposite of the rest of nextpnr), uarches must be enabled explicitly but they come with all devices enabled (except for Xilinx, which does not have a list of devices).
24 lines
409 B
Bash
24 lines
409 B
Bash
#!/bin/bash
|
|
|
|
function get_dependencies {
|
|
:
|
|
}
|
|
|
|
function build_nextpnr {
|
|
mkdir build
|
|
pushd build
|
|
cmake .. -DARCH=himbaechel -DHIMBAECHEL_UARCH=example -DHIMBAECHEL_EXAMPLE_DEVICES=example
|
|
make nextpnr-himbaechel chipdb-himbaechel-example -j`nproc`
|
|
popd
|
|
}
|
|
|
|
function run_tests {
|
|
:
|
|
}
|
|
|
|
function run_archcheck {
|
|
pushd build
|
|
./nextpnr-himbaechel --device EXAMPLE --test
|
|
popd
|
|
}
|