update github workflows to use Makefile for sim

This commit is contained in:
Fischer Moseley 2023-03-08 13:52:13 -05:00
parent f5f7f91bdc
commit 8c645a5115
1 changed files with 2 additions and 11 deletions

View File

@ -1,18 +1,9 @@
name: functional_simulation
on: [push]
jobs:
uart:
all:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo apt install iverilog
- run: iverilog -g2012 -o sim.out test/uart_tb.sv src/manta/uart_tx.sv src/manta/uart_rx.sv
- run: vvp sim.out
fifo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo apt install iverilog
- run: iverilog -g2012 -o sim.out test/fifo_tb.sv src/manta/fifo.sv src/manta/xilinx_true_dual_port_read_first_2_clock_ram.v
- run: vvp sim.out
- run: make sim