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
51bf1210
Commit
51bf1210
authored
Oct 21, 2014
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix in seq synthesis due to resent code restructuring.
parent
d2e42ec0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
src/aig/gia/giaEnable.c
+2
-2
src/aig/gia/giaEquiv.c
+2
-2
src/proof/cec/cecCorr.c
+4
-4
No files found.
src/aig/gia/giaEnable.c
View file @
51bf1210
...
...
@@ -362,7 +362,7 @@ Gia_Man_t * Gia_ManUnrollInit( Gia_Man_t * p, int nFrames )
Gia_Man_t
*
pNew
;
Gia_Obj_t
*
pObj
,
*
pObjRi
,
*
pObjRo
;
int
f
,
i
;
Vec_IntFill
(
&
p
->
vCopies
,
-
1
,
nFrames
*
Gia_ManObjNum
(
p
)
);
Vec_IntFill
(
&
p
->
vCopies
,
nFrames
*
Gia_ManObjNum
(
p
),
-
1
);
pNew
=
Gia_ManStart
(
nFrames
*
Gia_ManObjNum
(
p
)
);
pNew
->
pName
=
Abc_UtilStrsav
(
p
->
pName
);
pNew
->
pSpec
=
Abc_UtilStrsav
(
p
->
pSpec
);
...
...
@@ -412,7 +412,7 @@ Gia_Man_t * Gia_ManUnrollAndCofactor( Gia_Man_t * p, int nFrames, int nFanMax, i
vCofSigs
=
Gia_ManTransferFrames
(
p
,
pFrames
,
nFrames
,
pAig
,
vTemp
=
vCofSigs
);
Vec_IntFree
(
vTemp
);
Gia_ManStop
(
pFrames
);
ABC_FREE
(
p
->
vCopies
.
pArray
);
Vec_IntErase
(
&
p
->
vCopies
);
// cofactor all these variables
pNew
=
Gia_ManDupCofAllInt
(
pAig
,
vCofSigs
,
fVerbose
);
Vec_IntFree
(
vCofSigs
);
...
...
src/aig/gia/giaEquiv.c
View file @
51bf1210
...
...
@@ -1017,7 +1017,7 @@ Gia_Man_t * Gia_ManSpecReduceInit( Gia_Man_t * p, Abc_Cex_t * pInit, int nFrames
}
*/
assert
(
pInit
->
nRegs
==
Gia_ManRegNum
(
p
)
&&
pInit
->
nPis
==
0
);
Vec_IntFill
(
&
p
->
vCopies
,
-
1
,
nFrames
*
Gia_ManObjNum
(
p
)
);
Vec_IntFill
(
&
p
->
vCopies
,
nFrames
*
Gia_ManObjNum
(
p
),
-
1
);
vXorLits
=
Vec_IntAlloc
(
1000
);
Gia_ManSetPhase
(
p
);
if
(
fDualOut
)
...
...
@@ -1052,7 +1052,7 @@ Gia_Man_t * Gia_ManSpecReduceInit( Gia_Man_t * p, Abc_Cex_t * pInit, int nFrames
// Abc_Print( 1, "Speculatively reduced model has no primary outputs.\n" );
Gia_ManAppendCo
(
pNew
,
0
);
}
ABC_FREE
(
p
->
vCopies
.
pArray
);
Vec_IntErase
(
&
p
->
vCopies
);
Vec_IntFree
(
vXorLits
);
Gia_ManHashStop
(
pNew
);
pNew
=
Gia_ManCleanup
(
pTemp
=
pNew
);
...
...
src/proof/cec/cecCorr.c
View file @
51bf1210
...
...
@@ -112,7 +112,7 @@ Gia_Man_t * Gia_ManCorrSpecReduce( Gia_Man_t * p, int nFrames, int fScorr, Vec_I
assert
(
nFrames
>
0
);
assert
(
Gia_ManRegNum
(
p
)
>
0
);
assert
(
p
->
pReprs
!=
NULL
);
Vec_IntFill
(
&
p
->
vCopies
,
-
1
,
(
nFrames
+
fScorr
)
*
Gia_ManObjNum
(
p
)
);
Vec_IntFill
(
&
p
->
vCopies
,
(
nFrames
+
fScorr
)
*
Gia_ManObjNum
(
p
),
-
1
);
Gia_ManSetPhase
(
p
);
pNew
=
Gia_ManStart
(
nFrames
*
Gia_ManObjNum
(
p
)
);
pNew
->
pName
=
Abc_UtilStrsav
(
p
->
pName
);
...
...
@@ -200,7 +200,7 @@ Gia_Man_t * Gia_ManCorrSpecReduce( Gia_Man_t * p, int nFrames, int fScorr, Vec_I
Gia_ManAppendCo
(
pNew
,
iObjNew
);
Vec_IntFree
(
vXorLits
);
Gia_ManHashStop
(
pNew
);
ABC_FREE
(
p
->
vCopies
.
pArray
);
Vec_IntErase
(
&
p
->
vCopies
);
//Abc_Print( 1, "Before sweeping = %d\n", Gia_ManAndNum(pNew) );
pNew
=
Gia_ManCleanup
(
pTemp
=
pNew
);
//Abc_Print( 1, "After sweeping = %d\n", Gia_ManAndNum(pNew) );
...
...
@@ -229,7 +229,7 @@ Gia_Man_t * Gia_ManCorrSpecReduceInit( Gia_Man_t * p, int nFrames, int nPrefix,
assert
(
(
!
fScorr
&&
nFrames
>
1
)
||
(
fScorr
&&
nFrames
>
0
)
||
nPrefix
);
assert
(
Gia_ManRegNum
(
p
)
>
0
);
assert
(
p
->
pReprs
!=
NULL
);
Vec_IntFill
(
&
p
->
vCopies
,
-
1
,
(
nFrames
+
nPrefix
+
fScorr
)
*
Gia_ManObjNum
(
p
)
);
Vec_IntFill
(
&
p
->
vCopies
,
(
nFrames
+
nPrefix
+
fScorr
)
*
Gia_ManObjNum
(
p
),
-
1
);
Gia_ManSetPhase
(
p
);
pNew
=
Gia_ManStart
(
(
nFrames
+
nPrefix
)
*
Gia_ManObjNum
(
p
)
);
pNew
->
pName
=
Abc_UtilStrsav
(
p
->
pName
);
...
...
@@ -270,7 +270,7 @@ Gia_Man_t * Gia_ManCorrSpecReduceInit( Gia_Man_t * p, int nFrames, int nPrefix,
Gia_ManAppendCo
(
pNew
,
iObjNew
);
Vec_IntFree
(
vXorLits
);
Gia_ManHashStop
(
pNew
);
ABC_FREE
(
p
->
vCopies
.
pArray
);
Vec_IntErase
(
&
p
->
vCopies
);
//Abc_Print( 1, "Before sweeping = %d\n", Gia_ManAndNum(pNew) );
pNew
=
Gia_ManCleanup
(
pTemp
=
pNew
);
//Abc_Print( 1, "After sweeping = %d\n", Gia_ManAndNum(pNew) );
...
...
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