summaryrefslogtreecommitdiff
path: root/gr-digital/grc/digital_ofdm_carrier_allocator_cvc.block.yml
blob: ab260ab9d9e3bfc4405934c000b097ac91a5e079 (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
35
36
37
38
39
40
41
42
43
44
id: digital_ofdm_carrier_allocator_cvc
label: OFDM Carrier Allocator

parameters:
-   id: fft_len
    label: FFT length
    dtype: int
    default: fft_len
    hide: ${ 'part' if vlen == 1 else 'none' }
-   id: occupied_carriers
    label: Occupied Carriers
    dtype: raw
-   id: pilot_carriers
    label: Pilot Carriers
    dtype: raw
    default: ()
-   id: pilot_symbols
    label: Pilot Symbols
    dtype: raw
    default: ()
-   id: sync_words
    label: Sync Words
    dtype: raw
    default: ()
-   id: len_tag_key
    label: Length tag key
    dtype: string
    default: '"packet_len"'

inputs:
-   domain: stream
    dtype: complex

outputs:
-   domain: stream
    dtype: complex
    vlen: ${ fft_len }

templates:
    imports: from gnuradio import digital
    make: digital.ofdm_carrier_allocator_cvc(${fft_len}, ${occupied_carriers}, ${pilot_carriers},
        ${pilot_symbols}, ${sync_words}, ${len_tag_key})

file_format: 1