From 83afe7390fadd13cb8636ac4da1bafb9a73a5521 Mon Sep 17 00:00:00 2001 From: Piotr Krysik Date: Sun, 17 Jul 2016 22:48:35 +0200 Subject: Changed clock offset controller and company in order to remove from the gsm_input one of the resamplers. --- .../gsm_clock_offset_corrector_tagged.grc | 131 ++++++++++++--------- hier_blocks/receiver/gsm_input.grc | 49 +++++++- 2 files changed, 120 insertions(+), 60 deletions(-) (limited to 'hier_blocks') diff --git a/hier_blocks/misc_utils/gsm_clock_offset_corrector_tagged.grc b/hier_blocks/misc_utils/gsm_clock_offset_corrector_tagged.grc index 79c21c0..83806f4 100644 --- a/hier_blocks/misc_utils/gsm_clock_offset_corrector_tagged.grc +++ b/hier_blocks/misc_utils/gsm_clock_offset_corrector_tagged.grc @@ -78,7 +78,7 @@ title - Clock offset corrector tagged + Clock Offset Corrector Tagged @@ -93,7 +93,34 @@ _coordinate - (736, 19) + (688, 21) + + + _rotation + 0 + + + id + gsm_symb_rate + + + value + 1625000.0/6.0 + + + + variable + + comment + + + + _enabled + True + + + _coordinate + (808, 21) _rotation @@ -105,7 +132,7 @@ value - samp_rate_in + osr*gsm_symb_rate @@ -214,7 +241,7 @@ _coordinate - (328, 197) + (344, 197) _rotation @@ -238,7 +265,7 @@ resamp_ratio - 1.0 + samp_rate_in/samp_rate_out @@ -261,7 +288,7 @@ _coordinate - (608, 209) + (600, 204) _rotation @@ -281,11 +308,7 @@ phase_inc - ppm/1.0e6*2*math.pi*fc/samp_rate_in - - - samp_rate - samp_rate_out + ppm/1.0e6*2*math.pi*fc/samp_rate_out @@ -359,7 +382,11 @@ - pad_sink + parameter + + alias + + comment @@ -370,7 +397,7 @@ _coordinate - (784, 220) + (584, 23) _rotation @@ -378,31 +405,27 @@ id - pad_sink_1 - - - type - complex + osr label - out + OSR - num_streams - 1 + short_id + - optional - False + type + intx - vlen - 1 + value + 4 - pad_source + pad_sink comment @@ -413,7 +436,7 @@ _coordinate - (32, 188) + (776, 204) _rotation @@ -421,11 +444,15 @@ id - pad_source_0 + pad_sink_1 + + + type + complex label - in + out num_streams @@ -435,21 +462,13 @@ optional False - - type - complex - vlen 1 - parameter - - alias - - + pad_source comment @@ -460,7 +479,7 @@ _coordinate - (496, 19) + (32, 188) _rotation @@ -468,23 +487,27 @@ id - ppm + pad_source_0 label - ppm + in - short_id - + num_streams + 1 + + + optional + False type - eng_float + complex - value - 0 + vlen + 1 @@ -503,7 +526,7 @@ _coordinate - (368, 19) + (496, 19) _rotation @@ -511,11 +534,11 @@ id - samp_rate_in + ppm label - samp_rate_in + ppm short_id @@ -527,7 +550,7 @@ value - 1625000.0/6.0*4.0 + 0 @@ -542,11 +565,11 @@ _enabled - False + True _coordinate - (592, 20) + (368, 19) _rotation @@ -554,11 +577,11 @@ id - samp_rate_out + samp_rate_in label - samp_rate_out + samp_rate_in short_id diff --git a/hier_blocks/receiver/gsm_input.grc b/hier_blocks/receiver/gsm_input.grc index 300dff5..3aa032b 100644 --- a/hier_blocks/receiver/gsm_input.grc +++ b/hier_blocks/receiver/gsm_input.grc @@ -81,6 +81,33 @@ GSM input adaptor + + variable + + comment + + + + _enabled + True + + + _coordinate + (752, 21) + + + _rotation + 0 + + + id + gsm_symb_rate + + + value + 1625000.0/6.0 + + variable @@ -105,7 +132,7 @@ value - 1625000.0/6.0*osr + gsm_symb_rate*osr @@ -210,11 +237,11 @@ _enabled - True + 0 _coordinate - (488, 217) + (488, 281) _rotation @@ -265,7 +292,7 @@ _coordinate - (224, 198) + (232, 199) _rotation @@ -283,6 +310,10 @@ minoutbuf 0 + + osr + osr + fc fc @@ -332,7 +363,7 @@ _coordinate - (712, 186) + (712, 178) _rotation @@ -426,7 +457,7 @@ _coordinate - (904, 228) + (904, 220) _rotation @@ -604,6 +635,12 @@ 0 0 + + gsm_clock_offset_corrector_tagged_0 + low_pass_filter_0_0 + 0 + 0 + low_pass_filter_0_0 pad_sink_0 -- cgit v1.2.3