From d887d011b17c10da0ba1513bfbd7067146ac2a33 Mon Sep 17 00:00:00 2001 From: Matt Ettus Date: Tue, 6 Oct 2009 17:44:56 -0700 Subject: [PATCH] with frac delay --- gnuradio-examples/grc/pam_timing.grc | 505 +++++++++++++++++++-------- 1 file changed, 365 insertions(+), 140 deletions(-) diff --git a/gnuradio-examples/grc/pam_timing.grc b/gnuradio-examples/grc/pam_timing.grc index 989c795a..d357a1b5 100644 --- a/gnuradio-examples/grc/pam_timing.grc +++ b/gnuradio-examples/grc/pam_timing.grc @@ -1,6 +1,6 @@ - Tue Oct 6 14:19:10 2009 + Tue Oct 6 17:40:15 2009 options @@ -57,22 +57,38 @@ - variable + random_source_x id - samp_rate + random_source_x_0 _enabled True - value - 32000 + type + byte + + + min + 0 + + + max + 2 + + + num_samps + 1000 + + + repeat + True _coordinate - (128, 9) + (13, 80) _rotation @@ -80,18 +96,26 @@ - gr_uchar_to_float + const_source_x id - gr_uchar_to_float_0 + const_source_x_0 _enabled True + + type + float + + + const + -0.5 + _coordinate - (270, 115) + (179, 160) _rotation @@ -99,10 +123,10 @@ - random_source_x + gr_add_xx id - random_source_x_0 + gr_add_xx_0 _enabled @@ -110,7 +134,42 @@ type - byte + float + + + num_inputs + 2 + + + vlen + 1 + + + _coordinate + (505, 128) + + + _rotation + 0 + + + + variable_slider + + id + noise_amp + + + _enabled + True + + + label + noise_amp + + + value + 0 min @@ -118,19 +177,31 @@ max - 2 + 1.0 - num_samps + num_steps 1000 - repeat - True + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + _coordinate - (13, 80) + (600, -1) _rotation @@ -138,10 +209,10 @@ - const_source_x + gr_noise_source_x id - const_source_x_0 + gr_noise_source_x_0 _enabled @@ -152,12 +223,20 @@ float - const - -0.5 + noise_type + gr.GR_GAUSSIAN + + + amp + noise_amp + + + seed + 42 _coordinate - (179, 160) + (45, 497) _rotation @@ -165,50 +244,50 @@ - variable_chooser + root_raised_cosine_filter id - spb + root_raised_cosine_filter_0 _enabled True - label - Samples Per Bit + type + interp_fir_filter_fff - value - 4 + decim + 1 - choices - [1, 2, 3, 4, 5, 6, 7, 8] + interp + spb - labels - [] + gain + 2*spb - type - drop_down + samp_rate + 1.0 - style - wx.RA_HORIZONTAL + sym_rate + 1./spb - grid_pos - + alpha + 0.35 - notebook - + ntaps + 11*spb _coordinate - (0, 834) + (50, 295) _rotation @@ -216,10 +295,10 @@ - wxgui_scopesink2 + gr_add_xx id - wxgui_scopesink2_0 + gr_add_xx_0_0 _enabled @@ -230,44 +309,66 @@ float - title - Scope Plot + num_inputs + 2 - samp_rate - samp_rate + vlen + 1 - v_scale + _coordinate + (375, 390) + + + _rotation 0 + + + const_source_x - t_scale + id + const_source_x_1 + + + _enabled + True + + + type + float + + + const 0 - ac_couple - False + _coordinate + (36, 723) - xy_mode - False + _rotation + 0 + + + variable - num_inputs - 1 + id + spb - grid_pos - + _enabled + True - notebook - + value + 4 _coordinate - (750, 128) + (34, 915) _rotation @@ -275,10 +376,56 @@ - gr_add_xx + variable id - gr_add_xx_0 + nfilts + + + _enabled + True + + + value + 32 + + + _coordinate + (31, 828) + + + _rotation + 0 + + + + variable + + id + rrctaps + + + _enabled + True + + + value + firdes.root_raised_cosine(nfilts,1.0,0.25/nfilts, .35, 11*spb*nfilts) + + + _coordinate + (180, 935) + + + _rotation + 0 + + + + gr_throttle + + id + gr_throttle_0 _enabled @@ -286,11 +433,11 @@ type - float + complex - num_inputs - 2 + samples_per_second + samp_rate vlen @@ -298,7 +445,7 @@ _coordinate - (505, 128) + (757, 418) _rotation @@ -309,7 +456,7 @@ variable_slider id - noise_amp + gain _enabled @@ -317,7 +464,7 @@ label - noise_amp + Gain value @@ -329,7 +476,7 @@ max - 1.0 + 1 num_steps @@ -353,7 +500,7 @@ _coordinate - (600, -1) + (537, 278) _rotation @@ -361,30 +508,18 @@ - gr_throttle + gr_uchar_to_float id - gr_throttle_0 + gr_uchar_to_float_0 _enabled True - - type - float - - - samples_per_second - samp_rate - - - vlen - 1 - _coordinate - (561, 284) + (261, 107) _rotation @@ -392,10 +527,10 @@ - gr_noise_source_x + wxgui_scopesink2 id - gr_noise_source_x_0 + wxgui_scopesink2_0 _enabled @@ -403,23 +538,47 @@ type - float + complex - noise_type - gr.GR_GAUSSIAN + title + Scope Plot - amp - noise_amp + samp_rate + samp_rate - seed - 42 + v_scale + 0 + + + t_scale + 0 + + + ac_couple + False + + + xy_mode + False + + + num_inputs + 1 + + + grid_pos + + + + notebook + _coordinate - (45, 497) + (750, 128) _rotation @@ -427,10 +586,10 @@ - root_raised_cosine_filter + wxgui_scopesink2 id - root_raised_cosine_filter_0 + wxgui_scopesink2_0_0 _enabled @@ -438,39 +597,70 @@ type - interp_fir_filter_fff + float - decim + title + Scope Plot + + + samp_rate + samp_rate + + + v_scale + 0 + + + t_scale + 0 + + + ac_couple + False + + + xy_mode + False + + + num_inputs 1 - interp - spb + grid_pos + - gain - 2*spb + notebook + - samp_rate - 1.0 + _coordinate + (643, 853) - sym_rate - 1./spb + _rotation + 0 + + + gr_float_to_complex - alpha - 0.35 + id + gr_float_to_complex_0 - ntaps - 11*spb + _enabled + True + + + vlen + 1 _coordinate - (50, 295) + (380, 553) _rotation @@ -478,30 +668,38 @@ - gr_add_xx + gr_pfb_clock_sync_ccf id - gr_add_xx_0_0 + gr_pfb_clock_sync_ccf_0 _enabled True - type - float + sps + spb - num_inputs - 2 + gain + gain - vlen - 1 + taps + rrctaps + + + filter_size + nfilts + + + init_phase + 14 _coordinate - (374, 389) + (341, 777) _rotation @@ -509,10 +707,10 @@ - root_raised_cosine_filter + gr_fractional_interpolator_xx id - root_raised_cosine_filter_0_0 + gr_fractional_interpolator_xx_0 _enabled @@ -520,39 +718,42 @@ type - interp_fir_filter_fff + complex - decim - 1 + phase_shift + 0.5 - interp + interp_ratio 1 - gain - 1 + _coordinate + (349, 662) - samp_rate - 1.0 + _rotation + 0 + + + variable - sym_rate - 1./spb + id + samp_rate - alpha - 0.35 + _enabled + True - ntaps - 11*spb + value + 320000 _coordinate - (376, 598) + (128, 9) _rotation @@ -603,14 +804,38 @@ gr_add_xx_0_0 - root_raised_cosine_filter_0_0 + gr_float_to_complex_0 0 0 - root_raised_cosine_filter_0_0 + const_source_x_1 + gr_float_to_complex_0 + 0 + 1 + + + gr_pfb_clock_sync_ccf_0 gr_throttle_0 0 0 + + gr_pfb_clock_sync_ccf_0 + wxgui_scopesink2_0_0 + 1 + 0 + + + gr_float_to_complex_0 + gr_fractional_interpolator_xx_0 + 0 + 0 + + + gr_fractional_interpolator_xx_0 + gr_pfb_clock_sync_ccf_0 + 0 + 0 + -- 2.47.2