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
1ce537e9
Commit
1ce537e9
authored
Mar 07, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Misc changes.
parent
1a6354c2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
7 deletions
+16
-7
src/aig/gia/giaCone.c
+14
-5
src/base/cmd/cmdHist.c
+2
-2
No files found.
src/aig/gia/giaCone.c
View file @
1ce537e9
...
...
@@ -169,12 +169,20 @@ void Opa_ManPerform( Gia_Man_t * pGia )
{
Opa_Man_t
*
p
;
Gia_Obj_t
*
pObj
;
int
i
;
int
i
,
Limit
,
Count
=
0
;
p
=
Opa_ManStart
(
pGia
);
Limit
=
Vec_IntSize
(
p
->
vFront
);
//Opa_ManPrint2( p );
Gia_ManForEachObjVec
(
p
->
vFront
,
pGia
,
pObj
,
i
)
{
if
(
i
==
Limit
)
{
printf
(
"%6d : %6d -> %6d
\n
"
,
++
Count
,
i
,
p
->
nParts
);
Limit
=
Vec_IntSize
(
p
->
vFront
);
if
(
Count
>
1
)
Opa_ManPrint2
(
p
);
}
// printf( "*** Object %d ", Gia_ObjId(pGia, pObj) );
if
(
Gia_ObjIsAnd
(
pObj
)
)
{
...
...
@@ -184,11 +192,12 @@ void Opa_ManPerform( Gia_Man_t * pGia )
else
if
(
Gia_ObjIsCo
(
pObj
)
)
Opa_ManMoveOne
(
p
,
pObj
,
Gia_ObjFanin0
(
pObj
)
);
else
assert
(
0
);
if
(
i
%
10
==
0
)
printf
(
"%d "
,
p
->
nParts
);
//Opa_ManPrint2( p );
// if ( i % 10 == 0 )
// printf( "%d ", p->nParts );
if
(
p
->
nParts
==
1
)
break
;
if
(
Count
==
5
)
break
;
}
printf
(
"
\n
"
);
Opa_ManStop
(
p
);
...
...
src/base/cmd/cmdHist.c
View file @
1ce537e9
...
...
@@ -47,8 +47,8 @@ ABC_NAMESPACE_IMPL_START
***********************************************************************/
void
Cmd_HistoryAddCommand
(
Abc_Frame_t
*
p
,
const
char
*
command
)
{
int
nLastLooked
=
10
;
// do not add history if the same entry appears among the last entries
int
nLastSaved
=
5
00
;
// when saving a file, save no more than this number of last entries
int
nLastLooked
=
10
;
// do not add history if the same entry appears among the last entries
int
nLastSaved
=
10
00
;
// when saving a file, save no more than this number of last entries
char
Buffer
[
ABC_MAX_STR
];
int
Len
;
if
(
p
->
fBatchMode
)
...
...
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