- Fri Apr 25, 2008 4:21 pm
#47063
Greetings Trevor,
Here's my numbers.
The display is 480 x 272 pixels = 130,560
Each pixel is 24 bits = 130,560 x 24 = 3,133,440
Each memory plane is = 3,133,440/8 = 391,680 Bytes
Ping Pong buffer has two planes = 391,680 * 2 = 783,360 Bytes
You only need one meg Byte of RAM to support
this display. A SRAM would be much easier to use
(than a DRAM).
For your prototype don't bother compressing the
display into contiguous addresses, just "waste"
the end of each row and a few more rows at the
bottom of the display to simplify the addressing.
Round up the memory to a stock size.
The new memory map is now 512 x 512 x 24b,
the H address and the V address are both 9 bits.
512 x 512 x 3 x 2 = 1,572,864 Bytes
Perhaps it makes more sense to get three physical
memory chips, one each for the RGB data?
As there are many 16b memory maps, perhaps
the memory outputs 16b and a latch saves 8b
for the next PIXEL, thus cutting the memory
speed in half. Or, read 16b from the memory
and use the next memory cycle for a write?
The dual port memory seems much more expensive
than Async SRAM.
Should be interesting to see what you end up with.
On other thought, to light up the display you don't
need any memory. Once you have the H and V
syncs applied you can toggle the high order bits of
the PIXEL data and get colour blocks on the screen.
(Not much different from the "colour organ" you had
in your OP).
Comments Welcome!
iceblu3710 wrote:as for memory ill need ((130,000x24)x2) ~6.5Mb ram that has a maximum transfer rate of 111ns so it will never fall behind the scan.I'm thinking through the memory requirements,
Here's my numbers.
The display is 480 x 272 pixels = 130,560
Each pixel is 24 bits = 130,560 x 24 = 3,133,440
Each memory plane is = 3,133,440/8 = 391,680 Bytes
Ping Pong buffer has two planes = 391,680 * 2 = 783,360 Bytes
You only need one meg Byte of RAM to support
this display. A SRAM would be much easier to use
(than a DRAM).
For your prototype don't bother compressing the
display into contiguous addresses, just "waste"
the end of each row and a few more rows at the
bottom of the display to simplify the addressing.
Round up the memory to a stock size.
The new memory map is now 512 x 512 x 24b,
the H address and the V address are both 9 bits.
512 x 512 x 3 x 2 = 1,572,864 Bytes
Perhaps it makes more sense to get three physical
memory chips, one each for the RGB data?
As there are many 16b memory maps, perhaps
the memory outputs 16b and a latch saves 8b
for the next PIXEL, thus cutting the memory
speed in half. Or, read 16b from the memory
and use the next memory cycle for a write?
The dual port memory seems much more expensive
than Async SRAM.
Should be interesting to see what you end up with.
On other thought, to light up the display you don't
need any memory. Once you have the H and V
syncs applied you can toggle the high order bits of
the PIXEL data and get colour blocks on the screen.
(Not much different from the "colour organ" you had
in your OP).
Comments Welcome!
No Longer Sharing My ID
I'm over 13 & support COPPA regulations
I'm over 13 & support COPPA regulations