kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #44662
Re: eeschema for IC design
-
To:
pepijn de vos <pepijndevos@xxxxxxxxx>, <kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
From:
Tomasz Wlostowski <tomasz.wlostowski@xxxxxxx>
-
Date:
Thu, 15 Oct 2020 15:15:13 +0200
-
Arc-authentication-results:
i=1; mx.microsoft.com 1; spf=pass (sender ip is 188.184.36.50) smtp.rcpttodomain=lists.launchpad.net smtp.mailfrom=cern.ch; dmarc=bestguesspass action=none header.from=cern.ch; dkim=none (message not signed); arc=none
-
Arc-message-signature:
i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=L+qOTlnAqReVS3a/YaO/oBkgEu9qMqMr9eF5ZkLwC1M=; b=ObnrbUnudcAiibUhAXxy47URLez55bqgI/ZGDakzjQPtRxB5xBE+4T02zNorGQcl02nXsOO47HfEQkZxSUD7xIVGfYVztv1au93A7X6QYtsWMbvyQaZ4DPlusNFTEDeDqk5z0r5xlUSDeavmRngppM8Fh5P+0THNuev7Ph7rLT1t6G4nhhI/uz/AO17MgWh2N/Vepz+EJ+vzQxIgywtZ4thrwxYg6qxXygNbXnkpDAj9dn4TEH+rZQRjWqDoYazGto2XaV1ZHCaPyB4Ft17XPeWk7RzuTmy1eMOWgJuCucuthqkjYBLw9UlWDWCVIqaWW6U9ZshGuaRnaCn+nqA7kA==
-
Arc-seal:
i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BJiOiQtPac88YDb4pvmsQdDF42ub/slcCuSXN/Le7VYtLCPe+uw9yFPO5YJ2Hq/eCflu2yNdVjruM+ub72IuQ2lSGzrASu3X0nWh3HvRLCxgyrXbp7XkpWfY3OhsiBDySjedxIyeg/HpZR5GoSLYiX2JI3FqMf0c8TxeC1hNZOa19pfONM+URqhPZUff21IGCYAEV07ID5Vuj56floasTz2xUua4u3abSe2nwHvwG8gxJAhl+KyC8dVcxwdzO4lY9ctzUsZSk3ucD4RfP/7YPwy6c6e0iKzWhg2mVZKDXpgidoRTIPyu5QBwG0S2VFTDn7bnOtkgV+aP6RzIiO0sGQ==
-
In-reply-to:
<CANPfQgvnhX6qH=k2stn0MbkhD5Wr+8SNdFQhmcTaQdLVkursHg@mail.gmail.com>
-
Openpgp:
preference=signencrypt
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
On 14/10/2020 20:00, pepijn de vos wrote:
> Hey all,
>
> I'm a sw dev and recent IC design graduate, who made it his mission to
> improve open source tools for IC designers.
> To this end I've been playing with the recently released Sky130 PDK,
> which is an open source PDK that does not require any annoying NDA's and
> will actually allow sharing IC designs.
>
> I've been looking at eeschema a bit as one of the options to do
> schematic entry and simulation. However, I found that the integration
> with ngspice is very limited at the moment. So I'm interested in making
> this better!
>
> The first problem I ran into is that it can't plot the currents of a
> transistor no matter what you add in terms of spice directives. More
> info:
> https://forum.kicad.info/t/how-can-i-plot-transistor-currents-after-a-simulation/25324/8
> So I have several questions.
> Would this be a good first issue to tackle?
Hi Pepijn,
Sure, go for it - and if you'll find it too hard as a starter, there's a
ton of other issues in the simulator/ngspice integration...
https://gitlab.com/kicad/code/kicad/-/issues?scope=all&utf8=%E2%9C%93&state=opened&label_name[]=ngspice
> I think there are a few ways to go about it, which don't exclude each
> other. One is to extend the logic that adds the currents for voltage
> sources and resistors to also add transistors. Another is to update the
> simulator UI to populate the signal list from the raw file, rather than
> its own idea of which signals were saved, so that you can add custom
> .save statements and plot them.
I would by default tell the simulator to log all node voltages/pin
currents (including transistor pins). Anything else (that is internal
currents, etc.) should be parsed from .save directive (so I'm more in
favor of option 2).
> For example, two other things that would be great to add is a way to
> plot algebraic expressions of different signals,
This looks like a nice feature in the longer term. If you're interested
in developing it, I could offer some (but not much) help due to my
current workload...
Tom
Follow ups
References