From MAILER-DAEMON Mon Feb 11 00:40:16 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JOROq-00067z-Du for mharc-gnucap-devel@gnu.org; Mon, 11 Feb 2008 00:40:16 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOROo-00067L-23 for gnucap-devel@gnu.org; Mon, 11 Feb 2008 00:40:14 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOROn-000671-4P for gnucap-devel@gnu.org; Mon, 11 Feb 2008 00:40:13 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOROm-00066y-S8; Mon, 11 Feb 2008 00:40:12 -0500 Received: from flint.freeelectron.net ([74.94.229.217] helo=oliver.freeelectron.net) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JOROm-0004mE-IE; Mon, 11 Feb 2008 00:40:12 -0500 Received: from floyd.freeelectron.net ([10.1.10.183] ident=Debian-exim) by oliver.freeelectron.net with esmtp (Exim 4.63) (envelope-from ) id 1JORNg-0002ze-8j; Mon, 11 Feb 2008 00:39:04 -0500 Received: from al by floyd.freeelectron.net with local (Exim 4.69) (envelope-from ) id 1JORPh-0000gB-8w; Mon, 11 Feb 2008 00:41:09 -0500 From: al davis To: gnucap-devel@gnu.org, help-gnucap@gnu.org, info-gnucap@gnu.org User-Agent: KMail/1.9.7 References: <200801301620.13294.cliff@analograils.com> In-Reply-To: <200801301620.13294.cliff@analograils.com> MIME-Version: 1.0 Content-Disposition: inline Date: Mon, 11 Feb 2008 00:41:09 -0500 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200802110041.09230.ad151@freeelectron.net> X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 Cc: Subject: [Gnucap-devel] gnucap development snapshot 2008-01-30 X-BeenThere: gnucap-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for gnucap." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 05:40:14 -0000 There is a new snapshot available ... http://www.gnucap.org/devel/gnucap-2008-02-11.tar.gz Models (optional) have also been updated, only to change a directory name: http://www.gnucap.org/devel/gnucap-2008-02-11-models-bsim.tar.gz http://www.gnucap.org/devel/gnucap-2008-02-11-models-ngspice17.tar.gz http://www.gnucap.org/devel/gnucap-2008-02-11-models-spice3f5.tar.gz Another optional package contains some tools: http://www.gnucap.org/devel/gnucap-2008-02-11-tools.tar.gz This snapshot provides: Parameter expressions. Values and parameters can have expressions: Rc (c vcc) {rload} Re (e 0) {rload/10} ..... Parameter statements can have expressions: .param rload = {v/i} .param v=10 .param i=.001 Note that they are not assignment statements, and in a typical programming language. In this case, rload is 10k If I change a parameter, everything changes to accomodate it. .param i=.002 now rload is 5k This enhancement works with spectre and verilog modes too. Plugins using the spice-wrapper still do not take named parameters, or expressions. As usual, to get started you need only the main package gnucap-2008-02-11.tar.gz . The other "models" packages contain the exact models from the various sources. If you need a jfet, I recommend the one in "spice3f5". If you need a BSIM model, the obvious choice is the "bsim" package, which has all of them. The "ngspice17" package contains a few models not available elsewhere, such as "vbic". The models and tools tarballs differ from the previous shapshot only in the directory name. You don't need to download them again, but you do need to recompile them. If you need other models, let me know. Others, such as Josephson junction, are available, but I have not ported them yet. Porting a Spice model usually requires two files, a "Makefile" and a "wrapper.h", and no other changes. From MAILER-DAEMON Mon Feb 11 00:40:37 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JORPB-0006Iu-Bz for mharc-gnucap-devel@gnu.org; Mon, 11 Feb 2008 00:40:37 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JORP8-0006HU-Ra for gnucap-devel@gnu.org; Mon, 11 Feb 2008 00:40:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JORP7-0006Gw-I0 for gnucap-devel@gnu.org; Mon, 11 Feb 2008 00:40:33 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JORP7-0006Gn-3l; Mon, 11 Feb 2008 00:40:33 -0500 Received: from flint.freeelectron.net ([74.94.229.217] helo=oliver.freeelectron.net) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JORP6-0004qI-OG; Mon, 11 Feb 2008 00:40:32 -0500 Received: from floyd.freeelectron.net ([10.1.10.183] ident=Debian-exim) by oliver.freeelectron.net with esmtp (Exim 4.63) (envelope-from ) id 1JORO5-0002zp-Iv; Mon, 11 Feb 2008 00:39:29 -0500 Received: from al by floyd.freeelectron.net with local (Exim 4.69) (envelope-from ) id 1JORQ6-0000gb-Iz; Mon, 11 Feb 2008 00:41:34 -0500 From: al davis To: gnucap-devel@gnu.org, help-gnucap@gnu.org, info-gnucap@gnu.org User-Agent: KMail/1.9.7 References: <200801301620.13294.cliff@analograils.com> In-Reply-To: <200801301620.13294.cliff@analograils.com> MIME-Version: 1.0 Content-Disposition: inline Date: Mon, 11 Feb 2008 00:41:34 -0500 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200802110041.34543.ad151@freeelectron.net> X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 Cc: Subject: [Gnucap-devel] gnucap development snapshot 2008-02-11 X-BeenThere: gnucap-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for gnucap." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 05:40:35 -0000 There is a new snapshot available ... http://www.gnucap.org/devel/gnucap-2008-02-11.tar.gz Models (optional) have also been updated, only to change a directory name: http://www.gnucap.org/devel/gnucap-2008-02-11-models-bsim.tar.gz http://www.gnucap.org/devel/gnucap-2008-02-11-models-ngspice17.tar.gz http://www.gnucap.org/devel/gnucap-2008-02-11-models-spice3f5.tar.gz Another optional package contains some tools: http://www.gnucap.org/devel/gnucap-2008-02-11-tools.tar.gz This snapshot provides: Parameter expressions. Values and parameters can have expressions: Rc (c vcc) {rload} Re (e 0) {rload/10} ..... Parameter statements can have expressions: .param rload = {v/i} .param v=10 .param i=.001 Note that they are not assignment statements, and in a typical programming language. In this case, rload is 10k If I change a parameter, everything changes to accomodate it. .param i=.002 now rload is 5k This enhancement works with spectre and verilog modes too. Plugins using the spice-wrapper still do not take named parameters, or expressions. As usual, to get started you need only the main package gnucap-2008-02-11.tar.gz . The other "models" packages contain the exact models from the various sources. If you need a jfet, I recommend the one in "spice3f5". If you need a BSIM model, the obvious choice is the "bsim" package, which has all of them. The "ngspice17" package contains a few models not available elsewhere, such as "vbic". The models and tools tarballs differ from the previous shapshot only in the directory name. You don't need to download them again, but you do need to recompile them. If you need other models, let me know. Others, such as Josephson junction, are available, but I have not ported them yet. Porting a Spice model usually requires two files, a "Makefile" and a "wrapper.h", and no other changes. From MAILER-DAEMON Tue Feb 12 08:36:56 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JOvJf-0001fA-Ub for mharc-gnucap-devel@gnu.org; Tue, 12 Feb 2008 08:36:55 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOvJd-0001e1-Rp for gnucap-devel@gnu.org; Tue, 12 Feb 2008 08:36:53 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOvJb-0001d5-VS for gnucap-devel@gnu.org; Tue, 12 Feb 2008 08:36:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOvJb-0001d1-OU for gnucap-devel@gnu.org; Tue, 12 Feb 2008 08:36:51 -0500 Received: from ti-out-0910.google.com ([209.85.142.184]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JOvJb-0005yA-9M for gnucap-devel@gnu.org; Tue, 12 Feb 2008 08:36:51 -0500 Received: by ti-out-0910.google.com with SMTP id a20so431693tia.10 for ; Tue, 12 Feb 2008 05:36:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=SLphhZKH/2Dm0zFi/9DD2nTvVyq3f10Xg3Jdb54+UFI=; b=Szlb2vg7kg2NhS5S3g6F45d70p1+Cv5jCWc6phToJGJ+FMu/hmSlzcGGZYI7SPDcjoLIEZFO4TLY+bqLbOCTSG/rmhKrWDr9NQRnekWfMtsdL7dlP6E09O09VS21IBrvYORsJ12ozijPE88ln3nXB86iPHEcxilh2Hx/eHDiX8g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LaBlZ29qd9Kt+75lwiBr0Izy/yV7IJwkjtWuRo+qRUmkUccYRQ3gGkKzdiQSO/pcWmx9czHOAT7J/KNVCT7uqpTI0uy9Lt9WjOfV6iaKZr5EPWj4y5c3VQ9TfI8/n/wdCpky8rw66DSWiXN1jft1SYov5wpcZGFVSKAfXQDrnQY= Received: by 10.110.46.14 with SMTP id t14mr824001tit.15.1202823407439; Tue, 12 Feb 2008 05:36:47 -0800 (PST) Received: by 10.70.94.5 with HTTP; Tue, 12 Feb 2008 05:36:47 -0800 (PST) Message-ID: <5b9d31e90802120536h169f830cs3fe7d33ed5ce3383@mail.gmail.com> Date: Tue, 12 Feb 2008 13:36:47 +0000 From: "a r" To: help-gnucap@gnu.org, gnucap-devel@gnu.org In-Reply-To: <200802111552.06623.orestes@tsc.upc.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200801301620.13294.cliff@analograils.com> <200802110041.34543.ad151@freeelectron.net> <200802111552.06623.orestes@tsc.upc.edu> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: Subject: [Gnucap-devel] Re: [Help-gnucap] gnucap development snapshot 2008-02-11 X-BeenThere: gnucap-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for gnucap." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2008 13:36:54 -0000 On Feb 11, 2008 2:52 PM, Orestes Mas wrote: > A Dilluns 11 Febrer 2008 06:41, al davis va escriure: > > There is a new snapshot available ... > > > > This snapshot provides: > > > > Parameter expressions. Values and parameters can have > > expressions: > > Rc (c vcc) {rload} > > Re (e 0) {rload/10} > > This is really *very* welcome. Thank you for your effort. ditto. Will gnucap recognize "rload" in the following syntax (in spice mode) as an expression? Rc (c vcc) 'rload' All netlisters I use generate such code (for hspice compatibility). -r. From MAILER-DAEMON Tue Feb 12 11:01:50 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JOxZt-0005Rx-St for mharc-gnucap-devel@gnu.org; Tue, 12 Feb 2008 11:01:49 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOxZs-0005Qy-1i for gnucap-devel@gnu.org; Tue, 12 Feb 2008 11:01:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOxZq-0005Pu-8f for gnucap-devel@gnu.org; Tue, 12 Feb 2008 11:01:47 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOxZq-0005Pn-1D; Tue, 12 Feb 2008 11:01:46 -0500 Received: from flint.freeelectron.net ([74.94.229.217] helo=oliver.freeelectron.net) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JOxZp-0003nn-O9; Tue, 12 Feb 2008 11:01:45 -0500 Received: from floyd.freeelectron.net ([10.1.10.183] ident=Debian-exim) by oliver.freeelectron.net with esmtp (Exim 4.63) (envelope-from ) id 1JOxYk-00040x-JC; Tue, 12 Feb 2008 11:00:38 -0500 Received: from al by floyd.freeelectron.net with local (Exim 4.69) (envelope-from ) id 1JOxas-0005bO-DU; Tue, 12 Feb 2008 11:02:50 -0500 From: al davis To: gnucap-devel@gnu.org, help-gnucap@gnu.org Subject: Re: [Gnucap-devel] Re: [Help-gnucap] gnucap development snapshot 2008-02-11 Date: Tue, 12 Feb 2008 11:02:50 -0500 User-Agent: KMail/1.9.7 References: <200801301620.13294.cliff@analograils.com> <200802111552.06623.orestes@tsc.upc.edu> <5b9d31e90802120536h169f830cs3fe7d33ed5ce3383@mail.gmail.com> In-Reply-To: <5b9d31e90802120536h169f830cs3fe7d33ed5ce3383@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802121102.50282.ad151@freeelectron.net> X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 Cc: X-BeenThere: gnucap-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for gnucap." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2008 16:01:48 -0000 On Tuesday 12 February 2008, a r wrote: > Will gnucap recognize "rload" in the following syntax (in > spice mode) as an expression? > > Rc (c vcc) 'rload' Yes. or "rload" or rload . I just found a bug related to (rload). > All netlisters I use generate such code (for hspice > compatibility). All those Spice variants are so consistent ..??.. From MAILER-DAEMON Tue Feb 19 17:46:41 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JRbEX-0004m7-6e for mharc-gnucap-devel@gnu.org; Tue, 19 Feb 2008 17:46:41 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JRbEW-0004kg-04 for gnucap-devel@gnu.org; Tue, 19 Feb 2008 17:46:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JRbEV-0004jC-92 for gnucap-devel@gnu.org; Tue, 19 Feb 2008 17:46:39 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRbEU-0004hY-7R; Tue, 19 Feb 2008 17:46:38 -0500 Received: from flint.freeelectron.net ([74.94.229.217] helo=oliver.freeelectron.net) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JRbEU-0000k5-4z; Tue, 19 Feb 2008 17:46:38 -0500 Received: from floyd.freeelectron.net ([10.1.10.183] ident=Debian-exim) by oliver.freeelectron.net with esmtp (Exim 4.63) (envelope-from ) id 1JRbDW-00005M-Sn; Tue, 19 Feb 2008 17:45:38 -0500 Received: from al by floyd.freeelectron.net with local (Exim 4.69) (envelope-from ) id 1JRbG0-0006DE-Vo; Tue, 19 Feb 2008 17:48:13 -0500 From: al davis To: help-gnucap@gnu.org, gnucap-devel@gnu.org Date: Tue, 19 Feb 2008 17:48:12 -0500 User-Agent: KMail/1.9.7 References: <5b9d31e90802191314h8a52b03ke6699e4a347ade65@mail.gmail.com> <200802191729.19100.ad151@freeelectron.net> In-Reply-To: <200802191729.19100.ad151@freeelectron.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802191748.12934.ad151@freeelectron.net> X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 Cc: Subject: [Gnucap-devel] Re: [Help-gnucap] "subckt default parameters not supported yet" X-BeenThere: gnucap-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for gnucap." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2008 22:46:40 -0000 On Tuesday 19 February 2008, al davis wrote: > > Or, where is the best place to add it? I may try to add it > > on my own. > > It's coming, just syntax. In lang_spice_in.cc, line 469 .. Replace it with: x->subckt()->params()->parse(cmd);