@@ -29,18 +29,22 @@ enum class e_rr_type : unsigned char {
2929 OPIN, // /<Output pin of a block
3030 CHANX, // /<x-directed routing wire, or an x-directed segment of a channel for global routing
3131 CHANY, // /<y-directed routing wire, or a y-directed segment of a channel for global routing
32+ CHANZ, // /<z-directed routing wire
3233 NUM_RR_TYPES
3334};
3435
3536// / Used to iterate for different e_rr_type values in range-based for loops.
36- constexpr std::array<e_rr_type, (size_t )e_rr_type::NUM_RR_TYPES> RR_TYPES = {{e_rr_type::SOURCE, e_rr_type::SINK, e_rr_type::IPIN,
37- e_rr_type::OPIN, e_rr_type::CHANX, e_rr_type::CHANY}};
37+ constexpr std::array<e_rr_type, (size_t )e_rr_type::NUM_RR_TYPES> RR_TYPES = {{e_rr_type::SOURCE, e_rr_type::SINK,
38+ e_rr_type::IPIN,e_rr_type::OPIN,
39+ e_rr_type::CHANX, e_rr_type::CHANY, e_rr_type::CHANZ}};
3840
3941/* *
4042 * @brief Lookup for the string representation of the given node type. This is useful
4143 * for logging the type of an RR node.
4244 */
43- constexpr vtr::array<e_rr_type, const char *, (size_t )e_rr_type::NUM_RR_TYPES> rr_node_typename {" SOURCE" , " SINK" , " IPIN" , " OPIN" , " CHANX" , " CHANY" };
45+ constexpr vtr::array<e_rr_type, const char *, (size_t )e_rr_type::NUM_RR_TYPES> rr_node_typename {" SOURCE" , " SINK" ,
46+ " IPIN" , " OPIN" ,
47+ " CHANX" , " CHANY" , " CHANZ" };
4448
4549/* *
4650 * @enum Direction
0 commit comments