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
2cfc4cc1
Commit
2cfc4cc1
authored
Mar 08, 2015
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compiler warnings.
parent
193c46e3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/aig/gia/giaAiger.c
+1
-1
src/aig/gia/giaIf.c
+3
-3
No files found.
src/aig/gia/giaAiger.c
View file @
2cfc4cc1
...
@@ -677,7 +677,7 @@ Gia_Man_t * Gia_AigerReadFromMemory( char * pContents, int nFileSize, int fSkipS
...
@@ -677,7 +677,7 @@ Gia_Man_t * Gia_AigerReadFromMemory( char * pContents, int nFileSize, int fSkipS
pCur
++
;
pCur
++
;
nSize
=
Gia_AigerReadInt
(
pCur
);
nSize
=
Gia_AigerReadInt
(
pCur
);
pCurTemp
=
pCur
+
nSize
+
4
;
pCur
+=
4
;
pCurTemp
=
pCur
+
nSize
+
4
;
pCur
+=
4
;
pNew
->
pCellStr
=
Abc_UtilStrsav
(
pCur
);
pCur
+=
strlen
(
pCur
)
+
1
;
pNew
->
pCellStr
=
Abc_UtilStrsav
(
(
char
*
)
pCur
);
pCur
+=
strlen
(
pCur
)
+
1
;
nSize
=
nSize
-
strlen
(
pNew
->
pCellStr
)
-
1
;
nSize
=
nSize
-
strlen
(
pNew
->
pCellStr
)
-
1
;
assert
(
nSize
%
4
==
0
);
assert
(
nSize
%
4
==
0
);
pNew
->
vConfigs
=
Vec_IntStart
(
nSize
/
4
);
pNew
->
vConfigs
=
Vec_IntStart
(
nSize
/
4
);
...
...
src/aig/gia/giaIf.c
View file @
2cfc4cc1
...
@@ -1522,9 +1522,9 @@ int Gia_ManFromIfLogicFindCell( If_Man_t * pIfMan, Gia_Man_t * pNew, Gia_Man_t *
...
@@ -1522,9 +1522,9 @@ int Gia_ManFromIfLogicFindCell( If_Man_t * pIfMan, Gia_Man_t * pNew, Gia_Man_t *
Gia_Obj_t
*
pObj
;
Gia_Obj_t
*
pObj
;
int
i
,
Id
,
iLitTemp
;
int
i
,
Id
,
iLitTemp
;
// extract variable permutation
// extract variable permutation
char
*
pCutPerm
=
If_CutDsdPerm
(
pIfMan
,
pCutBest
);
// DSD input -> cut input
//
char * pCutPerm = If_CutDsdPerm( pIfMan, pCutBest ); // DSD input -> cut input
word
*
pPerm
=
If_DsdManGetFuncConfig
(
pIfMan
->
pIfDsdMan
,
If_CutDsdLit
(
pIfMan
,
pCutBest
)
);
// cell input -> DSD input
word
*
pPerm
=
If_DsdManGetFuncConfig
(
pIfMan
->
pIfDsdMan
,
If_CutDsdLit
(
pIfMan
,
pCutBest
)
);
// cell input -> DSD input
int
nBits
=
If_DsdManTtBitNum
(
pIfMan
->
pIfDsdMan
);
//
int nBits = If_DsdManTtBitNum( pIfMan->pIfDsdMan );
// use config bits to generate the network
// use config bits to generate the network
iLit
=
If_ManSatDeriveGiaFromBits
(
pTemp
,
pNtkCell
,
pPerm
+
1
,
vLeaves
,
vCover
);
iLit
=
If_ManSatDeriveGiaFromBits
(
pTemp
,
pNtkCell
,
pPerm
+
1
,
vLeaves
,
vCover
);
// copy GIA back into the manager
// copy GIA back into the manager
...
@@ -1706,7 +1706,7 @@ Gia_Man_t * Gia_ManFromIfLogic( If_Man_t * pIfMan )
...
@@ -1706,7 +1706,7 @@ Gia_Man_t * Gia_ManFromIfLogic( If_Man_t * pIfMan )
Vec_Int_t
*
vLeaves
,
*
vLeaves2
,
*
vCover
,
*
vLits
;
Vec_Int_t
*
vLeaves
,
*
vLeaves2
,
*
vCover
,
*
vLits
;
Ifn_Ntk_t
*
pNtkCell
=
NULL
;
Ifn_Ntk_t
*
pNtkCell
=
NULL
;
sat_solver
*
pSat
=
NULL
;
sat_solver
*
pSat
=
NULL
;
int
i
,
k
,
Entry
,
nLutMax
=
-
1
;
int
Count
=
0
;
int
i
,
k
,
Entry
;
assert
(
!
pIfMan
->
pPars
->
fDeriveLuts
||
pIfMan
->
pPars
->
fTruth
);
assert
(
!
pIfMan
->
pPars
->
fDeriveLuts
||
pIfMan
->
pPars
->
fTruth
);
// if ( pIfMan->pPars->fEnableCheck07 )
// if ( pIfMan->pPars->fEnableCheck07 )
// pIfMan->pPars->fDeriveLuts = 0;
// pIfMan->pPars->fDeriveLuts = 0;
...
...
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