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: 
Visitor yushans
Visitor
1,066 Views
Registered: ‎08-17-2018

Convert SDAccel Device Hardware Transaction View from wdb to txt?

Jump to solution

I am using SDAccel 2017.4 and have generated the Device Hardware Transaction View with the detailed kernel trace. It's format is in wdb and wcfg. I am able to view it in SDx. Is there a way to convert the Device Hardware Transaction View into another format like txt so that I could analyze it using matlab/python?

 

Thank you!

Yushan

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
801 Views
Registered: ‎11-04-2010

Re: Convert SDAccel Device Hardware Transaction View from wdb to txt?

Jump to solution
Xilinx doesn't provide a tool to convert wbd file csv file.
-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

0 Kudos
6 Replies
Xilinx Employee
Xilinx Employee
961 Views
Registered: ‎03-24-2010

Re: Convert SDAccel Device Hardware Transaction View from wdb to txt?

Jump to solution

Please try 

 sdx_analyze trace -i ***.csv -f json

Regards,
brucey
----------------------------------------------------------------------------------------------
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
Visitor yushans
Visitor
950 Views
Registered: ‎08-17-2018

Re: Convert SDAccel Device Hardware Transaction View from wdb to txt?

Jump to solution

Thank you for the suggestion!

 

I tried 

sdx_analyze trace -i test.csv -f json

but got the error

ERROR: Invalid filename: test.csv

 

I added an -g flag to the xocc command and added launch_waveform=gui to the sdaacel.ini file. I got an ***.wcfg and ***.wdb as output. The output is like the Device hardware transaction view in Page 60 and Page 61 of this document (https://www.xilinx.com/support/documentation/sw_manuals/xilinx2017_4/ug1207-sdaccel-optimization-guide.pdf). Is there a way to convert ***.wcfg and ***.wdb to a csv file?

 

Thank you!

Yushan

0 Kudos
Visitor yushans
Visitor
922 Views
Registered: ‎08-17-2018

Re: Convert SDAccel Device Hardware Transaction View from wdb to txt?

Jump to solution

I guess this command converts ***.csv to ***.wdb?

Is there a command which converts ***.wdb to ***.csv?

 

Thanks!

Yushan

0 Kudos
Moderator
Moderator
897 Views
Registered: ‎01-16-2013

Re: Convert SDAccel Device Hardware Transaction View from wdb to txt?

Jump to solution
0 Kudos
Visitor yushans
Visitor
881 Views
Registered: ‎08-17-2018

Re: Convert SDAccel Device Hardware Transaction View from wdb to txt?

Jump to solution

Thank you for the information. Page #35 of this tutorial converts the csv files of the profile summary and timeline trace to files SDx can read.

 

Is there a way to convert the Device Hardware Transaction View file, which is a wdb file SDx can read, to a csv file?

 

Thanks!

Yushan

0 Kudos
Moderator
Moderator
802 Views
Registered: ‎11-04-2010

Re: Convert SDAccel Device Hardware Transaction View from wdb to txt?

Jump to solution
Xilinx doesn't provide a tool to convert wbd file csv file.
-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

0 Kudos