Forum Discussion
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.