Forum Discussion
Altera_Forum
Honored Contributor
10 years agoHi,
no idea what tool you're using, so let me start with the code. You declared the output as "3 to 0", which means "all the way from 3 up to 0". That's a negative range, and therefore a null range. You should make it "3 downto 0", as in the signal declaration. Also, it is unnecessary to put "count" into the process' sensitivity list. The process is synchronous, so when a signal changes, nothing happens until the next clock (or the next reset). Also, depending on your stimulus, the signal might become pruned if e.g. the reset is always '1' or the clock is static. As I said, no idea what tool you're using. ModelSim would AFAIK leave the signal there, in a static level. Best regards, GooGooCluster