@@ -178,21 +178,25 @@ static t_wireconn_inf parse_wireconn_inline(pugi::xml_node node,
178
178
if (!can_skip_from_to) {
179
179
parse_comma_separated_wire_types (char_prop, wc.from_switchpoint_set );
180
180
}
181
+
181
182
// get to type
182
183
char_prop = get_attribute (node, " to_type" , loc_data, from_to_required).value ();
183
184
if (!can_skip_from_to) {
184
185
parse_comma_separated_wire_types (char_prop, wc.to_switchpoint_set );
185
186
}
187
+
186
188
// get the source wire point
187
189
char_prop = get_attribute (node, " from_switchpoint" , loc_data, from_to_required).value ();
188
190
if (!can_skip_from_to) {
189
191
parse_comma_separated_wire_points (char_prop, wc.from_switchpoint_set );
190
192
}
193
+
191
194
// get the destination wire point
192
195
char_prop = get_attribute (node, " to_switchpoint" , loc_data, from_to_required).value ();
193
196
if (!can_skip_from_to) {
194
197
parse_comma_separated_wire_points (char_prop, wc.to_switchpoint_set );
195
198
}
199
+
196
200
char_prop = get_attribute (node, " from_order" , loc_data, ReqOpt::OPTIONAL).value ();
197
201
parse_switchpoint_order (char_prop, wc.from_switchpoint_order );
198
202
@@ -330,8 +334,9 @@ static void set_switch_func_type(SBSideConnection& conn, const char* func_type)
330
334
if (std::string (func_type).find_first_not_of (" rtlbauRTLBAU" ) != std::string::npos) {
331
335
archfpga_throw (__FILE__, __LINE__, " Unknown direction specified: %s\n " , func_type);
332
336
}
333
- e_side to_side = CHAR_SIDE_MAP.at (func_type[0 ]);
334
- e_side from_side = CHAR_SIDE_MAP.at (func_type[1 ]);
337
+
338
+ e_side from_side = CHAR_SIDE_MAP.at (func_type[0 ]);
339
+ e_side to_side = CHAR_SIDE_MAP.at (func_type[1 ]);
335
340
336
341
// Can't go from side to same side
337
342
if (to_side == from_side) {
0 commit comments