- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
I have a sopc built system with a fifo, dma and the nios processor. With this I am transferring data from the fifo (that receives data from a custom made data generator) to sdram and further through ethernet. In software, I want to be able to run a system reset that resets the nios processor AND the fifo buffer. I have managed to reset the nios, but the fifo then contains "old" data after the reset. Is it possible in any way to empty the fifo buffer? Thanks in advance for any answers! :-)Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You could always read it until empty :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try building you own component using altera fifo megafunction inside it and triggering the reset by a particular reset access.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you guys! I'll give it a try.

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