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

Reply

VHDL - Q, logic value 'X'

 
Thread Tools Search this Thread
Old 07-02-2005, 07:15 PM   #1
Default Q, logic value 'X'


hi

During some debugging in my simulation, it is found that one signal is
'X' from the beginning (from time 0) until that signal has some value
(1 or 0).

What does this 'X' (forced unknown) imply?
Is it problematic?
Does it "always" meaning that the value is conflicting (from the
beginning)?

Thankyou in advance



Pasacco
  Reply With Quote
Old 07-03-2005, 05:05 PM   #2
Mike Treseler
 
Posts: n/a
Default Re: Q, logic value 'X'
Pasacco wrote:

> What does this 'X' (forced unknown) imply?

Usually a node driven by an
initialized register or ram.
The node is driven, but the value
cannot be determined by the simulator.

> Is it problematic?

Not always, but connect up a reset if you can.
It will make your simulation easier.

> Does it "always" meaning that the value is conflicting (from the
> beginning)?


Most often it's just unknown from the beginning
until the register gets some know data.

-- Mike Treseler


Mike Treseler
  Reply With Quote
Old 07-03-2005, 08:27 PM   #3
Mike Treseler
 
Posts: n/a
Default Re: Q, logic value 'X' (uninitialized)
Mike Treseler wrote:
> Pasacco wrote:
>
>> What does this 'X' (forced unknown) imply?

> Usually a node driven by an
> initialized register or ram.

-----------
uninitialized
-- Mike Treseler


Mike Treseler
  Reply With Quote
Old 07-03-2005, 09:20 PM   #4
Aki Hyyryläinen
 
Posts: n/a
Default Re: Q, logic value 'X'

"Pasacco" <> wrote in message
news: oups.com...
> hi
>
> During some debugging in my simulation, it is found that one signal is
> 'X' from the beginning (from time 0) until that signal has some value
> (1 or 0).
>
> What does this 'X' (forced unknown) imply?


Could be that you are driving the signal from several places at the same
time; simulator cannot know which value to use and shows X, or it is an
output from say an uninitialised memory model.

> Is it problematic?


If you use it to generate other signals, the X will propagate in all those
signals. If you don't use it until it has a known value, there is no
problem.


> Does it "always" meaning that the value is conflicting (from the
> beginning)?
>


The value is simply unknown.

-Aki




Aki Hyyryläinen
  Reply With Quote
Old 07-04-2005, 01:35 PM   #5
Pasacco
 
Posts: n/a
Default Re: Q, logic value 'X' (uninitialized)
hi

I think it is correct, as you wrote, that uninitialized signal drives
other signal, as the following warning message appears

Warning: There is an 'U'|'X'|'W'|'Z'|'-' in an arithmetic operand, the
result will be 'X'(es).

Thankyou for comment very much



Pasacco
  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
2007/11/29 Boris 7 new programs, Logic Studio 8 for Mac, MicrosoftVisual Studio 2008 Professional Edition, Microsoft Windows Vista UltimateNov-2007.Win32/64, other new programs ola@mail.gr DVD Video 0 11-29-2007 06:15 AM
Pro Logic II or DTS Neo 6? Harsol DVD Video 2 01-03-2005 02:08 PM
A+ Test is unfair Scott Davies A+ Certification 25 02-16-2004 03:18 PM
Re: Landing on the Moon Abraxas DVD Video 14 12-12-2003 01:55 AM
Indiana Jones: Moved up to Oct. 21. Scot Gardner DVD Video 1 08-12-2003 07:27 PM




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