Corrected a few errors in the implementation of "csubcircuit",
now fully tested and verified.
This commit is contained in:
parent
e20319f3c1
commit
fa17436fef
|
|
@ -672,6 +672,7 @@ spcdevHierVisit(hc, dev, scale)
|
|||
/* Drop through to below (no break statement) */
|
||||
|
||||
case DEV_SUBCKT:
|
||||
case DEV_CSUBCKT:
|
||||
|
||||
/* Subcircuit is "Xnnn gate [source [drain [sub]]]" */
|
||||
/* Subcircuit .subckt record must be ordered to match! */
|
||||
|
|
@ -683,7 +684,6 @@ spcdevHierVisit(hc, dev, scale)
|
|||
/* Drop through to below (no break statement) */
|
||||
|
||||
case DEV_RSUBCKT:
|
||||
case DEV_CSUBCKT:
|
||||
/* RC-like subcircuits are exactly like other subcircuits */
|
||||
/* except that the "gate" node is treated as an identifier */
|
||||
/* only and is not output. */
|
||||
|
|
|
|||
|
|
@ -2320,6 +2320,7 @@ spcdevVisit(dev, hierName, scale, trans)
|
|||
/* Drop through to below (no break statement) */
|
||||
|
||||
case DEV_SUBCKT:
|
||||
case DEV_CSUBCKT:
|
||||
|
||||
/* Subcircuit is "Xnnn gate [source [drain [sub]]]" */
|
||||
/* Subcircuit .subckt record must be ordered to match! */
|
||||
|
|
@ -2330,7 +2331,6 @@ spcdevVisit(dev, hierName, scale, trans)
|
|||
/* Drop through to below (no break statement) */
|
||||
|
||||
case DEV_RSUBCKT:
|
||||
case DEV_CSUBCKT:
|
||||
/* RC-like subcircuits are exactly like other subcircuits */
|
||||
/* except that the "gate" node is treated as an identifier */
|
||||
/* only and is not output. */
|
||||
|
|
|
|||
|
|
@ -2181,7 +2181,7 @@ ExtTechLine(sectionName, argc, argv)
|
|||
|
||||
case DEV_RSUBCKT:
|
||||
case DEV_CSUBCKT:
|
||||
nterm = 2;
|
||||
nterm = (dv->k_key == DEV_RSUBCKT) ? 2 : 1;
|
||||
DBTechNoisyNameMask(argv[4], &termtypes[0]); /* terminals */
|
||||
termtypes[1] = DBZeroTypeBits;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue