- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am working on a project that is going to be an interface between a custom digital imager and a computer monitor. I have my whole set up done in the SOPC builder and some other VHDL code written to control outputs for controlling the imager.
The problem I am facing now is how to save the image data in memory? The incoming image is 60x80 pixels and I just need to save it in the SRAM memory with the initial address of 0x00080000 and the system I built in the SOPC builder should take care of the rest. The incoming pixel data will be 14 bits in size (output of a 14-bit A to D converter). I have no experience with writing to memory so if someone could help me out that would be awesome!! Thanks ahead of time!! GregLink Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you can format the incoming data as an Avalon Stream, then you could use a DMA component (such as Altera's SGDMA) to write the image to memory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do I do that? I am a rookie at this stuff and the only way I have been able to do what I have done is by following a demo and reading a textbook...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can read about the Avalon Stream specification in this document (http://www.altera.com/literature/manual/mnl_avalon_spec.pdf) (chapter 5) and the Altera SGDMA in this document (http://www.altera.com/literature/ug/ug_embedded_ip.pdf) (chapter 25).
To connect your custom interface with the SGDMA in SOPC builder you will have to create a custom component. You can have a look at this document (http://www.altera.com/literature/ug/ug_sopc_builder.pdf) (chapter 6) about SOPC builder's component creator.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok I'll take a look at it. Thanks for the help.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page