File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -354,8 +354,25 @@ class t_rr_graph_storage {
354
354
vtr::vector<RREdgeId, RRNodeId> edge_dest_node_;
355
355
vtr::vector<RREdgeId, short > edge_switch_;
356
356
357
+ // Has any edges been read?
358
+ //
359
+ // Any method that mutates edge storage will be locked out after this
360
+ // variable is set.
361
+ //
362
+ // Reading any of the following members should set this flag:
363
+ // - edge_src_node_
364
+ // - edge_dest_node_
365
+ // - edge_switch_
357
366
mutable bool edges_read_;
367
+
368
+ // Set after either remap_rr_node_switch_indices or mark_edges_as_rr_switch_ids
369
+ // has been called.
370
+ //
371
+ // remap_rr_node_switch_indices converts indices to arch_switch_inf into
372
+ // indices to rr_switch_inf.
358
373
bool remapped_edges_;
374
+
375
+ // Set after partition_edges has been called.
359
376
bool partitioned_;
360
377
};
361
378
You can’t perform that action at this time.
0 commit comments