Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > Dual-Port RAM Simulation in ModelSim

Reply
Thread Tools

Dual-Port RAM Simulation in ModelSim

 
 
Keith Blankenship
Guest
Posts: n/a
 
      01-04-2006
I'm trying to simulate dual-port RAM using a shared variable in ModelSim
6.1b.

When I isolate the dual-port RAM in its own test bench the behavior is
correct. However, when incorporated into my larger design the behavior
is strange. For instance, the stored data does not appear at the
data_out port until the first cycle the (registered) address changes.

Has anyone experienced this problem? Could this be a bug in ModelSim?

Thanks,
Keith
 
Reply With Quote
 
 
 
 
Mike Treseler
Guest
Posts: n/a
 
      01-04-2006
Keith Blankenship wrote:
> I'm trying to simulate dual-port RAM using a shared variable in ModelSim
> 6.1b.


Are you using a block ram code template
provided by the fpga vendor? I don't recall
any such template that uses a shared variable.

> For instance, the stored data does not appear at the
> data_out port until the first cycle the (registered) address changes.


That sounds normal for block ram.

> Could this be a bug in ModelSim?


Very unlikely.

-- Mike Treseler
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
modelsim crashs with large ram simulation model Hongtu VHDL 3 10-08-2004 11:06 AM
error in modelsim simulation viswanath VHDL 4 04-25-2004 06:12 PM
EDK Modelsim Behavioral Simulation Error hansman VHDL 3 01-30-2004 09:05 AM
Modelsim/Matlab co-simulation Ouadid VHDL 7 12-18-2003 03:54 AM
VHDL Simulation in ModelSim Manfred Balik VHDL 0 07-15-2003 02:12 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57