Forum Discussion
Altera_Forum
Honored Contributor
9 years agoSignal not assigned in init state
Hello, I am working on a simple state machine but for some reason the output value is not assigned correctly. First it is supposed to go into state init and assign default values to my 4x8...
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- Are you running the test for long enough? it will take 200 clocks for output "key" to be assigned to anything. --- Quote End --- I am running it for 4200 ns. The clock input is 50MHz or 20 ns periods. So 4200 ns should be sufficient. This is the output of ModelSim: http://www.alteraforum.com/forum/attachment.php?attachmentid=13398&stc=1 From your question I gather that the general code looks fine and should work? Thank you.