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

Subversion Repositories uart2bus_testbench

[/] [uart2bus_testbench/] [trunk/] [tb/] [run.do] - Diff between revs 8 and 18

Only display areas with differences | Details | Blame | View Log

Rev 8 Rev 18
 
rm -rf work
 
rm -rf *.log
 
rm -rf transcript
 
rm -rf vsim.wlf
 
rm -rf vsim_stacktrace.vstf
vlib work
vlib work
 
#setenv UVM_HOME '/home/hanysalah/Desktop/training/uvm-1.2'
 
#------------------------------
 
# BFMs Compiling
 
#------------------------------
 
vlog  uvm-1.2/src/uvm.sv +incdir+uvm_src/
#------------------------------
#------------------------------
# BFMs Compiling
# BFMs Compiling
#------------------------------
#------------------------------
vlog -novopt interfaces/uart_interface.sv +incdir+../
vlog -novopt interfaces/uart_interface.sv +incdir+../
vlog -novopt interfaces/rf_interface.sv +incdir+../
vlog -novopt interfaces/rf_interface.sv +incdir+../
vlog -novopt interfaces/uart_arbiter.sv +incdir+../
vlog -novopt interfaces/uart_arbiter.sv +incdir+../
#-----------------------------
#-----------------------------
# Agent Compiling
# Agent Compiling
#------------------------------
#------------------------------
vlog -novopt agent/agent_pkg.sv +incdir+agent +incdir+agent/driver  +incdir+./ +incdir+agent/configuration +incdir+agent/sequence +incdir+agent/transaction +incdir+agent/monitor +incdir+agent/coverage
vlog -novopt agent/agent_pkg.sv +incdir+agent +incdir+agent/driver  +incdir+./ +incdir+agent/configuration +incdir+agent/sequence +incdir+agent/transaction +incdir+agent/monitor +incdir+agent/coverage  +incdir+uvm_src/ +define+UVM_1p2
#-----------------------------
#-----------------------------
# Environment & Scoreboard Compiling
# Environment & Scoreboard Compiling
#------------------------------
#------------------------------
vlog -novopt env/env_pkg.sv +incdir+env +incdir+analysis
vlog -novopt env/env_pkg.sv +incdir+env +incdir+analysis  +incdir+uvm_src/ +define+UVM_1p2
#-----------------------------
#-----------------------------
# UART TEST Compiling
# UART TEST Compiling
#------------------------------
#------------------------------
vlog -novopt uart_pkg.sv +incdir+test/ +incdir+agent/ +incdir+env/ +incdir+./ +incdir+../
vlog -novopt uart_pkg.sv +incdir+test/ +incdir+agent/ +incdir+env/ +incdir+./ +incdir+../  +incdir+uvm_src/ +define+UVM_1p2
#-----------------------------
#-----------------------------
# UART DUT Compiling
# UART DUT Compiling
#------------------------------
#------------------------------
vlog ../rtl/uart_tx.v +incdir+../rtl
vlog ../rtl/uart_tx.v +incdir+../rtl
vlog ../rtl/uart_rx.v +incdir+../rtl
vlog ../rtl/uart_rx.v +incdir+../rtl
vlog ../rtl/baud_gen.v +incdir+../rtl
vlog ../rtl/baud_gen.v +incdir+../rtl
vlog ../rtl/uart_top.v +incdir+../rtl
vlog ../rtl/uart_top.v +incdir+../rtl
vlog ../rtl/uart_parser.v +incdir+../rtl
vlog ../rtl/uart_parser.v +incdir+../rtl
vlog ../rtl/uart2bus_top.v +incdir+../rtl
vlog ../rtl/uart2bus_top.v +incdir+../rtl
#-----------------------------
#-----------------------------
# UART Top Testbench Compiling
# UART Top Testbench Compiling
#------------------------------
#------------------------------
vlog -novopt uart_top.sv +incdir+../../rtl/i2c/ +incdir+./ +incdir+../rtl
vlog -novopt uart_top.sv +incdir+../../rtl/i2c/ +incdir+./ +incdir+../rtl  +incdir+uvm_src/ +define+UVM_1p2
#-----------------------------
#-----------------------------
# UART Top Testbench Simulation
# UART Top Testbench Simulation
#------------------------------
#------------------------------
vsim -novopt +coverage uart_top_tb
vsim -novopt +coverage uart_top_tb -sv_lib /home/hanysalah/Desktop/training/uvm-1.2/lib/uvm_dpi64 +UVM_NO_RELNOTES
run -all
run -all
 
 

powered by: WebSVN 2.1.0

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