diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-03-26 20:19:50 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-03-26 20:19:50 -0700 |
commit | 4c0082990051610f28397067027406ff961ab91f (patch) | |
tree | 0b93751477049dba54d257d6ea0146b20a1b51b1 /src/map/mio/mioFunc.c | |
parent | dfb065fa553e54fe00891fbeefb866be2c6dfa9d (diff) | |
download | abc-4c0082990051610f28397067027406ff961ab91f.tar.gz abc-4c0082990051610f28397067027406ff961ab91f.tar.bz2 abc-4c0082990051610f28397067027406ff961ab91f.zip |
Modified SCL gate library to read/write gate formula.
Diffstat (limited to 'src/map/mio/mioFunc.c')
-rw-r--r-- | src/map/mio/mioFunc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/mio/mioFunc.c b/src/map/mio/mioFunc.c index c63a3794..67126749 100644 --- a/src/map/mio/mioFunc.c +++ b/src/map/mio/mioFunc.c @@ -257,12 +257,14 @@ int Mio_GateParseFormula( Mio_Gate_t * pGate ) // derive expression pGate->vExpr = Mio_ParseFormula( pGate->pForm, (char **)pPinNames, nPins ); +// Mio_ParseFormulaTruthTest( pGate->pForm, (char **)pPinNames, nPins ); // derive cover pGate->pSop = Mio_LibDeriveSop( nPins, pGate->vExpr, pGate->pLib->vCube ); pGate->pSop = Mio_SopRegister( (Mem_Flex_t *)pGate->pLib->pMmFlex, pGate->pSop ); // derive truth table if ( nPins <= 6 ) pGate->uTruth = Exp_Truth6( nPins, pGate->vExpr, NULL ); + /* // verify if ( pGate->nInputs <= 6 ) |