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
e9be6eca
Commit
e9be6eca
authored
Jul 23, 2015
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates to Cba data-structure.
parent
9bd16029
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
2 deletions
+6
-2
src/base/abc/abcHie.c
+1
-1
src/base/cba/cba.h
+0
-0
src/base/cba/cbaCom.c
+1
-1
src/base/cba/cbaNtk.c
+0
-0
src/base/wlc/wlcBlast.c
+4
-0
No files found.
src/base/abc/abcHie.c
View file @
e9be6eca
...
@@ -271,7 +271,7 @@ void Abc_NtkFlattenLogicHierarchy_rec( Abc_Ntk_t * pNtkNew, Abc_Ntk_t * pNtk, in
...
@@ -271,7 +271,7 @@ void Abc_NtkFlattenLogicHierarchy_rec( Abc_Ntk_t * pNtkNew, Abc_Ntk_t * pNtk, in
// process the blackbox
// process the blackbox
if
(
Abc_NtkHasBlackbox
(
pNtk
)
)
if
(
Abc_NtkHasBlackbox
(
pNtk
)
)
{
{
printf
(
"Flatting black box
\"
%s
\"
.
\n
"
,
pNtk
->
pName
);
//
printf( "Flatting black box \"%s\".\n", pNtk->pName );
// duplicate the blackbox
// duplicate the blackbox
assert
(
Abc_NtkBoxNum
(
pNtk
)
==
1
);
assert
(
Abc_NtkBoxNum
(
pNtk
)
==
1
);
pObj
=
Abc_NtkBox
(
pNtk
,
0
);
pObj
=
Abc_NtkBox
(
pNtk
,
0
);
...
...
src/base/cba/cba.h
View file @
e9be6eca
This diff is collapsed.
Click to expand it.
src/base/cba/cbaCom.c
View file @
e9be6eca
...
@@ -522,7 +522,7 @@ int Cba_CommandClp( Abc_Frame_t * pAbc, int argc, char ** argv )
...
@@ -522,7 +522,7 @@ int Cba_CommandClp( Abc_Frame_t * pAbc, int argc, char ** argv )
}
}
#if 0
#if 0
pNew = Cba_ManCollapse( p );
pNew = Cba_ManCollapse( p
, CBA_BOX_BUF
);
Cba_AbcUpdateMan( pAbc, pNew );
Cba_AbcUpdateMan( pAbc, pNew );
#endif
#endif
...
...
src/base/cba/cbaNtk.c
View file @
e9be6eca
This diff is collapsed.
Click to expand it.
src/base/wlc/wlcBlast.c
View file @
e9be6eca
...
@@ -213,7 +213,11 @@ void Wlc_BlastLess_rec( Gia_Man_t * pNew, int * pArg0, int * pArg1, int nBits, i
...
@@ -213,7 +213,11 @@ void Wlc_BlastLess_rec( Gia_Man_t * pNew, int * pArg0, int * pArg1, int nBits, i
int
Yes
=
Gia_ManHashAnd
(
pNew
,
Abc_LitNot
(
pArg0
[
nBits
-
1
]),
pArg1
[
nBits
-
1
]
),
YesR
;
int
Yes
=
Gia_ManHashAnd
(
pNew
,
Abc_LitNot
(
pArg0
[
nBits
-
1
]),
pArg1
[
nBits
-
1
]
),
YesR
;
int
No
=
Gia_ManHashAnd
(
pNew
,
Abc_LitNot
(
pArg1
[
nBits
-
1
]),
pArg0
[
nBits
-
1
]
),
NoR
;
int
No
=
Gia_ManHashAnd
(
pNew
,
Abc_LitNot
(
pArg1
[
nBits
-
1
]),
pArg0
[
nBits
-
1
]
),
NoR
;
if
(
Yes
==
1
||
No
==
1
)
if
(
Yes
==
1
||
No
==
1
)
{
*
pYes
=
Yes
;
*
pNo
=
No
;
return
;
return
;
}
Wlc_BlastLess_rec
(
pNew
,
pArg0
,
pArg1
,
nBits
-
1
,
&
YesR
,
&
NoR
);
Wlc_BlastLess_rec
(
pNew
,
pArg0
,
pArg1
,
nBits
-
1
,
&
YesR
,
&
NoR
);
*
pYes
=
Gia_ManHashOr
(
pNew
,
Yes
,
Gia_ManHashAnd
(
pNew
,
Abc_LitNot
(
No
),
YesR
)
);
*
pYes
=
Gia_ManHashOr
(
pNew
,
Yes
,
Gia_ManHashAnd
(
pNew
,
Abc_LitNot
(
No
),
YesR
)
);
*
pNo
=
Gia_ManHashOr
(
pNew
,
No
,
Gia_ManHashAnd
(
pNew
,
Abc_LitNot
(
Yes
),
NoR
)
);
*
pNo
=
Gia_ManHashOr
(
pNew
,
No
,
Gia_ManHashAnd
(
pNew
,
Abc_LitNot
(
Yes
),
NoR
)
);
...
...
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