actually yes, i wanted ready-made code for this because the vga controller is just a small part of my project. i dont feel the need to build it myself.
i know what the circuit is and i know how it works and i know what inputs will give what type of outputs bla bla bla. i know what i should write in verilog bla bla bla.
you guys dont get my point. i said in my first post that i want verilog code that will let me drive three bits for each color because i thought that a nice colorful display might be a good idea and might impress the people who will evaluate my project.
anyway thanx, for nothing!!!