cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
16,296 Views
Registered: ‎04-03-2012

Exporting Vivado ILA signals to VCD file

Jump to solution

I am using Vivado 2013.2 and am using the integrated Hardware Session to debug. I want to export my ILA signals to a VCD file and am not sure how to go about doing it.


The Vivado TCL User guide mentions commands like open_vcd and log_vcd but when I try these commands I get an error saying 'No active open simulation'

 

Any suggestions?

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Moderator
Moderator
25,692 Views
Registered: ‎06-05-2013

hi,

Vivado doesn't support to save captured ILA data as a VCD file. But you can save it as WDB file or CSV file, using following command:

    write_hw_ila_data my_hw_ila_data_file [upload_hw_ila_data hw_ila_1]

 

I hope this may help.

 

Thanks

-------------------------------------------------------------------------------------
For more information please refer to configuration resources https://forums.xilinx.com/t5/FPGA-Configuration/Configuration-Resources/m-p/753763/highlight/true#M5891
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

0 Kudos
7 Replies
Highlighted
Moderator
Moderator
16,295 Views
Registered: ‎06-05-2013

Hi,

 

Please run the simulation before giving these commands.

 Follow these steps:-

1) Run simulation.After XSIM simulation window pop up, type these commands in the tcl console

2)open_vcd

3) log_vcd

4)run *ns

 5)  close_vcd
 
 
I hope this may help.
 
Thanks
 
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
For more information please refer to configuration resources https://forums.xilinx.com/t5/FPGA-Configuration/Configuration-Resources/m-p/753763/highlight/true#M5891
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Observer
Observer
16,291 Views
Registered: ‎04-03-2012

I want to save chipscope signals in VCD format not my simulation signals.

0 Kudos
Highlighted
Moderator
Moderator
25,693 Views
Registered: ‎06-05-2013

hi,

Vivado doesn't support to save captured ILA data as a VCD file. But you can save it as WDB file or CSV file, using following command:

    write_hw_ila_data my_hw_ila_data_file [upload_hw_ila_data hw_ila_1]

 

I hope this may help.

 

Thanks

-------------------------------------------------------------------------------------
For more information please refer to configuration resources https://forums.xilinx.com/t5/FPGA-Configuration/Configuration-Resources/m-p/753763/highlight/true#M5891
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

0 Kudos
Highlighted
Observer
Observer
16,224 Views
Registered: ‎08-16-2013

Is there any (good) reason that everything involving in-circuit debug seems to have taken a major step backwards with Vivado?  I'm sure I can work the data in a CSV file into a VCD file.  But being able to save the data into a file was a useful feature of the old ChipScope GUI.

0 Kudos
Highlighted
Newbie
Newbie
12,602 Views
Registered: ‎06-01-2015

this is the way to do it!

write_hw_ila_data -vcd_file c:/home/my_vcd.vcd [upload_hw_ila_data hw_ila_1]

0 Kudos
Highlighted
Newbie
Newbie
12,601 Views
Registered: ‎06-01-2015
the marked solution is no longer correct
0 Kudos
Highlighted
Scholar
Scholar
12,593 Views
Registered: ‎06-05-2013

@rasmus That post would been considering Vivado 2013.X.

-Pratham

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos