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

Subversion Repositories ahbmaster

[/] [ahbmaster/] [trunk/] [test79_AHBmaster/] [simulation/] [run.do] - Blame information for rev 3

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 uson
quietly set ACTELLIBNAME ProASIC3
2
quietly set PROJECT_DIR "C:/Actelprj/test79_AHBmaster"
3
 
4
if {[file exists postsynth/_info]} {
5
   echo "INFO: Simulation library postsynth already exists"
6
} else {
7
   file delete -force postsynth
8
   vlib postsynth
9
}
10
vmap postsynth postsynth
11
vmap proasic3 "C:/Microsemi/Libero_SoC_v11.8/Designer/lib/modelsim/precompiled/vhdl/proasic3"
12
vmap COREAHBLITE_LIB "../component/Actel/DirectCore/CoreAHBLite/5.3.101/mti/user_vhdl/COREAHBLITE_LIB"
13
vcom -work COREAHBLITE_LIB -force_refresh
14
vlog -work COREAHBLITE_LIB -force_refresh
15
if {[file exists COREUARTAPB_LIB/_info]} {
16
   echo "INFO: Simulation library COREUARTAPB_LIB already exists"
17
} else {
18
   file delete -force COREUARTAPB_LIB
19
   vlib COREUARTAPB_LIB
20
}
21
vmap COREUARTAPB_LIB "COREUARTAPB_LIB"
22
 
23
vcom -2008 -explicit  -work COREAHBLITE_LIB "${PROJECT_DIR}/component/Actel/DirectCore/CoreAHBLite/5.3.101/rtl/vhdl/core/coreahblite_addrdec.vhd"
24
vcom -2008 -explicit  -work COREAHBLITE_LIB "${PROJECT_DIR}/component/Actel/DirectCore/CoreAHBLite/5.3.101/rtl/vhdl/core/coreahblite_pkg.vhd"
25
vcom -2008 -explicit  -work COREAHBLITE_LIB "${PROJECT_DIR}/component/work/top/CoreAHBLite_0/rtl/vhdl/core/components.vhd"
26
vcom -2008 -explicit  -work COREUARTAPB_LIB "${PROJECT_DIR}/component/work/top/CoreUARTapb_0/rtl/vhdl/core/components.vhd"
27
vcom -2008 -explicit  -work COREUARTAPB_LIB "${PROJECT_DIR}/component/work/top/CoreUARTapb_0/rtl/vhdl/core/coreuart_pkg.vhd"
28
vcom -2008 -explicit  -work postsynth "${PROJECT_DIR}/synthesis/top.vhd"
29
vcom -2008 -explicit  -work postsynth "${PROJECT_DIR}/stimulus/tb_clk.vhd"
30
vcom -2008 -explicit  -work postsynth "${PROJECT_DIR}/component/work/tb_top/tb_top.vhd"
31
 
32
vsim -L proasic3 -L postsynth -L COREAHBLITE_LIB -L COREUARTAPB_LIB  -t 1ps postsynth.tb_top
33
add wave /tb_top/*
34
run 1000ns

powered by: WebSVN 2.1.0

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