Advertisement
Guest User

Untitled

a guest
Mar 5th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.      
  3.       // M
  4.       else if (hcount >= 80 && hcount <= 100 && vcount >= 100 && vcount <= 400) {r,g,b} <= 12'h0_0_0;
  5.       else if (vcount-hcount >= 0 && vcount-hcount <= 20 && vcount >= 100 && vcount <= 230 && vcount+hcount <= 440) {r,g,b} <= 12'h0_0_0;
  6.       else if (vcount+hcount >= 440 && vcount+hcount <= 460 && vcount >= 100 && vcount <= 230) {r,g,b} <= 12'h0_0_0;
  7.       else if (hcount >= 340 && hcount <= 360 && vcount >= 100 && vcount <= 400) {r,g,b} <= 12'h0_0_0;
  8.      
  9.      // Z
  10.      else if (hcount >= 400 && hcount <= 680 && vcount >= 100 && vcount <= 120) {r,g,b} <= 12'h0_0_0;
  11.      else if (vcount+hcount >=780 && vcount+hcount<=800 && vcount >= 100 && vcount <= 400 && hcount >= 400 && hcount <= 680) {r,g,b} <= 12'h0_0_0;
  12.      else if (hcount >= 400 && hcount <= 680 && vcount >= 380 && vcount <= 400) {r,g,b} <= 12'h0_0_0;
  13.      
  14.       else {r,g,b} <= 12'h8_8_8;    
  15.     end
  16.   end
  17.  
  18. endmodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement