1 |
2 |
ameziti |
quietly set ACTELLIBNAME proasic3
|
2 |
|
|
quietly set PROJECT_DIR "E:/User/Projets/E3CAR/03-Fpga/mP_8bit/copyblaze/copyblaze"
|
3 |
|
|
|
4 |
|
|
if {[file exists presynth/_info]} {
|
5 |
|
|
echo "INFO: Simulation library presynth already exists"
|
6 |
|
|
} else {
|
7 |
|
|
vlib presynth
|
8 |
|
|
}
|
9 |
|
|
vmap presynth presynth
|
10 |
|
|
vmap proasic3 "C:/Actel/Libero_v9.1/Designer/lib/modelsim/precompiled/vhdl/proasic3"
|
11 |
|
|
|
12 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/rtl/vhdl/cp_Usefull_Pkg.vhd"
|
13 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/rtl/vhdl/cp_Toggle.vhd"
|
14 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/rtl/vhdl/cp_Interrupt.vhd"
|
15 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/rtl/vhdl/cp_ProgramCounter.vhd"
|
16 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/rtl/vhdl/cp_Stack.vhd"
|
17 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/rtl/vhdl/cp_ProgramFlowControl.vhd"
|
18 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/rtl/vhdl/cp_DecodeControl.vhd"
|
19 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/rtl/vhdl/cp_FullAdder.vhd"
|
20 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/rtl/vhdl/cp_CLAAdder.vhd"
|
21 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/rtl/vhdl/cp_ALU.vhd"
|
22 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/rtl/vhdl/cp_Flags.vhd"
|
23 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/rtl/vhdl/cp_BancRegister.vhd"
|
24 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/rtl/vhdl/cp_ScratchPad.vhd"
|
25 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/rtl/vhdl/cp_copyBlaze.vhd"
|
26 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/rtl/vhdl/cp_ROM_Code.vhd"
|
27 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/rtl/vhdl/cp_copyBlaze_ecoSystem.vhd"
|
28 |
|
|
|
29 |
20 |
ameziti |
vcom -93 -explicit -work presynth "${PROJECT_DIR}/sim/rtl_sim/src/wb_gpio/WBOPRT08.vhd"
|
30 |
2 |
ameziti |
|
31 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/bench/vhdl/tb_copyBlaze_ecoSystem.vhd"
|
32 |
|
|
|
33 |
|
|
vsim -L proasic3 -L presynth -t 1ps presynth.tb_copyBlaze_ecoSystem
|
34 |
|
|
# The following lines are commented because no testbench is associated with the project
|
35 |
|
|
# add wave /tb_copyBlaze_ecoSystem/*
|
36 |
|
|
# run 1000ns
|
37 |
|
|
|
38 |
|
|
radix hexadecimal
|
39 |
|
|
do wave_tb_copyBlaze_ecoSystem.do
|
40 |
|
|
|
41 |
|
|
run -all
|