mirror of
https://github.com/YosysHQ/abc.git
synced 2026-09-03 08:03:30 +02:00
Structural mapper into structures.
This commit is contained in:
@@ -106,6 +106,14 @@ static inline Vec_Flt_t * Vec_FltStart( int nSize )
|
||||
memset( p->pArray, 0, sizeof(float) * nSize );
|
||||
return p;
|
||||
}
|
||||
static inline Vec_Flt_t * Vec_FltStartFull( int nSize )
|
||||
{
|
||||
Vec_Flt_t * p;
|
||||
p = Vec_FltAlloc( nSize );
|
||||
p->nSize = nSize;
|
||||
memset( p->pArray, 0xFF, sizeof(float) * nSize );
|
||||
return p;
|
||||
}
|
||||
|
||||
/**Function*************************************************************
|
||||
|
||||
|
||||
Reference in New Issue
Block a user