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
a176485a
Commit
a176485a
authored
Mar 27, 2019
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changing print-out in 'dprove' when the miter is combinational.
parent
acdfc3cc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
src/base/abci/abcDar.c
+10
-7
No files found.
src/base/abci/abcDar.c
View file @
a176485a
...
@@ -2795,26 +2795,29 @@ int Abc_NtkDarProve( Abc_Ntk_t * pNtk, Fra_Sec_t * pSecPar, int nBmcFramesMax, i
...
@@ -2795,26 +2795,29 @@ int Abc_NtkDarProve( Abc_Ntk_t * pNtk, Fra_Sec_t * pSecPar, int nBmcFramesMax, i
if
(
RetValue
==
0
&&
(
Abc_NtkLatchNum
(
pNtk
)
==
0
)
)
if
(
RetValue
==
0
&&
(
Abc_NtkLatchNum
(
pNtk
)
==
0
)
)
{
{
pNtk
->
pModel
=
pNtkComb
->
pModel
;
pNtkComb
->
pModel
=
NULL
;
pNtk
->
pModel
=
pNtkComb
->
pModel
;
pNtkComb
->
pModel
=
NULL
;
Abc_Print
(
1
,
"Networks are not equivalent.
\n
"
);
ABC_PRT
(
"Time"
,
Abc_Clock
()
-
clk
);
if
(
pSecPar
->
fReportSolution
)
if
(
pSecPar
->
fReportSolution
)
{
Abc_Print
(
1
,
"SOLUTION: FAIL "
);
Abc_Print
(
1
,
"SOLUTION: FAIL "
);
else
Abc_Print
(
1
,
"SATISFIABLE "
);
ABC_PRT
(
"Time"
,
Abc_Clock
()
-
clkTotal
);
ABC_PRT
(
"Time"
,
Abc_Clock
()
-
clkTotal
);
}
return
RetValue
;
return
RetValue
;
}
}
Abc_NtkDelete
(
pNtkComb
);
Abc_NtkDelete
(
pNtkComb
);
// return the result, if solved
// return the result, if solved
if
(
RetValue
==
1
)
if
(
RetValue
==
1
)
{
{
Abc_Print
(
1
,
"Networks are equivalent after CEC. "
);
ABC_PRT
(
"Time"
,
Abc_Clock
()
-
clk
);
if
(
pSecPar
->
fReportSolution
)
if
(
pSecPar
->
fReportSolution
)
{
Abc_Print
(
1
,
"SOLUTION: PASS "
);
Abc_Print
(
1
,
"SOLUTION: PASS "
);
else
Abc_Print
(
1
,
"UNSATISFIABLE "
);
ABC_PRT
(
"Time"
,
Abc_Clock
()
-
clkTotal
);
ABC_PRT
(
"Time"
,
Abc_Clock
()
-
clkTotal
);
return
RetValue
;
}
}
// return undecided, if the miter is combinational
if
(
Abc_NtkLatchNum
(
pNtk
)
==
0
)
{
Abc_Print
(
1
,
"UNDECIDED "
);
ABC_PRT
(
"Time"
,
Abc_Clock
()
-
clkTotal
);
return
RetValue
;
return
RetValue
;
}
}
}
}
...
...
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