URL
https://opencores.org/ocsvn/theia_gpu/theia_gpu/trunk
Subversion Repositories theia_gpu
[/] [theia_gpu/] [branches/] [beta_2.0/] [simulation/] [Makefile] - Rev 216
Go to most recent revision | Compare with Previous | Blame | View Log
VERILOGEX = .v # Verilog file extension# testbench path TESTBENCH is passed from the command lineSCENEPATH =TESTBENCH = testbench_theia_icarusTESTBENCHPATH = ../testbench/${TESTBENCH}$(VERILOGEX)SOURCEPATH = ../rtl#iverilog CONFIGVERILOG_CMD = iverilog#VERILOG_FLAGS =# VVP (iverilog runtime engine)VVP_CMD = vvp#VVP_FLAGS =#Simulation VarsSIMDIR = .DUMPTYPE = none#ViewerWAVEFORM_VIEWER = gtkwave # Waveform viewer executableall: compile run viewfile_check:ifeq ($(strip $(FILES)),)@echo "FILES not set. Use FILES=value to set it. Put mutltiple files in quotes"@exit 2endiftestbench_check:ifeq ($(strip $(TESTBENCH)),)@echo "TESTBENCH not set. Use TESTBENCH=value to set it."@exit 2endifcheck:$(VERILOG_CMD) -t null $(FILES)compile : testbench_checkcp $(SOURCEPATH)/aDefinitions.v .$(VERILOG_CMD) -o $(SIMDIR)/$(TESTBENCH) $(TESTBENCHPATH) $(SOURCEPATH)/*rm -f aDefinitions.vrun : testbench_check$(VVP_CMD) -n ./$(TESTBENCH) -$(DUMPTYPE) $(VVP_FLAGS)clean :rm *.{mem,ppm,log}
Go to most recent revision | Compare with Previous | Blame | View Log
