Re: [Kicad-developers] Stable release 6.0.6

2022-06-12 Thread Holger Vogt
And there is ngspice-37 available. ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

Re: [Kicad-developers] ngspice-36 as ppa in Ubuntu ?

2022-03-25 Thread Holger Vogt
Jean-Samuel, many thanks for your quick response and action! As you have described, there is no need any more for the ngspice ppa. Holger ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net

Re: [Kicad-developers] ngspice-36 as ppa in Ubuntu ?

2022-03-24 Thread Holger Vogt
One comment, if you decide to move on: In the most recent build log for amd64 https://launchpad.net/~js-reynaud/+archive/ubuntu/ngspice/+build/19301577 I have seen the configure statement dh_auto_configure override_dh_auto_configure -- --datarootdir=/usr/share/ngspice-kicad

[Kicad-developers] ngspice-36 as ppa in Ubuntu ?

2022-03-23 Thread Holger Vogt
Ubuntu 20.04 users even with recent KiCad 6.0.4 still have access to ngspice-31 only, which has been the standard ngspice at that time. And there are bug reports which hopefully already have been solved during ngspice development towards ngspice-36. Jean-Samuel, might it be possible to revamp

Re: [Kicad-developers] IBIS / SPICE simulation

2021-09-01 Thread Holger Vogt
Hi Fabien, If you are interested, we should move on with this projet. I would care for the ngspice issues, you might care for the IBIS specs and the parser. Are there 'standard' circuits for driver and receiver? These should be defined as ngspice subcircuits with adequate parameters. The

Re: [Kicad-developers] IBIS / SPICE simulation

2021-08-31 Thread Holger Vogt
To be honest, you are too fast (for me)! May I ask you to correct me or enhance my following summary: Goal is a sort of system simulation, where the system consists of a chip driving a PCB channel, which connects to a receiver chip. To simulate this, I need a simulator with models for the

Re: [Kicad-developers] IBIS / SPICE simulation

2021-08-30 Thread Holger Vogt
What is your IBIS parser supposed to do? ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help :

Re: [Kicad-developers] IBIS / SPICE simulation

2021-08-30 Thread Holger Vogt
Fabian, we may check if IBIS simulation can be integrated into ngspice. Holger ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More

Re: [Kicad-developers] ngspice library version

2021-08-24 Thread Holger Vogt
No new contribution, but just for completeness: https://gitlab.com/kicad/code/kicad/-/issues/8878 https://lists.launchpad.net/kicad-developers/msg45289.html Holger ___ Mailing list: https://launchpad.net/~kicad-developers Post to :

Re: [Kicad-developers] ngspice-35

2021-08-09 Thread Holger Vogt
Hi Jon, this would require a patch in KiCad: The version info is no longer available in a config.h file. It is now defined in sharedspice.h as preprocessor variable NGSPICE_PACKAGE_VERSION. Holger ___ Mailing list:

[Kicad-developers] ngspice-35

2021-08-08 Thread Holger Vogt
ngspice-35 is available. Please see https://sourceforge.net/p/ngspice/ngspice/ci/master/tree/ Holger ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe :

Re: [Kicad-developers] libngspice versioning by libtool

2021-07-31 Thread Holger Vogt
Hello Carsten, there are two thing now open: I have made an update to ngspice in branch pre-master: Now all boolean symbols transferred over the ABI are of true boolean type. So the interfacing from any caller does not need to be changed, your compile should then (hopefully) finish

Re: [Kicad-developers] libngspice versioning by libtool

2021-07-30 Thread Holger Vogt
The current HEAD in branch 5.1. is getting configured successful but is failing while compiling with this error message with then updated packages of libngspice0 and libngspice0-dev: [ 87%] Building CXX object

Re: [Kicad-developers] libngspice versioning by libtool

2021-07-28 Thread Holger Vogt
Pre-built 5.1.10, installed from openSUSE Leap 15.3 Electronics repository, delivered with ngspice-34. I have opened an issue at https://gitlab.com/kicad/code/kicad/-/issues/8878 If this is a non-issue (hopefully) and future 5.1.11 and 5.99 will not have any problems, I would be happy to add

Re: [Kicad-developers] libngspice versioning by libtool

