Makefile 9.24 KB
#!smake -J 5

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

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

LDIRT = *.tab *.tbl* *.wvs* *.sim* *.trc* *.simlog* *.cln *.idx *.db *.atr *.log *.tmp

default: vi_divot_all000.trc vi_divot_median000.trc vi_filter_all000.trc vi_filter_csa000.trc vi_filter_max000.trc vi_filter_max001.trc vi_filter_penult000.trc vi_filter_penult001.trc vi_filter_penult002.trc vi_gamma000.trc vi_lerp000.trc vi_pipe000.trc vi_pipe001.trc vi_pipe002.trc vi_pipe003.trc vi_pipe004.trc vi_pipe0005trc vi_pipe006.trc vi_pipe007.trc vi_pipe008.trc vi_rand000.trc

vi_divot_all000.tab: $(OUTDATA)/vi_divot/vi_divot_all/test000.out.base.gz
	/usr/bin/rm -f $@
	/usr/local/bin/zcat $? > $@

vi_divot_all000.sim: vi_divot_all000.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o $@ $?

vi_divot_all000.trc: vi_divot_all000.sim dovi_divot_all_sim $(QTV)/vi_divot.nls
	./dovi_divot_all_sim vi_divot_all000 | tee vi_divot_all000.simlog
	/usr/bin/rm -f vi_divot_all000.tab vi_divot_all000.tbl vi_divot_all000.wvs vi_divot_all000.sim


vi_divot_median000.tab: $(OUTDATA)/vi_divot/vi_divot_median/test000.out.base.gz
	/usr/bin/rm -f $@
	/usr/local/bin/zcat $? > $@

vi_divot_median000.sim: vi_divot_median000.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o $@ $?

vi_divot_median000.trc: vi_divot_median000.sim dovi_divot_median_sim $(QTV)/vi_divot.nls
	./dovi_divot_median_sim vi_divot_median000 | tee vi_divot_median000.simlog
	/usr/bin/rm -f vi_divot_median000.tab vi_divot_median000.tbl vi_divot_median000.wvs vi_divot_median000.sim


vi_filter_all000.tab: $(OUTDATA)/vi_filter/vi_filter_all/test000.out.base.gz
	/usr/bin/rm -f $@
	/usr/local/bin/zcat $? > $@

vi_filter_all000.sim: vi_filter_all000.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o $@ $?

vi_filter_all000.trc: vi_filter_all000.sim dovi_filter_all_sim $(QTV)/vi_filter.nls
	./dovi_filter_all_sim vi_filter_all000 | tee vi_filter_all000.simlog
	/usr/bin/rm -f vi_filter_all000.tab vi_filter_all000.tbl vi_filter_all000.wvs vi_filter_all000.sim

vi_filter_csa000.tab: $(OUTDATA)/vi_filter/vi_filter_csa/test000.out.base.gz
	/usr/bin/rm -f $@
	/usr/local/bin/zcat $? > $@

vi_filter_csa000.sim: vi_filter_csa000.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o $@ $?

vi_filter_csa000.trc: vi_filter_csa000.sim dovi_filter_csa_sim $(QTV)/vi_filter.nls
	./dovi_filter_csa_sim vi_filter_csa000 | tee vi_filter_csa000.simlog
	/usr/bin/rm -f vi_filter_csa000.tab vi_filter_csa000.tbl vi_filter_csa000.wvs vi_filter_csa000.sim


vi_filter_max000.tab: $(OUTDATA)/vi_filter/vi_filter_max/test000.out.base.gz
	/usr/bin/rm -f $@
	/usr/local/bin/zcat $? > $@

vi_filter_max000.sim: vi_filter_max000.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o $@ $?

vi_filter_max000.trc: vi_filter_max000.sim dovi_filter_max_sim $(QTV)/vi_filter.nls
	./dovi_filter_max_sim vi_filter_max000 | tee vi_filter_max000.simlog
	/usr/bin/rm -f vi_filter_max000.tab vi_filter_max000.tbl vi_filter_max000.wvs vi_filter_max000.sim

vi_filter_max001.tab: $(OUTDATA)/vi_filter/vi_filter_max/test001.out.base.gz
	/usr/bin/rm -f $@
	/usr/local/bin/zcat $? > $@

vi_filter_max001.sim: vi_filter_max001.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o $@ $?

vi_filter_max001.trc: vi_filter_max001.sim dovi_filter_max_sim $(QTV)/vi_filter.nls
	./dovi_filter_max_sim vi_filter_max001 | tee vi_filter_max001.simlog
	/usr/bin/rm -f vi_filter_max001.tab vi_filter_max001.tbl vi_filter_max001.wvs vi_filter_max001.sim


