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

Subversion Repositories qaz_libs

[/] [qaz_libs/] [trunk/] [basal/] [sim/] [tests/] [legacy/] [tb_tiny_async_fifo/] [init_test.do] - Rev 50

Compare with Previous | Blame | View Log

# ------------------------------------
#
# ------------------------------------

global env

set env(ROOT_DIR) ../../../../..
set env(PROJECT_DIR) ../../..
set env(SIM_TARGET) fpga

# load sim procedures
do $env(ROOT_DIR)/qaz_libs/scripts/sim_procs.do

radix -hexadecimal

make_lib work 1

sim_compile_all async_fifo
sim_compile_all sim

# simulation $root
vlog $env(PROJECT_DIR)/sim/src/tb_tiny_async_fifo.sv

# compile test last
vlog ./the_test.sv

# vopt work.glbl tb_top -L secureip -L simprims_ver -L unisims_ver -f opt_tb_top.f -o opt_tb_top

# run the sim
sim_run_test



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.