URL
https://opencores.org/ocsvn/cpu_lecture/cpu_lecture/trunk
Subversion Repositories cpu_lecture
[/] [cpu_lecture/] [trunk/] [Makefile] - Rev 3
Compare with Previous | Blame | View Log
PROJECT=avr_core# the vhdl source files (except testbench)#FILES += src/*.vhd# the testbench sources and binary.#SIMFILES = test/test_tb.vhd test/RAMB4_S4_S4.vhdSIMTOP = testbench# When to stop the simulation## GHDL_SIM_OPT = --assert-level=errorGHDL_SIM_OPT = --stop-time=40usSIMDIR = simuFLAGS = --ieee=synopsys --warn-no-vital-generic -fexplicit --std=93call:make compilemake run 2>& 1 | grep -v std_logic_arithmake viewcompile:@mkdir -p simu@echo -----------------------------------------------------------------ghdl -i $(FLAGS) --workdir=simu --work=work $(SIMFILES) $(FILES)@echo@echo -----------------------------------------------------------------ghdl -m $(FLAGS) --workdir=simu --work=work $(SIMTOP)@echo@mv $(SIMTOP) simu/$(SIMTOP)run:@$(SIMDIR)/$(SIMTOP) $(GHDL_SIM_OPT) --vcdgz=$(SIMDIR)/$(SIMTOP).vcdgzview:gunzip --stdout $(SIMDIR)/$(SIMTOP).vcdgz | gtkwave --vcd gtkwave.saveclean:ghdl --clean --workdir=simu
