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
34078de8
Commit
34078de8
authored
Mar 09, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Silencing remaining gcc warnings.
parent
66eb3cf4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
src/proof/live/liveness.c
+19
-19
No files found.
src/proof/live/liveness.c
View file @
34078de8
...
@@ -246,14 +246,14 @@ Aig_Man_t * LivenessToSafetyTransformation( int mode, Abc_Ntk_t * pNtk, Aig_Man_
...
@@ -246,14 +246,14 @@ Aig_Man_t * LivenessToSafetyTransformation( int mode, Abc_Ntk_t * pNtk, Aig_Man_
{
{
Aig_Man_t
*
pNew
;
Aig_Man_t
*
pNew
;
int
i
,
nRegCount
;
int
i
,
nRegCount
;
Aig_Obj_t
*
pObjSavePi
;
Aig_Obj_t
*
pObjSavePi
=
NULL
;
Aig_Obj_t
*
pObjSavedLo
,
*
pObjSavedLi
;
Aig_Obj_t
*
pObjSavedLo
=
NULL
,
*
pObjSavedLi
=
NULL
;
Aig_Obj_t
*
pObj
,
*
pMatch
;
Aig_Obj_t
*
pObj
,
*
pMatch
;
Aig_Obj_t
*
pObjSaveOrSaved
,
*
pObjSaveAndNotSaved
,
*
pObjSavedLoAndEquality
;
Aig_Obj_t
*
pObjSaveOrSaved
=
NULL
,
*
pObjSaveAndNotSaved
=
NULL
,
*
pObjSavedLoAndEquality
;
Aig_Obj_t
*
pObjShadowLo
,
*
pObjShadowLi
,
*
pObjShadowLiDriver
;
Aig_Obj_t
*
pObjShadowLo
,
*
pObjShadowLi
,
*
pObjShadowLiDriver
;
Aig_Obj_t
*
pObjXor
,
*
pObjXnor
,
*
pObjAndAcc
;
Aig_Obj_t
*
pObjXor
,
*
pObjXnor
,
*
pObjAndAcc
;
Aig_Obj_t
*
pObjLive
,
*
pObjFair
,
*
pObjSafetyGate
;
Aig_Obj_t
*
pObjLive
,
*
pObjFair
,
*
pObjSafetyGate
;
Aig_Obj_t
*
pObjSafetyPropertyOutput
;
Aig_Obj_t
*
pObjSafetyPropertyOutput
=
NULL
;
Aig_Obj_t
*
pObjOriginalSafetyPropertyOutput
;
Aig_Obj_t
*
pObjOriginalSafetyPropertyOutput
;
Aig_Obj_t
*
pDriverImage
,
*
pArgument
,
*
collectiveAssertSafety
,
*
collectiveAssumeSafety
;
Aig_Obj_t
*
pDriverImage
,
*
pArgument
,
*
collectiveAssertSafety
,
*
collectiveAssumeSafety
;
char
*
nodeName
;
char
*
nodeName
;
...
@@ -544,17 +544,17 @@ Aig_Man_t * LivenessToSafetyTransformationAbs( int mode, Abc_Ntk_t * pNtk, Aig_M
...
@@ -544,17 +544,17 @@ Aig_Man_t * LivenessToSafetyTransformationAbs( int mode, Abc_Ntk_t * pNtk, Aig_M
{
{
Aig_Man_t
*
pNew
;
Aig_Man_t
*
pNew
;
int
i
,
nRegCount
,
iEntry
;
int
i
,
nRegCount
,
iEntry
;
Aig_Obj_t
*
pObjSavePi
;
Aig_Obj_t
*
pObjSavePi
=
NULL
;
Aig_Obj_t
*
pObjSavedLi
,
*
pObjSavedLo
;
Aig_Obj_t
*
pObjSavedLi
=
NULL
,
*
pObjSavedLo
=
NULL
;
Aig_Obj_t
*
pObj
,
*
pMatch
;
Aig_Obj_t
*
pObj
,
*
pMatch
;
Aig_Obj_t
*
pObjSavedLoAndEquality
,
*
pObjSaveOrSaved
,
*
pObjSaveAndNotSaved
;
Aig_Obj_t
*
pObjSavedLoAndEquality
,
*
pObjSaveOrSaved
=
NULL
,
*
pObjSaveAndNotSaved
=
NULL
;
Aig_Obj_t
*
pObjShadowLo
,
*
pObjShadowLi
,
*
pObjShadowLiDriver
;
Aig_Obj_t
*
pObjShadowLo
,
*
pObjShadowLi
,
*
pObjShadowLiDriver
;
Aig_Obj_t
*
pObjXor
,
*
pObjXnor
,
*
pObjAndAcc
;
Aig_Obj_t
*
pObjXor
,
*
pObjXnor
,
*
pObjAndAcc
;
Aig_Obj_t
*
pObjLive
,
*
pObjFair
,
*
pObjSafetyGate
;
Aig_Obj_t
*
pObjLive
,
*
pObjFair
,
*
pObjSafetyGate
;
Aig_Obj_t
*
pObjSafetyPropertyOutput
;
Aig_Obj_t
*
pObjSafetyPropertyOutput
=
NULL
;
Aig_Obj_t
*
pDriverImage
,
*
pArgument
,
*
collectiveAssertSafety
,
*
collectiveAssumeSafety
;
Aig_Obj_t
*
pDriverImage
,
*
pArgument
,
*
collectiveAssertSafety
,
*
collectiveAssumeSafety
;
char
*
nodeName
;
char
*
nodeName
;
int
piCopied
=
0
,
liCopied
=
0
,
loCopied
=
0
,
liCreated
=
0
,
loCreated
=
0
,
piVecIndex
=
0
,
liveLatch
=
0
,
fairLatch
=
0
;
int
piCopied
=
0
,
liCopied
=
0
,
loCopied
=
0
,
liCreated
=
0
,
loCreated
=
0
,
liveLatch
=
0
,
fairLatch
=
0
;
//, piVecIndex
= 0;
vecPis
=
Vec_PtrAlloc
(
Saig_ManPiNum
(
p
)
+
1
);
vecPis
=
Vec_PtrAlloc
(
Saig_ManPiNum
(
p
)
+
1
);
vecPiNames
=
Vec_PtrAlloc
(
Saig_ManPiNum
(
p
)
+
1
);
vecPiNames
=
Vec_PtrAlloc
(
Saig_ManPiNum
(
p
)
+
1
);
...
@@ -845,12 +845,12 @@ Aig_Man_t * LivenessToSafetyTransformationOneStepLoop( int mode, Abc_Ntk_t * pNt
...
@@ -845,12 +845,12 @@ Aig_Man_t * LivenessToSafetyTransformationOneStepLoop( int mode, Abc_Ntk_t * pNt
{
{
Aig_Man_t
*
pNew
;
Aig_Man_t
*
pNew
;
int
i
,
nRegCount
;
int
i
,
nRegCount
;
Aig_Obj_t
*
pObjSavePi
;
Aig_Obj_t
*
pObjSavePi
=
NULL
;
Aig_Obj_t
*
pObj
,
*
pMatch
;
Aig_Obj_t
*
pObj
,
*
pMatch
;
Aig_Obj_t
*
pObjSavedLoAndEquality
;
Aig_Obj_t
*
pObjSavedLoAndEquality
;
Aig_Obj_t
*
pObjXor
,
*
pObjXnor
,
*
pObjAndAcc
,
*
pObjAndAccDummy
;
Aig_Obj_t
*
pObjXor
,
*
pObjXnor
,
*
pObjAndAcc
,
*
pObjAndAccDummy
;
Aig_Obj_t
*
pObjLive
,
*
pObjFair
,
*
pObjSafetyGate
;
Aig_Obj_t
*
pObjLive
,
*
pObjFair
,
*
pObjSafetyGate
;
Aig_Obj_t
*
pObjSafetyPropertyOutput
;
Aig_Obj_t
*
pObjSafetyPropertyOutput
=
NULL
;
Aig_Obj_t
*
pDriverImage
;
Aig_Obj_t
*
pDriverImage
;
Aig_Obj_t
*
pObjCorrespondingLi
;
Aig_Obj_t
*
pObjCorrespondingLi
;
Aig_Obj_t
*
pArgument
;
Aig_Obj_t
*
pArgument
;
...
@@ -1255,7 +1255,7 @@ int Abc_CommandAbcLivenessToSafety( Abc_Frame_t * pAbc, int argc, char ** argv )
...
@@ -1255,7 +1255,7 @@ int Abc_CommandAbcLivenessToSafety( Abc_Frame_t * pAbc, int argc, char ** argv )
{
{
FILE
*
pOut
,
*
pErr
;
FILE
*
pOut
,
*
pErr
;
Abc_Ntk_t
*
pNtk
,
*
pNtkTemp
,
*
pNtkNew
,
*
pNtkOld
;
Abc_Ntk_t
*
pNtk
,
*
pNtkTemp
,
*
pNtkNew
,
*
pNtkOld
;
Aig_Man_t
*
pAig
,
*
pAigNew
;
Aig_Man_t
*
pAig
,
*
pAigNew
=
NULL
;
int
c
;
int
c
;
Vec_Ptr_t
*
vLive
,
*
vFair
,
*
vAssertSafety
,
*
vAssumeSafety
;
Vec_Ptr_t
*
vLive
,
*
vFair
,
*
vAssertSafety
,
*
vAssumeSafety
;
int
directive
=
-
1
;
int
directive
=
-
1
;
...
@@ -1600,7 +1600,7 @@ int Abc_CommandAbcLivenessToSafetyAbstraction( Abc_Frame_t * pAbc, int argc, cha
...
@@ -1600,7 +1600,7 @@ int Abc_CommandAbcLivenessToSafetyAbstraction( Abc_Frame_t * pAbc, int argc, cha
{
{
FILE
*
pOut
,
*
pErr
;
FILE
*
pOut
,
*
pErr
;
Abc_Ntk_t
*
pNtk
,
*
pNtkTemp
,
*
pNtkNew
,
*
pNtkOld
;
Abc_Ntk_t
*
pNtk
,
*
pNtkTemp
,
*
pNtkNew
,
*
pNtkOld
;
Aig_Man_t
*
pAig
,
*
pAigNew
;
Aig_Man_t
*
pAig
,
*
pAigNew
=
NULL
;
int
c
;
int
c
;
Vec_Ptr_t
*
vLive
,
*
vFair
,
*
vAssertSafety
,
*
vAssumeSafety
;
Vec_Ptr_t
*
vLive
,
*
vFair
,
*
vAssertSafety
,
*
vAssumeSafety
;
int
directive
=
-
1
;
int
directive
=
-
1
;
...
@@ -1801,10 +1801,10 @@ Aig_Man_t * LivenessToSafetyTransformationWithLTL( int mode, Abc_Ntk_t * pNtk, A
...
@@ -1801,10 +1801,10 @@ Aig_Man_t * LivenessToSafetyTransformationWithLTL( int mode, Abc_Ntk_t * pNtk, A
{
{
Aig_Man_t
*
pNew
;
Aig_Man_t
*
pNew
;
int
i
,
ii
,
iii
,
nRegCount
;
int
i
,
ii
,
iii
,
nRegCount
;
Aig_Obj_t
*
pObjSavePi
;
Aig_Obj_t
*
pObjSavePi
=
NULL
;
Aig_Obj_t
*
pObjSavedLo
,
*
pObjSavedLi
;
Aig_Obj_t
*
pObjSavedLo
=
NULL
,
*
pObjSavedLi
=
NULL
;
Aig_Obj_t
*
pObj
,
*
pMatch
;
Aig_Obj_t
*
pObj
,
*
pMatch
;
Aig_Obj_t
*
pObjSaveOrSaved
,
*
pObjSaveAndNotSaved
,
*
pObjSavedLoAndEquality
;
Aig_Obj_t
*
pObjSaveOrSaved
=
NULL
,
*
pObjSaveAndNotSaved
=
NULL
,
*
pObjSavedLoAndEquality
;
Aig_Obj_t
*
pObjShadowLo
,
*
pObjShadowLi
,
*
pObjShadowLiDriver
;
Aig_Obj_t
*
pObjShadowLo
,
*
pObjShadowLi
,
*
pObjShadowLiDriver
;
Aig_Obj_t
*
pObjXor
,
*
pObjXnor
,
*
pObjAndAcc
;
Aig_Obj_t
*
pObjXor
,
*
pObjXnor
,
*
pObjAndAcc
;
Aig_Obj_t
*
pObjLive
,
*
pObjSafetyGate
;
Aig_Obj_t
*
pObjLive
,
*
pObjSafetyGate
;
...
@@ -1815,11 +1815,11 @@ Aig_Man_t * LivenessToSafetyTransformationWithLTL( int mode, Abc_Ntk_t * pNtk, A
...
@@ -1815,11 +1815,11 @@ Aig_Man_t * LivenessToSafetyTransformationWithLTL( int mode, Abc_Ntk_t * pNtk, A
Aig_Obj_t
*
pObjSafetyAndLiveToSafety
;
Aig_Obj_t
*
pObjSafetyAndLiveToSafety
;
char
*
nodeName
,
*
pFormula
;
char
*
nodeName
,
*
pFormula
;
int
piCopied
=
0
,
liCopied
=
0
,
loCopied
=
0
,
liCreated
=
0
,
loCreated
=
0
,
liveLatch
=
0
;
//, piVecIndex = 0, fairLatch = 0;
int
piCopied
=
0
,
liCopied
=
0
,
loCopied
=
0
,
liCreated
=
0
,
loCreated
=
0
,
liveLatch
=
0
;
//, piVecIndex = 0, fairLatch = 0;
Vec_Ptr_t
*
vSignal
,
*
vTopASTNodeArray
;
Vec_Ptr_t
*
vSignal
,
*
vTopASTNodeArray
=
NULL
;
ltlNode
*
pEnrtyGLOBALLY
;
ltlNode
*
pEnrtyGLOBALLY
;
ltlNode
*
topNodeOfAST
,
*
tempTopASTNode
;
ltlNode
*
topNodeOfAST
,
*
tempTopASTNode
;
Vec_Vec_t
*
vAigGFMap
;
Vec_Vec_t
*
vAigGFMap
;
Vec_Ptr_t
*
vSignalMemory
,
*
vGFFlopMemory
,
*
vPoForLtlProps
;
Vec_Ptr_t
*
vSignalMemory
,
*
vGFFlopMemory
,
*
vPoForLtlProps
=
NULL
;
Vec_Ptr_t
*
vecInputLtlFormulae
;
Vec_Ptr_t
*
vecInputLtlFormulae
;
vecPis
=
Vec_PtrAlloc
(
Saig_ManPiNum
(
p
)
+
1
);
vecPis
=
Vec_PtrAlloc
(
Saig_ManPiNum
(
p
)
+
1
);
...
@@ -2269,7 +2269,7 @@ int Abc_CommandAbcLivenessToSafetyWithLTL( Abc_Frame_t * pAbc, int argc, char **
...
@@ -2269,7 +2269,7 @@ int Abc_CommandAbcLivenessToSafetyWithLTL( Abc_Frame_t * pAbc, int argc, char **
{
{
FILE
*
pOut
,
*
pErr
;
FILE
*
pOut
,
*
pErr
;
Abc_Ntk_t
*
pNtk
,
*
pNtkTemp
,
*
pNtkNew
,
*
pNtkOld
;
Abc_Ntk_t
*
pNtk
,
*
pNtkTemp
,
*
pNtkNew
,
*
pNtkOld
;
Aig_Man_t
*
pAig
,
*
pAigNew
;
Aig_Man_t
*
pAig
,
*
pAigNew
=
NULL
;
int
c
;
int
c
;
Vec_Ptr_t
*
vLive
,
*
vFair
,
*
vAssertSafety
,
*
vAssumeSafety
;
Vec_Ptr_t
*
vLive
,
*
vFair
,
*
vAssertSafety
,
*
vAssumeSafety
;
int
directive
=
-
1
;
int
directive
=
-
1
;
...
...
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