-
Notifications
You must be signed in to change notification settings - Fork 415
Add extended lookahead map #1449
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 all commits
2dc1a34
99d3b94
53f2dd1
c1d21d3
894ec9f
2472366
c254627
b3e6f83
98e56f8
d9d1ed8
aefe2f1
39a5524
392996a
070bb74
98cc4d8
f4b7155
fb214f2
3111500
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@0x876ec83c2fea5a18; | ||
|
||
using Matrix = import "matrix.capnp"; | ||
|
||
struct VprCostEntry { | ||
delay @0 :Float32; | ||
congestion @1 :Float32; | ||
fill @2 :Bool; | ||
} | ||
|
||
struct VprVector2D { | ||
x @0 :Int64; | ||
y @1 :Int64; | ||
} | ||
|
||
struct VprFloatEntry { | ||
value @0 :Float32; | ||
} | ||
|
||
struct VprCostMap { | ||
costMap @0 :Matrix.Matrix((Matrix.Matrix(VprCostEntry))); | ||
offset @1 :Matrix.Matrix(VprVector2D); | ||
depField @2 :List(Int64); | ||
penalty @3 :Matrix.Matrix(VprFloatEntry); | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -161,7 +161,8 @@ struct DeviceContext : public Context { | |
///@brief The indicies of rr nodes of a given type at a specific x,y grid location | ||
t_rr_node_indices rr_node_indices; // [0..NUM_RR_TYPES-1][0..grid.width()-1][0..grid.width()-1][0..size-1] | ||
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. Good to make all the rr-related comments here Doxygen compatiable (e.g. /// on rr_node_indicies) |
||
|
||
std::vector<t_rr_switch_inf> rr_switch_inf; // autogenerated in build_rr_graph based on switch fan-in. [0..(num_rr_switches-1)] | ||
///@brief Autogenerated in build_rr_graph based on switch fan-in. [0..(num_rr_switches-1)] | ||
std::vector<t_rr_switch_inf> rr_switch_inf; | ||
|
||
///@brief Wire segment types in RR graph | ||
std::vector<t_segment_inf> rr_segments; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,8 @@ | |
#include "heap_type.h" | ||
#include "routing_predictor.h" | ||
|
||
extern bool f_router_debug; | ||
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. Needed by your code? I think Mahshad is using it for router breakpoints and is commenting it; if you need it you can comment it. Not sure why it's added here, but as others are going to use it likely OK. 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. I had missed this comment. Usure how to bring it in the lookahead if it gets commented here. I need to see if there is another solution. 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. This may need a new variable then. Adding @MohamedElgammal to comment. If f_router_debug means "stopped at a breakpoint" (we probably need to rename the variable to f_router_breakpoint in that case) then we shouldn't use it to control whether or not we print out additional lookahead info. Should be a different variable then. 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. Please update the comment in route_timing.cpp to explain what this variable does. The comment currently says it is for breakpoints, which is no longer true (which is good news). Explain it is to output extra debugging info. |
||
|
||
int get_max_pins_per_net(); | ||
|
||
bool try_timing_driven_route(const t_router_opts& router_opts, | ||
|
Uh oh!
There was an error while loading. Please reload this page.