diff options
Diffstat (limited to 'gr-dtv/grc/dtv_dvbt_map.block.yml')
-rw-r--r-- | gr-dtv/grc/dtv_dvbt_map.block.yml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/gr-dtv/grc/dtv_dvbt_map.block.yml b/gr-dtv/grc/dtv_dvbt_map.block.yml new file mode 100644 index 0000000000..76ffa0400b --- /dev/null +++ b/gr-dtv/grc/dtv_dvbt_map.block.yml @@ -0,0 +1,48 @@ +id: dtv_dvbt_map +label: DVB-T Map + +parameters: +- id: constellation + label: Constellation Type + dtype: enum + options: [qpsk, 16qam, 64qam] + option_labels: [QPSK, 16QAM, 64QAM] + option_attributes: + val: [dtv.MOD_QPSK, dtv.MOD_16QAM, dtv.MOD_64QAM] +- id: hierarchy + label: Hierarchy Type + dtype: enum + options: [nh, alpha1, alpha2, alpha4] + option_labels: [Non Hierarchical, Alpha 1, Alpha 2, Alpha 4] + option_attributes: + val: [dtv.NH, dtv.ALPHA1, dtv.ALPHA2, dtv.ALPHA4] +- id: transmission_mode + label: Transmission Mode + dtype: enum + options: [T2k, T8k] + option_labels: [2K, 8K] + option_attributes: + payload_length: ['1512', '6048'] + val: [dtv.T2k, dtv.T8k] + hide: ${ 'part' if vlen == 1 else 'none' } +- id: gain + label: Gain + dtype: complex + default: '1' + +inputs: +- domain: stream + dtype: byte + vlen: ${ transmission_mode.payload_length } + +outputs: +- domain: stream + dtype: complex + vlen: ${ transmission_mode.payload_length } + +templates: + imports: from gnuradio import dtv + make: dtv.dvbt_map(${transmission_mode.payload_length}, ${constellation.val}, + ${hierarchy.val}, ${transmission_mode.val}, ${gain}) + +file_format: 1 |