- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm looking for a method to store all data from a 16 bit register on my FPGA. I'm currently using Signaltap to view data in real time using the "Autorun Analysis", and save the data logs for each trigger individually to a csv or list file - how can I save the entire length of the analysis to a single file?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To update on my progress:
I have gotten the Matlab MEX connection to work, which allows me to sample my data in real-time, but it's painfully slow (~5 samples/sec) compared to the rate that the SignalTap data logs are being made (74k samples/sec). Ideally I would just be able to save all of these data logs to a single file, for further analysis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How much data are we talking about? You could make use of a segmented buffer and/or storage qualification to collect all the data you need in a single run depending on how much it is and if it can be qualified.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI, thanks for your response. The total amount of data will be > 100MB, so I don't think I could collect it all in one run. What I did try, was to use matlab mex to sample the data in groups of 16k samples, but even then it could not keep up to my sampling rate. It seems ridiculous that there isn't a way to save multiple data logs at once?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Did the above reply help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not really. Could you answer my question: Can I save multiple data logs at once?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, this isn't possible. You can't capture this much data inside the FPGA (limited buffer space) and as you've already found, sampling over the 24 MHz interface of JTAG is not sufficient. It might be better to look at the logic analyzer interface (LAI) to send the signals you want to see outside the device to a bench logic analyzer and use the huge storage available there.
Or you could look at a state-based trigger to have full control over how much buffer space each trigger stores in a segmented buffer to make most efficient use of the on-chip buffer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm pretty sure that's what I'm trying to do. I can send the signals to the LAI, and I could export them to a csv one at a time, but I'm trying to find a way to export them all at once. It seems like a trivial thing to do, but I can't figure it out! I attached an image of the interface after I've run an analysis.
Thanks for the help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, the LAI is a separate debugging feature of Quartus (not Signal Tap). You use unused pins on your FPGA to send internal signals out of the device to a bench logic analyzer or other bench lab equipment. See the Debug Tools user guide:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can find the comparison between Signal Tap and LAI here: https://www.intel.com/content/www/us/en/programmable/documentation/nfc1513989909783.html#mwh1410384891948

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page