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
bab90943
Commit
bab90943
authored
Oct 26, 2016
by
Mathias Soeken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Exact synthesis.
parent
0a87e72c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
src/base/abci/abcExact.c
+15
-0
No files found.
src/base/abci/abcExact.c
View file @
bab90943
...
@@ -1405,6 +1405,21 @@ static int Ses_ManCreateClauses( Ses_Man_t * pSes )
...
@@ -1405,6 +1405,21 @@ static int Ses_ManCreateClauses( Ses_Man_t * pSes )
}
}
Vec_IntFree
(
vLits
);
Vec_IntFree
(
vLits
);
/* EXTRA clauses: no reapplying operand */
if
(
pSes
->
nGates
>
1
)
for
(
i
=
0
;
i
<
pSes
->
nGates
-
1
;
++
i
)
for
(
ii
=
i
+
1
;
ii
<
pSes
->
nGates
;
++
ii
)
for
(
k
=
1
;
k
<
pSes
->
nSpecVars
+
i
;
++
k
)
for
(
j
=
0
;
j
<
k
;
++
j
)
{
pLits
[
0
]
=
Abc_Var2Lit
(
Ses_ManSelectVar
(
pSes
,
i
,
j
,
k
),
1
);
pLits
[
1
]
=
Abc_Var2Lit
(
Ses_ManSelectVar
(
pSes
,
ii
,
j
,
pSes
->
nSpecVars
+
i
),
1
);
sat_solver_addclause
(
pSes
->
pSat
,
pLits
,
pLits
+
2
);
pLits
[
1
]
=
Abc_Var2Lit
(
Ses_ManSelectVar
(
pSes
,
ii
,
k
,
pSes
->
nSpecVars
+
i
),
1
);
sat_solver_addclause
(
pSes
->
pSat
,
pLits
,
pLits
+
2
);
}
/* EXTRA clauses: co-lexicographic order */
/* EXTRA clauses: co-lexicographic order */
for
(
i
=
0
;
i
<
pSes
->
nGates
-
1
;
++
i
)
for
(
i
=
0
;
i
<
pSes
->
nGates
-
1
;
++
i
)
{
{
...
...
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