Skip to content

run examples

run examples #41

Workflow file for this run

name: run-examples
run-name: run examples
on: [push]
jobs:
build-and-run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install packages
run: sudo apt-get install ghdl-gcc verilator
- name: Check GHDL version
run: ghdl --version
- name: Check Verilator version
run: verilator --version
- name: run example wr-cores
run: cd examples/wr-cores; git submodule init; git submodule update; cd wr-cores; git apply ../wr-cores.patch; git submodule init; git submodule update; cd ..; make testbench; ghdl -r testbench --max-stack-alloc=524288 --stop-time=10us --ieee-asserts=disable; cd ..
- name: run example vhd_v_counter
run: make -C examples/vhd_v_counter
- name: run example m-labs-lm32
run: make -C examples/m-labs-lm32
- name: run example two_modules_16bit
run: make -C examples/two_modules PORTSIZE=16
- name: run example two_modules_32bit
run: make -C examples/two_modules clean; make -C examples/two_modules PORTSIZE=32
- name: run example two_modules_48bit
run: make -C examples/two_modules clean; make -C examples/two_modules PORTSIZE=48
- name: run example two_modules_64bit
run: make -C examples/two_modules clean; make -C examples/two_modules PORTSIZE=64
- name: run example two_modules_96bit
run: make -C examples/two_modules clean; make -C examples/two_modules PORTSIZE=96
- name: run example two_modules_128bit
run: make -C examples/two_modules clean; make -C examples/two_modules PORTSIZE=128
- name: run example two_modules_136bit
run: make -C examples/two_modules clean; make -C examples/two_modules PORTSIZE=136
- name: run example serv
run: make -C examples/serv
- name: run example ibex
run: make -C examples/ibex