Forum Discussion
Altera_Forum
Honored Contributor
9 years agoup counter needs fixing - confused . simple question
Hi, this is a simple counter with asynch pre-set(not wired in diagram), enable, load and synch add +1. i can't figure the trick to get rid of one extra mux column and use the FF enable (where red arr...
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- thanks tricky. i tried with signals too, still same issue. may be the vhdl version. i shall try again and post what happened. does it make much difference wheatear the FF ena is used or like in this case, going to a set of muxes? i'm kinda obsessed with making logic efficient and using least as possible, but some times not sure if it a good thing to do or not. --- Quote End --- one point: you statement cnt_out <= cnt; is outside clk edge but not in sensitivity list. simulation will not work