summaryrefslogtreecommitdiff
path: root/gr-blocks/grc/blocks_unpack_k_bits_bb.block.yml
blob: dc1b7e837d1bf3dc256afa92057345879fc15cd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
id: blocks_unpack_k_bits_bb
label: Unpack K Bits
flags: [ python, cpp ]

parameters:
-   id: k
    label: K
    dtype: int

inputs:
-   domain: stream
    dtype: byte

outputs:
-   domain: stream
    dtype: byte

templates:
    imports: from gnuradio import blocks
    make: blocks.unpack_k_bits_bb(${k})

cpp_templates:
    includes: ['#include <gnuradio/blocks/unpack_k_bits_bb.h>']
    declarations: 'blocks::unpack_k_bits_bb::sptr ${id};'
    make: 'this->${id} = blocks::unpack_k_bits_bb::make(${k});'

file_format: 1