mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-22 14:17:43 +02:00
Corrected a few errors in the implementation of "csubcircuit",
now fully tested and verified.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user