Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Dual-Port RAM Simulation in ModelSim

 
Thread Tools Search this Thread
Old 01-04-2006, 08:16 PM   #1
Default Dual-Port RAM Simulation in ModelSim


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


Keith Blankenship
  Reply With Quote
Old 01-04-2006, 09:34 PM   #2
Mike Treseler
 
Posts: n/a
Default Re: Dual-Port RAM Simulation in ModelSim
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


Mike Treseler
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check current event and port status for Aliwei FXO gateway Robin wang Hardware 0 04-11-2008 09:54 AM
Adsl Router > Dual Wan Load Balancing Router > 24 port Switch Hub nazeth Hardware 0 03-28-2007 09:36 AM
Long, regarding a "lost" COM port smackedass A+ Certification 4 02-05-2007 04:55 PM
Dual DVD copy Platinum and Gold yarik DVD Video 1 01-23-2006 06:06 PM
Dual DVD copy Platinum & Silver yarik DVD Video 0 12-21-2005 11:21 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

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