From 56424b478146545b2eca16d8d954dbf5593d6027 Mon Sep 17 00:00:00 2001 From: Heinrich Riebler Date: Tue, 22 Nov 2022 15:48:54 +0100 Subject: [PATCH] Fixed missing FPGA for xilinx nodes in regex expression. --- gui/Toolbar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/Toolbar.js b/gui/Toolbar.js index 7d04fad..abbc645 100755 --- a/gui/Toolbar.js +++ b/gui/Toolbar.js @@ -212,7 +212,7 @@ example.Toolbar = Class.extend({ // Pre-process command for "n2fpga.." node id to replace // with "n00.." node names. - var regFPGA = /(n2fpga\d{2}):(acl[01]{1}):(ch[0123]{1})-(n2fpga\d{2}):(acl[01]{1}):(ch[0123]{1})/g; + var regFPGA = /(n2fpga\d{2}):(acl[012]{1}):(ch[0123]{1})-(n2fpga\d{2}):(acl[012]{1}):(ch[0123]{1})/g; var resultFPGA; const mapFPGA = new Map(); @@ -241,7 +241,7 @@ example.Toolbar = Class.extend({ // salloc: SPANK_FPGALINK0=n00:acl0:ch3-n00:acl1:ch3 salloc: SPANK_FPGALINK1=n00:acl0:ch2-n00:acl1:ch2 salloc: SPANK_FPGALINK2=n00:acl0:ch0-n00:acl1:ch0 salloc: SPANK_FPGALINK3=n00:acl0:ch1-n00:acl1:ch1 - var reg = /(n[01]{1}\d{1}):(acl[01]{1}):(ch[0123]{1})-(n[01]{1}\d{1}):(acl[01]{1}):(ch[0123]{1})/g; + var reg = /(n[01]{1}\d{1}):(acl[012]{1}):(ch[0123]{1})-(n[01]{1}\d{1}):(acl[012]{1}):(ch[0123]{1})/g; var result; const mapN = new Map();