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

@@ -32,6 +32,9 @@ full_sim: $(TARGET) $(SD_IMAGE)
mapper_tb: $(SRCS) $(TBS)
iverilog -g2005-sv $(FLAGS) -s $@ -o $@ $(INC) $(SRCS) $(TBS)
mapper_code_tb: $(SRCS) $(TBS) $(INIT_MEM)
iverilog -g2005-sv $(FLAGS) -s $@ -o $@ $(INC) $(SRCS) $(TBS)
$(TARGET): $(INIT_MEM) $(SRCS)
iverilog -g2005-sv $(FLAGS) -s $(TOP_MODULE) -o $(TARGET) $(INC) $(SRCS)