Bit packing

| Vector | C |
в палитре на схеме

The block converts a number in binary form of the specified digit capacity into a decimal integer. For example:

01111111 → 127

In bit numbering, the higher bits have a higher sequence number.

Ports

The number of input scalar or vector ports is set in the block properties. The block is vectorized. The dimensions of all input ports shall be the same. The output port is one with scalar or vector integer signal. The dimension of the output signal is equal to the dimension of the input signals.

Свойства

  • bit_nums - numbers of bits to be recorded - specifies the number of input ports and the order of bits in the number.

Параметры

none