Main Content
Bit Slice
Return field of consecutive bits from input signal
Libraries:
HDL Coder /
Logic and Bit Operations
Description
The Bit Slice block returns a field of consecutive bits from the input
signal. Specify the lower and upper boundaries of the bit field by using zero-based indices in
the LSB Position and MSB Position parameters. For an
input word size WS
, LSB Position and MSB
Position must satisfy these constraints:
WS > MSB Position >= LSB Position >= 0
Ports
Input
Output
Parameters
Extended Capabilities
Version History
Introduced in R2014a