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
c556baa9
Commit
c556baa9
authored
Oct 28, 2014
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes to enable building external code.
parent
e2b8d95b
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
3 additions
and
110 deletions
+3
-110
Makefile
+1
-1
abclib.dsp
+0
-20
src/base/main/main.c
+2
-8
src/base/main/mainInit.c
+0
-21
src/base/main/mainInt.h
+0
-3
src/misc/ext/ext.h
+0
-57
src/misc/ext/module.make
+0
-0
No files found.
Makefile
View file @
c556baa9
...
...
@@ -12,7 +12,7 @@ $(info $(MSG_PREFIX)Using LD=$(LD))
PROG
:=
abc
MODULES
:=
\
$
(
wildcard src/ext
*
)
src/misc/ext
\
$
(
wildcard src/ext
*
)
\
src/base/abc src/base/abci src/base/cmd src/base/io
\
src/base/main src/base/ver src/base/wlc src/base/test
\
src/bdd/cudd src/bdd/dsd src/bdd/epd src/bdd/mtr src/bdd/parse
\
...
...
abclib.dsp
View file @
c556baa9
...
...
@@ -730,22 +730,6 @@ SOURCE=.\src\base\ver\verStream.c
SOURCE=.\src\base\test\test.c
# End Source File
# End Group
# Begin Group "abc2"
# PROP Default_Filter ""
# End Group
# Begin Group "abc2d"
# PROP Default_Filter ""
# End Group
# Begin Group "pcm"
# PROP Default_Filter ""
# End Group
# Begin Group "ply"
# PROP Default_Filter ""
# End Group
# Begin Group "wlc"
# PROP Default_Filter ""
...
...
@@ -778,10 +762,6 @@ SOURCE=.\src\base\wlc\wlcReadVer.c
SOURCE=.\src\base\wlc\wlcWriteVer.c
# End Source File
# End Group
# Begin Group "abc3"
# PROP Default_Filter ""
# End Group
# End Group
# Begin Group "bdd"
...
...
src/base/main/main.c
View file @
c556baa9
#include "base/main/mainInt.h"
int
Abc_RealMain
(
int
argc
,
char
*
argv
[]);
//static Abc_FrameInitializer_t abc2_initializer = { Abc2_Init, Abc2_End };
extern
int
Abc_RealMain
(
int
argc
,
char
*
argv
[]);
int
main
(
int
argc
,
char
*
argv
[])
{
// Abc_FrameAddInitializer(&abc2_initializer);
return
Abc_RealMain
(
argc
,
argv
);
return
Abc_RealMain
(
argc
,
argv
);
}
src/base/main/mainInit.c
View file @
c556baa9
...
...
@@ -22,9 +22,6 @@
#include "mainInt.h"
ABC_NAMESPACE_IMPL_START
//#define USE_ABC2
//#define USE_ABC85
////////////////////////////////////////////////////////////////////////
/// DECLARATIONS ///
...
...
@@ -95,7 +92,6 @@ void Abc_FrameAddInitializer( Abc_FrameInitializer_t* p )
void
Abc_FrameInit
(
Abc_Frame_t
*
pAbc
)
{
Abc_FrameInitializer_t
*
p
;
Cmd_Init
(
pAbc
);
Cmd_CommandExecute
(
pAbc
,
"set checkread"
);
Io_Init
(
pAbc
);
...
...
@@ -109,14 +105,6 @@ void Abc_FrameInit( Abc_Frame_t * pAbc )
Scl_Init
(
pAbc
);
Wlc_Init
(
pAbc
);
Test_Init
(
pAbc
);
#ifdef USE_ABC2
Abc2_Init
(
pAbc
);
#endif
#ifdef USE_ABC85
Abc85_Init
(
pAbc
);
#endif
EXT_ABC_INIT
(
pAbc
)
// plugin for external functionality
for
(
p
=
s_InitializerStart
;
p
;
p
=
p
->
next
)
if
(
p
->
init
)
p
->
init
(
pAbc
);
...
...
@@ -137,11 +125,9 @@ void Abc_FrameInit( Abc_Frame_t * pAbc )
void
Abc_FrameEnd
(
Abc_Frame_t
*
pAbc
)
{
Abc_FrameInitializer_t
*
p
;
for
(
p
=
s_InitializerEnd
;
p
;
p
=
p
->
prev
)
if
(
p
->
destroy
)
p
->
destroy
(
pAbc
);
Abc_End
(
pAbc
);
Io_End
(
pAbc
);
Cmd_End
(
pAbc
);
...
...
@@ -154,13 +140,6 @@ void Abc_FrameEnd( Abc_Frame_t * pAbc )
Scl_End
(
pAbc
);
Wlc_End
(
pAbc
);
Test_End
(
pAbc
);
#ifdef USE_ABC2
Abc2_End
(
pAbc
);
#endif
#ifdef USE_ABC85
Abc85_End
(
pAbc
);
#endif
EXT_ABC_END
(
pAbc
)
// plugin for external functionality
}
...
...
src/base/main/mainInt.h
View file @
c556baa9
...
...
@@ -35,7 +35,6 @@
#include "proof/fra/fra.h"
//#include "aig/nwk/nwkMerge.h"
//#include "aig/ntl/ntlnwk.h"
#include "misc/ext/ext.h"
#include "misc/extra/extraBdd.h"
ABC_NAMESPACE_HEADER_START
...
...
@@ -128,8 +127,6 @@ struct Abc_Frame_t_
void
*
pAbc85Best
;
void
*
pAbc85Delay
;
void
*
pAbcWlc
;
EXT_ABC_FRAME
// plugin for external functionality
};
typedef
void
(
*
Abc_Frame_Initialization_Func
)(
Abc_Frame_t
*
pAbc
);
...
...
src/misc/ext/ext.h
deleted
100644 → 0
View file @
e2b8d95b
/**CFile****************************************************************
FileName [ext.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName []
Synopsis [plugin for external functionality]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [$Id: ext.h,v 1.00 2005/06/20 00:00:00 alanmi Exp $]
***********************************************************************/
#ifndef ABC__misc__ext__ext_h
#define ABC__misc__ext__ext_h
#define EXT_ABC_FRAME
#define EXT_ABC_INIT(pAbc)
#define EXT_ABC_END(pAbc)
////////////////////////////////////////////////////////////////////////
/// INCLUDES ///
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
/// PARAMETERS ///
////////////////////////////////////////////////////////////////////////
ABC_NAMESPACE_HEADER_START
////////////////////////////////////////////////////////////////////////
/// BASIC TYPES ///
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
/// MACRO DEFINITIONS ///
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
/// FUNCTION DECLARATIONS ///
////////////////////////////////////////////////////////////////////////
ABC_NAMESPACE_HEADER_END
#endif
////////////////////////////////////////////////////////////////////////
/// END OF FILE ///
////////////////////////////////////////////////////////////////////////
src/misc/ext/module.make
deleted
100644 → 0
View file @
e2b8d95b
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