Start spi controller and tb

This commit is contained in:
Byron Lathi
2023-07-21 22:10:39 -07:00
parent 6706cc502e
commit 85f12c75f1
5 changed files with 158 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
TARGETS= timer interrupt_controller
TARGETS= timer interrupt_controller spi_controller
TB=$(patsubst %, %_tb.sv, $(TARGETS))
all: $(TARGETS)
@@ -6,6 +6,9 @@ all: $(TARGETS)
timer: timer_tb.sv
iverilog -g2005-sv -s sim -o $@ $@_tb.sv ../$@.sv
spi_controller: spi_controller_tb.sv
iverilog -g2005-sv -s sim -o $@ $@_tb.sv ../$@.sv
interrupt_controller: interrupt_controller_tb.sv
iverilog -g2005-sv -s sim -o $@ $@_tb.sv ../$@.sv