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

Subversion Repositories dmt_tx

[/] [dmt_tx/] [trunk/] [const_encoder/] [Makefile] - Rev 16

Go to most recent revision | Compare with Previous | Blame | View Log

CC      = iverilog
SIM = vvp

CFLAGS =-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_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

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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