2021-07-27 Thread Holger Vogt
Carsten, it is not about what I should do, but what the KiCad devs should do to allow me adding versioning to shared ngspice. I will add versioning if it is aknowledged by KiCad/Eeschema. Holger ___ Mailing list:

Re: [Kicad-developers] old ngspice in 599 macOS nightly

2021-07-27 Thread Holger Vogt
So what would be the correct action? When I compile ngspice, I get (besides libngspice.so.0.0.0 or libngspice.so.0.0.1) two aliases libngspice.so.0 and libngspice.so. What would be the correct version to link to? ___ Mailing list:

Re: [Kicad-developers] old ngspice in 599 macOS nightly

2021-07-24 Thread Holger Vogt
Carsten, library versioning: not yet. Did some experiments with libtool library versioning. The input 0:1:0 (code change but no api change) created a libngspice.so.0.0.1. My Linux Eeschema (5.1.10 from SUSE Leap 15.3 Electronics repository with ngspice-14) failed immediately because it

Re: [Kicad-developers] old ngspice in 599 macOS nightly

2021-07-22 Thread Holger Vogt
With ngspice-35, there will be to changes concerning the sharedspice.h API header. There is now a preprocessor flag definition added #define NGSPICE_PACKAGE_VERSION "35" All boolean return values are typedefed to 'int'. They always have been of integer type, but defined in an old spice tradtion

Re: [Kicad-developers] old ngspice in 599 macOS nightly

2021-07-22 Thread Holger Vogt
Adam, this is indeed a great idea. The current ngspice master branch is up-to-date. https://sourceforge.net/p/ngspice/ngspice/ci/master/tree/ There is also an (automatically generated) tarball available (see the 'Dowmload Snapshot' button from the git web page). I could also prepare a

Re: [Kicad-developers] old ngspice in 599 macOS nightly

2021-07-22 Thread Holger Vogt
Well so let's wait until ngspice-35 is out (2 weeks?). The config.h bug should be removed. ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe :

[Kicad-developers] old ngspice in 599 macOS nightly

