head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2007.07.26.16.57.00;	author dannori;	state Exp;
branches;
next	1.2;
commitid	483046a8d2464567;

1.2
date	2007.07.25.01.17.43;	author dannori;	state Exp;
branches;
next	1.1;
commitid	2fe746a6a4964567;

1.1
date	2007.07.17.10.59.03;	author dannori;	state Exp;
branches;
next	;
commitid	608c469ca0f54567;


desc
@@


1.3
log
@Added test for 2-bit constellation map.
@
text
@CC	= iverilog
SIM = vvp

CFLAGS =-Wall -Irtl/

vpath %.v rtl tb
vpath %.vh rtl

FIFO			= fifo.v \
						generic_dpram.v
CONST_ENC	= $(FIFO) \
						const_enc.v



.PHONY: all sim doc clean

all: sim


sim: fifo const_enc


const_enc: const_enc.vvp
	@@echo -e "\n--> Simulating $@@"
	$(SIM) $^

const_enc.vvp: tb_const_enc.v const_map_data.v $(CONST_ENC)
	$(CC) $(CFLAGS) $^ -s tb_const_encoder -o $@@

fifo: fifo.vvp
	@@echo -e "\n--> Simulating $@@"
	$(SIM) $^
	
fifo.vvp: tb_fifo.v $(FIFO)
	@@echo -e "\n--> Compiling $@@"
	$(CC) $(CFLAGS) $^ -s tb_fifo -o $@@

doc:
	$(MAKE) -C doc/


clean:
	rm -f *.vvp
	$(MAKE) -C doc/ cleantex
@


1.2
log
@Added bus functional model to write configuration and check written
configuration.
@
text
@d4 1
a4 1
CFLAGS =-Irtl/
d28 1
a28 1
const_enc.vvp: tb_const_enc.v $(CONST_ENC)
@


1.1
log
@Add fifo and top constellation encoder module.
@
text
@d9 7
d28 1
a28 1
const_enc.vvp: const_enc.v tb_const_enc.v
d35 1
a35 1
fifo.vvp: fifo.v tb_fifo.v generic_dpram.v
@

