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
e387ddf8
Unverified
Commit
e387ddf8
authored
Aug 06, 2023
by
alanminko
Committed by
GitHub
Aug 06, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #236 from MyskYko/fix_rwr
update reverse level when co is replaced
parents
039f05cb
3daecc0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
src/base/abc/abcAig.c
+10
-0
No files found.
src/base/abc/abcAig.c
View file @
e387ddf8
...
...
@@ -897,6 +897,16 @@ void Abc_AigReplace_int( Abc_Aig_t * pMan, Abc_Obj_t * pOld, Abc_Obj_t * pNew, i
{
if
(
Abc_ObjIsCo
(
pFanout
)
)
{
pFanin1
=
Abc_ObjRegular
(
pNew
);
if
(
pFanin1
->
fMarkB
)
Abc_AigRemoveFromLevelStructureR
(
pMan
->
vLevelsR
,
pFanin1
);
if
(
fUpdateLevel
&&
pMan
->
pNtkAig
->
vLevelsR
)
{
Abc_ObjSetReverseLevel
(
pFanin1
,
Abc_ObjReverseLevel
(
pOld
)
);
assert
(
pFanin1
->
fMarkB
==
0
);
pFanin1
->
fMarkB
=
1
;
Vec_VecPush
(
pMan
->
vLevelsR
,
Abc_ObjReverseLevel
(
pFanin1
),
pFanin1
);
}
Abc_ObjPatchFanin
(
pFanout
,
pOld
,
pNew
);
continue
;
}
...
...
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