Makefile 1.89 KB
PRDEPTH = ../../../../..
include $(PRDEPTH)/PRdefs
include $(PRDEPTH)/PRrules 

RCPDIR  = ../..

BLOCK_LIST = 	bl_logic/bl_logic.edf		\
		cc_logic/cc_logic.edf		\
		cs_ew_cv_grp/cs_ew_cv_grp.edf	\
		div/div.edf			\
		if_logic/if_logic.edf		\
		io_logic/io_logic.edf		\
		ls/ls.edf			\
		ms_grp/ms_grp.edf		\
		pads/top_pads.edf		\
		pi/pi.edf			\
		ri/ri.edf			\
		su/su.edf			\
		tc_logic/tc_logic.edf		\
		tf_logic/tf_logic.edf		\
		tm_grp/tm_grp.edf		\
		tst/tst.edf			\
		vclk_driver/vclk_driver.edf	\
		vi/vi.edf			\
		vurfctl/vurfctl.edf		\
		vusl/vusl.edf


default: rcp.vsyn

rcp_partition.db: $(RCPDIR)/syn/rcp.db rcp_partition.ss 
	dc_shell -f rcp_partition.ss | tee rcp_partition.synlog
	sed 's/\[/\(/g' < rcp_top.edf | sed 's/\]/\)/g' > rcp_tmp.edf
	mv -f rcp_tmp.edf rcp_top.edf

rcp.vsyn: rcp_partition.db $(BLOCK_LIST)
	dc_shell -f rcp.ss | tee rcp.synlog


bl_logic/bl_logic.edf: rcp_partition.db
	cd bl_logic; make

cc_logic/cc_logic.edf: rcp_partition.db
	cd cc_logic; make

cs_ew_cv_grp/cs_ew_cv_grp.edf: rcp_partition.db
	cd cs_ew_cv_grp; make

div/div.edf: rcp_partition.db
	cd div; make

if_logic/if_logic.edf: rcp_partition.db
	cd if_logic; make

io_logic/io_logic.edf: rcp_partition.db
	cd io_logic; make

ls/ls.edf: rcp_partition.db
	cd ls; make

ms_grp/ms_grp.edf: rcp_partition.db
	cd ms_grp; make

pads/top_pads.edf: rcp_partition.db
	cd pads; make

pi/pi.edf: rcp_partition.db
	cd pi; make

ri/ri.edf: rcp_partition.db
	cd ri; make

su/su.edf: rcp_partition.db
	cd su; make

tc_logic/tc_logic.edf: rcp_partition.db
	cd tc_logic; make

tf_logic/tf_logic.edf: rcp_partition.db
	cd tf_logic; make

tm_grp/tm_grp.edf: rcp_partition.db
	cd tm_grp; make

tst/tst.edf: rcp_partition.db
	cd tst; make

vclk_driver/vclk_driver.edf: rcp_partition.db
	cd vclk_driver; make

vi/vi.edf: rcp_partition.db
	cd vi; make

vurfctl/vurfctl.edf: rcp_partition.db
	cd vurfctl; make

vusl/vusl.edf: rcp_partition.db
	cd vusl; make