File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
vpr/src/route/rr_graph_generation Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1111#include " rr_graph_type.h"
1212#include " clb2clb_directs.h"
1313
14- /* Warnings about the routing graph that can be returned.
15- * This is to avoid output messages during a value sweep */
14+ /* * @brief Warnings about the routing graph that can be returned.
15+ * This is to avoid output messages during a value sweep.
16+ * @note This enum is used as a bitmask and should be one-hot encoded.
17+ */
1618enum {
1719 RR_GRAPH_NO_WARN = 0x00 ,
18- RR_GRAPH_WARN_FC_CLIPPED = 0x01 ,
19- RR_GRAPH_WARN_CHAN_X_WIDTH_CHANGED = 0x02 ,
20- RR_GRAPH_WARN_CHAN_Y_WIDTH_CHANGED = 0x04
20+ RR_GRAPH_WARN_FC_CLIPPED = 0x01 << 0 ,
21+ RR_GRAPH_WARN_CHAN_X_WIDTH_CHANGED = 0x01 << 1 ,
22+ RR_GRAPH_WARN_CHAN_Y_WIDTH_CHANGED = 0x01 << 2
2123};
2224
2325void create_rr_graph (e_graph_type graph_type,
You can’t perform that action at this time.
0 commit comments