Subject: "universal" logic type
From: Stefen Boyd (stefen@boyd.com)
Date: Fri Jan 18 2002 - 16:11:48 PST
I would like the logic type to truly be a
universal type that replaces the need for wire
and reg. Basically, I'm proposing what I thought
the logic type provided when I first was introduced
to it.
In it's current form, the logic type is very
similar to a reg except for two major differences:
1) Two modules share a logic variable just
like two always blocks in a module share
a reg (assuming the logic type connects
through ports).
2) A single continuous assignment can use a
logic variable instead of a wire.
I would like to propose the following for the
logic type to make it truly universal:
1) If the logic variable is driven by more
than one source, it will be resolved as
a wire (strength resolution). This
includes continuous assignments and
primitives.
2) It's an error to attempt to drive a value
onto a logic variable AND perform a
procedural assignment.
(I'm assuming that module port connections
that are all logic types will use the same
shared variable behavior as currently used
for the logic type. Module port connections
to a reg or wire will be treated as continuous
assignments and thus require wire styled
multiple driver resolution).
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 : Fri Jan 18 2002 - 16:16:18 PST