URL
https://opencores.org/ocsvn/t6507lp/t6507lp/trunk
[/] [t6507lp/] [trunk/] [rtl/] [verilog/] [vga_controller.v] - Diff between revs 228 and 229
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 228 |
Rev 229 |
Line 153... |
Line 153... |
VGA_B[2] <= 0;
|
VGA_B[2] <= 0;
|
VGA_R[3] <= 0;
|
VGA_R[3] <= 0;
|
VGA_G[3] <= 0;
|
VGA_G[3] <= 0;
|
VGA_B[3] <= 0;
|
VGA_B[3] <= 0;
|
if (vidon == 1) begin
|
if (vidon == 1) begin
|
if (hc < 40) begin
|
if (hc < 640) begin
|
if (vert_counter == 15) begin
|
if (vc > vert_counter * 16 && vc < vert_couter*16 + 16)
|
|
if (vert_counter == 1) begin
|
VGA_R[0] <= line[hc*12];
|
VGA_R[0] <= line[hc*12];
|
VGA_R[1] <= line[hc*12+1];
|
VGA_R[1] <= line[hc*12+1];
|
VGA_R[2] <= line[hc*12+2];
|
VGA_R[2] <= line[hc*12+2];
|
VGA_R[3] <= line[hc*12+3];
|
VGA_R[3] <= line[hc*12+3];
|
VGA_G[0] <= line[hc*12+4];
|
VGA_G[0] <= line[hc*12+4];
|
Line 171... |
Line 172... |
VGA_B[3] <= line[hc*12+11];
|
VGA_B[3] <= line[hc*12+11];
|
end
|
end
|
end
|
end
|
end
|
end
|
end
|
end
|
|
end
|
|
|
assign vidon = (hc < 640 && vc < 480) ? 1 : 0;
|
assign vidon = (hc < 640 && vc < 480) ? 1 : 0;
|
|
|
endmodule
|
endmodule
|
|
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.