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
a8faa2b5
Commit
a8faa2b5
authored
Sep 29, 2018
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding switch to 'write_pla' to write random onset minterms of the first PO function (bug fix).
parent
75ed8581
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
src/base/io/ioWritePla.c
+8
-2
No files found.
src/base/io/ioWritePla.c
View file @
a8faa2b5
...
...
@@ -523,8 +523,14 @@ int Io_WriteMoPlaOneM( FILE * pFile, Abc_Ntk_t * pNtk, int nMints )
Abc_NtkForEachCo
(
pNtk
,
pObj
,
i
)
Vec_PtrPush
(
vFuncsGlob
,
Abc_ObjGlobalBdd
(
pObj
)
);
// consider minterms
Io_WriteMoPlaOneIntMintermsM
(
pFile
,
pNtk
,
dd
,
(
DdNode
*
)
Vec_PtrEntry
(
vFuncsGlob
,
0
),
nMints
);
// get the output function
bFunc
=
(
DdNode
*
)
Vec_PtrEntry
(
vFuncsGlob
,
0
);
if
(
bFunc
==
Cudd_ReadOne
(
dd
)
)
printf
(
"First primary output has constant 1 function.
\n
"
);
else
if
(
Cudd_Not
(
bFunc
)
==
Cudd_ReadOne
(
dd
)
)
printf
(
"First primary output has constant 0 function.
\n
"
);
else
Io_WriteMoPlaOneIntMintermsM
(
pFile
,
pNtk
,
dd
,
bFunc
,
nMints
);
Abc_NtkFreeGlobalBdds
(
pNtk
,
0
);
// cleanup
...
...
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