Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

Register Bank Simulation Failure on DE2

I'm having trouble trying to simulate a register bank on DE2 using verilog HDL, if i put the wrinting section plus the reading section together, the initial values are totally ignored and they start at random values, but that does not occur when it's just one or another, and if i include the reset section the code doesn't compile at all. I'm sending attached a simplified version of the code, if anyone knows what's wrong or figure out how to solve this let me know.

Thanks!
No RepliesBe the first to reply