URL
https://opencores.org/ocsvn/t6507lp/t6507lp/trunk
[/] [t6507lp/] [trunk/] [rtl/] [verilog/] [video.v] - Diff between revs 238 and 246
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 238 |
Rev 246 |
Line 442... |
Line 442... |
// 1 P0, M0
|
// 1 P0, M0
|
// 2 P1, M1
|
// 2 P1, M1
|
// 3 BL, PF
|
// 3 BL, PF
|
// 4 BK
|
// 4 BK
|
if (CTRLPF[0] == 1'b1) begin// reflected PF
|
if (CTRLPF[0] == 1'b1) begin// reflected PF
|
if (ENABL == 1'b1) begin // the ball is enabled
|
if (vert_counter == p0 || vert_counter == m0) begin
|
|
pixel = COLUP0;
|
|
end
|
|
else if (vert_counter == p1 || vert_counter == m1) begin
|
|
pixel = COLUP1;
|
|
end
|
|
else if (ENABL == 1'b1) begin // the ball is enabled
|
if (vert_counter == bl_position) begin
|
if (vert_counter == bl_position) begin
|
pixel = COLUPF;
|
pixel = COLUPF;
|
end
|
end
|
end
|
end
|
else begin
|
else begin
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.