Modified the handling of missing pins (again) such that netgen
continues to allow missing pins to match unconnected pins, but *only* on subcircuits below the top level. This essentially forces layouts to separate merged pins with metal resistors, although there should be an option in magic's ext2spice routine that allows "equiv" statements, when declaring equivalence of two ports, to be replaced by a zero volt source or zero ohm ideal resistor.
This commit is contained in:
parent
72ef2f2637
commit
0a0a6bcf63
|
|
@ -7467,6 +7467,12 @@ int MatchPins(struct nlist *tc1, struct nlist *tc2, int dolist)
|
|||
if ((obt == NULL) && (notempty == 1)) {
|
||||
ob2->node = -2; // Will run this through cleanuppins
|
||||
needclean2 = 1;
|
||||
|
||||
/* On the top level, missing pins are an error, even if */
|
||||
/* they appear to match unconnected pins on the other side. */
|
||||
if (CompareQueue == NULL)
|
||||
result = 0;
|
||||
|
||||
#ifdef TCL_NETGEN
|
||||
if (dolist) {
|
||||
Tcl_ListObjAppendElement(netgeninterp, plist1,
|
||||
|
|
|
|||
Loading…
Reference in New Issue