diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2017-10-22 15:44:13 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2017-10-22 15:44:13 -0700 |
commit | accf4825e586cb8b3444551a1145ae4d88662f82 (patch) | |
tree | 75b02b5bd79e1c37000fc76abfcbf42de477e782 /src/map/if | |
parent | 5ab3f0fa6ba1519e24368651f7c5fb87cd5ee33e (diff) | |
download | abc-accf4825e586cb8b3444551a1145ae4d88662f82.tar.gz abc-accf4825e586cb8b3444551a1145ae4d88662f82.tar.bz2 abc-accf4825e586cb8b3444551a1145ae4d88662f82.zip |
Adding API to dump MiniAIG into a Verilog file and other small changes.
Diffstat (limited to 'src/map/if')
-rw-r--r-- | src/map/if/if.h | 2 | ||||
-rw-r--r-- | src/map/if/ifMan.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/map/if/if.h b/src/map/if/if.h index 7cc852af..d7b0de54 100644 --- a/src/map/if/if.h +++ b/src/map/if/if.h @@ -270,6 +270,8 @@ struct If_Man_t_ int pArrTimeProfile[IF_MAX_FUNC_LUTSIZE]; Vec_Ptr_t * vVisited; void * pUserMan; + Vec_Int_t * vDump; + int pDumpIns[16]; // timing manager Tim_Man_t * pManTim; diff --git a/src/map/if/ifMan.c b/src/map/if/ifMan.c index 414a1911..27d7245e 100644 --- a/src/map/if/ifMan.c +++ b/src/map/if/ifMan.c @@ -260,6 +260,7 @@ void If_ManStop( If_Man_t * p ) Vec_PtrFreeP( &p->vObjsRev ); Vec_PtrFreeP( &p->vLatchOrder ); Vec_IntFreeP( &p->vLags ); + Vec_IntFreeP( &p->vDump ); for ( i = 6; i <= Abc_MaxInt(6,p->pPars->nLutSize); i++ ) Vec_IntFreeP( &p->vTtDsds[i] ); for ( i = 6; i <= Abc_MaxInt(6,p->pPars->nLutSize); i++ ) |