i was playing around with the my code above but originally the line that reads:
variable cnt: integer range 0 to 2 :=0;
initially read :
variable cnt: integer range 0 to 4 :=0;
sorry for the confusion
thread284-1502031
Hi, using the advice given by the user of the alias: jeandelfrigo, I wrote code to divide a 125 MHz clock into a 5 MHz. I use a counter that counts from 0 to 4 and when the counter is equal to 0,1, or 2 I let the clk be a '1'. otherwise I let clk be a '0'. However when I look...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.