From 43f6dc03a4b002d7aa92b6c6915b830c75f2bfa8 Mon Sep 17 00:00:00 2001 From: Stefan Frederik Date: Sun, 20 Dec 2020 12:46:00 +0100 Subject: [PATCH] fixed typo in spice.awk --- src/flatten_savenodes.awk | 3 ++- src/spice.awk | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flatten_savenodes.awk b/src/flatten_savenodes.awk index c9f42d5b..488a8f61 100755 --- a/src/flatten_savenodes.awk +++ b/src/flatten_savenodes.awk @@ -21,7 +21,8 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # -# flatten .SAVE netlist lines +# flatten .SAVE netlist lines transforming 'spice_probe.sym' saved nodes into +# hierarchical nodes .save v(A) --> .save(.x1.x2.A) BEGIN{ # topcell=toupper(ARGV[2]) diff --git a/src/spice.awk b/src/spice.awk index 260295f8..18e4a9f4 100755 --- a/src/spice.awk +++ b/src/spice.awk @@ -242,7 +242,6 @@ function process( i, iprefix) num1=split($4,name,",") num2=split($7,name2,",") -d num = num1>num2? num1: num2 for(i=1;i<=num;i++) { print $1 " " $2 " " name[(i-1)%num1+1] " , " name2[(i-1)%num2+1] " " $8