summaryrefslogtreecommitdiff
path: root/gr-dtv/grc/dtv_catv_trellis_enc_bb.block.yml
blob: 27ff11bfd00d8740d8b951ba33226eb357c31590 (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
28
29
30
31
32
33
34
id: dtv_catv_trellis_enc_bb
label: Trellis Encoder
flags: [ python, cpp ]

parameters:
-   id: constellation
    label: Constellation
    dtype: enum
    options: [CATV_MOD_64QAM, CATV_MOD_256QAM]
    option_labels: [64QAM, 256QAM]
    option_attributes:
        val: [dtv.CATV_MOD_64QAM, dtv.CATV_MOD_256QAM]

inputs:
-   domain: stream
    dtype: byte

outputs:
-   domain: stream
    dtype: byte

templates:
    imports: from gnuradio import dtv
    make: dtv.catv_trellis_enc_bb(${constellation.val})

cpp_templates:
    includes: ['#include <gnuradio/dtv/catv_trellis_enc_bb.h>']
    declarations: 'dtv::catv_trellis_enc_bb::sptr ${id};'
    make: 'dtv::catv_trellis_enc_bb::make(${constellation.val});'
    link: ['gnuradio::gnuradio-dtv']
    translations:
        dtv\.: "dtv::"

file_format: 1