0
\$\begingroup\$

I have downloaded an scr model file from this website and pasted it in the same folder as that of my .asc file. But ltspice still shows unknown subcircuit called for the scr present. What am I doing wrong and how can I correct it?

\$\endgroup\$
  • 1
    \$\begingroup\$ Are you trying to install a subcircuit or a model? These are two very different things in SPICE. Maybe you should show us the first non-comment line in the file you downloaded. \$\endgroup\$ – Elliot Alderson Jun 12 '19 at 14:47
  • \$\begingroup\$ As @ElliotAlderson says, it looks like you downloaded a model, but used a symbol with the X prefix, which calls for a subcircuit. However, I doubt that it is a model, since SCRs are, usually, subcircuits, so more details are needed. And, pelase, be more clear, the clearer you are, the clearer the solution can be. \$\endgroup\$ – a concerned citizen Jun 12 '19 at 18:25
0
\$\begingroup\$

You need to make a symbol, and link it with the model name AND path.

enter image description here

|improve this answer|||||
\$\endgroup\$
  • \$\begingroup\$ Did you see the image I just added? Right click and select "edit attributes" in the SYMBOL file, not the schematic you're using it in. \$\endgroup\$ – DKNguyen Jun 12 '19 at 14:37
  • \$\begingroup\$ It is still showing the same error \$\endgroup\$ – Himanshu Dubara Jun 12 '19 at 14:44
  • \$\begingroup\$ There is a similar attribute in the schematc you're using it in that may need to be set. It doesn't have a path if I remember right. \$\endgroup\$ – DKNguyen Jun 12 '19 at 14:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.