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

Subversion Repositories pltbutils

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /pltbutils/branches/dev0007/sim
    from Rev 55 to Rev 64
    Reverse comparison

Rev 55 → Rev 64

/example_sim/bin/comp.do
2,13 → 2,13
# ModelSim do-script for compiling design and testbench
vlib work
vcom -novopt -work work \
../../../example/vhdl/dut_example.vhd \
../../../examples/vhdl/rtl_example/dut_example.vhd \
../../../src/vhdl/txt_util.vhd \
../../../src/vhdl/pltbutils_user_cfg_pkg.vhd \
../../../src/vhdl/pltbutils_func_pkg.vhd \
../../../src/vhdl/pltbutils_comp.vhd \
../../../src/vhdl/pltbutils_comp_pkg.vhd \
../../../example/vhdl/tc_example.vhd \
../../../examples/vhdl/tb_example2/tc_example2.vhd \
$1 \
../../../example/vhdl/tb_example.vhd
../../../examples/vhdl/tb_example2/tb_example2.vhd
/example_sim/bin/wave.do
1,40 → 1,40
onerror {resume}
quietly virtual signal -install /tb_example {/tb_example/pltbs.test_num } Test_number
quietly virtual signal -install /tb_example {/tb_example/pltbs.test_name } Test_name
quietly virtual signal -install /tb_example {/tb_example/pltbs.info } Info
quietly virtual signal -install /tb_example {/tb_example/pltbs.chk_cnt } Checks
quietly virtual signal -install /tb_example {/tb_example/pltbs.err_cnt } Errors
quietly virtual signal -install /tb_example {/tb_example/pltbs.stop_sim } StopSim
quietly virtual signal -install /tb_example {/tb_example/pltbs.test_num } TestNumber
quietly virtual signal -install /tb_example {/tb_example/pltbs.test_name } TestName
quietly virtual signal -install /tb_example2 {/tb_example2/pltbs.test_num } Test_number
quietly virtual signal -install /tb_example2 {/tb_example2/pltbs.test_name } Test_name
quietly virtual signal -install /tb_example2 {/tb_example2/pltbs.info } Info
quietly virtual signal -install /tb_example2 {/tb_example2/pltbs.chk_cnt } Checks
quietly virtual signal -install /tb_example2 {/tb_example2/pltbs.err_cnt } Errors
quietly virtual signal -install /tb_example2 {/tb_example2/pltbs.stop_sim } StopSim
quietly virtual signal -install /tb_example2 {/tb_example2/pltbs.test_num } TestNumber
quietly virtual signal -install /tb_example2 {/tb_example2/pltbs.test_name } TestName
quietly WaveActivateNextPane {} 0
add wave -noupdate -divider {Simulation info}
add wave -noupdate /tb_example/TestNumber
add wave -noupdate /tb_example/TestName
add wave -noupdate /tb_example/Info
add wave -noupdate /tb_example/Checks
add wave -noupdate /tb_example/Errors
add wave -noupdate /tb_example/StopSim
add wave -noupdate /tb_example2/TestNumber
add wave -noupdate /tb_example2/TestName
add wave -noupdate /tb_example2/Info
add wave -noupdate /tb_example2/Checks
add wave -noupdate /tb_example2/Errors
add wave -noupdate /tb_example2/StopSim
add wave -noupdate -divider Tb
add wave -noupdate /tb_example/clk
add wave -noupdate /tb_example/rst
add wave -noupdate /tb_example/carry_in
add wave -noupdate /tb_example/x
add wave -noupdate /tb_example/y
add wave -noupdate /tb_example/sum
add wave -noupdate /tb_example/carry_out
add wave -noupdate /tb_example2/clk
add wave -noupdate /tb_example2/rst
add wave -noupdate /tb_example2/carry_in
add wave -noupdate /tb_example2/x
add wave -noupdate /tb_example2/y
add wave -noupdate /tb_example2/sum
add wave -noupdate /tb_example2/carry_out
add wave -noupdate -divider DUT
add wave -noupdate /tb_example/dut0/clk_i
add wave -noupdate /tb_example/dut0/rst_i
add wave -noupdate /tb_example/dut0/carry_i
add wave -noupdate /tb_example/dut0/x_i
add wave -noupdate /tb_example/dut0/y_i
add wave -noupdate /tb_example/dut0/sum_o
add wave -noupdate /tb_example/dut0/carry_o
add wave -noupdate /tb_example/dut0/x
add wave -noupdate /tb_example/dut0/y
add wave -noupdate /tb_example/dut0/c
add wave -noupdate /tb_example/dut0/sum
add wave -noupdate /tb_example2/dut0/clk_i
add wave -noupdate /tb_example2/dut0/rst_i
add wave -noupdate /tb_example2/dut0/carry_i
add wave -noupdate /tb_example2/dut0/x_i
add wave -noupdate /tb_example2/dut0/y_i
add wave -noupdate /tb_example2/dut0/sum_o
add wave -noupdate /tb_example2/dut0/carry_o
add wave -noupdate /tb_example2/dut0/x
add wave -noupdate /tb_example2/dut0/y
add wave -noupdate /tb_example2/dut0/c
add wave -noupdate /tb_example2/dut0/sum
add wave -noupdate -divider End
TreeUpdate [SetDefaultTree]
WaveRestoreCursors {{Cursor 1} {0 ps} 0}
/example_sim/bin/tc1.do
6,8 → 6,8
set vsim_arg $1
}
 
do comp.do ../../../example/vhdl/tc1.vhd
vsim -l ../log/tc1.log $vsim_arg tb_example
do comp.do ../../../examples/vhdl/tb_example2/tc1.vhd
vsim -l ../log/tc1.log $vsim_arg tb_example2
#do log.do
do ../bin/wave.do
run 1 ms

powered by: WebSVN 2.1.0

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