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
f7caf84f
Commit
f7caf84f
authored
Sep 23, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified structural constraint extraction (unfold -s) to work for multi-output testcases.
parent
c8ed8167
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
2 deletions
+24
-2
src/aig/saig/saigConstr.c
+0
-0
src/base/abci/abc.c
+2
-2
src/misc/vec/vecPtr.h
+22
-0
No files found.
src/aig/saig/saigConstr.c
View file @
f7caf84f
This diff is collapsed.
Click to expand it.
src/base/abci/abc.c
View file @
f7caf84f
...
...
@@ -21280,9 +21280,9 @@ int Abc_CommandUnfold( Abc_Frame_t * pAbc, int argc, char ** argv )
Abc_Print
(
-
1
,
"Constraints are already extracted.
\n
"
);
return
0
;
}
if
(
Abc_NtkPoNum
(
pNtk
)
>
1
)
if
(
Abc_NtkPoNum
(
pNtk
)
>
1
&&
!
fStruct
)
{
Abc_Print
(
-
1
,
"
C
onstraint extraction works for single-output miters (use
\"
orpos
\"
).
\n
"
);
Abc_Print
(
-
1
,
"
Functional c
onstraint extraction works for single-output miters (use
\"
orpos
\"
).
\n
"
);
return
0
;
}
// modify the current network
...
...
src/misc/vec/vecPtr.h
View file @
f7caf84f
...
...
@@ -781,6 +781,28 @@ static inline void Vec_PtrReverseOrder( Vec_Ptr_t * p )
/**Function*************************************************************
Synopsis [Checks if two vectors are equal.]
Description []
SideEffects []
SeeAlso []
***********************************************************************/
static
inline
int
Vec_PtrEqual
(
Vec_Ptr_t
*
p1
,
Vec_Ptr_t
*
p2
)
{
int
i
;
if
(
p1
->
nSize
!=
p2
->
nSize
)
return
0
;
for
(
i
=
0
;
i
<
p1
->
nSize
;
i
++
)
if
(
p1
->
pArray
[
i
]
!=
p2
->
pArray
[
i
]
)
return
0
;
return
1
;
}
/**Function*************************************************************
Synopsis [Comparison procedure for two integers.]
Description []
...
...
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