Makefile 1.22 KB
#

#####################################################
#  Verilog source files                             #
#####################################################
RCPDIR  = ../..
SRCDIR  = ../src

RSP_SRC =      $(SRCDIR)/rsp.v

SU_EDF     = $(RCPDIR)/su/syn/su.edf
VU_EDF     = $(RCPDIR)/vu/syn/vu.edf
SB_EDF     = $(RCPDIR)/sb/syn/rspbusses.edf
IO_EDF  = $(RCPDIR)/io/syn/io_cmd_dma.edf \
	  $(RCPDIR)/io/syn/io_mem_dma.edf

DM_SRC  =       $(RCPDIR)/dm/src/dmemx2.v
LS_EDF  =	$(RCPDIR)/ls/syn/ls.edf


EDF_P   =  data_unit.edf_p iu.edf_p rsp.edf_p

rsp.edf: rsp.ss rsp.edf_p data_unit.edf iu.edf $(VU_EDF) $(SB_EDF) $(IO_EDF)
	dc_shell -f rsp.ss | tee rsp.synlog

iu.edf: iu.ss iu.edf_p $(SU_EDF)
	dc_shell -f iu.ss | tee iu.synlog

data_unit.edf: data_unit.ss data_unit.edf_p $(LS_EDF) $(DM_SRC)
	dc_shell -f data_unit.ss | tee data_unit.synlog

rsp_nomem.edf: rsp.ss $(SU_EDF) $(VU_EDF) $(SB_EDF) $(IO_EDF)
	dc_shell -f rsp_nomem.ss | tee rsp_nomem.synlog

$(EDF_P):  $(RSP_SRC) rsp_partition.ss
	dc_shell -f rsp_partition.ss | tee rsp_partition.synlog

#   block-level makes

check_blocks:
	cd $(RCPDIR)/ls/syn; make -n
	cd $(RCPDIR)/su/syn; make -n
	cd $(RCPDIR)/vu/syn; make -n
	cd $(RCPDIR)/sb/syn; make -n
	cd $(RCPDIR)/io/syn; make -n