summaryrefslogtreecommitdiffstats
path: root/src/map/mio
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2014-12-08 14:10:41 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2014-12-08 14:10:41 -0800
commit1398de7c46d3b2f4e63a6b10965f1e9f4d62742c (patch)
tree91897fd6383960f6fb11322500756781250612b0 /src/map/mio
parent3e2fad35748982c032ad30d8ccc6d5216213dff2 (diff)
downloadabc-1398de7c46d3b2f4e63a6b10965f1e9f4d62742c.tar.gz
abc-1398de7c46d3b2f4e63a6b10965f1e9f4d62742c.tar.bz2
abc-1398de7c46d3b2f4e63a6b10965f1e9f4d62742c.zip
Integrating barrier buffers.
Diffstat (limited to 'src/map/mio')
-rw-r--r--src/map/mio/mioUtils.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/mio/mioUtils.c b/src/map/mio/mioUtils.c
index 978e1128..a8e11102 100644
--- a/src/map/mio/mioUtils.c
+++ b/src/map/mio/mioUtils.c
@@ -443,6 +443,14 @@ Mio_Cell_t * Mio_CollectRootsNew( Mio_Library_t * pLib, int nInputs, int * pnGat
}
Mio_CollectCopy( ppCells + iCell++, pGate );
}
+ if ( ppCells[0].pName == NULL )
+ { printf( "Error: Cannot find constant 0 gate in the library.\n" ); return NULL; }
+ if ( ppCells[1].pName == NULL )
+ { printf( "Error: Cannot find constant 1 gate in the library.\n" ); return NULL; }
+ if ( ppCells[2].pName == NULL )
+ { printf( "Error: Cannot find buffer gate in the library.\n" ); return NULL; }
+ if ( ppCells[3].pName == NULL )
+ { printf( "Error: Cannot find inverter gate in the library.\n" ); return NULL; }
// sort by delay
if ( iCell > 1 )
{