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
57d65f73
Commit
57d65f73
authored
Sep 16, 2018
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expriments with functions.
parent
0edf9a50
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/opt/dau/dauNpn2.c
+2
-2
No files found.
src/opt/dau/dauNpn2.c
View file @
57d65f73
...
@@ -143,7 +143,7 @@ Vec_Int_t * Dtt_ManCollect( Dtt_Man_t * p, unsigned Truth, Vec_Int_t * vFuns )
...
@@ -143,7 +143,7 @@ Vec_Int_t * Dtt_ManCollect( Dtt_Man_t * p, unsigned Truth, Vec_Int_t * vFuns )
for
(
k
=
0
;
k
<
p
->
nComps
;
k
++
)
for
(
k
=
0
;
k
<
p
->
nComps
;
k
++
)
{
{
unsigned
tTemp
=
(
unsigned
)(
tCur
&
1
?
~
tCur
:
tCur
);
unsigned
tTemp
=
(
unsigned
)(
tCur
&
1
?
~
tCur
:
tCur
);
//
if ( Dtt_ManCheckHash( p, tTemp ) )
if
(
Dtt_ManCheckHash
(
p
,
tTemp
)
)
Vec_IntPush
(
vFuns
,
tTemp
);
Vec_IntPush
(
vFuns
,
tTemp
);
tCur
=
Abc_Tt6Flip
(
tCur
,
p
->
pComps
[
k
]
);
tCur
=
Abc_Tt6Flip
(
tCur
,
p
->
pComps
[
k
]
);
}
}
...
@@ -233,7 +233,7 @@ void Dtt_EnumerateLf( int nVars, int nNodeMax, int fVerbose )
...
@@ -233,7 +233,7 @@ void Dtt_EnumerateLf( int nVars, int nNodeMax, int fVerbose )
Dtt_PrintStats
(
0
,
nVars
,
p
->
vFunNodes
,
nSteps
,
clk
);
Dtt_PrintStats
(
0
,
nVars
,
p
->
vFunNodes
,
nSteps
,
clk
);
for
(
n
=
1
;
n
<
nNodeMax
;
n
++
)
for
(
n
=
1
;
n
<
nNodeMax
;
n
++
)
{
{
for
(
i
=
0
,
j
=
n
-
1
;
i
<
n
;
i
++
,
j
--
)
for
(
i
=
0
,
j
=
n
-
1
;
i
<
n
;
i
++
,
j
--
)
if
(
i
<=
j
)
{
{
Vec_Int_t
*
vFaninI
=
Vec_WecEntry
(
p
->
vFunNodes
,
i
);
Vec_Int_t
*
vFaninI
=
Vec_WecEntry
(
p
->
vFunNodes
,
i
);
Vec_Int_t
*
vFaninJ
=
Vec_WecEntry
(
p
->
vFunNodes
,
j
);
Vec_Int_t
*
vFaninJ
=
Vec_WecEntry
(
p
->
vFunNodes
,
j
);
...
...
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