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
3880623c
Commit
3880623c
authored
May 12, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extending cube representation to handle SOPs with many cubes.
parent
9d219eee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
src/base/abc/abcFunc.c
+4
-0
src/misc/mvc/mvc.h
+5
-5
No files found.
src/base/abc/abcFunc.c
View file @
3880623c
...
...
@@ -605,12 +605,16 @@ int Abc_CountZddCubes( DdManager * dd, DdNode * zCover )
***********************************************************************/
int
Abc_NtkSopToAig
(
Abc_Ntk_t
*
pNtk
)
{
extern
int
Abc_NtkMakeLegit
(
Abc_Ntk_t
*
pNtk
);
Abc_Obj_t
*
pNode
;
Hop_Man_t
*
pMan
;
int
i
;
assert
(
Abc_NtkHasSop
(
pNtk
)
);
// make dist1-free and SCC-free
// Abc_NtkMakeLegit( pNtk );
// start the functionality manager
pMan
=
Hop_ManStart
();
...
...
src/misc/mvc/mvc.h
View file @
3880623c
...
...
@@ -63,11 +63,11 @@ typedef struct MvcManagerStruct Mvc_Manager_t;
struct
MvcCubeStruct
{
Mvc_Cube_t
*
pNext
;
// the next cube in the linked list
unsigned
iLast
:
8
;
// the index of the last word
unsigned
iLast
:
24
;
// the index of the last word
unsigned
nUnused
:
6
;
// the number of unused bits in the last word
unsigned
fPrime
:
1
;
// marks the prime cube
unsigned
fEssen
:
1
;
// marks the essential cube
unsigned
nOnes
:
16
;
// the number of 1's in the bit data
unsigned
nOnes
;
// the number of 1's in the bit data
Mvc_CubeWord_t
pData
[
1
];
// the first Mvc_CubeWord_t filled with bit data
};
...
...
@@ -82,9 +82,9 @@ struct MvcListStruct
// the cover data structure
struct
MvcCoverStruct
{
char
nWords
;
// the number of machine words
char
nUnused
;
// the number of unused bits in the last word
short
nBits
;
// the number of used data bits in the cube
int
nWords
;
// the number of machine words
int
nUnused
;
// the number of unused bits in the last word
int
nBits
;
// the number of used data bits in the cube
Mvc_List_t
lCubes
;
// the single-linked list of cubes
Mvc_Cube_t
**
pCubes
;
// the array of cubes (for sorting)
int
nCubesAlloc
;
// the size of allocated storage
...
...
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