URL
https://opencores.org/ocsvn/yahamm/yahamm/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 6 |
Rev 7 |
Line 23... |
Line 23... |
|
|
%.o: %.vhd
|
%.o: %.vhd
|
@mkdir -p $(LIBPREFIX)/yahamm
|
@mkdir -p $(LIBPREFIX)/yahamm
|
ghdl -a $(GHDLFLAGS) $<
|
ghdl -a $(GHDLFLAGS) $<
|
|
|
simulate: yahamm_tb0 yahamm_tb1 yahamm_tb2 yahamm_tb3
|
simulate: simulate_tb0 simulate_tb1 simulate_tb2 simulate_tb3
|
@for f in $^ ;do \
|
|
./$$f --vcdgz=../out/$$f.vcdgz; \
|
simulate_%: yahamm_%
|
done
|
./$< --vcdgz=../out/$<.vcdgz
|
|
|
view_%: yahamm_%
|
view_%: yahamm_%
|
gunzip -c ../out/$<.vcdgz | $(VIEWER) --vcd
|
gunzip -c ../out/$<.vcdgz | $(VIEWER) --vcd
|
|
|
clean:
|
clean:
|
@ghdl --remove $(GHDLFLAGS)
|
@ghdl --remove $(GHDLFLAGS)
|
@rm -f ../../../sim/rtl_sim/out/*.vcdgz
|
@rm -f ../../../sim/rtl_sim/out/*.vcdgz
|
|
|
|
.PHONY: simulate clean view_%
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.