Smaller gf180 delay buffer #182
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: test | |
| # either manually started, or on a schedule | |
| on: [ push, workflow_dispatch ] | |
| jobs: | |
| test: | |
| # ubuntu | |
| runs-on: ubuntu-latest | |
| steps: | |
| # need the repo checked out | |
| - name: checkout repo | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| # install oss fpga tools | |
| - name: install oss-cad-suite | |
| uses: YosysHQ/setup-oss-cad-suite@v3 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| python-override: true | |
| - run: | | |
| yosys --version | |
| nextpnr-ice40 --version | |
| `cocotb-config --python-bin` -m pip install cocotb~=1.8.0 | |
| `cocotb-config --python-bin` -m pip install riscv-model~=0.6.6 | |
| cocotb-config --libpython | |
| cocotb-config --python-bin | |
| - name: run tests | |
| run: | | |
| cd test && make | |
| # make will return success even if the test fails, so check for failure in the results.xml | |
| ! grep failure *results.xml | |
| - name: run verification | |
| run: | | |
| cd verify && ./verify.sh | |
| - name: upload vcd | |
| if: success() || failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-vcd | |
| path: | | |
| test/*.vcd | |
| test/*results.xml |