-
Notifications
You must be signed in to change notification settings - Fork 419
Added Optional Attribute to RRGraph #2378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 19 commits
a856f03
26b7338
5c5530d
7560061
e0117a6
75bf299
2759730
9242453
05b8e9c
80c7709
d84ba30
65df4af
af2df00
5f83ea4
63d8585
35353e0
4102820
bc5057b
5691cbc
3920086
b143422
b479b21
d8b234b
ef304b6
ed36ab2
e853ae3
3e16a0f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -164,6 +164,11 @@ class RRGraphView { | |
inline short node_layer(RRNodeId node) const { | ||
return node_storage_.node_layer(node); | ||
} | ||
|
||
/** @brief Get the ptc number twist of a routing resource node. This function is inlined for runtime optimization. */ | ||
saaramahmoudi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
inline short node_ptc_twist(RRNodeId node) const{ | ||
return node_storage_.node_ptc_twist(node); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Check if not allocated; return 0 if not. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also comment that it will return 0 for non-tilable architectures. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't this check that the storage is allocated and error out if it isn't? (Seems important since we don't always allocate it). |
||
} | ||
|
||
/** @brief Get the first out coming edge of resource node. This function is inlined for runtime optimization. */ | ||
inline RREdgeId node_first_edge(RRNodeId node) const { | ||
|
Uh oh!
There was an error while loading. Please reload this page.