Skip to content

Commit ee1c9bd

Browse files
committed
[libs][arch] set fs value before calling process_tileable_device_parameters since it relies on that value
1 parent 855abff commit ee1c9bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/libarchfpga/src/read_xml_arch_file.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2936,11 +2936,11 @@ static void process_device(pugi::xml_node Node, t_arch* arch, t_default_fc_spec&
29362936
vtr::string_fmt("Unknown property %s for switch block type x\n", Prop).c_str());
29372937
}
29382938

2939-
process_tileable_device_parameters(arch, loc_data);
2940-
29412939
ReqOpt custom_switchblock_reqd = BoolToReqOpt(!custom_switch_block);
29422940
arch->Fs = get_attribute(Cur, "fs", loc_data, custom_switchblock_reqd).as_int(3);
29432941

2942+
process_tileable_device_parameters(arch, loc_data);
2943+
29442944
Cur = get_single_child(Node, "default_fc", loc_data, ReqOpt::OPTIONAL);
29452945
if (Cur) {
29462946
arch_def_fc.specified = true;

0 commit comments

Comments
 (0)