Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
debbf4d8
Commit
debbf4d8
authored
Sep 27, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix.
parent
f6653175
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/base/abc/abcFanio.c
+1
-1
No files found.
src/base/abc/abcFanio.c
View file @
debbf4d8
...
@@ -87,7 +87,7 @@ void Abc_ObjAddFanin( Abc_Obj_t * pObj, Abc_Obj_t * pFanin )
...
@@ -87,7 +87,7 @@ void Abc_ObjAddFanin( Abc_Obj_t * pObj, Abc_Obj_t * pFanin )
assert
(
!
Abc_ObjIsComplement
(
pObj
)
);
assert
(
!
Abc_ObjIsComplement
(
pObj
)
);
assert
(
pObj
->
pNtk
==
pFaninR
->
pNtk
);
assert
(
pObj
->
pNtk
==
pFaninR
->
pNtk
);
assert
(
pObj
->
Id
>=
0
&&
pFaninR
->
Id
>=
0
);
assert
(
pObj
->
Id
>=
0
&&
pFaninR
->
Id
>=
0
);
assert
(
!
Abc_ObjIsPi
(
pObj
)
&&
!
Abc_ObjIsPo
(
pFanin
)
);
// fanin of PI or fanout of PO
assert
(
!
Abc_ObjIsPi
(
pObj
)
&&
!
Abc_ObjIsPo
(
pFanin
R
)
);
// fanin of PI or fanout of PO
assert
(
!
Abc_ObjIsCo
(
pObj
)
||
!
Abc_ObjFaninNum
(
pObj
)
);
// CO with two fanins
assert
(
!
Abc_ObjIsCo
(
pObj
)
||
!
Abc_ObjFaninNum
(
pObj
)
);
// CO with two fanins
assert
(
!
Abc_ObjIsNet
(
pObj
)
||
!
Abc_ObjFaninNum
(
pObj
)
);
// net with two fanins
assert
(
!
Abc_ObjIsNet
(
pObj
)
||
!
Abc_ObjFaninNum
(
pObj
)
);
// net with two fanins
Vec_IntPushMem
(
pObj
->
pNtk
->
pMmStep
,
&
pObj
->
vFanins
,
pFaninR
->
Id
);
Vec_IntPushMem
(
pObj
->
pNtk
->
pMmStep
,
&
pObj
->
vFanins
,
pFaninR
->
Id
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment