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 14

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 11 jstefanowi
        ${SRC_KER_DIR}/af_sigmoid.vhd \
9 8 jstefanowi
        ${SRC_KER_DIR}/af_sigmoid2.vhd \
10 11 jstefanowi
        ${SRC_KER_DIR}/af_sigmoid_mat.vhd \
11 8 jstefanowi
        ${SRC_KER_DIR}/activation_function.vhd \
12
        ${SRC_KER_DIR}/shiftreg_pl.vhd \
13
        ${SRC_KER_DIR}/shiftreg_pu.vhd \
14
        ${SRC_KER_DIR}/adder_tree.vhd \
15
        ${SRC_KER_DIR}/layerPS.vhd \
16
        ${SRC_KER_DIR}/layerPS_top.vhd \
17
        ${SRC_KER_DIR}/layerSP.vhd \
18
        ${SRC_KER_DIR}/layerSP_top.vhd \
19
        ${SRC_KER_DIR}/ann.vhd \
20
        ${SRC_TB_DIR}/ann_tb.vhd
21
 
22
# STD=standard
23
STD=synopsys
24
VSTD=93c
25
# VSTD=08
26
ENTITY=ann_tb
27
#RUN_OPTIONS= --stop-time=1000ns --wave=${ENTITY}.ghw
28
RUN_OPTIONS=  --wave=${ENTITY}.ghw
29
 
30
all: ${ENTITY}.ghw
31
no_ghw : ${ENTITY}
32
        ./${ENTITY}
33
reader:   ${ENTITY} ${ENTITY}.ghw
34
        gtkwave ${ENTITY}.ghw ${ENTITY}.sav
35
${ENTITY}: ${VHDLS}
36
        ghdl -a -g --mb-comments --workdir=comp --std=${VSTD} ${VHDLS}
37
        ghdl -e -g --mb-comments --workdir=comp --std=${VSTD} -fexplicit --ieee=${STD} ${ENTITY}
38
${ENTITY}.ghw: ${ENTITY}
39
        ./${ENTITY} ${RUN_OPTIONS}
40
clean:
41
        rm -f comp/* *.o *.vcd *.ghw events* ${ENTITY}
42
 

powered by: WebSVN 2.1.0

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