Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // M
- else if (hcount >= 80 && hcount <= 100 && vcount >= 100 && vcount <= 400) {r,g,b} <= 12'h0_0_0;
- else if (vcount-hcount >= 0 && vcount-hcount <= 20 && vcount >= 100 && vcount <= 230 && vcount+hcount <= 440) {r,g,b} <= 12'h0_0_0;
- else if (vcount+hcount >= 440 && vcount+hcount <= 460 && vcount >= 100 && vcount <= 230) {r,g,b} <= 12'h0_0_0;
- else if (hcount >= 340 && hcount <= 360 && vcount >= 100 && vcount <= 400) {r,g,b} <= 12'h0_0_0;
- // Z
- else if (hcount >= 400 && hcount <= 680 && vcount >= 100 && vcount <= 120) {r,g,b} <= 12'h0_0_0;
- else if (vcount+hcount >=780 && vcount+hcount<=800 && vcount >= 100 && vcount <= 400 && hcount >= 400 && hcount <= 680) {r,g,b} <= 12'h0_0_0;
- else if (hcount >= 400 && hcount <= 680 && vcount >= 380 && vcount <= 400) {r,g,b} <= 12'h0_0_0;
- else {r,g,b} <= 12'h8_8_8;
- end
- end
- endmodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement