Forum Discussion
Altera_Forum
Honored Contributor
17 years ago --- Quote Start --- However, when I simulate the same code using ModelSim RTL simulation the behavior is different. The problem arises when I try to write to both ports at the same time at two different addresses, where the data is written as 'X'!!. Note that: the whole memory is initially zeros. --- Quote End --- Not sure if this is your problem, but note that ModelSim doesn't know, and doesn't assume by default that your memory is initially zero. For ModelSim, every register and RAM is initially X by default.