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
629ca032
Commit
629ca032
authored
Jan 27, 2020
by
Eddie Hung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
&sweep and &mfs to preserve nAnd2Delay
parent
afebb180
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
src/aig/gia/giaMfs.c
+1
-0
src/aig/gia/giaSweep.c
+1
-0
No files found.
src/aig/gia/giaMfs.c
View file @
629ca032
...
@@ -470,6 +470,7 @@ Gia_Man_t * Gia_ManInsertMfs( Gia_Man_t * p, Sfm_Ntk_t * pNtk, int fAllBoxes )
...
@@ -470,6 +470,7 @@ Gia_Man_t * Gia_ManInsertMfs( Gia_Man_t * p, Sfm_Ntk_t * pNtk, int fAllBoxes )
// duplicated initial state
// duplicated initial state
if
(
p
->
vRegInits
)
if
(
p
->
vRegInits
)
pNew
->
vRegInits
=
Vec_IntDup
(
p
->
vRegInits
);
pNew
->
vRegInits
=
Vec_IntDup
(
p
->
vRegInits
);
pNew
->
nAnd2Delay
=
p
->
nAnd2Delay
;
// cleanup
// cleanup
Vec_WecFree
(
vGroups
);
Vec_WecFree
(
vGroups
);
...
...
src/aig/gia/giaSweep.c
View file @
629ca032
...
@@ -203,6 +203,7 @@ Gia_Man_t * Gia_ManDupWithBoxes( Gia_Man_t * p, int fSeq )
...
@@ -203,6 +203,7 @@ Gia_Man_t * Gia_ManDupWithBoxes( Gia_Man_t * p, int fSeq )
pNew
->
pAigExtra
=
Gia_ManUpdateExtraAig2
(
p
->
pManTime
,
p
->
pAigExtra
,
vBoxesLeft
);
pNew
->
pAigExtra
=
Gia_ManUpdateExtraAig2
(
p
->
pManTime
,
p
->
pAigExtra
,
vBoxesLeft
);
assert
(
Gia_ManCiNum
(
pNew
)
==
Tim_ManPiNum
((
Tim_Man_t
*
)
pNew
->
pManTime
)
+
Gia_ManCoNum
(
pNew
->
pAigExtra
)
);
assert
(
Gia_ManCiNum
(
pNew
)
==
Tim_ManPiNum
((
Tim_Man_t
*
)
pNew
->
pManTime
)
+
Gia_ManCoNum
(
pNew
->
pAigExtra
)
);
Vec_IntFree
(
vBoxesLeft
);
Vec_IntFree
(
vBoxesLeft
);
pNew
->
nAnd2Delay
=
p
->
nAnd2Delay
;
return
pNew
;
return
pNew
;
}
}
...
...
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