RE: [sv-bc] Deadline for detailed feedback on Data Types on Nets Proposal

From: Steven Sharp <sharp@cadence.com>
Date: Mon Nov 15 2004 - 20:09:58 PST

>I'm not 100% sure what you are trying to do in this example. Are you trying
>to create a struct where some fields are variables and some fields are nets?
>
>You can do that with an interface, but interfaces can only be used as ports.
>The current data types on wires proposal does not include a way of
>making some fields of a struct a net and other fields a variable.

I don't see any restriction requiring an interface to be connected to a port.
You could instantiate one without connecting it to anything, for use as a
local bundling of nets and variables. For that matter, you could use a
module the same way, but an interface has the advantage that you *can* pass
it through a port if you want to, like a struct.

Am I missing something?

Steven Sharp
sharp@cadence.com
Received on Mon Nov 15 20:10:05 2004

This archive was generated by hypermail 2.1.8 : Mon Nov 15 2004 - 20:10:08 PST