am doin my final year project in Altera DE 1 board. The project in basically image processing. I hv converted the pixel values of the image into hexadecimal value.
There is a software that comes along with the kit called DE1 Control Panel which works only after v load the .sof file from Quartus 2 Software . Thru the control panel v can write/read data into/from the SRAM or SDRAM or even make the LEDs n & 7 segment display to glow according to our wish.
So i loaded the hexa values of the image into the SRAM using the software DE1 Control Panel.
The problem is how do i read de hexa values from de SRAM into the Verilog code?? wat is the syntax to invoke de data stored in SRAM into my Program??
I desperately need to complete my project and i ll be grateful to whoever gives me the idea...
Reading SRAM is very easy. Just put the address to the data bus, assert /CE, /OE, /LB and /UB and read the data one clock cycle later. SDRAM access is more complex and needs a controller. Terasic has included a Verilog SDRAM controller with demonstration projects.
De address s generated by de software i said abt... A software called DE 1 control panel is given along wit de kit... Once v load de data into sram frm de software de address is generated by de software itself n de address s displayed! De data v actually loaded s an image file... V need to read de pixel values of image n apply discrete cosine transform on de image!