Subject: Re: "universal" logic type
From: Stefen Boyd (stefen@boyd.com)
Date: Tue Jan 22 2002 - 10:33:52 PST
At 10:31 AM 1/21/2002 -0800, Alec Stanculescu wrote:
>Question: what is the advantage of not giving a special name (wire or
>reg) to a an object which we know will be used in a certain way. The
>more information we can capture in a declarative way the better of we
>are (in general:-).
Alec,
Thanks for your feedback (and others as well). I started
wanting a universal type when I noticed that the logic
type (and other new types like bit) could be used in a
continuous assignment... Yes, there are times that I want
to be specific, but wire vs reg is more of a hassle then
a benefit.
The difference is really in how we use it then
how it's declared. We know we want to use an object
as a wire until we change our mind and use it in
a procedural assignment... and are forced to change
the declaration just to accommodate the change in usage.
Stefen
--------------------
Stefen Boyd Boyd Technology, Inc.
stefen@BoydTechInc.com (408)739-BOYD
www.BoydTechInc.com (408)739-1402 (fax)
This archive was generated by hypermail 2b28 : Tue Jan 22 2002 - 10:35:50 PST