Add code testbench

This commit is contained in:
Byron Lathi
2023-10-21 17:06:23 -07:00
parent 4b415ed2ba
commit 5f863c9857
3 changed files with 212 additions and 1 deletions

View File

@@ -129,4 +129,19 @@ mapper sim:
- cd hw/efinix_fpga/simulation
- make clean
- make mapper_tb
- ./mapper_tb
- ./mapper_tb
mapper_code sim:
tags:
- linux
- iverilog
stage: simulate
artifacts:
paths:
- hw/efinix_fpga/simulation/mapper_code_tb.vcd
script:
- source init_env.sh
- cd hw/efinix_fpga/simulation
- make clean
- TEST_PROGRAM_NAME=mapper_test make mapper_code_tb
- ./mapper_code_tb