UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor avigailr
Visitor
417 Views
Registered: ‎01-18-2018

export_simulation

Hi,

We have a verilog project (with some SV files) and we only use the "launch_simulation" command to run in using Verdi.

 

We would like to run some random regressions on the project, using the "export_simulation" command to VCS.

 

We first build the project, where in our project settings we have some "more options" defined for elaboration and simulation (see below). If we use the command "open_project->launch_simualtion" then these settings take affect, but for the "export_simulation" they don't appear in the generated shell script.

 

Project settings form build_project.tcl:

 

 

set obj [get_filesets sim_1]
set_property -name "vcs.elaborate.vcs.more_options" -value "-debug_access+all" -objects $obj
set_property -name "vcs.simulate.vcs.more_options" -value "-gui=verdi -do ../../../../src/tb/tb.do +ntb_random_seed_automatic" -objects $obj

 

 

The export_simulation:

 

 

open_project ./project_name/project_name.xpr

export_simulation  -lib_map_path "./project_name/project_name.cache/vcs" -force -directory "." -simulator vcs  -define [list {SIMULATION=1}] -use_ip_compiled_libs -of_objects $obj

 

 

Output shell script:

 

# Command line options
vlogan_opts="-full64"
vhdlan_opts="-full64"
vcs_elab_opts="-full64 -debug_pp -t ps -licqueue -l elaborate.log"
vcs_sim_opts="-ucli -licqueue -l simulate.log"

 

How can I pass these arguments to the generated shell script?

 

Also, would love some pointers on creating a regression for this kind of env.....

 

Thanks

 

0 Kudos