Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What is the meaning of dangling wire?

1,405 views
Skip to first unread message

parag...@hotmail.com

unread,
Aug 28, 2007, 9:37:52 AM8/28/07
to
Sorry for the same.
But I seem to be confused with the construct

thai...@gmail.com

unread,
Aug 28, 2007, 3:21:56 PM8/28/07
to
On Aug 28, 6:37 am, "parag_p...@hotmail.com" <parag_p...@hotmail.com>
wrote:

> Sorry for the same.
> But I seem to be confused with the construct

basically a net that is not doing it's job.

i think it is a net that is not connected to an input
or a net that is not connected to an input and output.

parag...@hotmail.com

unread,
Aug 30, 2007, 8:54:27 AM8/30/07
to
Are you talking of something like this

module top ( input a );
endmodule

gabor

unread,
Aug 30, 2007, 11:20:38 AM8/30/07
to
On Aug 30, 8:54 am, "parag_p...@hotmail.com" <parag_p...@hotmail.com>
wrote:

> Are you talking of something like this
>
> module top ( input a );
> endmodule


That would be one example. It doesn't need to be in a module port
list.
In Verilog you can also have wires that are neither driven nor used.

More examples:

module top ( input a );

wire b
wire c
assign c = 1'b1;
endmodule

Here a is an unused input, presumably driven exernally. This
and c, which has an assignment but doesn't appear on the RHS
of any expression, are examples of wires with one end dangling.
Wire b is completely unconnected or dangling at both ends if
you like to think of it that way. Normally this example
would give warnings for each case, but no errors. Synthesis
tools may give you an error due to the complete lack of
synthesized logic in this example, but in the presence of
other normal logic, this would again just create warnings.

0 new messages