Forum Discussion
Altera_Forum
Honored Contributor
12 years agonow your requirement changed. You want input 0=>1 to enable count and not just 1 so you need to redesign your counter on that basis.
inside process: input_d <= input; if input = '1' and input_d = '0' then count <= count + 1; ...