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
8b6de217
Commit
8b6de217
authored
Feb 05, 2017
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compiler warnings.
parent
afcbb097
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
18 deletions
+22
-18
src/proof/pdr/pdrMan.c
+22
-18
No files found.
src/proof/pdr/pdrMan.c
View file @
8b6de217
...
@@ -53,16 +53,18 @@ Vec_Int_t * Pdr_ManDeriveFlopPriorities3( Gia_Man_t * p, int fMuxCtrls )
...
@@ -53,16 +53,18 @@ Vec_Int_t * Pdr_ManDeriveFlopPriorities3( Gia_Man_t * p, int fMuxCtrls )
Gia_ManCreateRefs
(
p
);
Gia_ManCreateRefs
(
p
);
// discount references
// discount references
if
(
fDiscount
)
if
(
fDiscount
)
Gia_ManForEachAnd
(
p
,
pObj
,
i
)
{
{
if
(
!
Gia_ObjIsMuxType
(
pObj
)
)
Gia_ManForEachAnd
(
p
,
pObj
,
i
)
continue
;
{
pCtrl
=
Gia_Regular
(
Gia_ObjRecognizeMux
(
pObj
,
&
pData1
,
&
pData0
));
if
(
!
Gia_ObjIsMuxType
(
pObj
)
)
pData0
=
Gia_Regular
(
pData0
);
continue
;
pData1
=
Gia_Regular
(
pData1
);
pCtrl
=
Gia_Regular
(
Gia_ObjRecognizeMux
(
pObj
,
&
pData1
,
&
pData0
));
p
->
pRefs
[
Gia_ObjId
(
p
,
pCtrl
)]
--
;
pData0
=
Gia_Regular
(
pData0
);
if
(
pData0
==
pData1
)
pData1
=
Gia_Regular
(
pData1
);
p
->
pRefs
[
Gia_ObjId
(
p
,
pData0
)]
--
;
p
->
pRefs
[
Gia_ObjId
(
p
,
pCtrl
)]
--
;
if
(
pData0
==
pData1
)
p
->
pRefs
[
Gia_ObjId
(
p
,
pData0
)]
--
;
}
}
}
// create flop costs
// create flop costs
vCosts
=
Vec_IntAlloc
(
Gia_ManRegNum
(
p
)
);
vCosts
=
Vec_IntAlloc
(
Gia_ManRegNum
(
p
)
);
...
@@ -160,16 +162,18 @@ Vec_Int_t * Pdr_ManDeriveFlopPriorities2( Gia_Man_t * p, int fMuxCtrls )
...
@@ -160,16 +162,18 @@ Vec_Int_t * Pdr_ManDeriveFlopPriorities2( Gia_Man_t * p, int fMuxCtrls )
Gia_ManCreateRefs
(
p
);
Gia_ManCreateRefs
(
p
);
// discount references
// discount references
if
(
fDiscount
)
if
(
fDiscount
)
Gia_ManForEachAnd
(
p
,
pObj
,
i
)
{
{
if
(
!
Gia_ObjIsMuxType
(
pObj
)
)
Gia_ManForEachAnd
(
p
,
pObj
,
i
)
continue
;
{
pCtrl
=
Gia_Regular
(
Gia_ObjRecognizeMux
(
pObj
,
&
pData1
,
&
pData0
));
if
(
!
Gia_ObjIsMuxType
(
pObj
)
)
pData0
=
Gia_Regular
(
pData0
);
continue
;
pData1
=
Gia_Regular
(
pData1
);
pCtrl
=
Gia_Regular
(
Gia_ObjRecognizeMux
(
pObj
,
&
pData1
,
&
pData0
));
p
->
pRefs
[
Gia_ObjId
(
p
,
pCtrl
)]
--
;
pData0
=
Gia_Regular
(
pData0
);
if
(
pData0
==
pData1
)
pData1
=
Gia_Regular
(
pData1
);
p
->
pRefs
[
Gia_ObjId
(
p
,
pData0
)]
--
;
p
->
pRefs
[
Gia_ObjId
(
p
,
pCtrl
)]
--
;
if
(
pData0
==
pData1
)
p
->
pRefs
[
Gia_ObjId
(
p
,
pData0
)]
--
;
}
}
}
Gia_ManForEachRo
(
p
,
pObj
,
i
)
Gia_ManForEachRo
(
p
,
pObj
,
i
)
{
{
...
...
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