Creating New Components

I’ve been watching this introduction to create a new component from Marcos Alonso but when I try to run transient analysis I keep getting a fatal error.


Ideal_Comparator.qsym (578 Bytes)

Ideal_Comparator.txt (220 Bytes)

You call a .subckt, and the 1st attribute should be the name of your .subckt, and after that you can have parameters…

Change <model> to comparator in this symbol.
Ideal_Comparator.qsym (621 Bytes)

1 Like

Thank you for your help Kelvin! I wasn’t expecting to get a response so quickly.

1 Like