Vasil Velichkov | 14ea82d | 2019-08-28 18:46:34 +0000 | [diff] [blame] | 1 | # auto-generated by grc.converter |
| 2 | |
| 3 | id: gsm_burst_sdcch_subslot_splitter |
| 4 | label: Burst SDCCH Subslot Splitter |
| 5 | |
| 6 | parameters: |
| 7 | - id: ports |
| 8 | label: Mode |
| 9 | dtype: enum |
| 10 | options: ['8', '4'] |
| 11 | option_labels: [SDCCH/8, SDCCH/4] |
| 12 | hide: part |
| 13 | |
| 14 | inputs: |
| 15 | - domain: message |
| 16 | id: in |
| 17 | |
| 18 | outputs: |
| 19 | - domain: message |
| 20 | id: out |
| 21 | multiplicity: ${ ports } |
| 22 | optional: true |
| 23 | |
| 24 | templates: |
| 25 | imports: import grgsm |
| 26 | make: |- |
| 27 | grgsm.burst_sdcch_subslot_splitter( |
| 28 | % if int(ports)==4: |
| 29 | grgsm.SPLITTER_SDCCH4 |
| 30 | % else: |
| 31 | grgsm.SPLITTER_SDCCH8 |
| 32 | % endif |
| 33 | ) |
| 34 | |
| 35 | documentation: |- |
| 36 | Burst SDCCH subslot splitter distributes bursts to eight different output ports depending on the subslots to which the bursts belong. |
| 37 | This means subslot 0 bursts are sent to port out0, subslot 1 bursts on port out1, and so on. |
| 38 | |
| 39 | file_format: 1 |