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

Subversion Repositories artificial_neural_network

[/] [artificial_neural_network/] [trunk/] [test_bench/] [makefile] - Blame information for rev 8

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

Line No. Rev Author Line
1 8 jstefanowi
SRC_KER_DIR = ../ANN_kernel/RTL_VHDL_files
2
SRC_TB_DIR = ./src
3
VHDLS = \
4
        ${SRC_KER_DIR}/layers_pkg.vhd \
5
        ${SRC_KER_DIR}/support_pkg.vhd \
6
        ${SRC_KER_DIR}/wb_init.vhd \
7
        ${SRC_KER_DIR}/mac.vhd \
8
        ${SRC_KER_DIR}/af_sigmoid2.vhd \
9
        ${SRC_KER_DIR}/activation_function.vhd \
10
        ${SRC_KER_DIR}/shiftreg_pl.vhd \
11
        ${SRC_KER_DIR}/shiftreg_pu.vhd \
12
        ${SRC_KER_DIR}/adder_tree.vhd \
13
        ${SRC_KER_DIR}/layerPS.vhd \
14
        ${SRC_KER_DIR}/layerPS_top.vhd \
15
        ${SRC_KER_DIR}/layerSP.vhd \
16
        ${SRC_KER_DIR}/layerSP_top.vhd \
17
        ${SRC_KER_DIR}/ann.vhd \
18
        ${SRC_TB_DIR}/ann_tb.vhd
19
 
20
# STD=standard
21
STD=synopsys
22
VSTD=93c
23
# VSTD=08
24
ENTITY=ann_tb
25
#RUN_OPTIONS= --stop-time=1000ns --wave=${ENTITY}.ghw
26
RUN_OPTIONS=  --wave=${ENTITY}.ghw
27
 
28
all: ${ENTITY}.ghw
29
no_ghw : ${ENTITY}
30
        ./${ENTITY}
31
reader:   ${ENTITY} ${ENTITY}.ghw
32
        gtkwave ${ENTITY}.ghw ${ENTITY}.sav
33
${ENTITY}: ${VHDLS}
34
        ghdl -a -g --mb-comments --workdir=comp --std=${VSTD} ${VHDLS}
35
        ghdl -e -g --mb-comments --workdir=comp --std=${VSTD} -fexplicit --ieee=${STD} ${ENTITY}
36
${ENTITY}.ghw: ${ENTITY}
37
        ./${ENTITY} ${RUN_OPTIONS}
38
clean:
39
        rm -f comp/* *.o *.vcd *.ghw events* ${ENTITY}
40
 

powered by: WebSVN 2.1.0

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