Forum Discussion
Altera_Forum
Honored Contributor
17 years agoWrite to SRAM in vhdl; Then read into NIOS?
I would like to write data to a specific SRAM address using verilog (no nios) and then access that same memory address using the NIOS processor. The main purpose for this is to execute a video pro...
Altera_Forum
Honored Contributor
17 years agoI have implemented something like this - however i am using the 3c120 board
with more resources, but the concept is same. Like Daixiwen said, you can use Altera SGDMA, to bring the data into your sram. You need to write a custom verilog module which will provide an interface between your incoming video data and the Avalon streaming port of the SGDMA. Assuming it is image processing done in software - i think you do not require 30fps ? then you can setup the SGDMA to deposit data to your sram buffer address and generate an interrupt when its done. You can control the frame capture this way by enable/disabling your custom module. Setting proper arbitration values and depending on your software you can get a higher frame rate. Regards Foram