Vasil Velichkov | 14ea82d | 2019-08-28 18:46:34 +0000 | [diff] [blame] | 1 | # auto-generated by grc.converter |
| 2 | |
| 3 | id: gsm_clock_offset_corrector_tagged |
| 4 | label: Clock Offset Corrector Tagged |
| 5 | |
| 6 | parameters: |
| 7 | - id: fc |
| 8 | label: fc |
| 9 | dtype: raw |
| 10 | default: 936.6e6 |
| 11 | - id: ppm |
| 12 | label: ppm |
| 13 | dtype: raw |
| 14 | default: '0' |
| 15 | - id: samp_rate_in |
| 16 | label: samp_rate_in |
| 17 | dtype: raw |
| 18 | default: 1625000.0/6.0*4.0 |
| 19 | - id: osr |
| 20 | label: OSR |
| 21 | dtype: raw |
| 22 | default: osr |
| 23 | |
| 24 | inputs: |
| 25 | - domain: message |
| 26 | id: ctrl |
| 27 | optional: true |
| 28 | - domain: stream |
| 29 | dtype: complex |
| 30 | vlen: 1 |
| 31 | |
| 32 | outputs: |
| 33 | - domain: stream |
| 34 | dtype: complex |
| 35 | vlen: 1 |
| 36 | |
| 37 | templates: |
| 38 | imports: import grgsm |
| 39 | make: |- |
| 40 | grgsm.clock_offset_corrector_tagged( |
| 41 | fc=${fc}, |
| 42 | samp_rate_in=${samp_rate_in}, |
| 43 | ppm=${ppm}, |
| 44 | osr=${osr} |
| 45 | ) |
| 46 | callbacks: |
| 47 | - set_fc(${fc}) |
| 48 | - set_ppm(${ppm}) |
| 49 | - set_samp_rate_in(${samp_rate_in}) |
| 50 | - set_osr(${osr}) |
| 51 | |
| 52 | documentation: |- |
| 53 | Piotr Krysik |
| 54 | Clock offset corrector with blocks that use tags to switch offsets |
| 55 | |
| 56 | file_format: 1 |