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
da02d5aa
Commit
da02d5aa
authored
Jul 11, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handling the trivial case when PO is driven by a constant.
parent
24275632
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
src/aig/gia/giaAbsGla.c
+12
-0
src/aig/gia/giaAbsVta.c
+13
-0
No files found.
src/aig/gia/giaAbsGla.c
View file @
da02d5aa
...
@@ -1744,6 +1744,18 @@ int Gia_GlaPerform( Gia_Man_t * pAig, Gia_ParVta_t * pPars, int fStartVta )
...
@@ -1744,6 +1744,18 @@ int Gia_GlaPerform( Gia_Man_t * pAig, Gia_ParVta_t * pPars, int fStartVta )
// preconditions
// preconditions
assert
(
Gia_ManPoNum
(
pAig
)
==
1
);
assert
(
Gia_ManPoNum
(
pAig
)
==
1
);
assert
(
pPars
->
nFramesMax
==
0
||
pPars
->
nFramesStart
<=
pPars
->
nFramesMax
);
assert
(
pPars
->
nFramesMax
==
0
||
pPars
->
nFramesStart
<=
pPars
->
nFramesMax
);
if
(
Gia_ObjIsConst0
(
Gia_ObjFanin0
(
Gia_ManPo
(
pAig
,
0
)))
)
{
if
(
!
Gia_ObjFaninC0
(
Gia_ManPo
(
pAig
,
0
))
)
{
printf
(
"Sequential miter is trivially UNSAT.
\n
"
);
return
1
;
}
ABC_FREE
(
pAig
->
pCexSeq
);
pAig
->
pCexSeq
=
Abc_CexMakeTriv
(
Gia_ManRegNum
(
pAig
),
Gia_ManPiNum
(
pAig
),
1
,
0
);
printf
(
"Sequential miter is trivially SAT.
\n
"
);
return
0
;
}
// compute intial abstraction
// compute intial abstraction
if
(
pAig
->
vGateClasses
==
NULL
)
if
(
pAig
->
vGateClasses
==
NULL
)
...
...
src/aig/gia/giaAbsVta.c
View file @
da02d5aa
...
@@ -1528,6 +1528,19 @@ int Gia_VtaPerformInt( Gia_Man_t * pAig, Gia_ParVta_t * pPars )
...
@@ -1528,6 +1528,19 @@ int Gia_VtaPerformInt( Gia_Man_t * pAig, Gia_ParVta_t * pPars )
// preconditions
// preconditions
assert
(
Gia_ManPoNum
(
pAig
)
==
1
);
assert
(
Gia_ManPoNum
(
pAig
)
==
1
);
assert
(
pPars
->
nFramesMax
==
0
||
pPars
->
nFramesStart
<=
pPars
->
nFramesMax
);
assert
(
pPars
->
nFramesMax
==
0
||
pPars
->
nFramesStart
<=
pPars
->
nFramesMax
);
if
(
Gia_ObjIsConst0
(
Gia_ObjFanin0
(
Gia_ManPo
(
pAig
,
0
)))
)
{
if
(
!
Gia_ObjFaninC0
(
Gia_ManPo
(
pAig
,
0
))
)
{
printf
(
"Sequential miter is trivially UNSAT.
\n
"
);
return
1
;
}
ABC_FREE
(
pAig
->
pCexSeq
);
pAig
->
pCexSeq
=
Abc_CexMakeTriv
(
Gia_ManRegNum
(
pAig
),
Gia_ManPiNum
(
pAig
),
1
,
0
);
printf
(
"Sequential miter is trivially SAT.
\n
"
);
return
0
;
}
// compute intial abstraction
// compute intial abstraction
if
(
pAig
->
vObjClasses
==
NULL
)
if
(
pAig
->
vObjClasses
==
NULL
)
{
{
...
...
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