blob: d9fbca8441758dbfb1a1945f3061e0a33ae0a12b (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
id: digital_pfb_clock_sync_xxx
label: Polyphase Clock Sync
parameters:
- id: type
label: Type
dtype: enum
options: [ccf, fff]
option_labels: [Complex->Complex (Real Taps), Float->Float (Real Taps)]
option_attributes:
input: [complex, float]
output: [complex, float]
taps: [real_vector, real_vector]
hide: part
- id: sps
label: Samples/Symbol
dtype: real
- id: loop_bw
label: Loop Bandwidth
dtype: real
- id: taps
label: Taps
dtype: real_vector
- id: filter_size
label: Filter Size
dtype: int
default: '32'
- id: init_phase
label: Initial Phase
dtype: real
default: '16'
- id: max_dev
label: Maximum Rate Deviation
dtype: real
default: '1.5'
- id: osps
label: Output SPS
dtype: int
default: '1'
inputs:
- domain: stream
dtype: ${ type.input }
outputs:
- domain: stream
dtype: ${ type.output }
- label: err
domain: stream
dtype: float
optional: true
- label: rate
domain: stream
dtype: float
optional: true
- label: phase
domain: stream
dtype: float
optional: true
templates:
imports: from gnuradio import digital
make: digital.pfb_clock_sync_${type}(${sps}, ${loop_bw}, ${taps}, ${filter_size},
${init_phase}, ${max_dev}, ${osps})
callbacks:
- update_taps(${taps})
- set_loop_bandwidth(${loop_bw})
file_format: 1
|