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
74893bf3
Commit
74893bf3
authored
Nov 01, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sweeper internal verification.
parent
a564e2ab
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
src/aig/gia/gia.h
+1
-1
src/aig/gia/giaDup.c
+5
-3
src/proof/ssc/sscCore.c
+1
-1
No files found.
src/aig/gia/gia.h
View file @
74893bf3
...
...
@@ -1008,7 +1008,7 @@ extern Gia_Man_t * Gia_ManDupDfsCiMap( Gia_Man_t * p, int * pCi2Lit, Vec
extern
Gia_Man_t
*
Gia_ManDupDfsClasses
(
Gia_Man_t
*
p
);
extern
Gia_Man_t
*
Gia_ManDupTopAnd
(
Gia_Man_t
*
p
,
int
fVerbose
);
extern
Gia_Man_t
*
Gia_ManMiter
(
Gia_Man_t
*
pAig0
,
Gia_Man_t
*
pAig1
,
int
nInsDup
,
int
fDualOut
,
int
fSeq
,
int
fImplic
,
int
fVerbose
);
extern
Gia_Man_t
*
Gia_ManDupAndOr
(
Gia_Man_t
*
p
,
int
fUseOr
,
int
fCompl
);
extern
Gia_Man_t
*
Gia_ManDupAndOr
(
Gia_Man_t
*
p
,
int
nOuts
,
int
fUseOr
,
int
fCompl
);
extern
Gia_Man_t
*
Gia_ManDupZeroUndc
(
Gia_Man_t
*
p
,
char
*
pInit
,
int
fVerbose
);
extern
Gia_Man_t
*
Gia_ManMiter2
(
Gia_Man_t
*
p
,
char
*
pInit
,
int
fVerbose
);
extern
Gia_Man_t
*
Gia_ManTransformMiter
(
Gia_Man_t
*
p
);
...
...
src/aig/gia/giaDup.c
View file @
74893bf3
...
...
@@ -2027,7 +2027,7 @@ Gia_Man_t * Gia_ManMiter( Gia_Man_t * p0, Gia_Man_t * p1, int nInsDup, int fDual
SeeAlso []
***********************************************************************/
Gia_Man_t
*
Gia_ManDupAndOr
(
Gia_Man_t
*
p
,
int
fUseOr
,
int
fCompl
)
Gia_Man_t
*
Gia_ManDupAndOr
(
Gia_Man_t
*
p
,
int
nOuts
,
int
fUseOr
,
int
fCompl
)
{
Gia_Man_t
*
pNew
,
*
pTemp
;
Gia_Obj_t
*
pObj
;
...
...
@@ -2054,8 +2054,10 @@ Gia_Man_t * Gia_ManDupAndOr( Gia_Man_t * p, int fUseOr, int fCompl )
iResult
=
Gia_ManHashAnd
(
pNew
,
iResult
,
Gia_ObjFanin0Copy
(
pObj
)
);
}
iResult
=
Abc_LitNotCond
(
iResult
,
(
int
)(
fCompl
>
0
)
);
Gia_ManForEachPo
(
p
,
pObj
,
i
)
pObj
->
Value
=
Gia_ManAppendCo
(
pNew
,
iResult
);
// Gia_ManForEachPo( p, pObj, i )
// pObj->Value = Gia_ManAppendCo( pNew, iResult );
for
(
i
=
0
;
i
<
nOuts
;
i
++
)
Gia_ManAppendCo
(
pNew
,
iResult
);
Gia_ManHashStop
(
pNew
);
Gia_ManSetRegNum
(
pNew
,
Gia_ManRegNum
(
p
)
);
pNew
=
Gia_ManCleanup
(
pTemp
=
pNew
);
...
...
src/proof/ssc/sscCore.c
View file @
74893bf3
...
...
@@ -225,7 +225,7 @@ int Ssc_PerformVerification( Gia_Man_t * p0, Gia_Man_t * p1, Gia_Man_t * pC )
int
Status
;
Cec_ParCec_t
ParsCec
,
*
pPars
=
&
ParsCec
;
// derive the OR of constraint outputs
Gia_Man_t
*
pCond
=
Gia_ManDupAndOr
(
pC
,
1
,
0
);
Gia_Man_t
*
pCond
=
Gia_ManDupAndOr
(
pC
,
Gia_ManPoNum
(
p0
),
1
,
0
);
// derive F = F & !OR(c0, c1, c2, ...)
Gia_Man_t
*
p0c
=
Gia_ManMiter
(
p0
,
pCond
,
0
,
0
,
0
,
1
,
0
);
// derive F = F & !OR(c0, c1, c2, ...)
...
...
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