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
01e1b634
Commit
01e1b634
authored
Oct 10, 2014
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix in the bit-blaster.
parent
5a4592ee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/base/wlc/wlcBlast.c
+3
-3
src/misc/util/utilIsop.c
+2
-2
No files found.
src/base/wlc/wlcBlast.c
View file @
01e1b634
...
...
@@ -454,9 +454,9 @@ Gia_Man_t * Wlc_NtkBitBlast( Wlc_Ntk_t * p )
int
nRangeMax
=
Abc_MaxInt
(
nRange
,
nRange0
);
int
*
pArg0
=
Wlc_VecLoadFanins
(
vTemp0
,
pFans0
,
nRange0
,
nRangeMax
,
Wlc_ObjFanin0
(
p
,
pObj
)
->
Signed
);
if
(
pObj
->
Type
==
WLC_OBJ_SHIFT_R
||
pObj
->
Type
==
WLC_OBJ_SHIFT_RA
)
Wlc_BlastShiftRight
(
pNew
,
pArg0
,
nRangeMax
,
pFans1
,
nRange1
,
pObj
->
Type
==
WLC_OBJ_SHIFT_RA
,
vRes
);
Wlc_BlastShiftRight
(
pNew
,
pArg0
,
nRangeMax
,
pFans1
,
nRange1
,
Wlc_ObjFanin0
(
p
,
pObj
)
->
Signed
&&
pObj
->
Type
==
WLC_OBJ_SHIFT_RA
,
vRes
);
else
Wlc_BlastShiftLeft
(
pNew
,
pArg0
,
nRangeMax
,
pFans1
,
nRange1
,
pObj
->
Type
==
WLC_OBJ_SHIFT_LA
,
vRes
);
Wlc_BlastShiftLeft
(
pNew
,
pArg0
,
nRangeMax
,
pFans1
,
nRange1
,
0
,
vRes
);
Vec_IntShrink
(
vRes
,
nRange
);
}
else
if
(
pObj
->
Type
==
WLC_OBJ_ROTATE_R
)
...
...
@@ -622,7 +622,7 @@ Gia_Man_t * Wlc_NtkBitBlast( Wlc_Ntk_t * p )
else
Wlc_BlastDivider
(
pNew
,
pArg0
,
nRangeMax
,
pArg1
,
nRangeMax
,
pObj
->
Type
==
WLC_OBJ_ARI_DIVIDE
,
vRes
);
Vec_IntShrink
(
vRes
,
nRange
);
//
Wlc_BlastZeroCondition( pNew, pFans1, nRange1, vRes );
Wlc_BlastZeroCondition
(
pNew
,
pFans1
,
nRange1
,
vRes
);
}
else
if
(
pObj
->
Type
==
WLC_OBJ_ARI_MINUS
)
{
...
...
src/misc/util/utilIsop.c
View file @
01e1b634
...
...
@@ -1102,7 +1102,7 @@ int Abc_IsopTest( word * pFunc, int nVars, Vec_Int_t * vCover )
TotalCost[4] += Abc_CostCubes(Cost);
TotalTime[4] += Abc_Clock() - clk;
*/
/*
// try old computation
clk = Abc_Clock();
Cost = Kit_TruthIsop( (unsigned *)pFunc, nVars, vCover, 1 );
...
...
@@ -1112,7 +1112,7 @@ int Abc_IsopTest( word * pFunc, int nVars, Vec_Int_t * vCover )
printf( "%5d %7d ", Vec_IntSize(vCover), Abc_IsopCountLits(vCover, nVars) );
TotalCost[4] += Vec_IntSize(vCover);
TotalTime[4] += Abc_Clock() - clk;
*/
clk
=
Abc_Clock
();
Cost
=
Abc_Isop
(
pFunc
,
nVars
,
ABC_ISOP_MAX_CUBE
,
vCover
,
1
);
...
...
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