Create interrupt controller

This commit is contained in:
Byron Lathi
2023-01-03 14:50:45 -05:00
parent 7bb30abaab
commit 9a2f0a4bb4
6 changed files with 148 additions and 4 deletions

View File

@@ -0,0 +1,17 @@
TARGETS= timer interrupt_controller
TB=$(patsubst %, %_tb.sv, $(TARGETS))
all: $(TARGETS)
timer: timer_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
.PHONY: clean
clean:
rm -f $(TARGETS)
rm -f *.vcd
rm -f *.vvp