Skip to content

Commit 180dfef

Browse files
yrabbitpepijndevos
andauthored
Modify CI to generate Himbaechel bases, build and test Himbaechel examples (#197)
* WIP not for merge just testing examples and bases Signed-off-by: YRabbit <[email protected]> * wip * wip * wip * wip * wip * wip * wip * wip * test-bins * test-bins * test-bins-upnpacked * test-bins-upnpacked * test-bins-upnpacked * no-python * Prepare to restore full fuctionality * Enable all legacy checks Signed-off-by: YRabbit <[email protected]> * reenable matrix --------- Signed-off-by: YRabbit <[email protected]> Co-authored-by: Pepijn de Vos <[email protected]>
1 parent ee1ce5d commit 180dfef

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

Diff for: .github/workflows/chipdb.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,13 @@ jobs:
301301
sudo make install
302302
cd ../nextpnr
303303
git checkout ${{ matrix.nextpnr }}
304-
cmake . -DARCH="gowin;himbaechel"
304+
cmake . -DBUILD_PYTHON=OFF -DARCH="gowin;himbaechel" -DHIMBAECHEL_GOWIN_DEVICES="GW1N-1;GW1NZ-1;GW1N-4;GW1N-9;GW1N-9C;GW1NS-4;GW2A-18;GW2A-18C" -DPython3_EXECUTABLE=/opt/hostedtoolcache/Python/3.9.17/x64/bin/python
305305
make -j$(nproc)
306306
sudo make install
307307
cd ../examples
308308
make -j$(nproc) all
309+
cd himbaechel
310+
make -j$(nproc) -f Makefile.himbaechel all
309311
- name: Archive artifact
310312
uses: actions/upload-artifact@v3
311313
with:
@@ -314,7 +316,12 @@ jobs:
314316
- name: Do sanity check
315317
run: |
316318
cd examples
317-
make unpacked
319+
make -j$(nproc) unpacked
318320
for f in *-unpacked.v; do
319-
yosys -p "read_verilog $f; read_verilog -lib +/gowin/cells_sim.v; clean -purge; select -assert-any t:DFF*; select -assert-any t:LUT*; select -assert-any t:*BUF;";
321+
yosys -p "read_verilog $f; read_verilog -lib +/gowin/cells_sim.v; clean -purge; select -assert-any t:DFF*; select -assert-any t:*BUF;";
322+
done
323+
cd himbaechel
324+
make -j$(nproc) -f Makefile.himbaechel unpacked
325+
for f in *-unpacked.v; do
326+
yosys -p "read_verilog $f; read_verilog -lib +/gowin/cells_sim.v; clean -purge; select -assert-any t:DFF*; select -assert-any t:*BUF;";
320327
done

0 commit comments

Comments
 (0)