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
2e1dcdd2
Commit
2e1dcdd2
authored
Jan 12, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added model ID inside the design.
parent
56cc5734
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
src/base/abc/abc.h
+1
-0
src/base/abc/abcLib.c
+2
-0
No files found.
src/base/abc/abc.h
View file @
2e1dcdd2
...
...
@@ -193,6 +193,7 @@ struct Abc_Ntk_t_
Abc_Lib_t
*
pDesign
;
short
fHieVisited
;
// flag to mark the visited network
short
fHiePath
;
// flag to mark the network on the path
int
Id
;
// model ID
// miscellaneous data members
int
nTravIds
;
// the unique traversal IDs of nodes
Mem_Fixed_t
*
pMmObj
;
// memory manager for objects
...
...
src/base/abc/abcLib.c
View file @
2e1dcdd2
...
...
@@ -174,6 +174,8 @@ int Abc_LibAddModel( Abc_Lib_t * pLib, Abc_Ntk_t * pNtk )
if
(
st_is_member
(
pLib
->
tModules
,
(
char
*
)
pNtk
->
pName
)
)
return
0
;
st_insert
(
pLib
->
tModules
,
(
char
*
)
pNtk
->
pName
,
(
char
*
)
pNtk
);
assert
(
pNtk
->
Id
==
0
);
pNtk
->
Id
=
Vec_PtrSize
(
pLib
->
vModules
);
Vec_PtrPush
(
pLib
->
vModules
,
pNtk
);
pNtk
->
pDesign
=
pLib
;
return
1
;
...
...
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