yttuncel
Junior Member level 3
- Joined
- Nov 18, 2012
- Messages
- 30
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 1,663
Hello,
I am trying to use a screen buffer to store, change and output the bits of a video data to the DVI transmit interface.
I can not decide what kind of a RAM to use as the screen buffer. With some reading, I came to the conclusion that dual port inferred RAM would be the best choice. However, I am not sure how to use its read and write ports. I already managed to infer a ram block and instantiated it with using a function that generates a .mif file.
My current progress is as follows:
I did not embed any codes for simplicity, and I tried to be as clear as possible. If needed or wanted, I will post code snippets.
My question is the following: Is there a better way to approach to this issue, because my attempts up to now are not succesful. It seems that I can not write to RAM.
I am trying to use a screen buffer to store, change and output the bits of a video data to the DVI transmit interface.
- I am using Altera Cyclone III development kit.
- I will be using 1440x900@60Hz for my resolution so my pixel clock rate is 106.7 MHz. The DVI interface is written and is tested within another project that was not using a screen buffer, but I think it is not a source to any problem.
I can not decide what kind of a RAM to use as the screen buffer. With some reading, I came to the conclusion that dual port inferred RAM would be the best choice. However, I am not sure how to use its read and write ports. I already managed to infer a ram block and instantiated it with using a function that generates a .mif file.
My current progress is as follows:
- Words will be 16 bits long. This means that RAM will have 81K addresses.
- The READ port will always have its write enable signal LOW (0).
- The WRITE port will always have its write enable signal HIGH (1).
- So I am trying to write and read SIMULTANEOUSLY. The clock for both is the same.
I did not embed any codes for simplicity, and I tried to be as clear as possible. If needed or wanted, I will post code snippets.
My question is the following: Is there a better way to approach to this issue, because my attempts up to now are not succesful. It seems that I can not write to RAM.