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
8c04d950
Commit
8c04d950
authored
Dec 04, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Making 'scorr -c' applicable to seq benchmarks without constraints.
parent
fe694d38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/proof/ssw/sswConstr.c
+4
-4
No files found.
src/proof/ssw/sswConstr.c
View file @
8c04d950
...
@@ -49,7 +49,7 @@ Aig_Man_t * Ssw_FramesWithConstraints( Aig_Man_t * p, int nFrames )
...
@@ -49,7 +49,7 @@ Aig_Man_t * Ssw_FramesWithConstraints( Aig_Man_t * p, int nFrames )
Aig_Man_t
*
pFrames
;
Aig_Man_t
*
pFrames
;
Aig_Obj_t
*
pObj
,
*
pObjLi
,
*
pObjLo
;
Aig_Obj_t
*
pObj
,
*
pObjLi
,
*
pObjLo
;
int
i
,
f
;
int
i
,
f
;
assert
(
Saig_ManConstrNum
(
p
)
>
0
);
//
assert( Saig_ManConstrNum(p) > 0 );
assert
(
Aig_ManRegNum
(
p
)
>
0
);
assert
(
Aig_ManRegNum
(
p
)
>
0
);
assert
(
Aig_ManRegNum
(
p
)
<
Aig_ManCiNum
(
p
)
);
assert
(
Aig_ManRegNum
(
p
)
<
Aig_ManCiNum
(
p
)
);
// start the fraig package
// start the fraig package
...
@@ -106,7 +106,7 @@ int Ssw_ManSetConstrPhases( Aig_Man_t * p, int nFrames, Vec_Int_t ** pvInits )
...
@@ -106,7 +106,7 @@ int Ssw_ManSetConstrPhases( Aig_Man_t * p, int nFrames, Vec_Int_t ** pvInits )
int
i
,
RetValue
;
int
i
,
RetValue
;
if
(
pvInits
)
if
(
pvInits
)
*
pvInits
=
NULL
;
*
pvInits
=
NULL
;
assert
(
p
->
nConstrs
>
0
);
//
assert( p->nConstrs > 0 );
// derive the timeframes
// derive the timeframes
pFrames
=
Ssw_FramesWithConstraints
(
p
,
nFrames
);
pFrames
=
Ssw_FramesWithConstraints
(
p
,
nFrames
);
// create CNF
// create CNF
...
@@ -275,12 +275,12 @@ void Ssw_ManRefineByConstrSim( Ssw_Man_t * p )
...
@@ -275,12 +275,12 @@ void Ssw_ManRefineByConstrSim( Ssw_Man_t * p )
{
{
if
(
i
<
Saig_ManPoNum
(
p
->
pAig
)
-
Saig_ManConstrNum
(
p
->
pAig
)
)
if
(
i
<
Saig_ManPoNum
(
p
->
pAig
)
-
Saig_ManConstrNum
(
p
->
pAig
)
)
{
{
if
(
pObj
->
fMarkB
)
if
(
pObj
->
fMarkB
&&
Saig_ManConstrNum
(
p
->
pAig
)
)
Abc_Print
(
1
,
"output %d failed in frame %d.
\n
"
,
i
,
f
);
Abc_Print
(
1
,
"output %d failed in frame %d.
\n
"
,
i
,
f
);
}
}
else
else
{
{
if
(
pObj
->
fMarkB
)
if
(
pObj
->
fMarkB
&&
Saig_ManConstrNum
(
p
->
pAig
)
)
Abc_Print
(
1
,
"constraint %d failed in frame %d.
\n
"
,
i
,
f
);
Abc_Print
(
1
,
"constraint %d failed in frame %d.
\n
"
,
i
,
f
);
}
}
}
}
...
...
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