Technical data

DOC-01-TELAS-CRG-4 ASTi ACE Studio Components Reference Guide Rev.M
82 Copyright © 2014 Advanced Simulation Technology inc.
5.4. Byte Splitter
Summary: The Byte Splitter decomposes an input value into byte-sized chunks,
allowing for datatype conversion at either end.
Description: An integral or float type input is accepted into the Byte Splitter, the
user can select the specific input type. If an integral type is selected the component
will only use the value from the InInt port. If a float type is selected the component
will only use the value from the InFloat port. The unused value in either case will
be set to 0.
InInt and InFloat are constrained to being represented as uint64 and float64
respectively. Depending on the actual datatype being input into the component (e.g.
int64 linked to the uint64) the ‘result’ column value might be misrepresented.
Although this might cause some confusion the user should rest assured that
internally the component is aware of the actual representation of the input data (as
specified by the InputType selector).
Examples*
* using IEEE floating point standard
Output: 257
(uint32)
01000000
01110000
00010000
00000000
00000000
00000000
00000000
00000000
Byte Splitter
Out0
Input Type = FLOAT_64
Endianness = Big
Output Type = UINT_32
Input: 257
(float64)
00000000
Byte Splitter
0
0
00000000
00000001
1
1
00000001
01000010
00101000
00000000
00000000
Input: 42
(float32)
Out1
Out2
Out3
Output: 42
(float64)
Out0
Input Type = FLOAT_32
Endianness = Big
01000000
64
69
01000101
00000000
0
0
00000000
Out1
Out2
Out3
Out4
00000000
0
0
00000000
00000000
0
0
00000000
Out5
Out6
Out7
Output Type = FLOAT_64