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

Subversion Repositories dmt_tx

[/] [dmt_tx/] [trunk/] [const_encoder/] [Makefile] - Blame information for rev 28

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

Line No. Rev Author Line
1 11 dannori
CC      = iverilog
2
SIM = vvp
3
 
4 20 dannori
CFLAGS =-Wall -Irtl/
5 11 dannori
 
6
vpath %.v rtl tb
7
vpath %.vh rtl
8
 
9 16 dannori
FIFO                    = fifo.v \
10
                                                generic_dpram.v
11
CONST_ENC       = $(FIFO) \
12
                                                const_enc.v
13
 
14
 
15
 
16 11 dannori
.PHONY: all sim doc clean
17
 
18
all: sim
19
 
20
 
21
sim: fifo const_enc
22
 
23
 
24
const_enc: const_enc.vvp
25
        @echo -e "\n--> Simulating $@"
26
        $(SIM) $^
27
 
28 20 dannori
const_enc.vvp: tb_const_enc.v const_map_data.v $(CONST_ENC)
29 11 dannori
        $(CC) $(CFLAGS) $^ -s tb_const_encoder -o $@
30
 
31
fifo: fifo.vvp
32
        @echo -e "\n--> Simulating $@"
33
        $(SIM) $^
34
 
35 16 dannori
fifo.vvp: tb_fifo.v $(FIFO)
36 11 dannori
        @echo -e "\n--> Compiling $@"
37
        $(CC) $(CFLAGS) $^ -s tb_fifo -o $@
38
 
39
doc:
40
        $(MAKE) -C doc/
41
 
42
 
43
clean:
44
        rm -f *.vvp
45
        $(MAKE) -C doc/ cleantex

powered by: WebSVN 2.1.0

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