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
ee1bd8f0
Commit
ee1bd8f0
authored
Jul 24, 2019
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing some update gcc.
parent
0ca7e355
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
14 additions
and
14 deletions
+14
-14
src/aig/aig/aigUtil.c
+1
-1
src/aig/gia/giaAgi.c
+1
-1
src/aig/gia/giaScript.c
+1
-1
src/base/abci/abcExact.c
+1
-1
src/base/ver/verCore.c
+1
-1
src/base/wlc/wlcReadSmt.c
+1
-1
src/bdd/cas/casCore.c
+1
-1
src/map/if/ifDsd.c
+1
-1
src/opt/dau/dauMerge.c
+1
-1
src/opt/dau/dauNpn.c
+2
-2
src/opt/dau/dauNpn2.c
+1
-1
src/proof/pdr/pdrInv.c
+1
-1
src/sat/bmc/bmcMaj.c
+1
-1
No files found.
src/aig/aig/aigUtil.c
View file @
ee1bd8f0
...
@@ -725,7 +725,7 @@ void Aig_ManPrintVerbose( Aig_Man_t * p, int fHaig )
...
@@ -725,7 +725,7 @@ void Aig_ManPrintVerbose( Aig_Man_t * p, int fHaig )
void
Aig_ManDump
(
Aig_Man_t
*
p
)
void
Aig_ManDump
(
Aig_Man_t
*
p
)
{
{
static
int
Counter
=
0
;
static
int
Counter
=
0
;
char
FileName
[
20
];
char
FileName
[
20
0
];
// dump the logic into a file
// dump the logic into a file
sprintf
(
FileName
,
"aigbug
\\
%03d.blif"
,
++
Counter
);
sprintf
(
FileName
,
"aigbug
\\
%03d.blif"
,
++
Counter
);
Aig_ManDumpBlif
(
p
,
FileName
,
NULL
,
NULL
);
Aig_ManDumpBlif
(
p
,
FileName
,
NULL
,
NULL
);
...
...
src/aig/gia/giaAgi.c
View file @
ee1bd8f0
...
@@ -76,7 +76,7 @@ static inline int Agi_ObjIsRo( Agi_Man_t * p, int i ) { ret
...
@@ -76,7 +76,7 @@ static inline int Agi_ObjIsRo( Agi_Man_t * p, int i ) { ret
static
inline
int
Agi_ObjIsPo
(
Agi_Man_t
*
p
,
int
i
)
{
return
(
p
->
pObjs
[
i
]
&
AGI_PI
)
==
AGI_PO
;
}
static
inline
int
Agi_ObjIsPo
(
Agi_Man_t
*
p
,
int
i
)
{
return
(
p
->
pObjs
[
i
]
&
AGI_PI
)
==
AGI_PO
;
}
static
inline
int
Agi_ObjIsRi
(
Agi_Man_t
*
p
,
int
i
)
{
return
(
p
->
pObjs
[
i
]
&
AGI_PI
)
==
AGI_RI
;
}
static
inline
int
Agi_ObjIsRi
(
Agi_Man_t
*
p
,
int
i
)
{
return
(
p
->
pObjs
[
i
]
&
AGI_PI
)
==
AGI_RI
;
}
static
inline
int
Agi_ObjIsCi
(
Agi_Man_t
*
p
,
int
i
)
{
return
(
p
->
pObjs
[
i
]
&
AGI_RO
)
==
AGI_RO
;
}
static
inline
int
Agi_ObjIsCi
(
Agi_Man_t
*
p
,
int
i
)
{
return
(
p
->
pObjs
[
i
]
&
AGI_RO
)
==
AGI_RO
;
}
static
inline
int
Agi_ObjIsCo
(
Agi_Man_t
*
p
,
int
i
)
{
return
(
p
->
pObjs
[
i
]
&
AGI_
R
O
)
==
AGI_PO
;
}
static
inline
int
Agi_ObjIsCo
(
Agi_Man_t
*
p
,
int
i
)
{
return
(
p
->
pObjs
[
i
]
&
AGI_
P
O
)
==
AGI_PO
;
}
static
inline
int
Agi_ObjIsNode
(
Agi_Man_t
*
p
,
int
i
)
{
return
p
->
pObjs
[
i
]
<
AGI_C0
;
}
static
inline
int
Agi_ObjIsNode
(
Agi_Man_t
*
p
,
int
i
)
{
return
p
->
pObjs
[
i
]
<
AGI_C0
;
}
static
inline
int
Agi_ObjIsBuf
(
Agi_Man_t
*
p
,
int
i
)
{
return
Agi_ObjLit0
(
p
,
i
)
==
Agi_ObjLit1
(
p
,
i
);
}
static
inline
int
Agi_ObjIsBuf
(
Agi_Man_t
*
p
,
int
i
)
{
return
Agi_ObjLit0
(
p
,
i
)
==
Agi_ObjLit1
(
p
,
i
);
}
static
inline
int
Agi_ObjIsAnd
(
Agi_Man_t
*
p
,
int
i
)
{
return
Agi_ObjIsNode
(
p
,
i
)
&&
Agi_ObjLit0
(
p
,
i
)
<
Agi_ObjLit1
(
p
,
i
);
}
static
inline
int
Agi_ObjIsAnd
(
Agi_Man_t
*
p
,
int
i
)
{
return
Agi_ObjIsNode
(
p
,
i
)
&&
Agi_ObjLit0
(
p
,
i
)
<
Agi_ObjLit1
(
p
,
i
);
}
...
...
src/aig/gia/giaScript.c
View file @
ee1bd8f0
...
@@ -609,7 +609,7 @@ void Gia_ManPerformFlow( int fIsMapped, int nAnds, int nLevels, int nLutSize, in
...
@@ -609,7 +609,7 @@ void Gia_ManPerformFlow( int fIsMapped, int nAnds, int nLevels, int nLutSize, in
***********************************************************************/
***********************************************************************/
void
Gia_ManPerformFlow2
(
int
fIsMapped
,
int
nAnds
,
int
nLevels
,
int
nLutSize
,
int
nCutNum
,
int
fBalance
,
int
fMinAve
,
int
fUseMfs
,
int
fVerbose
)
void
Gia_ManPerformFlow2
(
int
fIsMapped
,
int
nAnds
,
int
nLevels
,
int
nLutSize
,
int
nCutNum
,
int
fBalance
,
int
fMinAve
,
int
fUseMfs
,
int
fVerbose
)
{
{
char
Comm1
[
100
],
Comm2
[
100
],
Comm3
[
100
],
Comm4
[
1
00
];
char
Comm1
[
100
0
],
Comm2
[
1000
],
Comm3
[
1000
],
Comm4
[
10
00
];
sprintf
(
Comm1
,
"&synch2 -K %d -C 500; &if -m%s -K %d -C %d; %s &save"
,
nLutSize
,
fMinAve
?
"t"
:
""
,
nLutSize
,
nCutNum
,
fUseMfs
?
"&put; mfs2 -W 4 -M 500 -C 7000; &get -m;"
:
""
);
sprintf
(
Comm1
,
"&synch2 -K %d -C 500; &if -m%s -K %d -C %d; %s &save"
,
nLutSize
,
fMinAve
?
"t"
:
""
,
nLutSize
,
nCutNum
,
fUseMfs
?
"&put; mfs2 -W 4 -M 500 -C 7000; &get -m;"
:
""
);
sprintf
(
Comm2
,
"&dch -C 500; &if -m%s -K %d -C %d; %s &save"
,
fMinAve
?
"t"
:
""
,
nLutSize
,
nCutNum
+
4
,
fUseMfs
?
"&put; mfs2 -W 4 -M 500 -C 7000; &get -m;"
:
""
);
sprintf
(
Comm2
,
"&dch -C 500; &if -m%s -K %d -C %d; %s &save"
,
fMinAve
?
"t"
:
""
,
nLutSize
,
nCutNum
+
4
,
fUseMfs
?
"&put; mfs2 -W 4 -M 500 -C 7000; &get -m;"
:
""
);
sprintf
(
Comm3
,
"&synch2 -K %d -C 500; &lf -m%s -E 5 -K %d -C %d; %s &save"
,
nLutSize
,
fMinAve
?
"t"
:
""
,
nLutSize
,
nCutNum
,
fUseMfs
?
"&put; mfs2 -W 4 -M 500 -C 7000; &get -m;"
:
""
);
sprintf
(
Comm3
,
"&synch2 -K %d -C 500; &lf -m%s -E 5 -K %d -C %d; %s &save"
,
nLutSize
,
fMinAve
?
"t"
:
""
,
nLutSize
,
nCutNum
,
fUseMfs
?
"&put; mfs2 -W 4 -M 500 -C 7000; &get -m;"
:
""
);
...
...
src/base/abci/abcExact.c
View file @
ee1bd8f0
...
@@ -388,7 +388,7 @@ static inline Ses_Store_t * Ses_StoreAlloc( int nBTLimit, int fMakeAIG, int fVer
...
@@ -388,7 +388,7 @@ static inline Ses_Store_t * Ses_StoreAlloc( int nBTLimit, int fMakeAIG, int fVer
pStore
->
fMakeAIG
=
fMakeAIG
;
pStore
->
fMakeAIG
=
fMakeAIG
;
pStore
->
fVerbose
=
fVerbose
;
pStore
->
fVerbose
=
fVerbose
;
pStore
->
nBTLimit
=
nBTLimit
;
pStore
->
nBTLimit
=
nBTLimit
;
memset
(
pStore
->
pEntries
,
0
,
SES_STORE_TABLE_SIZE
);
memset
(
pStore
->
pEntries
,
0
,
sizeof
(
char
)
*
SES_STORE_TABLE_SIZE
);
pStore
->
pSat
=
sat_solver_new
();
pStore
->
pSat
=
sat_solver_new
();
...
...
src/base/ver/verCore.c
View file @
ee1bd8f0
...
@@ -1086,7 +1086,7 @@ int Ver_ParseInitial( Ver_Man_t * pMan, Abc_Ntk_t * pNtk )
...
@@ -1086,7 +1086,7 @@ int Ver_ParseInitial( Ver_Man_t * pMan, Abc_Ntk_t * pNtk )
***********************************************************************/
***********************************************************************/
int
Ver_ParseAssign
(
Ver_Man_t
*
pMan
,
Abc_Ntk_t
*
pNtk
)
int
Ver_ParseAssign
(
Ver_Man_t
*
pMan
,
Abc_Ntk_t
*
pNtk
)
{
{
char
Buffer
[
1000
],
Buffer2
[
1
000
];
char
Buffer
[
1000
],
Buffer2
[
2
000
];
Ver_Stream_t
*
p
=
pMan
->
pReader
;
Ver_Stream_t
*
p
=
pMan
->
pReader
;
Abc_Obj_t
*
pNode
,
*
pNet
;
Abc_Obj_t
*
pNode
,
*
pNet
;
char
*
pWord
,
*
pName
,
*
pEquation
;
char
*
pWord
,
*
pName
,
*
pEquation
;
...
...
src/base/wlc/wlcReadSmt.c
View file @
ee1bd8f0
...
@@ -746,7 +746,7 @@ int Smt_PrsBuildNode( Wlc_Ntk_t * pNtk, Smt_Prs_t * p, int iNode, int RangeOut,
...
@@ -746,7 +746,7 @@ int Smt_PrsBuildNode( Wlc_Ntk_t * pNtk, Smt_Prs_t * p, int iNode, int RangeOut,
}
}
else
if
(
Type
==
WLC_OBJ_ROTATE_R
||
Type
==
WLC_OBJ_ROTATE_L
)
else
if
(
Type
==
WLC_OBJ_ROTATE_R
||
Type
==
WLC_OBJ_ROTATE_L
)
{
{
char
Buffer
[
10
];
char
Buffer
[
10
0
];
assert
(
Value1
>=
0
);
assert
(
Value1
>=
0
);
sprintf
(
Buffer
,
"%d"
,
Value1
);
sprintf
(
Buffer
,
"%d"
,
Value1
);
NameId
=
Smt_PrsBuildConstant
(
pNtk
,
Buffer
,
-
1
,
NULL
);
NameId
=
Smt_PrsBuildConstant
(
pNtk
,
Buffer
,
-
1
,
NULL
);
...
...
src/bdd/cas/casCore.c
View file @
ee1bd8f0
...
@@ -258,7 +258,7 @@ int Abc_CascadeExperiment( char * pFileGeneric, DdManager * dd, DdNode ** pOutpu
...
@@ -258,7 +258,7 @@ int Abc_CascadeExperiment( char * pFileGeneric, DdManager * dd, DdNode ** pOutpu
// verify the results
// verify the results
if
(
fCheck
)
if
(
fCheck
)
{
{
char
Command
[
2
00
];
char
Command
[
3
00
];
sprintf
(
Command
,
"cec %s %s"
,
FileNameIni
,
FileNameFin
);
sprintf
(
Command
,
"cec %s %s"
,
FileNameIni
,
FileNameFin
);
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
Command
);
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
Command
);
}
}
...
...
src/map/if/ifDsd.c
View file @
ee1bd8f0
...
@@ -264,7 +264,7 @@ If_DsdObj_t * If_DsdObjAlloc( If_DsdMan_t * p, int Type, int nFans )
...
@@ -264,7 +264,7 @@ If_DsdObj_t * If_DsdObjAlloc( If_DsdMan_t * p, int Type, int nFans )
If_DsdMan_t
*
If_DsdManAlloc
(
int
nVars
,
int
LutSize
)
If_DsdMan_t
*
If_DsdManAlloc
(
int
nVars
,
int
LutSize
)
{
{
If_DsdMan_t
*
p
;
int
v
;
If_DsdMan_t
*
p
;
int
v
;
char
pFileName
[
10
];
char
pFileName
[
10
0
];
assert
(
nVars
<=
DAU_MAX_VAR
);
assert
(
nVars
<=
DAU_MAX_VAR
);
sprintf
(
pFileName
,
"%02d.dsd"
,
nVars
);
sprintf
(
pFileName
,
"%02d.dsd"
,
nVars
);
p
=
ABC_CALLOC
(
If_DsdMan_t
,
1
);
p
=
ABC_CALLOC
(
If_DsdMan_t
,
1
);
...
...
src/opt/dau/dauMerge.c
View file @
ee1bd8f0
...
@@ -589,7 +589,7 @@ char * Dau_DsdMerge( char * pDsd0i, int * pPerm0, char * pDsd1i, int * pPerm1, i
...
@@ -589,7 +589,7 @@ char * Dau_DsdMerge( char * pDsd0i, int * pPerm0, char * pDsd1i, int * pPerm1, i
int
fVerbose
=
0
;
int
fVerbose
=
0
;
int
fCheck
=
0
;
int
fCheck
=
0
;
static
int
Counter
=
0
;
static
int
Counter
=
0
;
static
char
pRes
[
DAU_MAX_STR
];
static
char
pRes
[
2
*
DAU_MAX_STR
+
10
];
char
pDsd0
[
DAU_MAX_STR
];
char
pDsd0
[
DAU_MAX_STR
];
char
pDsd1
[
DAU_MAX_STR
];
char
pDsd1
[
DAU_MAX_STR
];
int
pMatches0
[
DAU_MAX_STR
];
int
pMatches0
[
DAU_MAX_STR
];
...
...
src/opt/dau/dauNpn.c
View file @
ee1bd8f0
...
@@ -115,7 +115,7 @@ void Dau_TruthEnum(int nVars)
...
@@ -115,7 +115,7 @@ void Dau_TruthEnum(int nVars)
{
{
FILE
*
pFile
;
FILE
*
pFile
;
int
RetValue
;
int
RetValue
;
char
pFileName
[
20
];
char
pFileName
[
20
0
];
sprintf
(
pFileName
,
"tableW%d.data"
,
nSizeLog
);
sprintf
(
pFileName
,
"tableW%d.data"
,
nSizeLog
);
pFile
=
fopen
(
pFileName
,
"wb"
);
pFile
=
fopen
(
pFileName
,
"wb"
);
RetValue
=
fwrite
(
pTable
,
8
,
nSizeW
,
pFile
);
RetValue
=
fwrite
(
pTable
,
8
,
nSizeW
,
pFile
);
...
@@ -180,7 +180,7 @@ void Dau_NetworkEnum(int nVars)
...
@@ -180,7 +180,7 @@ void Dau_NetworkEnum(int nVars)
int
UseTwo
=
0
;
int
UseTwo
=
0
;
int
nSizeLog
=
(
1
<<
nVars
)
-
2
;
int
nSizeLog
=
(
1
<<
nVars
)
-
2
;
int
nSizeW
=
1
<<
nSizeLog
;
int
nSizeW
=
1
<<
nSizeLog
;
char
pFileName
[
20
];
char
pFileName
[
20
0
];
unsigned
*
pTable
;
unsigned
*
pTable
;
Vec_Wec_t
*
vNpns
=
Vec_WecStart
(
32
);
Vec_Wec_t
*
vNpns
=
Vec_WecStart
(
32
);
Vec_Wec_t
*
vNpns_
=
Vec_WecStart
(
32
);
Vec_Wec_t
*
vNpns_
=
Vec_WecStart
(
32
);
...
...
src/opt/dau/dauNpn2.c
View file @
ee1bd8f0
...
@@ -348,7 +348,7 @@ unsigned * Dtt_ManLoadClasses( int nVars, int * pnClasses )
...
@@ -348,7 +348,7 @@ unsigned * Dtt_ManLoadClasses( int nVars, int * pnClasses )
unsigned
*
pTable
=
NULL
;
unsigned
*
pTable
=
NULL
;
int
nSizeLog
=
(
1
<<
nVars
)
-
2
;
int
nSizeLog
=
(
1
<<
nVars
)
-
2
;
int
nSizeW
=
1
<<
nSizeLog
;
int
nSizeW
=
1
<<
nSizeLog
;
char
pFileName
[
20
];
char
pFileName
[
20
0
];
sprintf
(
pFileName
,
"tableW%d.data"
,
nSizeLog
);
sprintf
(
pFileName
,
"tableW%d.data"
,
nSizeLog
);
pTable
=
Dau_ReadFile2
(
pFileName
,
nSizeW
);
pTable
=
Dau_ReadFile2
(
pFileName
,
nSizeW
);
if
(
pTable
==
NULL
)
if
(
pTable
==
NULL
)
...
...
src/proof/pdr/pdrInv.c
View file @
ee1bd8f0
...
@@ -670,7 +670,7 @@ Vec_Str_t * Pdr_InvPrintStr( Vec_Int_t * vInv, Vec_Int_t * vCounts )
...
@@ -670,7 +670,7 @@ Vec_Str_t * Pdr_InvPrintStr( Vec_Int_t * vInv, Vec_Int_t * vCounts )
Vec_Int_t
*
vMap
=
Pdr_InvMap
(
vCounts
);
Vec_Int_t
*
vMap
=
Pdr_InvMap
(
vCounts
);
int
nVars
=
Vec_IntSize
(
vCounts
)
-
Vec_IntCountZero
(
vCounts
);
int
nVars
=
Vec_IntSize
(
vCounts
)
-
Vec_IntCountZero
(
vCounts
);
int
i
,
k
,
*
pCube
,
*
pList
=
Vec_IntArray
(
vInv
);
int
i
,
k
,
*
pCube
,
*
pList
=
Vec_IntArray
(
vInv
);
char
*
pBuffer
=
ABC_ALLOC
(
char
,
nVars
);
char
*
pBuffer
=
ABC_ALLOC
(
char
,
(
size_t
)(
unsigned
)
nVars
);
for
(
i
=
0
;
i
<
nVars
;
i
++
)
for
(
i
=
0
;
i
<
nVars
;
i
++
)
pBuffer
[
i
]
=
'-'
;
pBuffer
[
i
]
=
'-'
;
Pdr_ForEachCube
(
pList
,
pCube
,
i
)
Pdr_ForEachCube
(
pList
,
pCube
,
i
)
...
...
src/sat/bmc/bmcMaj.c
View file @
ee1bd8f0
...
@@ -577,7 +577,7 @@ static inline int Exa_ManEval( Exa_Man_t * p )
...
@@ -577,7 +577,7 @@ static inline int Exa_ManEval( Exa_Man_t * p )
void
Exa_ManDumpBlif
(
Exa_Man_t
*
p
,
int
fCompl
)
void
Exa_ManDumpBlif
(
Exa_Man_t
*
p
,
int
fCompl
)
{
{
char
Buffer
[
1000
];
char
Buffer
[
1000
];
char
FileName
[
1
0
00
];
char
FileName
[
1
1
00
];
FILE
*
pFile
;
FILE
*
pFile
;
int
i
,
k
,
iVar
;
int
i
,
k
,
iVar
;
if
(
fCompl
)
if
(
fCompl
)
...
...
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