24 lines
714 B
YAML
24 lines
714 B
YAML
name: functional_simulation
|
|
on: [push]
|
|
jobs:
|
|
uart:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: sudo apt install iverilog
|
|
- run: iverilog -g2012 -o sim.out test/uart_tb.sv src/uart_tx.sv src/uart_rx.sv
|
|
- run: vvp sim.out
|
|
|
|
fifo:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: sudo apt install iverilog
|
|
- run: iverilog -g2012 -o sim.out test/fifo_tb.sv src/fifo.sv src/xilinx_true_dual_port_read_first_2_clock_ram.v
|
|
- run: vvp sim.out |