Makefile 484 Bytes
#!smake -J 5

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

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

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

default: pi000.trc.Z

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

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