Dear ngspice team,
I am currently trying to find a command that would allow to achieve an equivalent operation as:
Gxxx n1 n2 TABLE {expression} = (x0, y0) (x1, y1) (x2, y2)
but with no smoothing at all. I currently use the following command which to work with a very reduced smoothing radius:
Gxxx U4 0 GxA 0 1
BGxx GxB 0 v = {V(t)}
Axxx %V(GxB) %V(GxA) mypwl
.model mypwl pwl(x_array=[x0 x1 x2], y_array=[y0 y1 y2],
+input_domain=0.0001 fraction=TRUE limit=TRUE)
Would you have any ideas of a syntax that could avoid any smooting radius?
Best regards,
Hadrien Tournaire
You may set it to
+ input_domain=1e-12
which is the minimum available.
The XSPICE filesource and multi_input_pwl (with one input) may be used. Both lack smoothing.