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

Reply

VHDL - Problem with H,Z and inout signals

 
Thread Tools Search this Thread
Old 04-01-2006, 12:06 PM   #1
Default Problem with H,Z and inout signals


Hello everybody,
I have a little problem with my VHDL code.

I have a situation like the following one:

pinout/signal_a <--> block_1/signal_b <--> block_2/signal_c

where <--> indicate an inout port.

The code looks something like that:

signal_a <= local_signal

And on the module that has signal_b as output I put:
signal_b => local_signal


During simulation I obtain that when signal_a is H (the expected
result), while signal_b and signal_c are Z, while when the signal_a is
0, signal_b and signal_c are coherent.
The Z value is put on the signal_c by the block_2 and propagated to
signal_b, while signal_a is connected to a pullup and forced to the
value H when it is not 0.
Reading the VHDL standard I found out that the resolution functions
imposes that when the same line is drove by H and Z the resulting
signal is H.
Is there something I'm missing?
The signals are of type std_logic/std_logic_vector (signal_a is a
single wire of a std_logic_vector). Any help will be appreciated.
Gio.



Giox
  Reply With Quote
Old 04-02-2006, 05:16 AM   #2
Mike Treseler
 
Posts: n/a
Default Re: Problem with H,Z and inout signals
Giox wrote:

> Is there something I'm missing?

I don't understand the question.
Post your code.
Here is a sim example that tests a tri-state node:
http://home.comcast.net/~mike_treseler/oe_demo.vhd

-- 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
VHDL problem with variables krkrkr Hardware 0 10-16-2009 07:36 PM
Problem in VHDL code. caylakprogramci Hardware 2 05-07-2007 07:30 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