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
de71e5f6
Commit
de71e5f6
authored
Apr 26, 2021
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Passing node labels.
parent
75981f7f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
src/base/abc/abcObj.c
+1
-0
src/base/abci/abcDar.c
+1
-0
src/base/io/ioWriteVerilog.c
+8
-0
No files found.
src/base/abc/abcObj.c
View file @
de71e5f6
...
...
@@ -393,6 +393,7 @@ Abc_Obj_t * Abc_NtkDupObj( Abc_Ntk_t * pNtkNew, Abc_Obj_t * pObj, int fCopyName
}
else
if
(
Abc_ObjIsLatch
(
pObj
)
)
// copy the reset value
pObjNew
->
pData
=
pObj
->
pData
;
pObjNew
->
fPersist
=
pObj
->
fPersist
;
// transfer HAIG
// pObjNew->pEquiv = pObj->pEquiv;
// remember the new node in the old node
...
...
src/base/abci/abcDar.c
View file @
de71e5f6
...
...
@@ -858,6 +858,7 @@ Abc_Ntk_t * Abc_NtkFromMappedGia( Gia_Man_t * p, int fFindEnables, int fUseBuffs
Gia_LutForEachFanin
(
p
,
i
,
iFan
,
k
)
Abc_ObjAddFanin
(
pObjNew
,
Abc_NtkObj
(
pNtkNew
,
Gia_ObjValue
(
Gia_ManObj
(
p
,
iFan
)))
);
pObjNew
->
pData
=
Abc_ObjHopFromGia
(
(
Hop_Man_t
*
)
pNtkNew
->
pManFunc
,
p
,
i
,
vReflect
);
pObjNew
->
fPersist
=
Gia_ObjLutIsMux
(
p
,
i
);
pObj
->
Value
=
Abc_ObjId
(
pObjNew
);
}
Vec_PtrFree
(
vReflect
);
...
...
src/base/io/ioWriteVerilog.c
View file @
de71e5f6
...
...
@@ -567,6 +567,14 @@ void Io_WriteVerilogObjects( FILE * pFile, Abc_Ntk_t * pNtk, int fOnlyAnds )
Hop_IthVar
((
Hop_Man_t
*
)
pNtk
->
pManFunc
,
k
)
->
pData
=
Extra_UtilStrsav
(
Io_WriteVerilogGetName
(
Abc_ObjName
(
pFanin
)));
// write the formula
Hop_ObjPrintVerilog
(
pFile
,
pFunc
,
vLevels
,
0
,
fOnlyAnds
);
if
(
pObj
->
fPersist
)
{
Abc_Obj_t
*
pFan0
=
Abc_ObjFanin0
(
Abc_ObjFanin
(
pObj
,
0
));
Abc_Obj_t
*
pFan1
=
Abc_ObjFanin0
(
Abc_ObjFanin
(
pObj
,
1
));
int
Cond
=
Abc_ObjIsNode
(
pFan0
)
&&
Abc_ObjIsNode
(
pFan1
)
&&
!
pFan0
->
fPersist
&&
!
pFan1
->
fPersist
;
fprintf
(
pFile
,
"; // MUXF7 %s
\n
"
,
Cond
?
""
:
"to be legalized"
);
}
else
fprintf
(
pFile
,
";
\n
"
);
// clear the input names
Abc_ObjForEachFanin
(
pObj
,
pFanin
,
k
)
...
...
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