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
ce3843ec
Commit
ce3843ec
authored
May 02, 2023
by
MyskYko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix enum
parent
13b0d171
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
src/aig/gia/giaTransduction.h
+10
-10
No files found.
src/aig/gia/giaTransduction.h
View file @
ce3843ec
...
@@ -593,10 +593,10 @@ private: // CSPF
...
@@ -593,10 +593,10 @@ private: // CSPF
std
::
cout
<<
" (block "
<<
block
<<
")"
;
std
::
cout
<<
" (block "
<<
block
<<
")"
;
std
::
cout
<<
std
::
endl
;
std
::
cout
<<
std
::
endl
;
}
}
if
(
state
!=
PfState
::
cspf
)
if
(
state
!=
cspf
)
for
(
std
::
list
<
int
>::
iterator
it
=
vObjs
.
begin
();
it
!=
vObjs
.
end
();
it
++
)
for
(
std
::
list
<
int
>::
iterator
it
=
vObjs
.
begin
();
it
!=
vObjs
.
end
();
it
++
)
vPfUpdates
[
*
it
]
=
true
;
vPfUpdates
[
*
it
]
=
true
;
state
=
PfState
::
cspf
;
state
=
cspf
;
int
count
=
0
;
int
count
=
0
;
for
(
std
::
list
<
int
>::
reverse_iterator
it
=
vObjs
.
rbegin
();
it
!=
vObjs
.
rend
();)
{
for
(
std
::
list
<
int
>::
reverse_iterator
it
=
vObjs
.
rbegin
();
it
!=
vObjs
.
rend
();)
{
if
(
vvFos
[
*
it
].
empty
())
{
if
(
vvFos
[
*
it
].
empty
())
{
...
@@ -688,10 +688,10 @@ private: // MSPF
...
@@ -688,10 +688,10 @@ private: // MSPF
}
}
assert
(
AllFalse
(
vUpdates
));
assert
(
AllFalse
(
vUpdates
));
vFoConeShared
.
resize
(
nObjsAlloc
);
vFoConeShared
.
resize
(
nObjsAlloc
);
if
(
state
!=
PfState
::
mspf
)
if
(
state
!=
mspf
)
for
(
std
::
list
<
int
>::
iterator
it
=
vObjs
.
begin
();
it
!=
vObjs
.
end
();
it
++
)
for
(
std
::
list
<
int
>::
iterator
it
=
vObjs
.
begin
();
it
!=
vObjs
.
end
();
it
++
)
vPfUpdates
[
*
it
]
=
true
;
vPfUpdates
[
*
it
]
=
true
;
state
=
PfState
::
mspf
;
state
=
mspf
;
int
count
=
0
;
int
count
=
0
;
for
(
std
::
list
<
int
>::
reverse_iterator
it
=
vObjs
.
rbegin
();
it
!=
vObjs
.
rend
();)
{
for
(
std
::
list
<
int
>::
reverse_iterator
it
=
vObjs
.
rbegin
();
it
!=
vObjs
.
rend
();)
{
if
(
vvFos
[
*
it
].
empty
())
{
if
(
vvFos
[
*
it
].
empty
())
{
...
@@ -795,7 +795,7 @@ private: // Merge/decompose one
...
@@ -795,7 +795,7 @@ private: // Merge/decompose one
itc
++
;
itc
++
;
count
--
;
count
--
;
}
else
{
}
else
{
assert
(
state
==
PfState
::
none
);
assert
(
state
==
none
);
}
}
}
}
count
+=
Remove
(
i0
,
false
);
count
+=
Remove
(
i0
,
false
);
...
@@ -823,9 +823,9 @@ private: // Merge/decompose one
...
@@ -823,9 +823,9 @@ private: // Merge/decompose one
Connect
(
pos
,
f1
,
false
,
false
,
c1
);
Connect
(
pos
,
f1
,
false
,
false
,
c1
);
Connect
(
pos
,
f0
,
false
,
false
,
c0
);
Connect
(
pos
,
f0
,
false
,
false
,
c0
);
if
(
!
vPfUpdates
[
*
it
])
{
if
(
!
vPfUpdates
[
*
it
])
{
if
(
state
==
PfState
::
cspf
)
if
(
state
==
cspf
)
this
->
Update
(
vGs
[
pos
],
vGs
[
*
it
]);
this
->
Update
(
vGs
[
pos
],
vGs
[
*
it
]);
else
if
(
state
==
PfState
::
mspf
)
{
else
if
(
state
==
mspf
)
{
lit
x
=
this
->
man
->
Const1
();
lit
x
=
this
->
man
->
Const1
();
this
->
IncRef
(
x
);
this
->
IncRef
(
x
);
for
(
unsigned
j
=
0
;
j
<
vvFis
[
*
it
].
size
();
j
++
)
for
(
unsigned
j
=
0
;
j
<
vvFis
[
*
it
].
size
();
j
++
)
...
@@ -1463,7 +1463,7 @@ public: // Constructor
...
@@ -1463,7 +1463,7 @@ public: // Constructor
vPoFs
.
resize
(
vPos
.
size
(),
LitMax
);
vPoFs
.
resize
(
vPos
.
size
(),
LitMax
);
for
(
unsigned
i
=
0
;
i
<
vPos
.
size
();
i
++
)
for
(
unsigned
i
=
0
;
i
<
vPos
.
size
();
i
++
)
this
->
Update
(
vPoFs
[
i
],
LitFi
(
vPos
[
i
],
0
));
this
->
Update
(
vPoFs
[
i
],
LitFi
(
vPos
[
i
],
0
));
state
=
PfState
::
none
;
state
=
none
;
if
(
nPiShuffle
)
if
(
nPiShuffle
)
ShufflePis
(
nPiShuffle
);
ShufflePis
(
nPiShuffle
);
if
(
fLevel
)
if
(
fLevel
)
...
@@ -1531,7 +1531,7 @@ public: // Debug and print
...
@@ -1531,7 +1531,7 @@ public: // Debug and print
this
->
CopyVec
(
vGsOld
,
vGs
);
this
->
CopyVec
(
vGsOld
,
vGs
);
std
::
vector
<
std
::
vector
<
lit
>
>
vvCsOld
;
std
::
vector
<
std
::
vector
<
lit
>
>
vvCsOld
;
this
->
CopyVec
(
vvCsOld
,
vvCs
);
this
->
CopyVec
(
vvCsOld
,
vvCs
);
state
=
PfState
::
none
;
state
=
none
;
Cspf
(
false
);
Cspf
(
false
);
bool
r
=
this
->
LitVecIsEq
(
vGsOld
,
vGs
)
&&
this
->
LitVecIsEq
(
vvCsOld
,
vvCs
);
bool
r
=
this
->
LitVecIsEq
(
vGsOld
,
vGs
)
&&
this
->
LitVecIsEq
(
vvCsOld
,
vvCs
);
this
->
DelVec
(
vGsOld
);
this
->
DelVec
(
vGsOld
);
...
@@ -1543,7 +1543,7 @@ public: // Debug and print
...
@@ -1543,7 +1543,7 @@ public: // Debug and print
this
->
CopyVec
(
vGsOld
,
vGs
);
this
->
CopyVec
(
vGsOld
,
vGs
);
std
::
vector
<
std
::
vector
<
lit
>
>
vvCsOld
;
std
::
vector
<
std
::
vector
<
lit
>
>
vvCsOld
;
this
->
CopyVec
(
vvCsOld
,
vvCs
);
this
->
CopyVec
(
vvCsOld
,
vvCs
);
state
=
PfState
::
none
;
state
=
none
;
Mspf
(
false
);
Mspf
(
false
);
bool
r
=
this
->
LitVecIsEq
(
vGsOld
,
vGs
)
&&
this
->
LitVecIsEq
(
vvCsOld
,
vvCs
);
bool
r
=
this
->
LitVecIsEq
(
vGsOld
,
vGs
)
&&
this
->
LitVecIsEq
(
vvCsOld
,
vvCs
);
this
->
DelVec
(
vGsOld
);
this
->
DelVec
(
vGsOld
);
...
...
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