diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2015-04-04 16:15:36 +0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2015-04-04 16:15:36 +0700 |
commit | b79fd69fb56d051b4b85dd998daf9a1b07df1fb8 (patch) | |
tree | dcfa1287771cd675ad099fbca9eb9ce97fbf23f3 /src/base/abci/abc.c | |
parent | 3a15f343070e617edb97ebe197f292ff3a4e50f1 (diff) | |
download | abc-b79fd69fb56d051b4b85dd998daf9a1b07df1fb8.tar.gz abc-b79fd69fb56d051b4b85dd998daf9a1b07df1fb8.tar.bz2 abc-b79fd69fb56d051b4b85dd998daf9a1b07df1fb8.zip |
Making sure the names are transfered when &get -n is used.
Diffstat (limited to 'src/base/abci/abc.c')
-rw-r--r-- | src/base/abci/abc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index 0e53610d..c254db82 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -26003,6 +26003,8 @@ usage: int Abc_CommandAbc9Put( Abc_Frame_t * pAbc, int argc, char ** argv ) { extern Abc_Ntk_t * Abc_NtkFromDarChoices( Abc_Ntk_t * pNtkOld, Aig_Man_t * pMan ); + extern void Abc_NtkRedirectCiCo( Abc_Ntk_t * pNtk ); + Aig_Man_t * pMan; Abc_Ntk_t * pNtk = Abc_FrameReadNtk(pAbc); int c, fVerbose = 0; @@ -26086,6 +26088,11 @@ int Abc_CommandAbc9Put( Abc_Frame_t * pAbc, int argc, char ** argv ) } } } + + // decouple CI/CO with the same name + if ( pAbc->pGia->vNamesIn || pAbc->pGia->vNamesOut ) + Abc_NtkRedirectCiCo( pNtk ); + // transfer timing information if ( pAbc->pGia->vInArrs || pAbc->pGia->vOutReqs ) { |