mhx
4aed813422
Enabled NUPA's capability to recognize quoted strings.
...
NUPA has an options string ( dico->option that must be set to SPICE-3.
When not, recognized strings are uppercased before being returned.
Facilitated .PARAM to recognize strings in two ways: by sharps #xxx#
and now also by quotes "xxx".
2017-01-07 23:46:44 +01:00
mhx
0e89d94a9c
ALTERPARAM did not insert braces.
...
Allow to enter .param strings as .param #word#. The
.param `word` syntax clashes with backtick as used in control sections.
Formula() can now return a string as a special case (when there is
only one string variable in the expression and no operators).
2017-01-07 01:55:39 +01:00
mhx
1cf2de3d88
BSIM vsn 4.6.5 can now be recognized as either "4.6.5" or "4.65",
...
like all the other BSIM3/4 models.
2017-01-07 01:47:23 +01:00
mhx
011b6cea3f
Enable use of a numeric .param as an integer:
...
.param xxx = 3.1459
echo $%xxx
2017-01-02 18:17:14 +01:00
mhx
b4c2660659
Needed to enable access of .param `xxx` strings.
2017-01-02 16:36:24 +01:00
mhx
0edfbef782
$.xxx can now read strings defined by .param.
...
Fixed the string handling facilities of nupa.
Strings are entered as .param `xxx` (note backquotes).
2017-01-02 16:24:36 +01:00
mhx
9685511e60
Define a TABLE function:
...
.func rval(x) { table(x, x0,y0, x1,y1 ... xn,yn) }
2017-01-01 00:12:06 +01:00
mhx
d6e0607577
Added a trailing type character to nupa's
...
numparm__________xxxxxxxt inserts. With
this, it is now possible to replace not only
the standard {xxxx} with a double, but also
{%xxxx} with an integer and {$xxxx} with
a boolean. Example application: replace
node names with .param equates.
2016-12-31 17:02:06 +01:00
mhx
0c87e6600c
By using '$.parametername' in a control section, it is now possible to access parameters specified with .param.
2016-12-30 13:52:39 +01:00
rlar
4804b7e30b
PTpower
2016-12-21 21:30:33 +01:00
rlar
943dc02ef9
fix code to fit the derivation
2016-12-21 21:30:25 +01:00
rlar
f314e8cf72
fix derivations in comments
2016-12-21 21:25:22 +01:00
rlar
420b411699
rename, a,b and define
2016-12-21 20:58:25 +01:00
h_vogt
8781c52213
inpcom.c, command gnuplot: no lower case in xlabel, ylabel, title
2016-12-13 23:15:42 +01:00
h_vogt
0b258414a4
grid.c, small correction to location of right border of graph
2016-12-03 22:49:05 +01:00
h_vogt
bdf16105ab
command.c, inpcom.c, add command 'setcf': like command 'set',
...
but keeping upper or lower case of subsequent characters
2016-12-03 00:45:17 +01:00
h_vogt
8621ded52c
grid.c, windisp.c, vertical text for postscript and WINGUI
...
Arial as standard font for WINGUI
2016-12-03 00:23:23 +01:00
rlar
f4470dc8a0
experimental, drop IF_REDUNDANT
...
Use the .id fields of neighbouring entries to recognise REDUNDANT'cy
Thus IOPR and OPR are no longer needed.
2016-12-01 19:20:08 +01:00
dwarning
936a672a60
use IOPR macro for vth0/vtho in bsim models
2016-11-30 22:06:47 +01:00
h_vogt
843058b366
add rotation angle to text output, currently used only by postscript,
...
ignored by all others
2016-11-29 00:18:23 +01:00
h_vogt
45df480d15
grid.c, adding a 'poor man's' title to the postscript output
2016-11-26 18:01:48 +01:00
h_vogt
fbc9ea6ca6
postsc.c, enable postscript output for extended ascii.
...
Currently only Western European latin-1 (ISO/IEC 8859-1) encoding
is supported.
2016-11-26 16:36:48 +01:00
h_vogt
2f486020be
lexical.c, undo part of commit 360d1d7 ("Do not set Bit 8 in an ANSI char)
2016-11-23 18:37:34 +01:00
rlar
57dc441699
fix commit "subckt.c, introduce translate_node_name()"
2016-11-22 18:19:27 +01:00
h_vogt
360d1d7985
Do not set Bit 8 in an ANSI char, when \ or ^ occured in a string.
...
Thus the full ANSI set is now available in ngspice strings.
The setting of Bit 8 was not exploitet anywhere, but did not allow
using the characters from extended ANSI.
2016-11-21 22:49:02 +01:00
rlar
237406fb02
subckt.c, translate(), #8/8 whitespace and comments
2016-11-20 20:33:21 +01:00
rlar
17fa3a5120
subckt.c, translate(), #7/8 cleanup
2016-11-20 20:33:21 +01:00
rlar
ea58e30e91
subckt.c, translate(), #6/8 cleanup
2016-11-20 20:33:20 +01:00
rlar
2a0df8354b
subckt.c, translate(), #4/8 trailing 's' is never used
2016-11-20 20:33:17 +01:00
rlar
8563e0e8af
subckt.c, translate(), #5/8 don't append trailing whitespace
2016-11-20 20:33:16 +01:00
rlar
effa37e944
subckt.c, translate(), #3/8 simplify
2016-11-20 20:20:42 +01:00
rlar
c8413a1947
subckt.c, translate(), #2/8 cleanup
2016-11-20 20:20:33 +01:00
rlar
0d91be3916
subckt.c, translate(), #1/8 cleanup
2016-11-20 20:20:22 +01:00
rlar
bd46195d43
subckt.c, introduce translate_mod_name()
2016-11-19 14:01:00 +01:00
rlar
83943e7cd6
subckt.c, introduce translate_inst_name()
...
to abstract the instance name translation during netlist flattening
2016-11-19 14:01:00 +01:00
rlar
c0bfb9ca1b
subckt.c, introduce translate_node_name()
2016-11-19 14:00:59 +01:00
rlar
4dbffc9991
subckt.c, emphasize instance_name translation
...
When translating an instance_name in a subcircuit instance 'xfoo'
undconditionally express the exception for 'x' instances, which is:
x42 --> xsub.x42
but for all others the first char (the devtype) is prepended
r42 --> r.xsub.r42
2016-11-19 14:00:59 +01:00
rlar
178b6d074a
subckt.c, translate(), emphasize instance_name translation
2016-11-19 14:00:59 +01:00
rlar
aecf48475e
subckt.c, emphasize token separator insertion
2016-11-19 14:00:59 +01:00
rlar
6bb93b68ac
subckt.c, devmodtranslate(), dupplicate code
2016-11-19 14:00:59 +01:00
rlar
70dca32c2d
undo a bogous hunk from commit "beautify code", Dec 16 2011
2016-11-19 14:00:59 +01:00
rlar
6d774d99b3
subckt.c, devmodtranslate(), rewrite using bxx_ facility
2016-11-19 14:00:59 +01:00
rlar
b633362973
subckt.c, translate(), rewrite using bxx facility
2016-11-19 14:00:58 +01:00
rlar
78c611aa64
subckt.c, finishLine(), #6/6 unconditionally transform instance name in i() expression
2016-11-19 13:59:38 +01:00
rlar
30e515cc4d
subckt.c, finishLine(), #5/6 move code up into if() body
2016-11-19 13:59:24 +01:00
rlar
e54cc664da
subckt.c, finishLine(), #4/6 drop condition which is always true
2016-11-19 13:59:15 +01:00
rlar
f9e86cf1ee
subckt.c, finishLine(), #3/6 drop condition which is always false
2016-11-19 13:59:05 +01:00
rlar
8b6a28789b
subckt.c, finishLine(), #2/6 duplicate code into if/else body
2016-11-19 13:58:55 +01:00
rlar
3a79933d9c
subckt.c, finishline(), #1/6 minor cleanup
2016-11-19 13:58:41 +01:00
rlar
2852776482
subckt.c, cleanup while() loop
2016-11-19 10:35:31 +01:00