RE: Errata - RE : [sv-bc] A question about type casting

From: Steven Sharp <sharp@cadence.com>
Date: Wed Mar 24 2004 - 17:30:52 PST

>In summary, it is most useful that these:
>
> wire [2:0] wiremda [1:0];
> logic [2:0] logicmda [1:0];
>
>are assignment compatible in one easy step:
>
> assign logicmda = wiremda;
> assign wiremda = logicmda;
>
>I'd prefer that type equivalence be used very carefully
>in this section or ensure that a provision for the above
>is maintained.

If you could declare nets of the same datatypes as variables,
then this would be possible, regardless of the type compatibility
requirements.

Steven Sharp
sharp@cadence.com
Received on Wed Mar 24 17:31:07 2004

This archive was generated by hypermail 2.1.8 : Wed Mar 24 2004 - 17:31:25 PST