Skip to content

Commit

Permalink
Add Verilator build as action
Browse files Browse the repository at this point in the history
  • Loading branch information
marnovandermaas committed May 17, 2024
1 parent d2faed3 commit 88c1fb0
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/verilator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Verilator

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt install verilator libelf-dev
pip install -r python-requirements.txt
- name: Build simulator
run: |
fusesoc --cores-root=. run --target=sim --tool=verilator --setup --build lowrisc:sonata:system --verilator_options="+define+RVFI"

0 comments on commit 88c1fb0

Please sign in to comment.