Page 1 of 1

value of a veriable during simulation

Posted: Wed Apr 28, 2010 8:17 pm
by ncc1502
In the veriable window the value of a variable is displayed in decimal and hexadecimal. Is it possible to show the value in binari as well?

If you input or output a value from/to a port you can see immediately at the binary value of the variable in the watch what inputs/outputs are active high or low.

Re: value of a veriable during simulation

Posted: Mon Jun 07, 2010 4:40 pm
by Benj
Hello,

Nice suggestion, Ill add it to the list.

As far as Im aware all values in the variables window are always in hexadecimal.

Hexadecimal is quite easy to convert into binary on the fly. Basically each digit in a hex number represents 4 bits.

eg 0x3F

the 3 represents 0 0 1 1

and the F represents 1 1 1 1

so 0x3F = 00111111

Re: value of a veriable during simulation

Posted: Sat Oct 23, 2010 11:45 am
by Frank123
With space between 4 bit.
1010 1101 is readable than 10101101.