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
151fe402
Commit
151fe402
authored
Aug 20, 2011
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Experiments with SPFD-based decomposition.
parent
56035ab9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/aig/bdc/bdcSpfd.c
+5
-2
No files found.
src/aig/bdc/bdcSpfd.c
View file @
151fe402
...
...
@@ -78,6 +78,9 @@ static inline word Bdc_Cof6( word t, int iVar, int fCof1 )
return
(
t
&~
Truths
[
iVar
])
|
((
t
&~
Truths
[
iVar
])
<<
(
1
<<
iVar
));
}
extern
void
Abc_Show6VarFunc
(
word
F0
,
word
F1
);
////////////////////////////////////////////////////////////////////////
/// FUNCTION DEFINITIONS ///
////////////////////////////////////////////////////////////////////////
...
...
@@ -778,7 +781,6 @@ word Bdc_SpfdFindBest( Vec_Wrd_t * vDivs, Vec_Int_t * vWeights, word F0, word F1
***********************************************************************/
int
Bdc_SpfdDecomposeTestOne
(
word
t
,
Vec_Wrd_t
*
vDivs
,
Vec_Int_t
*
vWeights
)
{
extern
void
Abc_Show6VarFunc
(
word
F0
,
word
F1
);
word
F1
=
t
;
word
F0
=
~
F1
;
word
Func
;
...
...
@@ -826,7 +828,8 @@ void Bdc_SpfdDecomposeTest()
// vDivs = Bdc_SpfdDecomposeTest__( &vWeights );
vDivs
=
Bdc_SpfdReadFiles
(
&
vWeights
);
Abc_Show6VarFunc
(
~
t
,
t
);
// Abc_Show6VarFunc( ~t, t );
/*
for ( i = 0; i < 6; i++ )
for ( j = 0; j < 6; 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