vi_filter_penult000.tab: $(OUTDATA)/vi_filter/vi_filter_penult/test000.out.base.gz
	/usr/bin/rm -f $@
	/usr/local/bin/zcat $? > $@

vi_filter_penult000.sim: vi_filter_penult000.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o $@ $?

vi_filter_penult000.trc: vi_filter_penult000.sim dovi_filter_penult_sim $(QTV)/vi_filter.nls
	./dovi_filter_penult_sim vi_filter_penult000 | tee vi_filter_penult000.simlog
	/usr/bin/rm -f vi_filter_penult000.tab vi_filter_penult000.tbl vi_filter_penult000.wvs vi_filter_penult000.sim

vi_filter_penult001.tab: $(OUTDATA)/vi_filter/vi_filter_penult/test001.out.base.gz
	/usr/bin/rm -f $@
	/usr/local/bin/zcat $? > $@

vi_filter_penult001.sim: vi_filter_penult001.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o $@ $?

vi_filter_penult001.trc: vi_filter_penult001.sim dovi_filter_penult_sim $(QTV)/vi_filter.nls
	./dovi_filter_penult_sim vi_filter_penult001 | tee vi_filter_penult001.simlog
	/usr/bin/rm -f vi_filter_penult001.tab vi_filter_penult001.tbl vi_filter_penult001.wvs vi_filter_penult001.sim

vi_filter_penult002.tab: $(OUTDATA)/vi_filter/vi_filter_penult/test002.out.base.gz
	/usr/bin/rm -f $@
	/usr/local/bin/zcat $? > $@

vi_filter_penult002.sim: vi_filter_penult002.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o $@ $?

vi_filter_penult002.trc: vi_filter_penult002.sim dovi_filter_penult_sim $(QTV)/vi_filter.nls
	./dovi_filter_penult_sim vi_filter_penult002 | tee vi_filter_penult002.simlog
	/usr/bin/rm -f vi_filter_penult002.tab vi_filter_penult002.tbl vi_filter_penult002.wvs vi_filter_penult002.sim

vi_gamma000.tab: $(OUTDATA)/vi_gamma/test000.out.base.gz
	/usr/bin/rm -f $@
	/usr/local/bin/zcat $? > $@

vi_gamma000.sim: vi_gamma000.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o $@ $?

vi_gamma000.trc: vi_gamma000.sim dovi_gamma_sim $(QTV)/vi_filter.nls
	./dovi_gamma_sim vi_gamma000 | tee vi_gamma000.simlog
	/usr/bin/rm -f vi_gamma000.tab vi_gamma000.tbl vi_gamma000.wvs vi_gamma000.sim

vi_lerp000.tab: $(OUTDATA)/vi_lerp/test000.out.base.gz
	/usr/bin/rm -f $@
	/usr/local/bin/zcat $? > $@

vi_lerp000.sim: vi_lerp000.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o $@ $?

vi_lerp000.trc: vi_lerp000.sim dovi_lerp_sim $(QTV)/vi_filter.nls
	./dovi_lerp_sim vi_lerp000 | tee vi_lerp000.simlog
	/usr/bin/rm -f vi_lerp000.tab vi_lerp000.tbl vi_lerp000.wvs vi_lerp000.sim


vi_pipe000.tab: $(OUTDATA)/vi_pipe/test000.out.base.gz
	/usr/bin/rm -f $@
	/usr/local/bin/zcat $? > $@

vi_pipe000.sim: vi_pipe000.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o $@ $?

vi_pipe000.trc: vi_pipe000.sim dovi_pipe_sim $(QTV)/vi_filter.nls
	./dovi_pipe_sim vi_pipe000 | tee vi_pipe000.simlog
	/usr/bin/rm -f vi_pipe000.tab vi_pipe000.tbl vi_pipe000.wvs vi_pipe000.sim


vi_pipe001.tab: $(OUTDATA)/vi_pipe/test001.out.base.gz
	/usr/bin/rm -f $@
	/usr/local/bin/zcat $? > $@

vi_pipe001.sim: vi_pipe001.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o $@ $?

vi_pipe001.trc: vi_pipe001.sim dovi_pipe_sim $(QTV)/vi_filter.nls
	./dovi_pipe_sim vi_pipe001 | tee vi_pipe001.simlog
	/usr/bin/rm -f vi_pipe001.tab vi_pipe001.tbl vi_pipe001.wvs vi_pipe001.sim

vi_pipe002.tab: $(OUTDATA)/vi_pipe/test002.out.base.gz
	/usr/bin/rm -f $@
	/usr/local/bin/zcat $? > $@