2021-07-21 Thread Holger Vogt
The nightly for macOS from July 20th is delivered with ngspice-31. (https://kicad-downloads.s3.cern.ch/osx/nightly/kicad-unified-20210720-030631-75190370dd.dmg) This ngspice version is fairly outdated, ngspice-34 is the current version (with several improvements in the Eeschema/ngspice

Re: [Kicad-developers] Default netlist

2021-05-11 Thread Holger Vogt
In 5.99: Eeschema -> File -> Export -> Netlist ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help :

Re: [Kicad-developers] Build issue

2021-05-05 Thread Holger Vogt
As an aside, it would be very helpful when typedefing a new value to include a define (like #define HAS_NG_BOOL 1) with it.  That would allow us to test for the new signature when compiling. Done Holger ___ Mailing list:

Re: [Kicad-developers] Build issue

2021-05-05 Thread Holger Vogt
Am 04.05.2021 um 23:32 schrieb Seth Hillbrand: We can adjust our interface to cope with the change to int as an underlying type. That is great. Thus we may avoid any potential problems. However, one concern is that the typedef exists unscoped inside a header file.  The term "BOOL" is

Re: [Kicad-developers] Build issue

2021-05-04 Thread Holger Vogt
The last commit to ngspice master branch is https://sourceforge.net/p/ngspice/ngspice/ci/ded0f79c01079eaa6f4cdbd49292897c73273e23/ ded0f79c0 ("Avoid type 'bool', as ist is a built-in type in C++, not equaling 'int' which ngspice is using.", 2021-03-28) This patch is a reaction to bug report

Re: [Kicad-developers] ngspice-34

2021-04-28 Thread Holger Vogt
Probably by end of June ngspice-35 will be available. ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help :

Re: [Kicad-developers] ngspice-34

2021-04-28 Thread Holger Vogt
config.h for ngspice should not be distributed, because it is a local, OS dependent autogenerated file, and might interfere with other packages. So I did remove it in ngspice-34. Nevertheless KiCad uses it (from its position in /usr/include/ngspice/config.h) to extract compile time version

Re: [Kicad-developers] ngspice-34

2021-03-23 Thread Holger Vogt
The intention is to not at all install config.h. Installing it into ./include was a bug in ngspice-34 which has already been removed in the current ngspice master branch. Perhaps you may make use of this bug by automatically moving config.h from <...>/include/ to <...>/include/ngspice/ when

Re: [Kicad-developers] ngspice-34

2021-03-23 Thread Holger Vogt
Am 23.03.2021 um 00:02 schrieb Mark Roszko: > Does vcpkg support pkg-config? vcpkg can use pkg-config for building its own libraries. However vcpkg will not share it outside of itself, meaning kicad has no ability to use it easily When making ngspice with MSVC, and if building KiCad

Re: [Kicad-developers] ngspice-34

2021-03-23 Thread Holger Vogt
sharedspice.h (the only header to be distributed with ngspice) does contain something like #ifndef NGSPICE_PACKAGE_VERSION #define NGSPICE_PACKAGE_VERSION "34+" #endif in the ngspice git master branch, and available later in ngspice-35. ___ Mailing

Re: [Kicad-developers] ngspice-34

2021-03-23 Thread Holger Vogt
pkg-config is ok on macOS, I had to manually add the path to ngspice.pc in the env variable PKG_CONFIG_PATH. Can we make pkg-config work for MacOS? ___ Mailing list: https://launchpad.net/~kicad-developers Post to :

Re: [Kicad-developers] Fedora rawhide build failure related to ngspice

2021-02-12 Thread Holger Vogt
Steven, the info from Mamuro: Hello: I've pushed ngspice-34-2.fc35 / .fc34 with relevant changes. Regards, Mamoru So please try again. Holger ___ Mailing list: https://launchpad.net/~kicad-developers Post to :

Re: [Kicad-developers] Fedora rawhide build failure related to ngspice

2021-02-11 Thread Holger Vogt
I have sent a message to Mamoru TASAKA and asked him to redo the new ngspice-34 shared library without the ./configure flag --with-readline=yes (readline has never been used in shared ngspice). Holger ___ Mailing list:

Re: [Kicad-developers] Fedora rawhide build failure related to ngspice

2021-02-11 Thread Holger Vogt
This may happen when ngspice is compiled with either --with-readline=yes or --with-editline=yes. Both are no longer viable because a shared library does not use these libs. Both should be avoided, then 'history_file' is gone. I have missed to add another safeguard against this bug.

Re: [Kicad-developers] *** SPAM *** Re: ngspice-34

2021-02-04 Thread Holger Vogt
I prefer adding #define PACKAGE_VERSION "34+" to sharedspice.h. sharespice.h has been and will always be there. In old ngspice releases PACKAGE_VERSION is not defined. But config.h is there, containing its PACKAGE_VERSION. In ngspice-34 unfortunately PACKAGE_VERSION will not be available. But

Re: [Kicad-developers] ngspice-34

2021-02-03 Thread Holger Vogt
I remember some time ago I tried to address the libtool versioning, but I did not understand it, so abandoned it again. What about adding and distributing alongside of sharedspice.h a version header file verngspice.h which contains only some version info? Holger

Re: [Kicad-developers] ngspice-34

2021-02-02 Thread Holger Vogt
To obtain version information of the currently available libngspice-0.so version, you might do the following: load libngspice-0 dynamically initialze libngspice send the command 'version -s' retrieve some text response similar to the following: ** ** ngspice-34 ** Please get your ngspice

Re: [Kicad-developers] ngspice-34

2021-02-02 Thread Holger Vogt
We don't install cmpp and dlmain.c any more. We also don't install the headers any more, except for sharedspice.h. Holger ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe :

[Kicad-developers] ngspice-34

2021-01-30 Thread Holger Vogt
ngspice-34 is available. Some of the recent issues (such as https://gitlab.com/kicad/code/kicad/-/issues/7180) have been fixed. Holger ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net

Re: [Kicad-developers] 5.99.0-7573-ge07848d887 Warning: Missing ngspice shared library Error loading editor Could not create simulator instance

2020-12-16 Thread Holger Vogt
Correction: analog.com and 5 other *.cm files should reside in kicad/lib/ngspice/ ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More

Re: [Kicad-developers] 5.99.0-7573-ge07848d887 Warning: Missing ngspice shared library Error loading editor Could not create simulator instance

2020-12-15 Thread Holger Vogt
After a successful ngspice installation libngspice-0.dll should reside in kicad/bin/ analog.com and 5 other *.cm files should reside in kicad/share/ngspice/ ___ Mailing list: https://launchpad.net/~kicad-developers Post to :

Re: [Kicad-developers] eeschema for IC design

2020-10-25 Thread Holger Vogt
Seems to be a nice mixture of bug sources. @include[current] is probably a pdk bug. Who is naming a current source (first letter has to be i) 'include'? @r1[i] is the ngspice vector name for current through r1. There is no function i(r1) in ngsppice. So you have to read @r1[i] from ngspice and

[Kicad-developers] ngspice-33

2020-10-18 Thread Holger Vogt
ngspice-33 is available. ngspice shared library tested with KiCad on macOS, Linux, MS Windows. ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe :

Re: [Kicad-developers] ngspice-32

2020-06-14 Thread Holger Vogt
Uups, Nick, thanks for the hint. ngspice-doc-32.tar.gz is uploaded now. Holger ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More

Re: [Kicad-developers] ngspice-32

2020-05-15 Thread Holger Vogt
Hi, unfortunately I have to correct myself a little bit. The example share/kicad/demos/simulation/rectifier will not do without a modification. ngspice no longer accepts device instances without calling any model. Even if you select the ngspice default model parameters, you have to add a

Re: [Kicad-developers] ngspice-32

2020-05-15 Thread Holger Vogt
This page should probably be updated as well. http://ngspice.sourceforge.net/download.html Hi Nick, thanks for the hint. Done. Holger ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net

[Kicad-developers] ngspice-32

2020-05-15 Thread Holger Vogt
ngspice-32 is available. I have tested various KiCAD/Eeschema examples (official and private ones). Everything is o.k. so far. Fedora, Debian and Ubuntu already have a build in their recent testing distributions. Holger ___ Mailing list:

Re: [Kicad-developers] macos notarization status

2020-02-03 Thread Holger Vogt
I will have a look at the ngspice issues. I guess that the only files that we really need in the distribution (besides the ngspice dylib) are the codemodel *.cm files. They are also dylibs to be loaded dynamically into ngspice. The commands to load these files (including path information) is

[Kicad-developers] ngspice-31

2019-11-17 Thread Holger Vogt
Dear developers, would you mind distributing ngspice-31 with release 5.1.5? For macOS it is inevitable, to get rid of a seg-fault bug, it is part of the recent packages. For Windows and others this and other bug fixes may help. I have assembled some circuits for testing (including the four

Re: [Kicad-developers] [PATCH] simulation: allow entering signals (spice vectors) by name

2019-11-06 Thread Holger Vogt
If you have just done a single simulation, creating one plot, it will be sufficient to query the current plot by /* return to the caller a pointer to the name of the current plot */ char* ngSpice_CurPlot(void) and then use char** ngSpice_AllVecs(char* plotname) About the 'plot' notion in

Re: [Kicad-developers] [PATCH] simulation: allow entering signals (spice vectors) by name

2019-11-06 Thread Holger Vogt
Before that you need to know the plots you might have generated during simulation: /* return to the caller a pointer to an array of all plots created by ngspice. Last entry in the array is NULL. */ char** ngSpice_AllPlots(void) Am 06.11.2019 um 22:49 schrieb Holger Vogt: You may invoke

Re: [Kicad-developers] [PATCH] simulation: allow entering signals (spice vectors) by name

2019-11-06 Thread Holger Vogt
You may invoke the shared ngspice api function char** ngSpice_AllVecs(char* plotname) /* return to the caller a pointer to an array of vector names in the plot named by plotname. Last entry in the array is NULL. */ It would be nice if there was a way to query ngspice for a list of vectors

Re: [Kicad-developers] Benchmarking kicad compilation on CPUsreleased 6 years apart

2019-11-01 Thread Holger Vogt
Am 30.10.2019 um 18:50 schrieb Adam Wolf: Do we want to switch to this for the next stable release? If so, what is the procedure for making sure it's tested? All my test circuits run well on macOS Catalina 10.15.1 with ngspice-31 and KiCad version (5.1.4-104-g6347baa61), debug build

Re: [Kicad-developers] doing math on plots

2019-11-01 Thread Holger Vogt
Is this supposed to work on macOS as well? I downloaded the ngspice package but the binary fails to run: $ ./ngspice dyld: Library not loaded: /opt/X11/lib/libXaw.7.dylib Referenced from: /Applications/ngspice/bin/./ngspice Reason: image not found Abort trap: 6 Plotting with

Re: [Kicad-developers] Benchmarking kicad compilation on CPUsreleased 6 years apart

2019-11-01 Thread Holger Vogt
Do we want to switch to this for the next stable release? If so, what is the procedure for making sure it's tested? Adam Simulation using ngspice-31 on Windows 10 is o.k. as well the test circuit set ___ Mailing list:

Re: [Kicad-developers] Benchmarking kicad compilation on CPUsreleased 6 years apart

2019-10-31 Thread Holger Vogt
Do we want to switch to this for the next stable release? If so, what is the procedure for making sure it's tested? Adam I have assembled some test circuits. These include the 4 demo circuits delivered by KiCad and some others, simple and more complex ones. You may find them at

Re: [Kicad-developers] Benchmarking kicad compilation on CPUsreleased 6 years apart

2019-10-30 Thread Holger Vogt
Simon, I had a quick look at http://ngspice.sourceforge.net/ngspice-eeschema.html#external , where you still are still using ngspice-28. Would you mind to switch to tag ngspice-31.3? There have been a lot of bug fixes an enhancements, many of them initiated by KiCad users. So it might be

Re: [Kicad-developers] doing math on plots

2019-10-30 Thread Holger Vogt
The current eeschema-ngspice interface is very limited. How would one plot, for example, the difference between two vectors? I tried this in a text box: .save foo=(‘v(/input)-v(/output2)’) .tran 10u 50m but "foo" does not show up in the list of vectors to display in the plot window. Here

Re: [Kicad-developers] .op simulation

2019-10-28 Thread Holger Vogt
However in the meantime you can do a trick (tested on 5.1.4 on Windows): Taking the example from C:\Program Files\KiCad\share\kicad\demos\simulation\pspice\pspice.sch edit the text box in the circuit diagram, so it will read .model Q2N npn (bf=200) *.ac dec 100 10 1Meg .op .control set

Re: [Kicad-developers] .op simulation

2019-10-28 Thread Holger Vogt
I just looked into ngspice manual and it looks that for tables all we need are additional .print lines in netlist (chapter 15.6.2). Regarding probe: I think it should be grayed in case of .op analysis. .print, .plot, and .four are valid only if ngspice is started in batch mode. ngspice

Re: [Kicad-developers] 5.1.5-rc1 released

2019-10-26 Thread Holger Vogt
ngspice-31 for this release? All my tests have been o.k. Holger ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help :

Re: [Kicad-developers] Simulator still crashes

2019-09-30 Thread Holger Vogt
Please see the discussions at https://bugs.launchpad.net/kicad/+bug/1835296 ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help :

[Kicad-developers] Windows testing 5.1: Upgraded builds missing since July 14

2019-07-26 Thread Holger Vogt
There are no upgrades of the builds at https://kicad-downloads.s3.cern.ch/index.html?prefix=windows/testing/5.1/ since July 14. Could please somebody take care to switch this on again? Holger ___ Mailing list:

[Kicad-developers] New package for macOS 5.1.2 stable including ngspice-30 ?

2019-06-09 Thread Holger Vogt
Hi Adam, would you mind creating a new package for macOS 5.1.2 stable replacing the outdated libngspice 26 by the recent libngspice version 30? And then use libngspice 30 also for the nightlies? Nick has done this successfully for Windows. All tests have been o.k.. The users may benefit

Re: [Kicad-developers] ngspice-28 for KiCad

2018-06-12 Thread Holger Vogt
:29 PM, Holger Vogt <mailto:holger.v...@uni-due.de>> wrote: Dear developers, ngspice-28 is available. Please check if this can be part of the new KiCad release. Major advances: ngspice-28 reads device libs with PSPICE syntax (no more manual tweaking of devic

[Kicad-developers] ngspice-28 for KiCad

2018-06-12 Thread Holger Vogt
Dear developers, ngspice-28 is available. Please check if this can be part of the new KiCad release. Major advances: ngspice-28 reads device libs with PSPICE syntax (no more manual tweaking of device vendors' device libraries) All licenses involved are DFSG compatible (no more mixing of