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
1cd5f768
Commit
1cd5f768
authored
Mar 06, 2017
by
Mathias Soeken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix exact command for multiple-output functions.
parent
d9715054
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
1 deletions
+24
-1
src/base/abci/abcExact.c
+24
-1
No files found.
src/base/abci/abcExact.c
View file @
1cd5f768
...
@@ -1921,7 +1921,7 @@ static inline void Ses_ManPrintFuncs( Ses_Man_t * pSes )
...
@@ -1921,7 +1921,7 @@ static inline void Ses_ManPrintFuncs( Ses_Man_t * pSes )
for
(
h
=
0
;
h
<
pSes
->
nSpecFunc
;
++
h
)
for
(
h
=
0
;
h
<
pSes
->
nSpecFunc
;
++
h
)
{
{
printf
(
" func %d: "
,
h
+
1
);
printf
(
" func %d: "
,
h
+
1
);
Abc_TtPrintHexRev
(
stdout
,
&
pSes
->
pSpec
[
h
>>
2
],
pSes
->
nSpecVars
);
Abc_TtPrintHexRev
(
stdout
,
&
pSes
->
pSpec
[
h
<<
2
],
pSes
->
nSpecVars
);
printf
(
"
\n
"
);
printf
(
"
\n
"
);
}
}
...
@@ -2357,6 +2357,29 @@ static char * Ses_ManFindMinimumSizeTopDown( Ses_Man_t * pSes, int nMinGates )
...
@@ -2357,6 +2357,29 @@ static char * Ses_ManFindMinimumSizeTopDown( Ses_Man_t * pSes, int nMinGates )
static
char
*
Ses_ManFindMinimumSize
(
Ses_Man_t
*
pSes
)
static
char
*
Ses_ManFindMinimumSize
(
Ses_Man_t
*
pSes
)
{
{
char
*
pSol
=
NULL
;
char
*
pSol
=
NULL
;
int
i
=
pSes
->
nStartGates
+
1
,
fRes
;
/* if more than one function, no CEGAR */
if
(
pSes
->
nSpecFunc
>
1
)
{
while
(
true
)
{
if
(
pSes
->
fVerbose
)
{
printf
(
"try with %d gates
\n
"
,
i
);
}
memset
(
pSes
->
pTtValues
,
~
0
,
4
*
sizeof
(
word
)
);
fRes
=
Ses_ManFindNetworkExact
(
pSes
,
i
++
);
if
(
fRes
==
2
)
continue
;
if
(
fRes
==
0
)
break
;
pSol
=
Ses_ManExtractSolution
(
pSes
);
break
;
}
return
pSol
;
}
/* do the arrival times allow for a network? */
/* do the arrival times allow for a network? */
if
(
pSes
->
nMaxDepth
!=
-
1
&&
pSes
->
pArrTimeProfile
)
if
(
pSes
->
nMaxDepth
!=
-
1
&&
pSes
->
pArrTimeProfile
)
...
...
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