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

Subversion Repositories ion

[/] [ion/] [trunk/] [sim/] [mips_tb.do] - Rev 200

Go to most recent revision | Compare with Previous | Blame | View Log

# assumed to run from /<project directory>/syn
# change the path to the libraries in the vmap commands to match your setup
# some unused modules' vcom calls have been commented out
vlib work

vcom -reportprogress 300 -work work ../vhdl/mips_pkg.vhdl
vcom -reportprogress 300 -work work ../vhdl/mips_shifter.vhdl
vcom -reportprogress 300 -work work ../vhdl/mips_alu.vhdl
vcom -reportprogress 300 -work work ../vhdl/mips_mult.vhdl
vcom -reportprogress 300 -work work ../vhdl/mips_cpu.vhdl
vcom -reportprogress 300 -work work ../vhdl/sdram_controller.vhdl
vcom -reportprogress 300 -work work ../vhdl/mips_cache_stub.vhdl
vcom -reportprogress 300 -work work ../vhdl/mips_cache.vhdl


vcom -reportprogress 300 -work work ../vhdl/tb/txt_util.vhdl
vcom -reportprogress 300 -work work ../vhdl/tb/mips_tb_pkg.vhdl
vlog -reportprogress 300 -work work ../vhdl/tb/models/mt48lc4m16a2.v

vcom -reportprogress 300 -work work ../vhdl/demo/code_rom_pkg.vhdl
vcom -reportprogress 300 -work work ../vhdl/demo/mips_mpu.vhdl

vcom -reportprogress 300 -work work ../vhdl/tb/sim_params_pkg.vhdl
vcom -reportprogress 300 -work work ../vhdl/tb/mips_tb.vhdl

vsim -t ps work.mips_tb(testbench)
do ./mips_tb_wave.do
set PrefMain(font) {Courier 9 roman normal}

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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