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
5f16cd94
Commit
5f16cd94
authored
Apr 29, 2020
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding new API to MiniAIG.
parent
f030a2a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/aig/miniaig/miniaig.h
+2
-2
No files found.
src/aig/miniaig/miniaig.h
View file @
5f16cd94
...
...
@@ -280,7 +280,7 @@ static inline int Mini_AigAndProp( Mini_Aig_t * p, int iLit0, int iLit1 )
return
iLit1
?
iLit0
:
0
;
if
(
iLit0
==
iLit1
)
return
iLit1
;
if
(
iLit0
==
Abc_
LitNot
(
iLit1
)
)
if
(
iLit0
==
Mini_Aig
LitNot
(
iLit1
)
)
return
0
;
return
Mini_AigAnd
(
p
,
iLit0
,
iLit1
);
}
...
...
@@ -288,7 +288,7 @@ static inline int Mini_AigMuxProp( Mini_Aig_t * p, int iCtrl, int iData1, int iD
{
int
iTemp0
=
Mini_AigAndProp
(
p
,
Mini_AigLitNot
(
iCtrl
),
iData0
);
int
iTemp1
=
Mini_AigAndProp
(
p
,
iCtrl
,
iData1
);
return
Mini_AigLitNot
(
Mini_AigAndProp
(
p
,
Abc_LitNot
(
iTemp0
),
Abc_
LitNot
(
iTemp1
)
)
);
return
Mini_AigLitNot
(
Mini_AigAndProp
(
p
,
Mini_AigLitNot
(
iTemp0
),
Mini_Aig
LitNot
(
iTemp1
)
)
);
}
static
inline
int
Mini_AigTruth
(
Mini_Aig_t
*
p
,
int
*
pVarLits
,
int
nVars
,
unsigned
Truth
)
{
...
...
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