URL
https://opencores.org/ocsvn/light52/light52/trunk
Subversion Repositories light52
[/] [light52/] [trunk/] [sim/] [light52_full_tb.do] - Rev 4
Go to most recent revision | Compare with Previous | Blame | View Log
# Run main test bench: opcode test assembled for 'full' CPU -- the CPU with
# BCD instructions implemented.
# assumed to run from /<project directory>/sim
vlib work
vcom -reportprogress 300 -work work ../vhdl/light52_pkg.vhdl
vcom -reportprogress 300 -work work ../vhdl/light52_ucode_pkg.vhdl
# Use object code package from 'full' opcode tester.
vcom -reportprogress 300 -work work ../test/cpu_test/full_test_pkg.vhdl
vcom -reportprogress 300 -work work ../vhdl/light52_muldiv.vhdl
vcom -reportprogress 300 -work work ../vhdl/light52_alu.vhdl
vcom -reportprogress 300 -work work ../vhdl/light52_cpu.vhdl
vcom -reportprogress 300 -work work ../vhdl/light52_timer.vhdl
vcom -reportprogress 300 -work work ../vhdl/light52_uart.vhdl
vcom -reportprogress 300 -work work ../vhdl/light52_mcu.vhdl
vcom -reportprogress 300 -work work ../vhdl/tb/txt_util.vhdl
vcom -reportprogress 300 -work work ../vhdl/tb/light52_tb_pkg.vhdl
vcom -reportprogress 300 -work work ../vhdl/tb/light52_tb.vhdl
# Simulate default system: all generics have default values.
vsim -t ps -gBCD=true work.light52_tb(testbench)
do ./light52_tb_wave.do
set PrefMain(font) {Courier 9 roman normal}
Go to most recent revision | Compare with Previous | Blame | View Log