Corrected the "property parallel none" command option so that it

gets applied properly to all existing cells (as well as all
future cells, but normally the former is applicable in a setup
file for LVS).
This commit is contained in:
Tim Edwards
2017-06-19 22:22:08 -04:00
parent 70bb33cc62
commit 78779ce2e9
3 changed files with 33 additions and 2 deletions
+6 -2
View File
@@ -3228,10 +3228,14 @@ _netcmp_property(ClientData clientData,
return TCL_OK;
}
else if ((objc == 3) && (!strcmp(Tcl_GetString(objv[1]), "parallel"))) {
if (!strcmp(Tcl_GetString(objv[2]), "none"))
if (!strcmp(Tcl_GetString(objv[2]), "none")) {
GlobalParallelNone = TRUE;
else if (!strcmp(Tcl_GetString(objv[2]), "all"))
SetParallelCombine(FALSE);
}
else if (!strcmp(Tcl_GetString(objv[2]), "all")) {
GlobalParallelNone = FALSE;
SetParallelCombine(TRUE);
}
else {
Tcl_SetResult(interp, "Bad option, should be property parallel none|all",
NONE);