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
7f7b7671
Commit
7f7b7671
authored
Jul 28, 2015
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improvements to Cba data-structure.
parent
0806dd22
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
158 additions
and
27 deletions
+158
-27
src/base/abci/abc.c
+1
-0
src/base/cba/cba.h
+0
-0
src/base/cba/cbaNtk.c
+155
-25
src/base/io/ioReadPla.c
+2
-2
No files found.
src/base/abci/abc.c
View file @
7f7b7671
...
...
@@ -10260,6 +10260,7 @@ int Abc_CommandCover( Abc_Frame_t * pAbc, int argc, char ** argv )
usage:
Abc_Print
(
-
2
,
"usage: cover [-N num] [-sxvh]
\n
"
);
Abc_Print
(
-
2
,
"
\t
decomposition into a network of SOP/ESOP PLAs
\n
"
);
Abc_Print
(
-
2
,
"
\t
(this command is known to have bugs)
\n
"
);
Abc_Print
(
-
2
,
"
\t
-N num : maximum number of inputs [default = %d]
\n
"
,
nFaninMax
);
Abc_Print
(
-
2
,
"
\t
-s : toggle the use of SOPs [default = %s]
\n
"
,
fUseSop
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-x : toggle the use of ESOPs [default = %s]
\n
"
,
fUseEsop
?
"yes"
:
"no"
);
src/base/cba/cba.h
View file @
7f7b7671
This diff is collapsed.
Click to expand it.
src/base/cba/cbaNtk.c
View file @
7f7b7671
This diff is collapsed.
Click to expand it.
src/base/io/ioReadPla.c
View file @
7f7b7671
...
...
@@ -500,14 +500,14 @@ Abc_Ntk_t * Io_ReadPlaNetwork( Extra_FileReader_t * p, int fZeros, int fBoth )
pCubeOut
=
(
char
*
)
vTokens
->
pArray
[
1
];
if
(
strlen
(
pCubeIn
)
!=
(
unsigned
)
nInputs
)
{
printf
(
"%s (line %d): Input cube length (%
zu
) differs from the number of inputs (%d).
\n
"
,
printf
(
"%s (line %d): Input cube length (%
d
) differs from the number of inputs (%d).
\n
"
,
Extra_FileReaderGetFileName
(
p
),
iLine
,
strlen
(
pCubeIn
),
nInputs
);
Abc_NtkDelete
(
pNtk
);
return
NULL
;
}
if
(
strlen
(
pCubeOut
)
!=
(
unsigned
)
nOutputs
)
{
printf
(
"%s (line %d): Output cube length (%
zu
) differs from the number of outputs (%d).
\n
"
,
printf
(
"%s (line %d): Output cube length (%
d
) differs from the number of outputs (%d).
\n
"
,
Extra_FileReaderGetFileName
(
p
),
iLine
,
strlen
(
pCubeOut
),
nOutputs
);
Abc_NtkDelete
(
pNtk
);
Extra_ProgressBarStop
(
pProgress
);
...
...
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