summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2011-07-13 12:48:51 +0700
committerAlan Mishchenko <alanmi@berkeley.edu>2011-07-13 12:48:51 +0700
commit669f390c6d8ca50473e8eb6e8c0f3ae98c5fd00b (patch)
tree8f9cd87d61805fa880028b2182dd59f1243deaf2
parent97b488e72e6e9c86c8a561ba67a2dc03d2ad77c8 (diff)
downloadabc-669f390c6d8ca50473e8eb6e8c0f3ae98c5fd00b.tar.gz
abc-669f390c6d8ca50473e8eb6e8c0f3ae98c5fd00b.tar.bz2
abc-669f390c6d8ca50473e8eb6e8c0f3ae98c5fd00b.zip
Other changes to enable new features in the mapper (bug fix).
-rw-r--r--src/base/io/ioWriteBlif.c6
-rw-r--r--src/map/if/ifTime.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/base/io/ioWriteBlif.c b/src/base/io/ioWriteBlif.c
index 52856437..ca54a766 100644
--- a/src/base/io/ioWriteBlif.c
+++ b/src/base/io/ioWriteBlif.c
@@ -344,6 +344,12 @@ void Io_NtkWritePos( FILE * pFile, Abc_Ntk_t * pNtk, int fWriteLatches )
{
Abc_NtkForEachPo( pNtk, pTerm, i )
{
+ if ( i && i == pNtk->nRealPos )
+ {
+ fprintf( pFile, "\n.outputs" );
+ LineLength = 8;
+ NameCounter = 0;
+ }
pNet = Abc_ObjFanin0(pTerm);
// get the line length after this name is written
AddedLength = strlen(Abc_ObjName(pNet)) + 1;
diff --git a/src/map/if/ifTime.c b/src/map/if/ifTime.c
index 5dd57efc..48d1ff37 100644
--- a/src/map/if/ifTime.c
+++ b/src/map/if/ifTime.c
@@ -30,7 +30,7 @@ ABC_NAMESPACE_IMPL_START
#define IF_BIG_CHAR 120
-static float s_ExtraDel[2][3] = { {1.0, 1.0, 1.0}, {1.0, 1.0, 0.0} };
+static float s_ExtraDel[2][3] = { {1.0, 1.0, (float)0.1}, {1.0, 1.0, (float)0.1} };
static void If_CutSortInputPins( If_Man_t * p, If_Cut_t * pCut, int * pPinPerm, float * pPinDelays );