From cd85470bf0afda8d06e4f87674bd805a570cdfe0 Mon Sep 17 00:00:00 2001 From: hadeshyp Date: Mon, 22 Oct 2012 15:00:26 +0000 Subject: [PATCH] *** empty log message *** --- cts/htdocs/thresh/styles.css | 8 ++++---- cts/htdocs/thresh/tdc.htm | 9 ++++++--- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/cts/htdocs/thresh/styles.css b/cts/htdocs/thresh/styles.css index 06aa5f9..bb20999 100644 --- a/cts/htdocs/thresh/styles.css +++ b/cts/htdocs/thresh/styles.css @@ -106,8 +106,8 @@ table#content td.over { /* border-collapse:separate; */ border-right:5px solid #faa; border-left: 5px solid #faa; - width:60px; - padding-right:20px; + width:70px; + padding-right:10px; border-radius:40px 40px; border-spacing:2px; background:#faa; @@ -115,8 +115,8 @@ table#content td.over { table#content td.under { /* border-collapse:separate; */ - width:60px; - padding-right:20px; + width:70px; + padding-right:10px; border-left: 5px solid #afa; border-right:5px solid #afa; border-radius:40px 40px; diff --git a/cts/htdocs/thresh/tdc.htm b/cts/htdocs/thresh/tdc.htm index 3a4b083..dedb08c 100644 --- a/cts/htdocs/thresh/tdc.htm +++ b/cts/htdocs/thresh/tdc.htm @@ -33,12 +33,12 @@ var differences= document.getElementById("form_diff").checked; var showstatus = document.getElementById("form_status").checked; var oldvalues = {}; -var reglist = "80-83-84-85-86-87-88-89-8a-8b-8c-8d-8f-90"; +var reglist = "80-83-84-85-86-87-88-89-8a-8b-8c-8d-8f-90-c0-c2-c3"; var regs = reglist.split('-'); var regnames = new Array("debug
channels
ref input","window bef.
window aft.", "valid trg","valid tmg trg","valid notmg","invalid trg","multi trg", "spurious trg","wrong rdo","spikes","idle time","wait time", - "releases","rdo time"); + "releases","rdo time","basic ctrl","act chan 1","act chan 2"); var updateTask; var updateRegsTask; @@ -102,7 +102,7 @@ function updateregs(data) { o += ""+c[j][0]; } - for(i = 0; i < 14; i++) { + for(i = 0; i < 17; i++) { o += ""+regs[i]+""+regnames[i]; @@ -115,6 +115,9 @@ function updateregs(data) { else if(i==1) { o += (val&0x7FF)+"
"+((val&0x7ff0000)>>16); } + else if(i==16 || i==15 || i==14) { + o += (val*1).toString(16); + } else { o += val; } -- 2.43.0