From ee796ff3698e3053f6fc9f10182accf448ffdc65 Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Fri, 23 Jan 2026 13:12:41 +0100 Subject: [PATCH] spice netlist: when m=1 (device/subckt multiplicity) dont set it in device netlist lines (redundant and in some cases not accepted) --- src/spice.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spice.awk b/src/spice.awk index 6267aecd..724206f3 100755 --- a/src/spice.awk +++ b/src/spice.awk @@ -90,8 +90,8 @@ END{ $1 = "" $0 = ".print " $0 } - gsub(/ [mM] *= *1 *$/,"") # xyce does not like m=# fields (multiplicity) removing m=1 is no an issue anyway } + gsub(/ [mM] *= *1 *$/,"") # removing m=1 is no an issue anyway process() } }