Re: [sv-bc] DataTypes: The wone net type

From: Krishna Garlapati <krishna@synplicity.com>
Date: Thu Oct 28 2004 - 18:19:48 PDT

At the risk of getting into an argument for the sake of it, that brings
up another question. When SV data types are extended to nets why not
allow `default_nettype to be legal with any user defined net data type ??

Once that happens, a user can create custom data types with the wone like
attribute and use it along with `default_nettype. While I have nothing
against wone like nets, I am only wondering why make the language any bigger

1) if an attribute can capture the essence of a new construct
2) (and) it's something a select few would be interested in ??

Thanks,
- Krishna.

Steven Sharp wrote:
> Oh yeah, and another reason why using a net type works well is that you
> can set the `default_nettype to wone, and get the design rule enforced
> on all your implicitly declared nets too. With an attribute, you would
> have to explicitly declare any net you wanted to enforce it on (or add
> an additional mechanism to indicate that you wanted it on all implicit
> nets too).
>
> Steven Sharp
> sharp@cadence.com
>
>
>
Received on Thu Oct 28 18:20:18 2004

This archive was generated by hypermail 2.1.8 : Thu Oct 28 2004 - 18:20:24 PDT