G
Gladys
Guest
hi all, I want to implement a DDR2 SDRAM controller, as Xilinx
provides MIG software tool to create IP core for the memory
interface, however I have some questions about the port configuration.
I want to store up to 9 frames(3000H x 2748V) of image data into 1GB
DDR2 SDRAM(MT47H64M16), the frame size is resolution x bits/pixel = 10
megapixels(3664H x 2748V) x 12bits/pixel = 15MB.
In the prototyping, the address bits = 14, data bits=16, bank
address=3bits, I need asynchronous write and read from SDRAM:
1- How to choose Port Configuration among the 5 configurations? For
example:2 32bits Bidir + 4 32bits Unidir, 4 32bits Bidir, 2 64bits
Bidir, etc.
2- How to choos the fruequency, in the datasheet, the max frequency
could be 333MHz, actually the master clock of FPGA is set to 25MHz,
what frequency for the SDRAM should be fine?
3- Since each pixel has 12bits, the data bus is 16bits, How should the
storage perform, the extra 4 bits will be a waste, is it?
4- how are the frames stored? line by line, frame by frame, how to
seperate each line or each frame?
Thanks for your help!
Gladys
provides MIG software tool to create IP core for the memory
interface, however I have some questions about the port configuration.
I want to store up to 9 frames(3000H x 2748V) of image data into 1GB
DDR2 SDRAM(MT47H64M16), the frame size is resolution x bits/pixel = 10
megapixels(3664H x 2748V) x 12bits/pixel = 15MB.
In the prototyping, the address bits = 14, data bits=16, bank
address=3bits, I need asynchronous write and read from SDRAM:
1- How to choose Port Configuration among the 5 configurations? For
example:2 32bits Bidir + 4 32bits Unidir, 4 32bits Bidir, 2 64bits
Bidir, etc.
2- How to choos the fruequency, in the datasheet, the max frequency
could be 333MHz, actually the master clock of FPGA is set to 25MHz,
what frequency for the SDRAM should be fine?
3- Since each pixel has 12bits, the data bus is 16bits, How should the
storage perform, the extra 4 bits will be a waste, is it?
4- how are the frames stored? line by line, frame by frame, how to
seperate each line or each frame?
Thanks for your help!
Gladys