vi_pipe002.sim: vi_pipe002.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o $@ $?

vi_pipe002.trc: vi_pipe002.sim dovi_pipe_sim $(QTV)/vi_filter.nls
	./dovi_pipe_sim vi_pipe002 | tee vi_pipe002.simlog
	/usr/bin/rm -f vi_pipe002.tab vi_pipe002.tbl vi_pipe002.wvs vi_pipe002.sim

vi_pipe003.tab: $(OUTDATA)/vi_pipe/test003.out.base.gz
	/usr/bin/rm -f $@
	/usr/local/bin/zcat $? > $@

vi_pipe003.sim: vi_pipe003.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o $@ $?

vi_pipe003.trc: vi_pipe003.sim dovi_pipe_sim $(QTV)/vi_filter.nls
	./dovi_pipe_sim vi_pipe003 | tee vi_pipe003.simlog
	/usr/bin/rm -f vi_pipe003.tab vi_pipe003.tbl vi_pipe003.wvs vi_pipe003.sim

vi_pipe004.tab: $(OUTDATA)/vi_pipe/test004.out.base.gz
	/usr/bin/rm -f $@
	/usr/local/bin/zcat $? > $@

vi_pipe004.sim: vi_pipe004.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o $@ $?

vi_pipe004.trc: vi_pipe004.sim dovi_pipe_sim $(QTV)/vi_filter.nls
	./dovi_pipe_sim vi_pipe004 | tee vi_pipe004.simlog
	/usr/bin/rm -f vi_pipe004.tab vi_pipe004.tbl vi_pipe004.wvs vi_pipe004.sim

vi_pipe005.tab: $(OUTDATA)/vi_pipe/test005.out.base.gz
	/usr/bin/rm -f $@
	/usr/local/bin/zcat $? > $@

vi_pipe005.sim: vi_pipe005.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o $@ $?

vi_pipe005.trc: vi_pipe005.sim dovi_pipe_sim $(QTV)/vi_filter.nls
	./dovi_pipe_sim vi_pipe005 | tee vi_pipe005.simlog
	/usr/bin/rm -f vi_pipe005.tab vi_pipe005.tbl vi_pipe005.wvs vi_pipe005.sim

vi_pipe006.tab: $(OUTDATA)/vi_pipe/test006.out.base.gz
	/usr/bin/rm -f $@
	/usr/local/bin/zcat $? > $@

vi_pipe006.sim: vi_pipe006.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o $@ $?

vi_pipe006.trc: vi_pipe006.sim dovi_pipe_sim $(QTV)/vi_filter.nls
	./dovi_pipe_sim vi_pipe006 | tee vi_pipe006.simlog
	/usr/bin/rm -f vi_pipe006.tab vi_pipe006.tbl vi_pipe006.wvs vi_pipe006.sim

vi_pipe007.tab: $(OUTDATA)/vi_pipe/test007.out.base.gz
	/usr/bin/rm -f $@
	/usr/local/bin/zcat $? > $@

vi_pipe007.sim: vi_pipe007.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o $@ $?

vi_pipe007.trc: vi_pipe007.sim dovi_pipe_sim $(QTV)/vi_filter.nls
	./dovi_pipe_sim vi_pipe007 | tee vi_pipe007.simlog
	/usr/bin/rm -f vi_pipe007.tab vi_pipe007.tbl vi_pipe007.wvs vi_pipe007.sim

vi_pipe008.tab: $(OUTDATA)/vi_pipe/test008.out.base.gz
	/usr/bin/rm -f $@
	/usr/local/bin/zcat $? > $@

vi_pipe008.sim: vi_pipe008.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o $@ $?

vi_pipe008.trc: vi_pipe008.sim dovi_pipe_sim $(QTV)/vi_filter.nls
	./dovi_pipe_sim vi_pipe008 | tee vi_pipe008.simlog
	/usr/bin/rm -f vi_pipe008.tab vi_pipe008.tbl vi_pipe008.wvs vi_pipe008.sim


vi_rand000.tab: $(OUTDATA)/vi_rand/test000.out.base.gz
	/usr/bin/rm -f $@
	/usr/local/bin/zcat $? > $@

vi_rand000.sim: vi_rand000.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o $@ $?

vi_rand000.trc: vi_rand000.sim dovi_rand_sim $(QTV)/vi_filter.nls
	./dovi_rand_sim vi_rand000 | tee vi_rand000.simlog
	/usr/bin/rm -f vi_rand000.tab vi_rand000.tbl vi_rand000.wvs vi_rand000.sim