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.
value of a veriable during simulation
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: value of a veriable during simulation
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
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
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 36
- Joined: Fri Jan 15, 2010 5:17 pm
- Location: Saint-Nazaire - France
- Has thanked: 1 time
- Contact:
Re: value of a veriable during simulation
With space between 4 bit.
1010 1101 is readable than 10101101.
1010 1101 is readable than 10101101.
Frank
Electronics teacher
Electronics teacher