[Tool] Patch disable_packing XML syntax to be consistent with VPR upstream
This commit is contained in:
parent
0e16638dc2
commit
2483154c34
|
@ -1963,9 +1963,9 @@ static void ProcessMode(pugi::xml_node Parent, t_mode* mode, const bool timing_e
|
|||
mode->packable = mode->parent_pb_type->parent_mode->packable;
|
||||
}
|
||||
/* Override if user specify */
|
||||
mode->packable = get_attribute(Parent, "packable", loc_data, ReqOpt::OPTIONAL).as_bool(mode->packable);
|
||||
mode->packable = ~get_attribute(Parent, "disable_packing", loc_data, ReqOpt::OPTIONAL).as_bool(~mode->packable);
|
||||
if (false == mode->packable) {
|
||||
VTR_LOG("mode '%s[%s]' is defined by user to be not packable\n",
|
||||
VTR_LOG("mode '%s[%s]' is disabled in packing by user\n",
|
||||
mode->parent_pb_type->name,
|
||||
mode->name);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue