EmbDev.net

Forum: FPGA, VHDL & Verilog Altera FPGA NEEK, how to get one Special Adress from the SRAM


von Rene Gaertner (Guest)


Rate this post
useful
not useful
Hello

i m just writing on my Exams (Diplomwork) and got a Hughe Problem i can 
t solve by myself.
I m working on an Altera FPGA, especially on the NiosII Evaluation 
Board(NEEK)
.
I use a part of the MTDB_LCD_TV Project that is delivert and can be 
downloaded from the Altera Page with the NEEK Board.

There is a Function that instanciates the SSRAM and reading all Adresses 
from their.
I need to Read ONE SPECIAL ADRESS and than the next SPECIAL ADRESS for 
Object recognizing.
The Memory contains a Snapshot from a Camera that is saved linewise, so 
the Coordinates X 100 and Y100 is at Adress 100*100 = 10000 now my 
Problem is in need to find the Contour of an Object the Coordinates 
around that Pixel. e.g. Koordinate X99 Y99 is at Adress 99*99 = 9801 and 
so on...

PLEASE HELP ME CAN T GET THAT ONE PIXEL out of the SSRAM :/

von SeriousSam (Guest)


Rate this post
useful
not useful
Where exactly do you have problems? If the SSRAM is memory mapped as it 
almost certainly is you can access it from your processor using load and 
store instructions. Just pay attention to caches that might be present 
in your system.

von Rene Gaertner (Guest)


Rate this post
useful
not useful
The Problem is that i can t access a single Adresse dunno why :/

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.