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

Reply

VHDL - ModelSim question

 
Thread Tools Search this Thread
Old 02-25-2004, 03:03 PM   #1
Default ModelSim question



Not exactly a VHDL question but hope someone knows the answer.

When running a simulation earlier today and looking at the wave window of
ModelSim I got the following reading when I tried to read the value of an
integer variable: ?(23) ... ?(24) ... etc

Has anyone come across this ?( ) notation before and knows what it means?

Thanks in advance.

Greg.




Grigorios Angelis
  Reply With Quote
Old 02-28-2004, 04:40 PM   #2
David Bishop
 
Posts: n/a
Default Re: ModelSim question


Grigorios Angelis wrote:
> Not exactly a VHDL question but hope someone knows the answer.
>
> When running a simulation earlier today and looking at the wave window of
> ModelSim I got the following reading when I tried to read the value of an
> integer variable: ?(23) ... ?(24) ... etc
>
> Has anyone come across this ?( ) notation before and knows what it means?
>
> Thanks in advance.


I've hit this too in Modeltech 5.8. Looks like an initialization thing.
Only have seen this with variables.

--
NAME: David W. Bishop INTERNET:



David Bishop
  Reply With Quote
Old 03-04-2004, 07:03 AM   #3
Grigorios Angelis
 
Posts: n/a
Default Re: ModelSim question

Hi there and thanks for replying.

After a lot of asking around I found the answer so I'm writing it here for
anybody else who's come across this.

In my (non-syntesisable) code I had declared a range constrained integer
variable (actually it had the same effect even when I switched that to a
signal) the upper bound of which was computed in the body of the
architecture... this means that ModelSim does not know the upper limit at
compile-time as this is computed during run-time.

This ?( ) notation (it is found in all version of ModelSim) means that
ModelSim does not (cannot) perform the check to see if the value is within
specified bounds, it just accepts it.

Greg

"David Bishop" <> wrote in message
news:2w30c.51671$...
>
>
> Grigorios Angelis wrote:
> > Not exactly a VHDL question but hope someone knows the answer.
> >
> > When running a simulation earlier today and looking at the wave window

of
> > ModelSim I got the following reading when I tried to read the value of

an
> > integer variable: ?(23) ... ?(24) ... etc
> >
> > Has anyone come across this ?( ) notation before and knows what it

means?
> >
> > Thanks in advance.

>
> I've hit this too in Modeltech 5.8. Looks like an initialization thing.
> Only have seen this with variables.
>
> --
> NAME: David W. Bishop INTERNET:
>





Grigorios Angelis
  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
Re: Dial-up Modem Question w_tom A+ Certification 0 09-18-2005 09:12 PM
"Installing two drives" question - what next? Jim A+ Certification 12 08-07-2005 01:19 PM
Re: Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good God DVD Video 3 04-25-2005 04:19 PM
Re: Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good Filthy Mcnasty DVD Video 0 04-25-2005 04:29 AM
Re: Safe Mode Question (A+ question) Gordon Findlay A+ Certification 0 06-16-2004 10:48 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