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
d80efa1b
Commit
d80efa1b
authored
Apr 22, 2014
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix in if -g when choices are used.
parent
375b46a3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/base/abci/abcIf.c
+1
-1
src/misc/extra/extraUtilCube.c
+1
-1
No files found.
src/base/abci/abcIf.c
View file @
d80efa1b
...
@@ -504,7 +504,7 @@ Abc_Obj_t * Abc_NodeFromIf_rec( Abc_Ntk_t * pNtkNew, If_Man_t * pIfMan, If_Obj_t
...
@@ -504,7 +504,7 @@ Abc_Obj_t * Abc_NodeFromIf_rec( Abc_Ntk_t * pNtkNew, If_Man_t * pIfMan, If_Obj_t
pNodeNew
->
pData
=
Kit_TruthToHop
(
(
Hop_Man_t
*
)
pNtkNew
->
pManFunc
,
(
unsigned
*
)
pTruth
,
If_CutLeaveNum
(
pCutBest
),
vCover
);
pNodeNew
->
pData
=
Kit_TruthToHop
(
(
Hop_Man_t
*
)
pNtkNew
->
pManFunc
,
(
unsigned
*
)
pTruth
,
If_CutLeaveNum
(
pCutBest
),
vCover
);
}
}
// complement the node if the cut was complemented
// complement the node if the cut was complemented
if
(
pCutBest
->
fCompl
)
if
(
pCutBest
->
fCompl
&&
!
pIfMan
->
pPars
->
fDelayOpt
&&
!
pIfMan
->
pPars
->
fDsdBalance
)
Abc_NodeComplement
(
pNodeNew
);
Abc_NodeComplement
(
pNodeNew
);
}
}
else
else
...
...
src/misc/extra/extraUtilCube.c
View file @
d80efa1b
...
@@ -32,7 +32,7 @@ ABC_NAMESPACE_IMPL_START
...
@@ -32,7 +32,7 @@ ABC_NAMESPACE_IMPL_START
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
static
inline
void
Abc_StatePush
(
Vec_Int_t
*
vData
,
char
*
pState
,
int
k
)
{
int
i
;
for
(
i
=
0
;
i
<
6
;
i
++
)
Vec_IntWriteEntry
(
vData
,
6
*
k
+
i
,
((
int
*
)
pState
)[
i
]);
}
static
inline
void
Abc_StatePush
(
Vec_Int_t
*
vData
,
char
*
pState
,
int
k
)
{
int
i
;
for
(
i
=
0
;
i
<
6
;
i
++
)
Vec_IntWriteEntry
(
vData
,
6
*
k
+
i
,
((
int
*
)
pState
)[
i
]);
}
static
inline
void
Abc_StatePerm
(
char
*
pState
,
char
*
pPerm
,
char
*
pRes
)
{
int
i
;
for
(
i
=
0
;
i
<
24
;
i
++
)
pRes
[
i
]
=
pState
[
pPerm
[
i
]];
}
static
inline
void
Abc_StatePerm
(
char
*
pState
,
char
*
pPerm
,
char
*
pRes
)
{
int
i
;
for
(
i
=
0
;
i
<
24
;
i
++
)
pRes
[
i
]
=
pState
[
(
int
)
pPerm
[
i
]];
}
static
inline
void
Abc_StatePrint
(
char
*
pState
)
{
int
i
;
for
(
i
=
0
;
i
<
24
;
i
++
)
printf
(
" %2d"
,
pState
[
i
]);
printf
(
"
\n
"
);
}
static
inline
void
Abc_StatePrint
(
char
*
pState
)
{
int
i
;
for
(
i
=
0
;
i
<
24
;
i
++
)
printf
(
" %2d"
,
pState
[
i
]);
printf
(
"
\n
"
);
}
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
...
...
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