mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-09-07 03:21:20 +02:00
file to generate a mask of all the types called out in the section as being used for parasitic calculations (resistive and capacitive) and device terminal types. This is supplemented with a list of all types that are specified in the "connect" and "contact" sections as connecting to something other than themselves. All remaining types are considered non-electrical and removed from the list of types that can be considered electrical nodes. This works a bit better than the existing method of using "resist <types> None" to specify non-electrical types, as it is backwardly-compatible to older tech files. The upshot is that in the worst case, if a type needs to be extracted as an electrical node but does not satisfy any of the above criteria, then it should be added to the "resist" list, with a resistance of 0 if necessary.