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

Subversion Repositories heap_sorter

[/] [heap_sorter/] [trunk/] [simplified_version/] [makefile] - Blame information for rev 7

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 wzab
VHDLS = \
2
  src/sys_config.vhd \
3
  src/sorter_pkg.vhd \
4
  src/dpram4.vhd \
5
  src/sort_dpram.vhd \
6
  src/sorter_ctrl.vhd \
7
  src/sorter_sys.vhd \
8
  src/sorter_sys_tb.vhd \
9
 
10
#STD=standard
11
STD=synopsys
12
VSTD=93c
13
ENTITY=sorter_sys_tb
14
RUN_OPTIONS=
15
all: events.in events.out test
16
events.in: sort_test_gen.py
17
        ./sort_test_gen.py
18
reader:   ${ENTITY} ${ENTITY}.ghw
19
        gtkwave ${ENTITY}.ghw ${ENTITY}.sav
20
${ENTITY}: ${VHDLS}
21
#       vhdlp -work fmf fmf/*.vhd
22
        ghdl -a --workdir=comp --std=${VSTD} --ieee=${STD} ${VHDLS}
23
        ghdl -e --workdir=comp --std=${VSTD} -fexplicit --ieee=${STD} ${ENTITY}
24
events.out: ${ENTITY} events.in
25
#       ./${ENTITY} --wave=${ENTITY}.ghw  ${RUN_OPTIONS} --stop-time=50000ns 2>&1 > res.txt
26
        ./${ENTITY} ${RUN_OPTIONS}  2>&1 > res.txt
27
test:
28
        ./sort_test_check.py
29
clean:
30
        rm -f comp/* *.o *.vcd *.ghw events* ${ENTITY}
31
 

powered by: WebSVN 2.1.0

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