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
6e2e0545
Commit
6e2e0545
authored
Apr 09, 2020
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Debugging a combo loop in NDR.
parent
a2d33837
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/base/wlc/wlcNtk.c
+3
-2
No files found.
src/base/wlc/wlcNtk.c
View file @
6e2e0545
...
@@ -90,10 +90,11 @@ static char * Wlc_Names[WLC_OBJ_NUMBER+1] = {
...
@@ -90,10 +90,11 @@ static char * Wlc_Names[WLC_OBJ_NUMBER+1] = {
"addsub"
,
// 56: adder/subtractor
"addsub"
,
// 56: adder/subtractor
"sel"
,
// 57: selector
"sel"
,
// 57: selector
"dec"
,
// 58: decoder
"dec"
,
// 58: decoder
"LUT"
,
// 59: lookup table
NULL
// 58: unused
NULL
// 58: unused
};
};
char
*
Wlc_ObjTypeName
(
Wlc_Obj_t
*
p
)
{
return
Wlc_Names
[
p
->
Type
]
;
}
char
*
Wlc_ObjTypeName
(
Wlc_Obj_t
*
p
)
{
return
p
?
(
p
->
Type
<
WLC_OBJ_NUMBER
?
Wlc_Names
[
p
->
Type
]
:
"out_of_bound"
)
:
"no_obj"
;
}
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
/// FUNCTION DEFINITIONS ///
/// FUNCTION DEFINITIONS ///
...
@@ -945,8 +946,8 @@ void Wlc_NtkDupDfs_rec( Wlc_Ntk_t * pNew, Wlc_Ntk_t * p, int iObj, Vec_Int_t * v
...
@@ -945,8 +946,8 @@ void Wlc_NtkDupDfs_rec( Wlc_Ntk_t * pNew, Wlc_Ntk_t * p, int iObj, Vec_Int_t * v
return
;
return
;
if
(
Wlc_ObjCopy
(
p
,
iObj
)
)
if
(
Wlc_ObjCopy
(
p
,
iObj
)
)
return
;
return
;
//printf( "Visiting node %d with type %d (%s)\n", iObj, Wlc_NtkObj(p, iObj)->Type, Wlc_NtkObj(p, iObj)->Type < WLC_OBJ_NUMBER ? Wlc_Names[Wlc_NtkObj(p, iObj)->Type] : NULL );
pObj
=
Wlc_NtkObj
(
p
,
iObj
);
pObj
=
Wlc_NtkObj
(
p
,
iObj
);
//printf( "Visiting node %16s (ID %6d) of type %5s (type ID %2d)\n", Wlc_ObjName(p, iObj), iObj, Wlc_ObjTypeName(pObj), Wlc_NtkObj(p, iObj)->Type );
assert
(
pObj
->
Type
!=
WLC_OBJ_FF
);
assert
(
pObj
->
Type
!=
WLC_OBJ_FF
);
Wlc_ObjForEachFanin
(
pObj
,
iFanin
,
i
)
Wlc_ObjForEachFanin
(
pObj
,
iFanin
,
i
)
Wlc_NtkDupDfs_rec
(
pNew
,
p
,
iFanin
,
vFanins
);
Wlc_NtkDupDfs_rec
(
pNew
,
p
,
iFanin
,
vFanins
);
...
...
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