Sure, no problem. You can see the full file in their pre-compiled zip file here. I found that the tool didn't work on the model I wanted to convert, so I looked further into the examples files they provided to see what exactly it was outputting and it didn't seem all that complicated. I had never seen a 'B' source in SPICE, so I had to go look that one up, but once I saw it's just a generic controlled source, it all made sense. Here's a truncated example subcircuit for the 'pull-up' component of...
I found it particularly interesting that they used nested ternary operators for the look-up table. I would have thought a regular table controlled source would have been better, but then I tried to implement it and found out it just doesn't work (at least not the in simulator I used... I think Tina? I've slept since then...).
Hey Giles, I had seen on the roadmap that supporting IBIS was an open item. In my free time, I've been doing a bit of looking at how IBIS models can be converted to SPICE (looking at how IBIS2SPICE works). It would be great to be able to replace any I/O in a circuit with an IBIS model input impedance or output driver. Combining the XSPICE digital components with IBIS I/Os could make for some very accurate and fast-responding models. Might even be able to model signal integrity for simple transmisison...
Thank you both for the quick responses. I've been learning a great deal about ngspice over the last few months, and I'm glad to see such an active community. I cloned the repo, but haven't had a chance to really look over it yet -- hopefully I will be able to contribute some in the future. I'd really like to see that IBIS capability get integrated :).
Hello, I'm running into an issue with a mixed-signal circuit in which I have an analog clock source (PULSE) feeding into a digital system, and the results are very inconsistent depending on the time step selected. I built this simple example file: * This file is for testing transient plotting of pulse sources VIN A 0 PULSE ( 0 5 0 1p 1p 20u 40u 0) ABRIDGE [A] [D] adc_ideal .model adc_ideal adc_bridge(in_low = 0.5 in_high = 0.5 rise_delay=1e-12 fall_delay=1e-12) .control tran 100u 200u 0 save A D...
Doxygen updates for handler.cpp and initlists.cpp
Minor comment fix to outPut.cpp
Doxygen comment updates for almost all files in...
More Doxygen updates.
Comment fixes, not done yet.
writeShow.cpp and xml.cpp updated for better fi...
Updated comments for showParser.cpp
parseFilter.cpp fix
Updated comments for Doxygen in files tasks.cpp...
Comment additions to gap.cpp and mainOutput.cpp...
Fixed a minor mistake in matchPattern.cpp
Updated comments for Doxygen for matchPattern.c...
Comments updated to please the erythros in epis...
Commented episode.hpp