- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've designed a demodulator using HDL. The input data is stored in lpm_rom, mif file generated by matlab. I want to verify the output in matlab too after the design is programmed in FPGA, is there a way to do that?
How can I store the output signal in a lpm_ram or something that can be read back to Quartus2, then import to matlab for analysis?Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- How can I store the output signal in a lpm_ram or something that can be read back to Quartus2 --- Quote End --- You need to write some addtional logic, mainly an address counter, and use a RAM instance with one port enabled for the in system memory editor tool. It's easily done with the MegaWizard. Or use SignalTap and export the data to a file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- You need to write some addtional logic, mainly an address counter, and use a RAM instance with one port enabled for the in system memory editor tool. It's easily done with the MegaWizard. Or use SignalTap and export the data to a file. --- Quote End --- Thanks FvM! Sorry I am not very clear and have some concern I know SignalTap will do but it's very slow, and I think it's not suitable if the data need to be triggered becomes large. I want to store the outputs in the RAM then export it for Matlab. Does it make sense to log the output in RAM andread back in Matlab, even if the design is running in FPGA? I haven't used system memory editor before
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't see a principle difference between acquisition with Signaltap and a user design based on internal memory, neither in terms of available RAM capacity nor data transmission speed, as long you are using the JTAG interface to transmit the data. If you intend to use other interfaces, the user design can be faster, but would also involve more effort.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- You need to write some addtional logic, mainly an address counter, and use a RAM instance with one port enabled for the in system memory editor tool. It's easily done with the MegaWizard. Or use SignalTap and export the data to a file. --- Quote End --- Hi Fvm, do you mean i should check "Allow In System Memory content Editor to capture and update content..." when creating the LPM_RAM?

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