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
7f112787
Commit
7f112787
authored
Mar 30, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compiler warnings.
parent
d3a4dce1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
src/aig/gia/giaIf.c
+0
-1
src/map/if/ifLibBox.c
+1
-1
src/sat/bmc/bmcUnroll.c
+3
-3
No files found.
src/aig/gia/giaIf.c
View file @
7f112787
...
@@ -1147,7 +1147,6 @@ Gia_Man_t * Gia_ManPerformMapping( Gia_Man_t * p, void * pp )
...
@@ -1147,7 +1147,6 @@ Gia_Man_t * Gia_ManPerformMapping( Gia_Man_t * p, void * pp )
assert
(
pPars
->
pTimesReq
==
NULL
);
assert
(
pPars
->
pTimesReq
==
NULL
);
if
(
p
->
pManTime
)
if
(
p
->
pManTime
)
{
{
Vec_Flt_t
*
vArrTimes
=
NULL
,
*
vReqTimes
=
NULL
;
pNew
=
Gia_ManDupUnnormalize
(
p
);
pNew
=
Gia_ManDupUnnormalize
(
p
);
if
(
pNew
==
NULL
)
if
(
pNew
==
NULL
)
return
NULL
;
return
NULL
;
...
...
src/map/if/ifLibBox.c
View file @
7f112787
...
@@ -221,7 +221,7 @@ If_LibBox_t * If_LibBoxRead2( char * pFileName )
...
@@ -221,7 +221,7 @@ If_LibBox_t * If_LibBoxRead2( char * pFileName )
{
{
while
(
pToken
==
NULL
)
while
(
pToken
==
NULL
)
{
{
fgets
(
pBuffer
,
nSize
,
pFile
);
(
void
)
fgets
(
pBuffer
,
nSize
,
pFile
);
pToken
=
strtok
(
pBuffer
,
"
\n\r\t
"
);
pToken
=
strtok
(
pBuffer
,
"
\n\r\t
"
);
}
}
pBox
->
pDelays
[
i
]
=
(
pToken
[
0
]
==
'-'
)
?
-
1
:
atoi
(
pToken
);
pBox
->
pDelays
[
i
]
=
(
pToken
[
0
]
==
'-'
)
?
-
1
:
atoi
(
pToken
);
...
...
src/sat/bmc/bmcUnroll.c
View file @
7f112787
...
@@ -26,7 +26,7 @@ ABC_NAMESPACE_IMPL_START
...
@@ -26,7 +26,7 @@ ABC_NAMESPACE_IMPL_START
/// DECLARATIONS ///
/// DECLARATIONS ///
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
#define UNR_DIFF_NULL 0x
F
FFF
#define UNR_DIFF_NULL 0x
7
FFF
typedef
struct
Unr_Obj_t_
Unr_Obj_t
;
// 24 bytes + (RankMax-1) * 4 bytes
typedef
struct
Unr_Obj_t_
Unr_Obj_t
;
// 24 bytes + (RankMax-1) * 4 bytes
struct
Unr_Obj_t_
struct
Unr_Obj_t_
...
@@ -210,7 +210,7 @@ void Unr_ManSetup( Unr_Man_t * p )
...
@@ -210,7 +210,7 @@ void Unr_ManSetup( Unr_Man_t * p )
// create const0 node
// create const0 node
pUnrObj
=
Unr_ManObj
(
p
,
pInts
-
p
->
pObjs
);
pUnrObj
=
Unr_ManObj
(
p
,
pInts
-
p
->
pObjs
);
pUnrObj
->
RankMax
=
1
;
pUnrObj
->
RankMax
=
1
;
pUnrObj
->
uRDiff0
=
pUnrObj
->
uRDiff1
=
(
unsigned
)
UNR_DIFF_NULL
;
pUnrObj
->
uRDiff0
=
pUnrObj
->
uRDiff1
=
UNR_DIFF_NULL
;
pUnrObj
->
Res
[
0
]
=
0
;
// const0
pUnrObj
->
Res
[
0
]
=
0
;
// const0
pInts
+=
sizeof
(
Unr_Obj_t
)
/
sizeof
(
int
);
pInts
+=
sizeof
(
Unr_Obj_t
)
/
sizeof
(
int
);
// mark up the entries
// mark up the entries
...
@@ -224,7 +224,7 @@ void Unr_ManSetup( Unr_Man_t * p )
...
@@ -224,7 +224,7 @@ void Unr_ManSetup( Unr_Man_t * p )
{
{
pObj
=
Gia_ManObj
(
p
->
pGia
,
iObj
);
pObj
=
Gia_ManObj
(
p
->
pGia
,
iObj
);
pUnrObj
=
Unr_ManObj
(
p
,
pInts
-
p
->
pObjs
);
pUnrObj
=
Unr_ManObj
(
p
,
pInts
-
p
->
pObjs
);
pUnrObj
->
uRDiff0
=
pUnrObj
->
uRDiff1
=
(
unsigned
)
UNR_DIFF_NULL
;
pUnrObj
->
uRDiff0
=
pUnrObj
->
uRDiff1
=
UNR_DIFF_NULL
;
if
(
Gia_ObjIsAnd
(
pObj
)
||
Gia_ObjIsCo
(
pObj
)
)
if
(
Gia_ObjIsAnd
(
pObj
)
||
Gia_ObjIsCo
(
pObj
)
)
{
{
pUnrObj
->
hFan0
=
Vec_IntEntry
(
vMap
,
Gia_ObjFaninId0
(
pObj
,
iObj
)
);
pUnrObj
->
hFan0
=
Vec_IntEntry
(
vMap
,
Gia_ObjFaninId0
(
pObj
,
iObj
)
);
...
...
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