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
92c7c6f7
Commit
92c7c6f7
authored
Sep 05, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates for the new BMC engine.
parent
61126bfb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
src/sat/bmc/bmcBmcAnd.c
+9
-3
No files found.
src/sat/bmc/bmcBmcAnd.c
View file @
92c7c6f7
...
...
@@ -75,7 +75,7 @@ int Gia_ManBmcPerform( Gia_Man_t * pGia, Bmc_AndPar_t * pPars )
Gia_Man_t
*
pFrames
;
abctime
clk
=
Abc_Clock
();
int
nFramesMax
=
pPars
->
nFramesMax
?
pPars
->
nFramesMax
:
ABC_INFINITY
;
int
i
,
f
,
iStart
,
status
=
-
1
,
Counter
=
0
;
int
i
,
f
,
iStart
,
status
=
-
1
;
//
, Counter = 0;
p
=
Unr_ManUnrollStart
(
pGia
,
pPars
->
fVeryVerbose
);
for
(
f
=
0
;
f
<
nFramesMax
;
f
++
)
{
...
...
@@ -89,7 +89,7 @@ int Gia_ManBmcPerform( Gia_Man_t * pGia, Bmc_AndPar_t * pPars )
{
if
(
pPars
->
fVerbose
)
{
printf
(
"Frame %4d : PI =%9d.
AIG =%9d. Trivally UNSAT. Mem =%6
.1f Mb "
,
printf
(
"Frame %4d : PI =%9d.
AIG =%9d. Trivally UNSAT. Mem =%7
.1f Mb "
,
f
,
Gia_ManPiNum
(
pFrames
),
Gia_ManAndNum
(
pFrames
),
Gia_ManMemory
(
pFrames
)
);
Abc_PrintTime
(
1
,
"Time"
,
Abc_Clock
()
-
clk
);
}
...
...
@@ -97,13 +97,19 @@ int Gia_ManBmcPerform( Gia_Man_t * pGia, Bmc_AndPar_t * pPars )
}
if
(
pPars
->
fVerbose
)
{
printf
(
"Frame %4d : PI =%9d.
AIG =%9d. And =%9d. Mem =%6
.1f Mb "
,
printf
(
"Frame %4d : PI =%9d.
AIG =%9d. And =%9d. Mem =%7
.1f Mb "
,
f
,
Gia_ManPiNum
(
pFrames
),
Gia_ManAndNum
(
pFrames
),
Gia_ManCountUnmarked
(
pFrames
,
iStart
),
Gia_ManMemory
(
pFrames
)
);
Abc_PrintTime
(
1
,
"Time"
,
Abc_Clock
()
-
clk
);
}
// if ( ++Counter == 10 )
// break;
}
// dump unfolded frames
pFrames
=
Gia_ManCleanup
(
pFrames
);
Gia_AigerWrite
(
pFrames
,
"frames.aig"
,
0
,
0
);
printf
(
"Dumped unfolded frames into file
\"
frames.aig
\"
.
\n
"
);
Gia_ManStop
(
pFrames
);
// cleanup
Unr_ManFree
(
p
);
return
status
;
}
...
...
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