LiveSPICE icon indicating copy to clipboard operation
LiveSPICE copied to clipboard

How to add models?

Open dustinlacewell opened this issue 2 years ago • 3 comments

Hello, I'm fairly new to all of this and could use some guidance. I'm trying to learn analog synthesis and I need a Inverting Schmitt Trigger. Can anyone advise me how to get such a component into LiveSPICE? 🙏

dustinlacewell avatar Nov 26 '23 18:11 dustinlacewell

I've tried adding a few .lib files from around the internet, but in LiveSPICE they all just show up as this:

image

dustinlacewell avatar Nov 26 '23 19:11 dustinlacewell

LiveSPICE currently only supports importing basic component models. I'm guessing that in this case, the thing you are looking for is a .subckt directive, which isn't supported.

It might be a bug that the thing you are looking for shows up as a diode though, if you share your .lib file, I can take a look at that.

dsharlet avatar Dec 03 '23 07:12 dsharlet

Here is the .lib for the CD40106BE Hex Inverting Schmitt Trigger:

https://gist.github.com/dustinlacewell/191a8329ea86771def321daa4b340b86

Sadly, I do see ".subckt" in the file. I wonder if it would be difficult for me to contribute an ideal schmitt trigger to the project. I am trying to use LiveSPICE to accompany my adventure into DIY modular synthesis.

dustinlacewell avatar Dec 05 '23 11:12 dustinlacewell