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
f33c3007
Commit
f33c3007
authored
Feb 21, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compiler warnings.
parent
dd52905f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
8 deletions
+9
-8
src/aig/gia/giaIf.c
+2
-1
src/aig/gia/giaStg.c
+1
-1
src/aig/gia/giaTest.c
+2
-2
src/proof/abs/absOldRef.c
+1
-1
src/sat/bmc/bmcUnroll.c
+3
-3
No files found.
src/aig/gia/giaIf.c
View file @
f33c3007
...
...
@@ -844,6 +844,7 @@ int Gia_ManFromIfStrNode( Gia_Man_t * pNew, int iObj, Vec_Int_t * vLeaves, Vec_I
// write packing
Vec_IntPush
(
vPacking
,
2
);
Vec_IntPush
(
vPacking
,
Abc_Lit2Var
(
iObjLit1
)
);
iObjLit2
=
-
1
;
}
/*
// write root node
...
...
@@ -1093,7 +1094,7 @@ void Gia_ManTransferPacking( Gia_Man_t * pGia, Gia_Man_t * p )
{
Vec_Int_t
*
vPackingNew
;
Gia_Obj_t
*
pObj
,
*
pObjNew
;
int
i
,
k
,
Entry
,
nEntries
,
nEntries2
,
MaxSize
=
-
1
;
int
i
,
k
,
Entry
,
nEntries
,
nEntries2
;
if
(
pGia
->
vPacking
==
NULL
)
return
;
nEntries
=
Vec_IntEntry
(
pGia
->
vPacking
,
0
);
...
...
src/aig/gia/giaStg.c
View file @
f33c3007
...
...
@@ -204,7 +204,7 @@ Vec_Int_t * Gia_ManStgReadLines( char * pFileName, int * pnIns, int * pnOuts, in
FILE
*
pFile
;
if
(
!
strcmp
(
pFileName
+
strlen
(
pFileName
)
-
3
,
"aig"
)
)
{
printf
(
"Input file
\"
%s
\"
has extension
\"
aig
\"
.
\n
"
,
pFileName
,
"aig"
);
printf
(
"Input file
\"
%s
\"
has extension
\"
%s
\"
.
\n
"
,
pFileName
,
"aig"
);
return
NULL
;
}
pFile
=
fopen
(
pFileName
,
"rb"
);
...
...
src/aig/gia/giaTest.c
View file @
f33c3007
...
...
@@ -126,7 +126,7 @@ static inline void Mig_ObjSetId( Mig_Obj_t * p, int v ) {
static
inline
int
Mig_ObjCioId
(
Mig_Obj_t
*
p
)
{
assert
(
Mig_ObjIsTerm
(
p
)
);
return
Mig_FanId
(
p
,
2
);
}
static
inline
void
Mig_ObjSetCioId
(
Mig_Obj_t
*
p
,
int
v
)
{
assert
(
Mig_ObjIsTerm
(
p
)
);
Mig_FanSetId
(
p
,
2
,
v
);
}
static
inline
int
Mig_ObjPhase
(
Mig_Obj_t
*
p
)
{
return
Mig_FanCompl
(
p
,
2
);
}
static
inline
int
Mig_ObjSetPhase
(
Mig_Obj_t
*
p
,
int
v
)
{
Mig_FanSetCompl
(
p
,
2
,
1
);
}
static
inline
void
Mig_ObjSetPhase
(
Mig_Obj_t
*
p
,
int
v
)
{
Mig_FanSetCompl
(
p
,
2
,
1
);
}
static
inline
Mig_Man_t
*
Mig_ObjMan
(
Mig_Obj_t
*
p
)
{
return
*
((
Mig_Man_t
**
)(
p
-
Mig_IdCell
(
Mig_ObjId
(
p
))
-
1
));
}
static
inline
Mig_Obj_t
**
Mig_ObjPageP
(
Mig_Obj_t
*
p
)
{
return
*
((
Mig_Obj_t
***
)(
p
-
Mig_IdCell
(
Mig_ObjId
(
p
)))
-
1
);}
...
...
@@ -803,7 +803,7 @@ static inline int Mpm_ObjDeriveCut( Mpm_Man_t * p, Mpm_Cut_t * pCut0, Mpm_Cut_t
}
}
pCut
->
hNext
=
0
;
pCut
->
iFunc
=
~
(
unsigned
)
0
;
pCut
->
iFunc
=
0
;
pCut
->
iFunc
=
~
pCut
->
iFunc
;
pCut
->
fUseless
=
0
;
return
1
;
}
...
...
src/proof/abs/absOldRef.c
View file @
f33c3007
...
...
@@ -411,7 +411,7 @@ Vec_Int_t * Saig_ManCexAbstractionFlops( Aig_Man_t * p, Gia_ParAbs_t * pPars )
int
nUseStart
=
0
;
Aig_Man_t
*
pAbs
,
*
pTemp
;
Vec_Int_t
*
vFlops
;
int
Iter
,
clk
=
clock
(),
clk2
=
clock
();
//, iFlop;
int
Iter
;
//
, clk = clock(), clk2 = clock();//, iFlop;
assert
(
Aig_ManRegNum
(
p
)
>
0
);
if
(
pPars
->
fVerbose
)
printf
(
"Performing counter-example-based refinement.
\n
"
);
...
...
src/sat/bmc/bmcUnroll.c
View file @
f33c3007
...
...
@@ -210,7 +210,7 @@ void Unr_ManSetup( Unr_Man_t * p )
// create const0 node
pUnrObj
=
Unr_ManObj
(
p
,
pInts
-
p
->
pObjs
);
pUnrObj
->
RankMax
=
1
;
pUnrObj
->
uRDiff0
=
pUnrObj
->
uRDiff1
=
UNR_DIFF_NULL
;
pUnrObj
->
uRDiff0
=
pUnrObj
->
uRDiff1
=
(
unsigned
)
UNR_DIFF_NULL
;
pUnrObj
->
Res
[
0
]
=
0
;
// const0
pInts
+=
sizeof
(
Unr_Obj_t
)
/
sizeof
(
int
);
// mark up the entries
...
...
@@ -224,7 +224,7 @@ void Unr_ManSetup( Unr_Man_t * p )
{
pObj
=
Gia_ManObj
(
p
->
pGia
,
iObj
);
pUnrObj
=
Unr_ManObj
(
p
,
pInts
-
p
->
pObjs
);
pUnrObj
->
uRDiff0
=
pUnrObj
->
uRDiff1
=
UNR_DIFF_NULL
;
pUnrObj
->
uRDiff0
=
pUnrObj
->
uRDiff1
=
(
unsigned
)
UNR_DIFF_NULL
;
if
(
Gia_ObjIsAnd
(
pObj
)
||
Gia_ObjIsCo
(
pObj
)
)
{
pUnrObj
->
hFan0
=
Vec_IntEntry
(
vMap
,
Gia_ObjFaninId0
(
pObj
,
iObj
)
);
...
...
@@ -433,7 +433,7 @@ Gia_Man_t * Unr_ManUnrollSimple( Gia_Man_t * pGia, int nFrames )
void
Unr_ManTest
(
Gia_Man_t
*
pGia
)
{
// Gia_Man_t * pFrames0, * pFrames1;
int
nFrames
=
10
;
//
int nFrames = 10;
Unr_Man_t
*
p
;
p
=
Unr_ManAlloc
(
pGia
);
Unr_ManSetup
(
p
);
...
...
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