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
fde8c8b2
Commit
fde8c8b2
authored
Jan 25, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added switch &trim -V <num> to remove const POs with specific value <num>.
parent
853222ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/aig/gia/giaDup.c
+2
-2
No files found.
src/aig/gia/giaDup.c
View file @
fde8c8b2
...
@@ -1166,7 +1166,7 @@ Vec_Int_t * Gia_ManDupTrimmedNonZero( Gia_Man_t * p )
...
@@ -1166,7 +1166,7 @@ Vec_Int_t * Gia_ManDupTrimmedNonZero( Gia_Man_t * p )
/**Function*************************************************************
/**Function*************************************************************
Synopsis [
Duplicates AIG in the DFS order while putting CIs first
.]
Synopsis [
Returns 1 if PO can be removed
.]
Description []
Description []
...
@@ -1181,7 +1181,7 @@ int Gia_ManPoIsToRemove( Gia_Man_t * p, Gia_Obj_t * pObj, int Value )
...
@@ -1181,7 +1181,7 @@ int Gia_ManPoIsToRemove( Gia_Man_t * p, Gia_Obj_t * pObj, int Value )
if
(
Value
==
-
1
)
if
(
Value
==
-
1
)
return
Gia_ObjIsConst0
(
Gia_ObjFanin0
(
pObj
));
return
Gia_ObjIsConst0
(
Gia_ObjFanin0
(
pObj
));
assert
(
Value
==
0
||
Value
==
1
);
assert
(
Value
==
0
||
Value
==
1
);
return
Value
==
Gia_ObjFaninC0
(
pObj
);
return
Gia_ObjIsConst0
(
Gia_ObjFanin0
(
pObj
))
&&
Value
==
Gia_ObjFaninC0
(
pObj
);
}
}
/**Function*************************************************************
/**Function*************************************************************
...
...
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