GithubHelp home page GithubHelp logo

Comments (4)

vzh avatar vzh commented on June 7, 2024

Not for SPICE, AFAIK. It should work for Icarus Verilog but this is another story. First, please make sure the free SPICE engines such as ngspice or gnucap support such sources. Then creating your symbol for this purpose and sharing it would be the way to make Lepton better :-)

from lepton-eda.

niuniuaba avatar niuniuaba commented on June 7, 2024

Thanks for the advice. I found I can use voltage source symbol by changing refdes to match B source type and then the schematic capture parses it to the netlister correctly. I think we can close this issue.

from lepton-eda.

vzh avatar vzh commented on June 7, 2024

Hi @niuniuaba,
Thank you for your feedback! I would only ask you for sharing your symbol and adding a couple of lines of description for it in order to make our FOSS tool better. Thank you in advance.
(BTW, didn't even imagine Omron engineers use our tools :-) Incidentally, I have several Omron controllers at my current work.)

from lepton-eda.

niuniuaba avatar niuniuaba commented on June 7, 2024

Hi @vzh,

So I mad symbols for behavioral voltage source (bv.sym)
bv.sym.txt
and behavioral current source (bi.sym)
bi.sym.txt
I just made them by a little bit of modification in voltage-3.sym.
for behavioral voltage source:
device=BEHAVIORAL_VOLTAGE_SOURCE
refdes=B?
value=V=expression
for behavioral current source:
device=BEHAVIORAL_CURRENT_SOURCE (for behavioral current source)
refdes=B?
value=I=expression
When I generate the spice netlist for a simple example schematic I got error message reads
"Found unknown component. Refdes = B****"
but anyway the netlist is generated as expected and works for the spice engines I use.
For reference I also attach the code of example schematic and netlist here:
bsource_example.sch.txt
bsource_example.netlist.txt

BTW, we have all those commercial EDA suits but I don't use them. My role is about device modeling and circuit simulation and I prefer something light, fast, and robust and geda (now lepton-eda) is one of my favorite. Actually I have been use this great tool for about 10 years.

And, I really hope you enjoy you time with our controllers.

Best wishes,
Y.J. Liu

from lepton-eda.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.