Altera_Forum
Honored Contributor
13 years agoMemory array to pio using DMA (Video)
Hi, all!
I need to create a videosystem with soft processing on Nios II. Hardware: Camera MT9P001 (TRDB-D5M), Board DE2-115 (Cyclone 4, Video DAC ADV7123, SRAM 2 MB). System structure: Camera (MT9P001) -> Hardware preprocessing-> SRAM -> Soft processing ->[ Video DAC for test result] I have developed a SOPC with DMA (Mem-Mem, Mem-PIO, PIO-Mem), alt_pll for video clock. At first i'm testing video out. Question. How to generate synchronous transfer of data by means of DMA (I need a signal such as Data Valid)? Where I can found a waveform of DMA-transfer (Memory->PIO)? May be it is wrong way, and it is impossible to generate a synchronous transfer from Memory to PIO? top level: nios DUT( .clk_0 (CLOCK_50), .clk_VGA (CLOCK_39), // Clock from PLL to VGA controller .out_port_from_the_VGA_data ( // Colour to VGA Controller {VGA_B_from_cpu[7:0], VGA_G_from_cpu[7:0], VGA_R_from_cpu[7:0]}), ... ); In SOPC clock CLOCK_39 connect to PIO (VGA_data) and DMA. Thank you.