Re: "universal" logic type


Subject: Re: "universal" logic type
From: Peter Flake (flake@co-design.com)
Date: Tue Jan 22 2002 - 11:38:55 PST


Stefen,

If you want to swap between continuous and procedural assignments while
keeping a resolution function, then the easiest way is to allow a
continuous assignment to reg. This cannot be combined with another
assignment in the same module, or with an initial state in the declaration.

Peter.
At 10:33 AM 1/22/02 -0800, Stefen Boyd wrote:

>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 - 11:40:14 PST