Friday, February 5, 2016

vivado tip - Save and restore captured data in ILA core

Ref [1] provides info on how to  save and restore captured data in ILA core.
To save, use the following command in the tcl console.
write_hw_ila_data my_hw_ila_data_file.zip [upload_hw_ila_data hw_ila_1]
To restore, use the following command.
display_hw_ila_data [read_hw_ila_data my_hw_ila_data_file.zip]
NOTE: When trying the restore operation, I found "open_hw" needs to be executed at least. Otherwise, it will give error.  So the simplest steps to restore the saved data are below.
1. Launch Vivado
2. Type "open_hw" at tcl console or simply click the icon button of "Open Hardware Manager" to open hardware manager.
3. Type the command "display_hw_ila_data [read_hw_ila_data my_hw_ila_data_file.zip]" to restore the captured data.



Reference
-------------
1. Vivado Design Suite User Guide: Programming and Debugging

No comments:

Post a Comment