mirror of
https://github.com/YosysHQ/abc.git
synced 2026-09-07 19:17:35 +02:00
Experiments with precomputation and matching.
This commit is contained in:
@@ -146,6 +146,7 @@ extern Mio_Gate_t * Mio_GateReadTwin ( Mio_Gate_t * pGate );
|
||||
extern int Mio_GateReadPinNum ( Mio_Gate_t * pGate );
|
||||
extern double Mio_GateReadDelayMax ( Mio_Gate_t * pGate );
|
||||
extern char * Mio_GateReadSop ( Mio_Gate_t * pGate );
|
||||
extern Vec_Int_t * Mio_GateReadExpr ( Mio_Gate_t * pGate );
|
||||
extern word Mio_GateReadTruth ( Mio_Gate_t * pGate );
|
||||
extern int Mio_GateReadValue ( Mio_Gate_t * pGate );
|
||||
extern char * Mio_GateReadPinName ( Mio_Gate_t * pGate, int iPin );
|
||||
|
||||
@@ -174,6 +174,7 @@ Mio_Gate_t * Mio_GateReadTwin ( Mio_Gate_t * pGate ) { return
|
||||
int Mio_GateReadPinNum ( Mio_Gate_t * pGate ) { return pGate->nInputs; }
|
||||
double Mio_GateReadDelayMax( Mio_Gate_t * pGate ) { return pGate->dDelayMax; }
|
||||
char * Mio_GateReadSop ( Mio_Gate_t * pGate ) { return pGate->pSop; }
|
||||
Vec_Int_t * Mio_GateReadExpr ( Mio_Gate_t * pGate ) { return pGate->vExpr; }
|
||||
word Mio_GateReadTruth ( Mio_Gate_t * pGate ) { return pGate->nInputs <= 6 ? pGate->uTruth : 0; }
|
||||
word * Mio_GateReadTruthP ( Mio_Gate_t * pGate ) { return pGate->nInputs <= 6 ? NULL: pGate->pTruth; }
|
||||
int Mio_GateReadValue ( Mio_Gate_t * pGate ) { return pGate->Value; }
|
||||
|
||||
Reference in New Issue
Block a user