OpenCores
URL https://opencores.org/ocsvn/dmt_tx/dmt_tx/trunk

Subversion Repositories dmt_tx

[/] [dmt_tx/] [trunk/] [const_encoder/] [Makefile] - Diff between revs 11 and 16

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 11 Rev 16
Line 4... Line 4...
CFLAGS =-Irtl/
CFLAGS =-Irtl/
 
 
vpath %.v rtl tb
vpath %.v rtl tb
vpath %.vh rtl
vpath %.vh rtl
 
 
 
FIFO                    = fifo.v \
 
                                                generic_dpram.v
 
CONST_ENC       = $(FIFO) \
 
                                                const_enc.v
 
 
 
 
 
 
.PHONY: all sim doc clean
.PHONY: all sim doc clean
 
 
all: sim
all: sim
 
 
 
 
Line 16... Line 23...
 
 
const_enc: const_enc.vvp
const_enc: const_enc.vvp
        @echo -e "\n--> Simulating $@"
        @echo -e "\n--> Simulating $@"
        $(SIM) $^
        $(SIM) $^
 
 
const_enc.vvp: const_enc.v tb_const_enc.v
const_enc.vvp: tb_const_enc.v $(CONST_ENC)
        $(CC) $(CFLAGS) $^ -s tb_const_encoder -o $@
        $(CC) $(CFLAGS) $^ -s tb_const_encoder -o $@
 
 
fifo: fifo.vvp
fifo: fifo.vvp
        @echo -e "\n--> Simulating $@"
        @echo -e "\n--> Simulating $@"
        $(SIM) $^
        $(SIM) $^
 
 
fifo.vvp: fifo.v tb_fifo.v generic_dpram.v
fifo.vvp: tb_fifo.v $(FIFO)
        @echo -e "\n--> Compiling $@"
        @echo -e "\n--> Compiling $@"
        $(CC) $(CFLAGS) $^ -s tb_fifo -o $@
        $(CC) $(CFLAGS) $^ -s tb_fifo -o $@
 
 
doc:
doc:
        $(MAKE) -C doc/
        $(MAKE) -C doc/

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.