[Dependabot]: Bump neorv32 from 392be15
to 0ac472f
#704
Workflow file for this run
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: 'neorv32-verilog check' | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 0 * * 5' | |
workflow_dispatch: | |
jobs: | |
convert: | |
name: '♻️ Convert to Verilog' | |
runs-on: ubuntu-latest | |
steps: | |
- name: '📂 Repository Checkout' | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: '📦 Install GHDL' | |
uses: ghdl/setup-ghdl@v1 | |
with: | |
version: nightly | |
backend: mcode | |
- name: '⚙️ Run conversion' | |
run: /bin/bash -c "chmod u+x $GITHUB_WORKSPACE/src/convert.sh && $GITHUB_WORKSPACE/src/convert.sh" | |
- name: '📤 Archive generated Verilog code' | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: neorv32_verilog_wrapper | |
path: src/neorv32_verilog_wrapper.v | |
sim_iverilog: | |
name: '🖥️ Simulation - Icarus Verilog' | |
needs: convert | |
runs-on: ubuntu-latest | |
steps: | |
- name: '📂 Repository Checkout' | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: '📂 Checkout Conversion Artifact' | |
uses: actions/download-artifact@v4 | |
with: | |
name: neorv32_verilog_wrapper | |
path: src | |
- name: '📦 Install Icarus Verilog' | |
run: sudo apt install iverilog | |
- name: '⚙️ Run Simulation' | |
run: | | |
cd $GITHUB_WORKSPACE | |
ls -al src | |
make -C sim SIM=icarus | tee iverilog.log | |
grep 'Simulation successful!' iverilog.log | |
sim_verilator: | |
name: '🖥️ Simulation - Verilator' | |
needs: convert | |
runs-on: ubuntu-latest | |
steps: | |
- name: '📂 Repository Checkout' | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: '📂 Checkout Conversion Artifact' | |
uses: actions/download-artifact@v4 | |
with: | |
name: neorv32_verilog_wrapper | |
path: src | |
- name: '📦 Install Verilator' | |
run: sudo apt install verilator | |
- name: '⚙️ Run Simulation' | |
run: | | |
cd $GITHUB_WORKSPACE | |
ls -al src | |
make -C sim SIM=verilator | tee verilator.log | |
grep 'Simulation successful!' verilator.log |