Corrected the parsing of the "model" command, which was failing to
pass the right cell name to the routine which counts the number of pins. Using this in a setup file will prevent netgen from spending time matching low-level devices.
This commit is contained in:
parent
2d427aef3c
commit
fcee934580
|
|
@ -1595,8 +1595,7 @@ _netgen_model(ClientData clientData,
|
|||
return result;
|
||||
|
||||
if (objc == 3) {
|
||||
model = Tcl_GetString(objv[2]);
|
||||
nports = NumberOfPorts(model, fnum);
|
||||
nports = NumberOfPorts(tp->name, fnum);
|
||||
|
||||
if (Tcl_GetIndexFromObj(interp, objv[2], (CONST84 char **)modelclasses,
|
||||
"class", 0, &index) != TCL_OK) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue