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