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
1d20dea1
Commit
1d20dea1
authored
Nov 29, 2014
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Induced bug fix in bitblasting of rotation operator.
parent
2e9d3a3e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
src/base/cba/cbaCom.c
+1
-1
src/base/wlc/wlcReadVer.c
+2
-1
No files found.
src/base/cba/cbaCom.c
View file @
1d20dea1
...
@@ -34,7 +34,7 @@ static int Cba_CommandBlast ( Abc_Frame_t * pAbc, int argc, char ** argv );
...
@@ -34,7 +34,7 @@ static int Cba_CommandBlast ( Abc_Frame_t * pAbc, int argc, char ** argv );
static
int
Cba_CommandTest
(
Abc_Frame_t
*
pAbc
,
int
argc
,
char
**
argv
);
static
int
Cba_CommandTest
(
Abc_Frame_t
*
pAbc
,
int
argc
,
char
**
argv
);
static
inline
Cba_Ntk_t
*
Cba_AbcGetNtk
(
Abc_Frame_t
*
pAbc
)
{
return
(
Cba_Ntk_t
*
)
pAbc
->
pAbcCba
;
}
static
inline
Cba_Ntk_t
*
Cba_AbcGetNtk
(
Abc_Frame_t
*
pAbc
)
{
return
(
Cba_Ntk_t
*
)
pAbc
->
pAbcCba
;
}
static
inline
void
Cba_AbcFreeNtk
(
Abc_Frame_t
*
pAbc
)
{
if
(
pAbc
->
pAbc
Wlc
)
Cba_NtkFree
(
Cba_AbcGetNtk
(
pAbc
));
}
static
inline
void
Cba_AbcFreeNtk
(
Abc_Frame_t
*
pAbc
)
{
if
(
pAbc
->
pAbc
Cba
)
Cba_NtkFree
(
Cba_AbcGetNtk
(
pAbc
));
}
static
inline
void
Cba_AbcUpdateNtk
(
Abc_Frame_t
*
pAbc
,
Cba_Ntk_t
*
pNtk
)
{
Cba_AbcFreeNtk
(
pAbc
);
pAbc
->
pAbcCba
=
pNtk
;
}
static
inline
void
Cba_AbcUpdateNtk
(
Abc_Frame_t
*
pAbc
,
Cba_Ntk_t
*
pNtk
)
{
Cba_AbcFreeNtk
(
pAbc
);
pAbc
->
pAbcCba
=
pNtk
;
}
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
...
...
src/base/wlc/wlcReadVer.c
View file @
1d20dea1
...
@@ -485,7 +485,8 @@ static inline char * Wlc_PrsReadConstant( Wlc_Prs_t * p, char * pStr, Vec_Int_t
...
@@ -485,7 +485,8 @@ static inline char * Wlc_PrsReadConstant( Wlc_Prs_t * p, char * pStr, Vec_Int_t
{
{
// handle decimal number
// handle decimal number
int
Number
=
atoi
(
pStr
);
int
Number
=
atoi
(
pStr
);
*
pRange
=
Abc_Base2Log
(
Number
);
*
pRange
=
Abc_Base2Log
(
Number
+
1
);
assert
(
*
pRange
<
32
);
while
(
Wlc_PrsIsDigit
(
pStr
)
)
while
(
Wlc_PrsIsDigit
(
pStr
)
)
pStr
++
;
pStr
++
;
Vec_IntFill
(
vFanins
,
1
,
Number
);
Vec_IntFill
(
vFanins
,
1
,
Number
);
...
...
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