mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-31 10:16:01 +02:00
Implemented a command option "ext2spice short voltage|resistor|none" that
implements a method for handling ports in a subcircuit that have different port names and indexes but are shorted together. "none" is the default and backwards-compatible behavior that merges ports together, which will often cause one of the ports to be optimized out of the netlist. "resistor" will separate the port names with a 0-ohm ideal resistor. "voltage" will separate the port names with a 0-volt voltage source. This should work well for simulation and potentially for LVS, although its impact on LVS has not been fully investigated.
This commit is contained in:
+2
-2
@@ -55,8 +55,8 @@ static char sccsid[] = "@(#)ExtBasic.c 4.13 MAGIC (Berkeley) 12/5/85";
|
||||
|
||||
#ifdef MAGIC_WRAPPER
|
||||
char *extDevTable[] = {"fet", "mosfet", "asymmetric", "bjt", "devres",
|
||||
"devcap", "devcaprev", "diode", "pdiode", "ndiode", "subckt",
|
||||
"rsubckt", "msubckt", "csubckt", NULL};
|
||||
"devcap", "devcaprev", "vsource", "diode", "pdiode", "ndiode",
|
||||
"subckt", "rsubckt", "msubckt", "csubckt", NULL};
|
||||
#endif
|
||||
|
||||
/* --------------------- Data local to this file ---------------------- */
|
||||
|
||||
Reference in New Issue
Block a user