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

Subversion Repositories apb2spi

[/] [apb2spi/] [trunk/] [tb/] [makefile] - Blame information for rev 20

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 20 vlnaran
 
2
BUILD_NAME =  C:/official/prj/prj_svn_apb_to_spi/apb2spi/trunk
3
QVH_HOME = C:/questasim64_10.2c/uvm-1.1d/win64
4
RTL_DIR =  ${BUILD_NAME}/rtl
5
RTL_INC =  +incdir+${RTL_DIR}
6
APB_INC =  +incdir+${BUILD_NAME}/tb/env/apb_agent
7
SPI_INC =  +incdir+${BUILD_NAME}/tb/env/spi_agent
8
ENV_INC =  +incdir+${BUILD_NAME}/tb/env
9
TESTS_INC = +incdir+${BUILD_NAME}/tb/tests
10
 
11
WORK : clean
12
        ${vlib} work
13
 
14
RTL : WORK
15
        ${vlog} -sv ${RTL_INC} ${RTL_DIR}/APB_SLAVE.v ${RTL_DIR}/APB_SPI_Top.v
16
        #Vlog -sv ${RTL_DIR}/defines.v ${RTL_DIR}/APB_SLAVE.v ${RTL_DIR}/APB_SPI_Top.v
17
 
18
TB : RTL
19
        ${vlog} -sv ${RTL_INC} ${APB_INC} ${SPI_INC} ${ENV_INC} ${TESTS_INC} tb_top.sv
20
 
21
SIM : TB
22
        #${qverilog} -sv ${RTL_INC} ${APB_INC} ${SPI_INC} ${ENV_INC} ${ENV_SRC_INC} ${TESTS_INC} tb_top.sv -R -sv_lib ${QVH_HOME}/uvm_dpi -c -do "run -all; q" -l questa.log
23
        ${vsim} -novopt ${RTL_INC} ${APB_INC} ${SPI_INC} ${ENV_INC} ${ENV_SRC_INC} ${TESTS_INC} tb_top -sv_lib ${QVH_HOME}/uvm_dpi -c -do "run -all; q" -l vsim.log
24
 
25
clean:
26
        rm -rf work vlib.log vlog.log vsim.log
27
 
28
 

powered by: WebSVN 2.1.0

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