EmbDev.net

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


Author: Rene Gaertner (Guest)
Posted on:

Rate this post
0 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 :/

Author: SeriousSam (Guest)
Posted on:

Rate this post
0 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.

Author: Rene Gaertner (Guest)
Posted on:

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

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.