summaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-09-18 13:23:58 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2012-09-18 13:23:58 -0700
commite0eb270324ab71403ded07e9700152c2755e5095 (patch)
treef89a2a168e6648989e54b025ea08cecf5c6c4efd /src/base
parent508b6f1b1356f87340d7e722c288b9ddccdd542e (diff)
downloadabc-e0eb270324ab71403ded07e9700152c2755e5095.tar.gz
abc-e0eb270324ab71403ded07e9700152c2755e5095.tar.bz2
abc-e0eb270324ab71403ded07e9700152c2755e5095.zip
Changes to command 'upsize'.
Diffstat (limited to 'src/base')
-rw-r--r--src/base/abc/abc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/base/abc/abc.h b/src/base/abc/abc.h
index 26264586..83aa3f7b 100644
--- a/src/base/abc/abc.h
+++ b/src/base/abc/abc.h
@@ -457,6 +457,9 @@ static inline void Abc_ObjSetMvVar( Abc_Obj_t * pObj, void * pV) { Vec_At
#define Abc_NtkForEachObjVec( vIds, pNtk, pObj, i ) \
for ( i = 0; i < Vec_IntSize(vIds) && (((pObj) = Abc_NtkObj(pNtk, Vec_IntEntry(vIds,i))), 1); i++ ) \
if ( (pObj) == NULL ) {} else
+#define Abc_NtkForEachObjVecStart( vIds, pNtk, pObj, i, Start ) \
+ for ( i = Start; i < Vec_IntSize(vIds) && (((pObj) = Abc_NtkObj(pNtk, Vec_IntEntry(vIds,i))), 1); i++ ) \
+ if ( (pObj) == NULL ) {} else
#define Abc_NtkForEachNet( pNtk, pNet, i ) \
for ( i = 0; (i < Vec_PtrSize((pNtk)->vObjs)) && (((pNet) = Abc_NtkObj(pNtk, i)), 1); i++ ) \
if ( (pNet) == NULL || !Abc_ObjIsNet(pNet) ) {} else