Forum Discussion
Altera_Forum
Honored Contributor
11 years agothanks!!
and for example, an 8-bit counter can be specied as?? eight bit:counter generic map( n => 8 ) port map eight bit ( clock , resetn , Q) ; i want create a modulo-k counter by modifying the design of an 8-bit counter to contain an additional parameter, the counter should count from 0 to k-1 and when the counter reaches the value k -1 the value that follows should be 0.