Updated 2019 02 01 (markdown)

Matthias Köfferlein 2019-02-02 01:59:05 +01:00
parent ff4e931f3e
commit 71e86fd7fa
1 changed files with 1 additions and 2 deletions

@ -15,10 +15,9 @@ class MySPICEWriterDelegate < RBA::NetlistSpiceWriterDelegate
def write_device_intro(cls)
# this method will be called for every device class
if cls.name == "NMOS" || cls.name == "PMOS"
emit_line(".SUBCKT " + cls.name)
emit_line(".SUBCKT s d g b " + cls.name)
# ... provide definitions for equivalent circuit
emit_line(".ENDS")
emit_line("*** Put any model declarations here ***")
end
end