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
688f0269
Commit
688f0269
authored
Jun 28, 2016
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix in blasting shifters with large bit-width.
parent
a3095693
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/base/wlc/wlcBlast.c
+2
-2
No files found.
src/base/wlc/wlcBlast.c
View file @
688f0269
...
...
@@ -143,7 +143,7 @@ void Wlc_BlastShiftRightInt( Gia_Man_t * pNew, int * pNum, int nNum, int * pShif
void
Wlc_BlastShiftRight
(
Gia_Man_t
*
pNew
,
int
*
pNum
,
int
nNum
,
int
*
pShift
,
int
nShift
,
int
fSticky
,
Vec_Int_t
*
vRes
)
{
int
nShiftMax
=
Abc_Base2Log
(
nNum
);
if
(
nShiftMax
<
nShift
)
if
(
nShiftMax
<
nShift
&&
nShift
>
30
)
{
int
i
,
iRes
=
pShift
[
nShiftMax
];
for
(
i
=
nShiftMax
+
1
;
i
<
nShift
;
i
++
)
...
...
@@ -176,7 +176,7 @@ void Wlc_BlastShiftLeftInt( Gia_Man_t * pNew, int * pNum, int nNum, int * pShift
void
Wlc_BlastShiftLeft
(
Gia_Man_t
*
pNew
,
int
*
pNum
,
int
nNum
,
int
*
pShift
,
int
nShift
,
int
fSticky
,
Vec_Int_t
*
vRes
)
{
int
nShiftMax
=
Abc_Base2Log
(
nNum
);
if
(
nShiftMax
<
nShift
)
if
(
nShiftMax
<
nShift
&&
nShift
>
30
)
{
int
i
,
iRes
=
pShift
[
nShiftMax
];
for
(
i
=
nShiftMax
+
1
;
i
<
nShift
;
i
++
)
...
...
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