URL
https://opencores.org/ocsvn/uart16750/uart16750/trunk
Subversion Repositories uart16750
[/] [uart16750/] [trunk/] [sim/] [rtl_sim/] [run/] [Makefile] - Rev 17
Go to most recent revision | Compare with Previous | Blame | View Log
## Makefile for ghdl simulation## ProgramsGHDL = ghdlPERL = perl# DirectoriesSRCDIR = vhdlTBDIR = tbenchSIMDIR = sim# UART16750 sourcesSRC = slib_clock_div.vhdSRC += slib_counter.vhdSRC += slib_edge_detect.vhdSRC += slib_fifo.vhdSRC += slib_input_filter.vhdSRC += slib_input_sync.vhdSRC += slib_mv_filter.vhdSRC += uart_baudgen.vhdSRC += uart_interrupt.vhdSRC += uart_receiver.vhdSRC += uart_transmitter.vhdSRC += uart_16750.vhd# Testbench sourceTBSRC = txt_util.vhdTBSRC += uart_package.vhdTBSRC += uart_transactor.vhd# Testbench stimuli and logTBSTIMGEN = $(SIMDIR)/uart_test_stim.plTBSTIMDAT = $(SIMDIR)/uart_stim.datTBLOG = $(SIMDIR)/uart_log.txtTBVCD = $(SIMDIR)/uart_log.vcd# Simulation entity and optionsSIMPROG = uart_transactorSIMOPTS = --stop-time=140msall: $(SIMPROG)$(TBSTIMDAT): $(TBSTIMGEN)$(PERL) $^ > $@$(SIMPROG): $(addprefix $(SRCDIR)/,$(SRC)) $(addprefix $(TBDIR)/,$(TBSRC))$(GHDL) -a $^$(GHDL) -e $@sim: $(SIMPROG) $(TBSTIMDAT)$(GHDL) -r $(SIMPROG) $(SIMOPTS)vcd: $(SIMPROG) $(TBSTIMDAT)$(GHDL) -r $(SIMPROG) $(SIMOPTS) --vcd=$(TBVCD)clean:$(GHDL) --cleanrm -f $(TBSTIMDAT) $(TBVCD).PHONY: clean sim vcd
Go to most recent revision | Compare with Previous | Blame | View Log
