GNUmakefile 732 Bytes
#!smake
#
# $Revision: 1.2 $
#

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

TARGETS = golden.spandata iorand.rdram

default: $(TARGETS)

include $(PRDEPTH)/PRrules

iorand.rdram: app.data iorand.data vi.data sp.data $(_FORCE)
	cat app.data iorand.data vi.data sp.data mi.data | $(DATA2RDRAM) -r 2 > iorand.rdram

golden.spandata:
	uncompress golden.spandata.Z

app.data:
	uncompress app.data.Z

tests:
	@echo "Check if IOSIM_SERVER and IOSIM_PORT are specified"
	test "${IOSIM_SERVER}" != ""
	test "${IOSIM_PORT}" != ""
	/home/whs/bb/rf/sw/root/PR/iosim/src/iorand -n IORAND -d 0x241 -l iorand.log \
	-s "${ROOT}/PR/hw2/chip/sim/simv2.ipc -l verilog.log +load_imem +load_dmem +load_pif +load_rom +mmap_rdram=iorand +vitab=vi.tab"