Add updated sim cpu with fix

This commit is contained in:
Byron Lathi
2023-09-23 10:49:44 -07:00
parent 00173f4e89
commit d3aa195adf
3 changed files with 9 additions and 7 deletions

View File

@@ -9,9 +9,10 @@ INC=$(shell find include/ -type f)
TOP_MODULE=sim_top
TARGET=sim_top
INIT_MEM=init_hex.mem
FLAGS=-DSIM
all: $(INIT_MEM)
iverilog -g2005-sv -s $(TOP_MODULE) -o $(TARGET) $(INC) $(SRCS)
iverilog -g2005-sv $(FLAGS) -s $(TOP_MODULE) -o $(TARGET) $(INC) $(SRCS)
$(INIT_MEM):
cp ../$(INIT_MEM) .