Makefile 3.08 KB
#!smake -J 5

PRDEPTH = ../../../..
include $(PRDEPTH)/PRdefs
include $(PRDEPTH)/PRrules

QTV = $(ROOT)/PR/hw/chip/rcp/vi/qtv

LDIRT = *.sim* *.trc* *.simlog*

default: test000.trc.Z test001.trc.Z test002.trc.Z test003.trc.Z test004.trc.Z test005.trc.Z test006.trc.Z test007.trc.Z test008.trc.Z

test000.sim: test000.tab.Z
	uncompress test000.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o test000.sim -c test000.tab
	compress -f test000.tab
	fix_sim test000.sim

test000.trc.Z: test000.sim do_sim $(QTV)/vi.nls
	./do_sim test000 | tee test000.simlog
	/usr/bin/rm -f test000.sim
	compress -f test000.trc test000.simlog

test001.sim: test001.tab.Z
	uncompress test001.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o test001.sim -c test001.tab
	compress -f test001.tab
	fix_sim test001.sim

test001.trc.Z: test001.sim do_sim $(QTV)/vi.nls
	./do_sim test001 | tee test001.simlog
	/usr/bin/rm -f test001.sim
	compress -f test001.trc test001.simlog

test002.sim: test002.tab.Z
	uncompress test002.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o test002.sim -c test002.tab
	compress -f test002.tab
	fix_sim test002.sim

test002.trc.Z: test002.sim do_sim $(QTV)/vi.nls
	./do_sim test002 | tee test002.simlog
	/usr/bin/rm -f test002.sim
	compress -f test002.trc test002.simlog

test003.sim: test003.tab.Z
	uncompress test003.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o test003.sim -c test003.tab
	compress -f test003.tab
	fix_sim test003.sim

test003.trc.Z: test003.sim do_sim $(QTV)/vi.nls
	./do_sim test003 | tee test003.simlog
	/usr/bin/rm -f test003.sim
	compress -f test003.trc test003.simlog

test004.sim: test004.tab.Z
	uncompress test004.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o test004.sim -c test004.tab
	compress -f test004.tab
	fix_sim test004.sim

test004.trc.Z: test004.sim do_sim $(QTV)/vi.nls
	./do_sim test004 | tee test004.simlog
	/usr/bin/rm -f test004.sim
	compress -f test004.trc test004.simlog

test005.sim: test005.tab.Z
	uncompress test005.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o test005.sim -c test005.tab
	compress -f test005.tab
	fix_sim test005.sim

test005.trc.Z: test005.sim do_sim $(QTV)/vi.nls
	./do_sim test005 | tee test005.simlog
	/usr/bin/rm -f test005.sim
	compress -f test005.trc test005.simlog

test006.sim: test006.tab.Z
	uncompress test006.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o test006.sim -c test006.tab
	compress -f test006.tab
	fix_sim test006.sim

test006.trc.Z: test006.sim do_sim $(QTV)/vi.nls
	./do_sim test006 | tee test006.simlog
	/usr/bin/rm -f test006.sim
	compress -f test006.trc test006.simlog

test007.sim: test007.tab.Z
	uncompress test007.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o test007.sim -c test007.tab
	compress -f test007.tab
	fix_sim test007.sim

test007.trc.Z: test007.sim do_sim $(QTV)/vi.nls
	./do_sim test007 | tee test007.simlog
	/usr/bin/rm -f test007.sim
	compress -f test007.trc test007.simlog

test008.sim: test008.tab.Z
	uncompress test008.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o test008.sim -c test008.tab
	compress -f test008.tab
	fix_sim test008.sim

test008.trc.Z: test008.sim do_sim $(QTV)/vi.nls
	./do_sim test008 | tee test008.simlog
	/usr/bin/rm -f test008.sim
	compress -f test008.trc test008.simlog