Technical data
ASTi ACE Studio Components Reference Guide Rev. M DOC-01-TELAS-CRG-4
Copyright © 2014 Advanced Simulation Technology inc. 79
5.2. ByteToBit
Summary: The ByteToBit component provides a mechanism for splitting input
byte into its eight bit values.
Description: The ByteToBit component converts a single input byte into its eight
individual bit values. The ByteToBit component also has a Control Input which
acts as an on/off switch turning the decoding On when True and Off when False.
Control Input
Byte
Type Default Value
uint8 0
Description: A single byte input that can either be hard coded or
dynamically set by a host control or another linked component.
Valid range is from 0-255. If the Control input is set to True, then the
input byte value will be decoded and the Output Bit will be appro-
priately switched to True or False.
Control
Type Default Value
boolean True
Description: The Control input acts as an on/off switch for the Byte-
ToBit component. A value of True enables the decoding of a Byte
into its bits while a value of False disables the decoding and the out-
put bits will default to their initialized state. This control input is
useful in conjunction with the internal Gate0 through Gate7 primi-
tives. The Gate primitives can be used to change the False default
state of Output Bits to default to True. In this situation, one can cre-
ate any combination of initial bit states. Turning Control input to
false effectively returns this component to its default state and con-
sequently the component inputs linked to the Output Bits can be
changed back to their defaults.
Control Input
Gate0thro
ughGate7
Type Default Value
boolean True
Description: The Gate0 through Gate7 control inputs act as either
buffers or inverters to each of their respective Bit Outputs depending
on the state of the value variable. If the value variable in the Gate
input is set to True, then the corresponding Output Bit is reverted. If
the value variable is set to False, then the corresponding Output Bit
will match its state based upon the Input Byte value.
Control Output
Bit0
through
Bit7
Type Default Value
boolean n/a
Description: These are the 8 individual bit outputs that are the result
of the input byte word and the Gate0 through Gate7 primitives. Bit0
is the least significant bit and Bit7 is the most significant bit.










