New user of ModelSim XE III v6.2 Starter - problems simulating a simple RAM.

Jan 19, 2008 2 Replies

Hi



I am very new to VHDL and in partuclar ModelSim, so of course I have a simple starting exercise to learn from. I want to simulate this RAM model: (thankyou John Aynsley from Doulos) using the testbench that I have pasted under this model. Everything works fine until I assert the OE signal, i.e. OE Byte'(others=>'U')); begin Data 'Z'); if CS = '0' then if OE = '0' then -- Read operation Data


Your testbench is also driving the signal data at the same time that 'RamChip' is. At the time when you assert 'OE' into the RAM, you also need to drive 'data' to all 'Z'. Something like the following...

Kevin Jennings

Thanks for that kevin. That's awesome. David

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required