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
a625caa1
Commit
a625caa1
authored
Jan 08, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing C++ compilation issues.
parent
f26e760e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
11 deletions
+13
-11
src/aig/gia/gia.h
+0
-2
src/base/abci/abc.c
+2
-2
src/misc/util/abc_global.h
+4
-0
src/misc/util/utilBridge.c
+4
-4
src/proof/abs/absGla.c
+1
-1
src/proof/abs/absGlaOld.c
+1
-1
src/proof/abs/absVta.c
+1
-1
No files found.
src/aig/gia/gia.h
View file @
a625caa1
...
...
@@ -1028,8 +1028,6 @@ extern void Tas_ManSatPrintStats( Tas_Man_t * p );
extern
int
Tas_ManSolve
(
Tas_Man_t
*
p
,
Gia_Obj_t
*
pObj
,
Gia_Obj_t
*
pObj2
);
extern
int
Tas_ManSolveArray
(
Tas_Man_t
*
p
,
Vec_Ptr_t
*
vObjs
);
extern
int
Gia_ManToBridgeAbsNetlist
(
FILE
*
pFile
,
Gia_Man_t
*
p
);
ABC_NAMESPACE_HEADER_END
...
...
src/base/abci/abc.c
View file @
a625caa1
...
...
@@ -11678,8 +11678,8 @@ usage:
***********************************************************************/
int
Abc_CommandSendAig
(
Abc_Frame_t
*
pAbc
,
int
argc
,
char
**
argv
)
{
const
int
BRIDGE_NETLIST
=
106
;
const
int
BRIDGE_ABS_NETLIST
=
107
;
//
const int BRIDGE_NETLIST = 106;
//
const int BRIDGE_ABS_NETLIST = 107;
int
c
,
fAndSpace
=
1
,
fAbsNetlist
=
0
;
Extra_UtilGetoptReset
();
...
...
src/misc/util/abc_global.h
View file @
a625caa1
...
...
@@ -268,10 +268,14 @@ enum Abc_VerbLevel
ABC_VERBOSE
=
2
};
#define BRIDGE_NETLIST 106
#define BRIDGE_ABS_NETLIST 107
// string printing
extern
char
*
vnsprintf
(
const
char
*
format
,
va_list
args
);
extern
char
*
nsprintf
(
const
char
*
format
,
...);
extern
int
Gia_ManToBridgeText
(
FILE
*
pFile
,
int
Size
,
unsigned
char
*
pBuffer
);
extern
int
Gia_ManToBridgeAbsNetlist
(
FILE
*
pFile
,
void
*
p
,
int
pkg_type
);
// misc printing procedures
static
inline
void
Abc_Print
(
int
level
,
const
char
*
format
,
...
)
...
...
src/misc/util/utilBridge.c
View file @
a625caa1
...
...
@@ -33,8 +33,8 @@ ABC_NAMESPACE_IMPL_START
#define BRIDGE_TEXT_MESSAGE 999996
#define BRIDGE_RESULTS 101
#define BRIDGE_NETLIST 106
#define BRIDGE_ABS_NETLIST 107
//
#define BRIDGE_NETLIST 106
//
#define BRIDGE_ABS_NETLIST 107
#define BRIDGE_BAD_ABS 105
#define BRIDGE_VALUE_X 0
...
...
@@ -146,10 +146,10 @@ int Gia_ManToBridgeText( FILE * pFile, int Size, unsigned char * pBuffer )
Gia_CreateHeader
(
pFile
,
BRIDGE_TEXT_MESSAGE
,
Size
,
pBuffer
);
return
1
;
}
int
Gia_ManToBridgeAbsNetlist
(
FILE
*
pFile
,
Gia_Man_t
*
p
,
int
pkg_type
)
int
Gia_ManToBridgeAbsNetlist
(
FILE
*
pFile
,
void
*
p
,
int
pkg_type
)
{
Vec_Str_t
*
vBuffer
;
vBuffer
=
Gia_ManToBridgeVec
(
p
);
vBuffer
=
Gia_ManToBridgeVec
(
(
Gia_Man_t
*
)
p
);
Gia_CreateHeader
(
pFile
,
pkg_type
,
Vec_StrSize
(
vBuffer
),
(
unsigned
char
*
)
Vec_StrArray
(
vBuffer
)
);
Vec_StrFree
(
vBuffer
);
return
1
;
...
...
src/proof/abs/absGla.c
View file @
a625caa1
...
...
@@ -1495,7 +1495,7 @@ void Gia_Ga2SendAbsracted( Ga2_Man_t * p, int fVerbose )
Vec_IntFreeP
(
&
vGateClasses
);
Gia_ManCleanValue
(
p
->
pGia
);
// send it out
Gia_ManToBridgeAbsNetlist
(
stdout
,
pAbs
);
Gia_ManToBridgeAbsNetlist
(
stdout
,
pAbs
,
BRIDGE_ABS_NETLIST
);
Gia_ManStop
(
pAbs
);
}
void
Gia_Ga2SendCancel
(
Ga2_Man_t
*
p
,
int
fVerbose
)
...
...
src/proof/abs/absGlaOld.c
View file @
a625caa1
...
...
@@ -1583,7 +1583,7 @@ void Gia_GlaSendAbsracted( Gla_Man_t * p, int fVerbose )
pAbs
=
Gia_ManDupAbsGates
(
p
->
pGia0
,
vGateClasses
);
Vec_IntFreeP
(
&
vGateClasses
);
// send it out
Gia_ManToBridgeAbsNetlist
(
stdout
,
pAbs
);
Gia_ManToBridgeAbsNetlist
(
stdout
,
pAbs
,
BRIDGE_ABS_NETLIST
);
Gia_ManStop
(
pAbs
);
}
void
Gia_GlaSendCancel
(
Gla_Man_t
*
p
,
int
fVerbose
)
...
...
src/proof/abs/absVta.c
View file @
a625caa1
...
...
@@ -1398,7 +1398,7 @@ void Gia_VtaSendAbsracted( Vta_Man_t * p, int fVerbose )
pAbs
=
Gia_ManDupAbsGates
(
p
->
pGia
,
p
->
pGia
->
vGateClasses
);
Vec_IntFreeP
(
&
p
->
pGia
->
vGateClasses
);
// send it out
Gia_ManToBridgeAbsNetlist
(
stdout
,
pAbs
);
Gia_ManToBridgeAbsNetlist
(
stdout
,
pAbs
,
BRIDGE_ABS_NETLIST
);
Gia_ManStop
(
pAbs
);
}
void
Gia_VtaSendCancel
(
Vta_Man_t
*
p
,
int
fVerbose
)
...
...
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