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
f5a8cf99
Commit
f5a8cf99
authored
Oct 28, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improvements to LMS code.
parent
d8d82005
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/base/abci/abcRec3.c
+2
-4
No files found.
src/base/abci/abcRec3.c
View file @
f5a8cf99
...
@@ -795,15 +795,13 @@ static inline int If_CutComputeDelay( If_Man_t * p, If_Cut_t * pCut, char * pCan
...
@@ -795,15 +795,13 @@ static inline int If_CutComputeDelay( If_Man_t * p, If_Cut_t * pCut, char * pCan
static
inline
int
If_CutFindBestStruct
(
If_Man_t
*
pIfMan
,
If_Cut_t
*
pCut
,
char
*
pCanonPerm
,
unsigned
*
puCanonPhase
,
int
*
pBestPo
)
static
inline
int
If_CutFindBestStruct
(
If_Man_t
*
pIfMan
,
If_Cut_t
*
pCut
,
char
*
pCanonPerm
,
unsigned
*
puCanonPhase
,
int
*
pBestPo
)
{
{
Lms_Man_t
*
p
=
s_pMan3
;
Lms_Man_t
*
p
=
s_pMan3
;
int
i
,
nLeaves
,
*
pTruthId
,
iFirstPo
,
iFirstPoNext
,
iBestPo
;
int
i
,
*
pTruthId
,
iFirstPo
,
iFirstPoNext
,
iBestPo
;
int
BestDelay
=
ABC_INFINITY
,
BestArea
=
ABC_INFINITY
,
Delay
,
Area
;
int
BestDelay
=
ABC_INFINITY
,
BestArea
=
ABC_INFINITY
,
Delay
,
Area
;
int
nLeaves
=
If_CutLeaveNum
(
pCut
);
clock_t
clk
;
clock_t
clk
;
// semicanonicize the function
// semicanonicize the function
clk
=
clock
();
clk
=
clock
();
nLeaves
=
If_CutLeaveNum
(
pCut
);
for
(
i
=
0
;
i
<
Abc_MaxInt
(
nLeaves
,
6
);
i
++
)
pCanonPerm
[
i
]
=
i
;
memcpy
(
p
->
pTemp1
,
If_CutTruthW
(
pCut
),
p
->
nWords
*
sizeof
(
word
)
);
memcpy
(
p
->
pTemp1
,
If_CutTruthW
(
pCut
),
p
->
nWords
*
sizeof
(
word
)
);
// uCanonPhase = luckyCanonicizer_final_fast( p->pTemp1, nLeaves, pCanonPerm );
// uCanonPhase = luckyCanonicizer_final_fast( p->pTemp1, nLeaves, pCanonPerm );
*
puCanonPhase
=
Kit_TruthSemiCanonicize
(
(
unsigned
*
)
p
->
pTemp1
,
(
unsigned
*
)
p
->
pTemp2
,
nLeaves
,
pCanonPerm
);
*
puCanonPhase
=
Kit_TruthSemiCanonicize
(
(
unsigned
*
)
p
->
pTemp1
,
(
unsigned
*
)
p
->
pTemp2
,
nLeaves
,
pCanonPerm
);
...
...
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