0

I would like to import data that I captured with my logic analizer using Verilog.

I dont know what would be the best way to import it to my testbench that I can test my prepared modules?

Another question is, if I should export it from logic analizer in Binary, Csv or Vdc type?

Thank you for your help!

4
  • Verilog allow to manipulate with files. So if you use verilog in logic analizer, you can write required data to file and then read the file in testbench. Commented Apr 20, 2017 at 9:35
  • I would like to display the signal that I captured with logic analizer in Vivado's simulator. Commented Apr 20, 2017 at 12:33
  • You need to explain how you want to use the captured data as stimulus. Is the timing to each pin critical, or just sampled data at a clock edge? And does the data represent the complete stimulus to your module (including the clock), or just one interface into your DUT? Commented Apr 20, 2017 at 12:52
  • I have 4 different signals, two fo them are reference and the other two are the ones that should be filtered with the module that I prepared. Timing is not important because its also changing according to input parameters. Commented Apr 21, 2017 at 5:32

1 Answer 1

1

Vivado has inbuilt feature to save the ChipScope dump, in zip format.

When you manually extract that zip file, you will have the CSV file containing all signals value.

Do modify according to your usage, read it in Verilog using file management system calls!

write_hw_ila_data my_hw_ila_data_file.zip [upload_hw_ila_data hw_ila_1]

I'm talking about that zip which is generated by this command.

  1. Generate the zip file using this command, write_hw_ila_data my_hw_ila_data_file.zip [upload_hw_ila_data hw_ila_1]
  2. Extract that zip file and see for waveform.csv
  3. Convert it into xlsx to see and make any change if require
  4. Again convert to csv, and open in testbench using file operations.

Note : Remove signal name, and extract all vectors. assign in testbench accordingly.

Sign up to request clarification or add additional context in comments.

6 Comments

I dont want to save anything but import signal that I captured with logic analizer and use it as my testbench!
To import, you have to first save it. In form of that zip, which contains CSV file. That you can open in Verilog test bench!
Aha, could you please help me with a bit more specific instructions how to do that?
Please download that file, and see what you have got in csv.
I am trying to use: write_hw_ila_data my_hw_ila_data_file.zip [upload_hw_ila_data hw_ila_1] but it doesnt work (error: ERROR: [Labtoolstcl 44-135] Invalid option value 'hw_ila_1' specified for 'hw_ila') . I think its because I dont have connected any hardware, but I dont need it yet for my purpose. I really dons know about which file are you talking to download. Sorry for not understanding your tips but I really appreciate your patience and help!
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.