1 |
62 |
budinero |
quietly set ACTELLIBNAME proasic3e
|
2 |
|
|
quietly set PROJECT_DIR "D:/Facu/TFuni2/test_modular_oscilloscope"
|
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 proasic3e "C:/Actel/Libero_v8.5/Designer/lib/modelsim/precompiled/vhdl/proasic3e"
|
11 |
|
|
|
12 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/daq/daq.vhd"
|
13 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/memory/A3PE1500/dual_port_memory.vhd"
|
14 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/memory/dual_port_memory_wb.vhd"
|
15 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/smartgen/A3PE_pll_2clk/A3PE_pll_2clk.vhd"
|
16 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/epp/eppwbn_ctrl.vhd"
|
17 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/epp/eppwbn_epp_side.vhd"
|
18 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/epp/eppwbn_wbn_side.vhd"
|
19 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/epp/eppwbn_pkg.vhd"
|
20 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/epp/eppwbn.vhd"
|
21 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/epp/eppwbn_width_extension.vhd"
|
22 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/epp/eppwbn_16bit.vhd"
|
23 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/ctrl/output_manager.vhd"
|
24 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/ctrl/generic_counter.vhd"
|
25 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/ctrl/ctrl_pkg.vhd"
|
26 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/ctrl/memory_writer.vhd"
|
27 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/ctrl/generic_decoder.vhd"
|
28 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/ctrl/data_skipper.vhd"
|
29 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/ctrl/channel_selector.vhd"
|
30 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/ctrl/trigger_manager.vhd"
|
31 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/ctrl/address_allocation.vhd"
|
32 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/ctrl/ctrl.vhd"
|
33 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/daq/daq_pkg.vhd"
|
34 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/memory/memory_pkg.vhd"
|
35 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/modular_oscilloscope.vhd"
|
36 |
|
|
vcom -93 -explicit -work presynth "${PROJECT_DIR}/../modular_oscilloscope/hdl/tbench/modullar_oscilloscope_tbench_text.vhd"
|
37 |
|
|
|
38 |
|
|
vsim -L proasic3e -L presynth -t 1ps presynth.testbench
|
39 |
|
|
add wave /testbench/*
|
40 |
|
|
run -all
|