[bug]fixup output of tstate and P

This commit is contained in:
BigEd 2010-10-05 18:12:44 +00:00
parent 43f06031b0
commit f439d8fc8d
1 changed files with 2 additions and 3 deletions

View File

@ -179,7 +179,7 @@ function readPstring(){
var result; var result;
result = (isNodeHigh(nodenames['p7'])?'N':'n') + result = (isNodeHigh(nodenames['p7'])?'N':'n') +
(isNodeHigh(nodenames['p6'])?'V':'v') + (isNodeHigh(nodenames['p6'])?'V':'v') +
'-' + '&#8209' + // non-breaking hyphen
(isNodeHigh(nodenames['p3'])?'B':'b') + (isNodeHigh(nodenames['p3'])?'B':'b') +
(isNodeHigh(nodenames['p3'])?'D':'d') + (isNodeHigh(nodenames['p3'])?'D':'d') +
(isNodeHigh(nodenames['p2'])?'I':'i') + (isNodeHigh(nodenames['p2'])?'I':'i') +
@ -214,8 +214,7 @@ function busToString(busname){
if(busname=='p') if(busname=='p')
return readPstring(); return readPstring();
if(busname=='tcstate') if(busname=='tcstate')
return busToHex('clock1') + busToHex('clock2') + return ['clock1','clock2','t2','t3','t4','t5'].map(busToHex).join("");
busToHex('t2') + busToHex('t3') + busToHex('t4') + busToHex('t5');
return busToHex(busname); return busToHex(busname);
} }