03-08-2018 06:37 AM
I know I can save verilog filenames in an filelist.f file, and then use "xvlog -f filelist.f ... ; xelab ... ; xsim ...".
But how should I do with the IP directory (e.g., mult_gen_1) generated by Vivado2017.3?
Which Linux shell command should I use?
Which file (as shown in the picture below) in the directory "mult_gen_1" should I use?
Please help me! Thanks a lot!
03-08-2018 09:15 AM
You can use export simulation to generate simulation scripts. Go to file->export->export simulation. This will generate scripts which use xvlog , xelab ,xsim commands to run simulation.
03-14-2018 05:12 AM
If what you want is to use an Xilinx ip with your own code? then the problem with export_simulation is that you need to add it all in a Vivado project. The way we do it to get arround this:
1. create tcl description for generating the IP.
- setting up the IP
- exporting_simulation (to get all the simulation setup for your simulator)
- writing the compile commands to a file. exsample: xvlog -prj vlog.prj (this require that you look at the xxx.sh that comes from the export_simulation)
2. run the tcl script in vivado to generate the IP files:
vivado -mode batch -source yyy.tcl
3. run the script that was written.
then you do the normal compile and elaborate steps. remember that you will need to add the glbl to the elaboration for many of the IPs