54
ChipScope Pro Software and Cores User Guide
UG029 (v14.3) October 16, 2012
Chapter 4:
Using the ChipScope Pro Analyzer
Reverse Bus Ordering
To reverse the order of the bits in a bus (that is, to make the LSB the MSB), right-click the
bus and select
Reverse Bus Order
. The signal browser and all data views that contain that
bus are immediately updated and the bus values recalculated.
Bus Radices
Each bus can be displayed in the data views in any one of the following radices:
•
ASCII
•
Binary
•
Hexadecimal
•
Octal
•
Signed decimal
•
Token
•
Unsigned decimal
ASCII is only available if the number of bits in the bus is evenly divisible by 8. Changing
the radix changes the bus radix in every data view in which it appears.
Signed and Unsigned Decimal
It is possible to replace the value of a bus with either a signed or unsigned decimal value
that is modified using the following equations:
Bus Value = (<scale factor> * Data) + <offset>
Precision = <precision>
Whether the selected bus radix is Signed Decimal or Unsigned Decimal, a dialog box
appears, allowing you to specify three parameters:
<scale factor>
,
<offset>
, and
<precision>
.
•
Scale Factor
The first text field that precedes the
*Data
text in the dialog box is a constant scale
factor used to multiply the
Data
value. The default
<scale factor>
value is 10.
•
Offset
The second text field following the "+" text in the dialog box is the constant offset that
is added to the scaled
Data
value.
•
Precision
The third text field in the dialog box is the
<precision>
, which specifies the number of
decimal places after the decimal point. The default
<precision>
value is 0.
For example, if you wanted to display down to 10 decimal places a 16-bit bus that
represents a sine wave which ranges from -0.5 to +1.5, you would set the three parameters
as follows:
<scale factor> = 3.0517578125E-5 (which is the same as 1/215)
<offset> = 0.5
<precision> = 10