# Verilog Display module

by Drao92
Tags: display, module, verilog
 P: 72 Hello, I have to make a Display module in verilog and first time i want to create a ball which is moving and i have a question, the vertial/horizontal synchronization module is done, the question is about displaying the image using RGB. So, i use 640x480 display and 25Mhz clock frequency and first time when i created the module i didnt took in consideration that the fpga displays 60 frames in 1.15 second and i wrote somthing like move evreytime when x=? and y=? with 2px and then i realised that i wouldnt be able to see the image because it will be moving too fast. Aint i am right??? I was thinking to implement a counter which counts the number of frames and makes the ball to move every 20, 30, 40 frames. So first of all i want to ask if it is right what i am saying and in this case what is the best delay to chose? Also, i will have acces to the the FPGA to test the modules in a few days, i dont know whats happening in reality :D. I only simulated the HV signals in modelsim and they look good.
 P: 72 I want to ask 1 more thing. What is happening if i dont give a specific value to a pixel? its black by default? For exemple: if(x>30&&x<80&&y>30&&y<50) begin R=3b111; G=3b000; B=2b00; end The pixels of the specified area in if statement will be red, but what is happening with the others? Do i have to make an else and to give them a color or its automatically black?