Guest User

Untitled

a guest
Apr 8th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. module vga(rst, pixClk : hs, vs, hCount[15..0], vCount[15..0])
  2. en = 1;
  3. count16Z(pixClk, rst, en, sclr : hCount[15..0], ripple1);
  4.  
  5. // On s'arrête quand hCount = 11 0001 1111
  6. // On reprend à 0
  7. sclr = hCount[9]*hCount[8]*/hCount[7]*/hCount[6]*/hCount[5]*hCount[4]*hCount[3]*hCount[2]*hCount[1]*hCount[0];
  8.  
  9. en2 = sclr;
  10. count16Z(PixClk, rst, en2, sclr2 : vCount[15..0], ripple);
  11.  
  12.  
  13. end module
Add Comment
Please, Sign In to add comment