Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- Just one minor adjustment: Inc shouldnt be asynchronous. Also you shouldnt have a situation where an async event holds the value of q. This will cause a latch. --- Quote End --- ok thanks for that Tricky, my TA (teaching assistant) showed me how to run the simulations so I will try it this week. I'm surprised you say this code is ok. But isn't a latch what I want? that is, I want to hold the value of q in case I want to start at that number?? Again sorry if I'm not making sense, I'm just a beginner, in vhdl that is. I do have some knowledge on logic gates and making circuits from them. Thanks Again, Ill be back here for my next lab no doubt.