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
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
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
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
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
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
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 :
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
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 :
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:
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 :
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
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
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
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:
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:
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
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
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
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 :
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
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 :
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:
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
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
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 :
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
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
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
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
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 :
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 :
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:
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.
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
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
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
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 :
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
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
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 :
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
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 :
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
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
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
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:
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
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
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
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
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
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
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
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:
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
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
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
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
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
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 :
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 :
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:
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
: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
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
66 matches
Mail list logo