mirror of
https://github.com/YosysHQ/abc.git
synced 2026-09-07 11:11:19 +02:00
Adding commands to set and print timing constraints.
This commit is contained in:
@@ -146,6 +146,11 @@ extern ABC_DLL void Abc_FrameReplaceCexVec( Abc_Frame_t * pAbc, Vec_P
|
||||
extern ABC_DLL void Abc_FrameReplacePoEquivs( Abc_Frame_t * pAbc, Vec_Ptr_t ** pvPoEquivs );
|
||||
extern ABC_DLL void Abc_FrameReplacePoStatuses( Abc_Frame_t * pAbc, Vec_Int_t ** pvStatuses );
|
||||
|
||||
extern ABC_DLL char * Abc_FrameReadDrivingCell();
|
||||
extern ABC_DLL float Abc_FrameReadMaxLoad();
|
||||
extern ABC_DLL void Abc_FrameSetDrivingCell( char * pName );
|
||||
extern ABC_DLL void Abc_FrameSetMaxLoad( float Load );
|
||||
|
||||
ABC_NAMESPACE_HEADER_END
|
||||
|
||||
#endif
|
||||
|
||||
@@ -91,6 +91,11 @@ int Abc_FrameIsBatchMode() { return s_GlobalFr
|
||||
int Abc_FrameIsBridgeMode() { return s_GlobalFrame ? s_GlobalFrame->fBridgeMode : 0; }
|
||||
void Abc_FrameSetBridgeMode() { if ( s_GlobalFrame ) s_GlobalFrame->fBridgeMode = 1; }
|
||||
|
||||
char * Abc_FrameReadDrivingCell() { return s_GlobalFrame->pDrivingCell; }
|
||||
float Abc_FrameReadMaxLoad() { return s_GlobalFrame->MaxLoad; }
|
||||
void Abc_FrameSetDrivingCell( char * pName ) { ABC_FREE(s_GlobalFrame->pDrivingCell); s_GlobalFrame->pDrivingCell = pName; }
|
||||
void Abc_FrameSetMaxLoad( float Load ) { s_GlobalFrame->MaxLoad = Load; }
|
||||
|
||||
/**Function*************************************************************
|
||||
|
||||
Synopsis [Returns 1 if the flag is enabled without value or with value 1.]
|
||||
@@ -199,6 +204,7 @@ void Abc_FrameDeallocate( Abc_Frame_t * p )
|
||||
}
|
||||
Vec_PtrFreeP( &p->vLTLProperties_global );
|
||||
Abc_FrameDeleteAllNetworks( p );
|
||||
ABC_FREE( p->pDrivingCell );
|
||||
ABC_FREE( p->pCex2 );
|
||||
ABC_FREE( p->pCex );
|
||||
ABC_FREE( p );
|
||||
|
||||
@@ -93,6 +93,9 @@ struct Abc_Frame_t_
|
||||
void * pLibSuper; // the current supergate library
|
||||
void * pLibVer; // the current Verilog library
|
||||
void * pLibScl; // the current Liberty library
|
||||
// timing constraints
|
||||
char * pDrivingCell; // name of the driving cell
|
||||
float MaxLoad; // maximum output load
|
||||
|
||||
// new code
|
||||
Gia_Man_t * pGia; // alternative current network as a light-weight AIG
|
||||
|
||||
Reference in New Issue
Block a user