syedshan
Advanced Member level 1
- Joined
- Feb 27, 2012
- Messages
- 463
- Helped
- 27
- Reputation
- 54
- Reaction score
- 26
- Trophy points
- 1,308
- Location
- Jeonju, South Korea
- Activity points
- 5,134
e.g.
if X=0, Y=0, then add_XY = 0; is stored in ROM, for FRAME-0
where as X=0, Y=0, Frame-1 address = "FRAME-0 address" + 1 ;
where as X=0, Y=0, Frame-2 address = "FRAME-0 address" + 2 ;
where as X=0, Y=0, Frame-3 address = "FRAME-0 address" + 3 ;
...
...
if X=0, Y=1, then add_XY = 0; is stored in ROM, for FRAME-0
where as X=0, Y=1, Frame-1 address = "FRAME-0 address" + 1 ;
where as X=0, Y=1, Frame-2 address = "FRAME-0 address" + 2 ;
where as X=0, Y=1, Frame-3 address = "FRAME-0 address" + 3 ;
...
for X=200, Y=200....
Still, unless the address references are completely random, it would be more efficient to create the addresses rather than store them. Usually, frame data would be stored the same frame to frame, with just the frame address changing
Still, unless the address references are completly random, it would be more efficient to create the addresses rather than store them.
Two sides to this story: if you have it in your device, why not use it? On the other hand, an external SPI ROM or some such would probably allow you to move to a smaller/cheaper FPGA. So if you plan to produce this thing in series, that might be a better option. In addition, SPI flash devices exist in a wide range of densities so that would scale well
Lets say I saved the data at a time, then unless I have not kept track of the address where data starts, or where first frame of any signal exist etc. how can I retrieve it. OK while writing I can generate address, but for reading there should be something to be read, and that something must have some reference address. Right !
Lets suppose memory address is 12-bit and I have 10x10 scan area with 10 frams per scan point. I divided 4-bit each for X,Y and frame repectively
Hence address
0000_0000_0000 means (0,0) frame 0
0000_0000_00001 means (0,0) frame 1
..
..
0000_0000_1001 mean (0,0) frame 9
0000_0001_0000 mean (0,1) frame 0
...
1001_1001_1001 mean (9,9) frame 9
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?