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
ffaf8b39
Commit
ffaf8b39
authored
Feb 01, 2015
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improvements and tuning of CBA.
parent
d9ed88f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
src/base/cba/cba.h
+2
-2
src/base/cba/cbaCom.c
+7
-7
No files found.
src/base/cba/cba.h
View file @
ffaf8b39
...
...
@@ -740,8 +740,8 @@ static inline char * Ptr_TypeToSop( Cba_ObjType_t Type )
}
/*=== cbaCom.c ===============================================================*/
extern
void
Abc_FrameImport
Des
(
Vec_Ptr_t
*
vDes
);
extern
Vec_Ptr_t
*
Abc_FrameExport
Des
();
extern
void
Abc_FrameImport
Ptr
(
Vec_Ptr_t
*
vPtr
);
extern
Vec_Ptr_t
*
Abc_FrameExport
Ptr
();
/*=== cbaBlast.c =============================================================*/
extern
Gia_Man_t
*
Cba_ManExtract
(
Cba_Man_t
*
p
,
int
fBuffers
,
int
fVerbose
);
...
...
src/base/cba/cbaCom.c
View file @
ffaf8b39
...
...
@@ -56,7 +56,7 @@ static inline void Cba_AbcUpdateMan( Abc_Frame_t * pAbc, Cba_Man_t * p )
SeeAlso []
******************************************************************************/
void
Abc_FrameImport
Des
(
Vec_Ptr_t
*
vDes
)
void
Abc_FrameImport
Ptr
(
Vec_Ptr_t
*
vPtr
)
{
Cba_Man_t
*
p
;
if
(
Abc_FrameGetGlobalFrame
()
==
NULL
)
...
...
@@ -64,14 +64,14 @@ void Abc_FrameImportDes( Vec_Ptr_t * vDes )
printf
(
"ABC framework is not started.
\n
"
);
return
;
}
p
=
Cba_PtrTransformToCba
(
v
Des
);
p
=
Cba_PtrTransformToCba
(
v
Ptr
);
if
(
p
==
NULL
)
printf
(
"Converting from Ptr failed.
\n
"
);
Cba_AbcUpdateMan
(
Abc_FrameGetGlobalFrame
(),
p
);
}
Vec_Ptr_t
*
Abc_FrameExport
Des
()
Vec_Ptr_t
*
Abc_FrameExport
Ptr
()
{
Vec_Ptr_t
*
v
Des
;
Vec_Ptr_t
*
v
Ptr
;
Cba_Man_t
*
p
;
if
(
Abc_FrameGetGlobalFrame
()
==
NULL
)
{
...
...
@@ -81,10 +81,10 @@ Vec_Ptr_t * Abc_FrameExportDes()
p
=
Cba_AbcGetMan
(
Abc_FrameGetGlobalFrame
()
);
if
(
p
==
NULL
)
printf
(
"There is no CBA design present.
\n
"
);
v
Des
=
Cba_PtrDeriveFromCba
(
p
);
if
(
v
Des
==
NULL
)
v
Ptr
=
Cba_PtrDeriveFromCba
(
p
);
if
(
v
Ptr
==
NULL
)
printf
(
"Converting to Ptr has failed.
\n
"
);
return
v
Des
;
return
v
Ptr
;
}
/**Function********************************************************************
...
...
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