Subject: Re: [sv-bc] Re: The Action item for you from the SV-BC
From: Andrzej Litwiniuk (Andrzej.Litwiniuk@synopsys.com)
Date: Mon Jan 20 2003 - 16:07:32 PST
> Does anyone care about mapping bit-vectors to C bit fields?
>
> E.g.:
>
> SV:
> struct { bit [4:0] x;
> char y;} sv_strct;
>
> ==
>
> C:
> struct { int x:5;
> char y;} c_strct;
>
>
> Kev.
>
Kevin,
That was too easy. Try this:
SV:
struct { bit [500:0] x;
char y;} sv_strct;
Andrzej
This archive was generated by hypermail 2b28 : Mon Jan 20 2003 - 16:08:00 PST