Subject: Re: DirectC: C layer revised - more
From: Andrzej Litwiniuk (Andrzej.Litwiniuk@synopsys.com)
Date: Tue Jan 14 2003 - 08:26:06 PST
One Doug's naming suggestion got overlooked:
> > "svc_src.h"
> > ===========
> >
> > This file provides implementation specific definitions.
> > In particular, it defines the macros for specifying variables
> > representing
> > SV packed arrays:
> >
> > #define BIT_PACKED_ARRAY(WIDTH,NAME) ...
> > #define LOGIC_PACKED_ARRAY(WIDTH,NAME) ...
>
> DOUG: Above your naming has "Bit" and "Logic" appended at the
> end of your names (e.g. svPutPartSelectBit). Here those
> substrings are at the start of the names. I suggest putting
> them at the end for consistency with svc_bin.h.
The above macros are meant for declarations. I thought that BIT/LOGIC
at the start of the names would stand out more clearly.
Besides, this is consistent with the names of types defined in "svc_bin.h":
svBit, svLogic, svBitVec32, svLogicVec32, svBitPackedArr, svLogicPackedArr.
Andrzej
This archive was generated by hypermail 2b28 : Tue Jan 14 2003 - 08:26:36 PST