mirror of
https://github.com/StefanSchippers/xschem.git
synced 2026-09-07 12:31:05 +02:00
fixed typo in spice.awk
This commit is contained in:
@@ -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])
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user