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

Subversion Repositories csa

[/] [csa/] [trunk/] [bench/] [makefile] - Blame information for rev 15

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

Line No. Rev Author Line
1 9 simon111
 
2 12 simon111
PROJ_NAME ?= key_schedule
3 15 simon111
DEBUG     ?= y
4 9 simon111
 
5 15 simon111
ifeq ($(DEBUG),y)
6
CFLAGS=-DDEBUG
7
else
8
CFLAGS=
9
endif
10 9 simon111
 
11 15 simon111
all:csa_pli.vpi $(PROJ_NAME).vvp
12
 
13 12 simon111
csa_pli.vpi:csa_pli.c
14 15 simon111
        iverilog-vpi $(CFLAGS) --name=csa_pli  $^ >/dev/null
15 12 simon111
 
16 9 simon111
%.vvp:%_tb.v ../rtl/%.v
17 15 simon111
        iverilog $(CFLAGS) -tvvp -o$@ $^
18 9 simon111
 
19 12 simon111
test:csa_pli.vpi $(PROJ_NAME).vvp
20
        vvp -M. -mcsa_pli $(PROJ_NAME).vvp
21 9 simon111
 
22
clean:
23
        rm -fr *.o *.vvp *.vpi *.log *.key
24
 
25 12 simon111
 
26
key_schedule.vvp:key_schedule_tb.v ../rtl/key_schedule.v ../rtl/key_perm.v
27
 

powered by: WebSVN 2.1.0

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