Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add models? #208

Open
dustinlacewell opened this issue Nov 26, 2023 · 3 comments
Open

How to add models? #208

dustinlacewell opened this issue Nov 26, 2023 · 3 comments

Comments

@dustinlacewell
Copy link

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
Copy link
Author

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

image

@dsharlet
Copy link
Owner

dsharlet commented Dec 3, 2023

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.

@dustinlacewell
Copy link
Author

dustinlacewell commented Dec 5, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants