Author Topic: Help Understanding LTSpice Netlist for SCHMITT Device  (Read 3221 times)

0 Members and 1 Guest are viewing this topic.

Offline AzmarithTopic starter

  • Newbie
  • Posts: 8
Help Understanding LTSpice Netlist for SCHMITT Device
« on: April 20, 2024, 11:03:54 am »

I'm not particularly knowledgeable with regards to LTSpice. I only really know the basics. I'm trying to debug a .sub that describes a component. It works for the most part, but some behaviour isn't what it should be.

In order to debug it, I'm trying to recreate the subcircuit from the netlist in the .sub file. For example one of the instances of a SCHMITT is "A1 Ct b8 0 0 0 0 N015 0 SCHMITT vt=0 vh=1m". I'm happy with most of it. The input is pin 1, and is connected to net Ct. However, I can't find the a pin 2 that b8 is supposedly connected to. Am I missing something here?

Offline Kean

  • Supporter
  • ****
  • Posts: 2135
  • Country: au
  • Embedded systems & IT consultant
    • Kean Electronics
Re: Help Understanding LTSpice Netlist for SCHMITT Device
« Reply #1 on: April 21, 2024, 12:48:40 pm »
Discussed here

Both inputs are signal inputs. It's just that the inverting input will be, well, inverted, so do take that into account when setting vh. And it's provided as it is to help people implement comparators with, or without hysteresis. Or simply having a differential input.

Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo