From 8f6be2790220af5b4628de7daee3be4b494e3b3e Mon Sep 17 00:00:00 2001
From: Achilleas Anastasopoulos
Date: Wed, 31 Aug 2011 19:35:58 -0400
Subject: Added SCCC encoder/decoder grc blocksi and examples. Also moved all
grc blocks related to trellis inside the gr-trellis/grc directory
---
gnuradio-examples/grc/trellis/sccc.grc | 832 +++++++++++++++++++++++++++++++++
1 file changed, 832 insertions(+)
create mode 100644 gnuradio-examples/grc/trellis/sccc.grc
(limited to 'gnuradio-examples/grc/trellis/sccc.grc')
diff --git a/gnuradio-examples/grc/trellis/sccc.grc b/gnuradio-examples/grc/trellis/sccc.grc
new file mode 100644
index 000000000..166e70f50
--- /dev/null
+++ b/gnuradio-examples/grc/trellis/sccc.grc
@@ -0,0 +1,832 @@
+
+
+ Wed Aug 31 19:29:07 2011
+
+ options
+
+ id
+ sccc
+
+
+ _enabled
+ True
+
+
+ title
+ Serially Concatenated Convolutional Code
+
+
+ author
+ AA
+
+
+ description
+ gnuradio flow graph
+
+
+ window_size
+ 2048, 2048
+
+
+ generate_options
+ wx_gui
+
+
+ category
+ Custom
+
+
+ run_options
+ prompt
+
+
+ run
+ True
+
+
+ realtime_scheduling
+
+
+
+ _coordinate
+ (10, 10)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ noisevar
+
+
+ _enabled
+ True
+
+
+ value
+ 10**(-snr_db/10)
+
+
+ _coordinate
+ (389, 15)
+
+
+ _rotation
+ 0
+
+
+
+ random_source_x
+
+ id
+ random_source_x_0
+
+
+ _enabled
+ True
+
+
+ type
+ short
+
+
+ min
+ 0
+
+
+ max
+ 2
+
+
+ num_samps
+ 1000
+
+
+ repeat
+ True
+
+
+ _coordinate
+ (21, 170)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ prefix
+
+
+ _enabled
+ True
+
+
+ value
+ "/n/harrisville/x/anastas/gnuradio_trunk/"
+
+
+ _coordinate
+ (590, 15)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ block
+
+
+ _enabled
+ True
+
+
+ value
+ 1000
+
+
+ _coordinate
+ (764, 16)
+
+
+ _rotation
+ 0
+
+
+
+ gr_add_xx
+
+ id
+ gr_add_xx_1
+
+
+ _enabled
+ True
+
+
+ type
+ complex
+
+
+ num_inputs
+ 2
+
+
+ vlen
+ 1
+
+
+ _coordinate
+ (951, 256)
+
+
+ _rotation
+ 0
+
+
+
+ gr_sub_xx
+
+ id
+ gr_sub_xx_0
+
+
+ _enabled
+ True
+
+
+ type
+ short
+
+
+ vlen
+ 1
+
+
+ num_inputs
+ 2
+
+
+ _coordinate
+ (445, 517)
+
+
+ _rotation
+ 0
+
+
+
+ gr_multiply_xx
+
+ id
+ gr_multiply_xx_2_0
+
+
+ _enabled
+ True
+
+
+ type
+ short
+
+
+ num_inputs
+ 2
+
+
+ vlen
+ 1
+
+
+ _coordinate
+ (228.25, 798.39170361874085)
+
+
+ _rotation
+ 0
+
+
+
+ gr_short_to_float
+
+ id
+ gr_short_to_float_1_0
+
+
+ _enabled
+ True
+
+
+ _coordinate
+ (416, 815)
+
+
+ _rotation
+ 0
+
+
+
+ variable_slider
+
+ id
+ snr_db
+
+
+ _enabled
+ True
+
+
+ label
+ SNR (dB)
+
+
+ value
+ 5
+
+
+ min
+ -10
+
+
+ max
+ 10
+
+
+ num_steps
+ 100
+
+
+ style
+ wx.SL_HORIZONTAL
+
+
+ converver
+ float_converter
+
+
+ grid_pos
+
+
+
+ notebook
+
+
+
+ _coordinate
+ (229, 13)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ R
+
+
+ _enabled
+ True
+
+
+ value
+ 10e3
+
+
+ _coordinate
+ (482, 17)
+
+
+ _rotation
+ 0
+
+
+
+ wxgui_scopesink2
+
+ id
+ wxgui_scopesink2_0
+
+
+ _enabled
+ False
+
+
+ type
+ complex
+
+
+ title
+ Scope Plot
+
+
+ samp_rate
+ R
+
+
+ v_scale
+ 0
+
+
+ v_offset
+ 0
+
+
+ t_scale
+ 0
+
+
+ ac_couple
+ False
+
+
+ xy_mode
+ True
+
+
+ num_inputs
+ 1
+
+
+ win_size
+
+
+
+ grid_pos
+
+
+
+ notebook
+
+
+
+ trig_mode
+ gr.gr_TRIG_MODE_AUTO
+
+
+ y_axis_label
+ Counts
+
+
+ _coordinate
+ (952, 73)
+
+
+ _rotation
+ 0
+
+
+
+ gr_throttle
+
+ id
+ gr_throttle_0
+
+
+ _enabled
+ True
+
+
+ type
+ short
+
+
+ samples_per_second
+ R
+
+
+ vlen
+ 1
+
+
+ _coordinate
+ (514, 105)
+
+
+ _rotation
+ 0
+
+
+
+ gr_chunks_to_symbols_xx
+
+ id
+ gr_chunks_to_symbols_xx_0
+
+
+ _enabled
+ True
+
+
+ in_type
+ short
+
+
+ out_type
+ complex
+
+
+ symbol_table
+ 1,0,1j,0,-1j,0,-1,0, 0,1,0,1j,0,-1j,0,-1
+
+
+ dimension
+ 2
+
+
+ num_ports
+ 1
+
+
+ _coordinate
+ (551, 184)
+
+
+ _rotation
+ 0
+
+
+
+ gr_noise_source_x
+
+ id
+ gr_noise_source_x_0
+
+
+ _enabled
+ True
+
+
+ type
+ complex
+
+
+ noise_type
+ gr.GR_GAUSSIAN
+
+
+ amp
+ noisevar
+
+
+ seed
+ 42
+
+
+ _coordinate
+ (672, 290)
+
+
+ _rotation
+ 0
+
+
+
+ trellis_sccc_encoder_xx
+
+ id
+ trellis_sccc_encoder_xx_0
+
+
+ _enabled
+ True
+
+
+ type
+ ss
+
+
+ o_fsm_args
+ prefix+"gr-trellis/src/examples/fsm_files/awgn1o2_4.fsm"
+
+
+ o_init_state
+ 0
+
+
+ i_fsm_args
+ prefix+"gr-trellis/src/examples/fsm_files/awgn2o3_4.fsm"
+
+
+ i_init_state
+ 0
+
+
+ interleaver_args
+ trellis.interleaver(block,666)
+
+
+ bl
+ block
+
+
+ _coordinate
+ (242, 154)
+
+
+ _rotation
+ 0
+
+
+
+ wxgui_numbersink2
+
+ id
+ wxgui_numbersink2_3_0
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ title
+ BER
+
+
+ units
+ BER
+
+
+ samp_rate
+ R
+
+
+ min_value
+ 0
+
+
+ max_value
+ 1.0
+
+
+ factor
+ 1.0
+
+
+ decimal_places
+ 6
+
+
+ ref_level
+ 0
+
+
+ number_rate
+ 15
+
+
+ peak_hold
+ False
+
+
+ average
+ True
+
+
+ avg_alpha
+ 0.001
+
+
+ show_gauge
+ True
+
+
+ win_size
+
+
+
+ grid_pos
+ 1,0,1,1
+
+
+ notebook
+
+
+
+ _coordinate
+ (688, 572)
+
+
+ _rotation
+ 0
+
+
+
+ trellis_sccc_decoder_combined_xx
+
+ id
+ trellis_sccc_decoder_combined_xx_0
+
+
+ _enabled
+ True
+
+
+ type
+ c
+
+
+ out_type
+ s
+
+
+ o_fsm_args
+ prefix+"gr-trellis/src/examples/fsm_files/awgn1o2_4.fsm"
+
+
+ o_init_state
+ 0
+
+
+ o_final_state
+ -1
+
+
+ i_fsm_args
+ prefix+"gr-trellis/src/examples/fsm_files/awgn2o3_4.fsm"
+
+
+ i_init_state
+ 0
+
+
+ i_final_state
+ -1
+
+
+ interleaver
+ trellis.interleaver(block,666)
+
+
+ block_size
+ block
+
+
+ iterations
+ 5
+
+
+ dim
+ 2
+
+
+ table
+ 1,0,1j,0,-1j,0,-1,0, 0,1,0,1j,0,-1j,0,-1
+
+
+ metric_type
+ trellis.TRELLIS_EUCLIDEAN
+
+
+ siso_type
+ trellis.TRELLIS_SUM_PRODUCT
+
+
+ scaling
+ 1.0
+
+
+ _coordinate
+ (159, 335)
+
+
+ _rotation
+ 0
+
+
+
+ random_source_x_0
+ gr_sub_xx_0
+ 0
+ 0
+
+
+ gr_throttle_0
+ gr_chunks_to_symbols_xx_0
+ 0
+ 0
+
+
+ gr_add_xx_1
+ wxgui_scopesink2_0
+ 0
+ 0
+
+
+ gr_noise_source_x_0
+ gr_add_xx_1
+ 0
+ 1
+
+
+ gr_chunks_to_symbols_xx_0
+ gr_add_xx_1
+ 0
+ 0
+
+
+ random_source_x_0
+ trellis_sccc_encoder_xx_0
+ 0
+ 0
+
+
+ trellis_sccc_encoder_xx_0
+ gr_throttle_0
+ 0
+ 0
+
+
+ gr_add_xx_1
+ trellis_sccc_decoder_combined_xx_0
+ 0
+ 0
+
+
+ trellis_sccc_decoder_combined_xx_0
+ gr_sub_xx_0
+ 0
+ 1
+
+
+ gr_multiply_xx_2_0
+ gr_short_to_float_1_0
+ 0
+ 0
+
+
+ gr_short_to_float_1_0
+ wxgui_numbersink2_3_0
+ 0
+ 0
+
+
+ gr_sub_xx_0
+ gr_multiply_xx_2_0
+ 0
+ 0
+
+
+ gr_sub_xx_0
+ gr_multiply_xx_2_0
+ 0
+ 1
+
+
--
cgit
From 238029328976662d88d5444ff4b9c1521b360e1b Mon Sep 17 00:00:00 2001
From: Achilleas Anastasopoulos
Date: Wed, 31 Aug 2011 20:10:06 -0400
Subject: Added more turbo encoder/decoder blocks and examples.
---
gnuradio-examples/grc/trellis/sccc.grc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'gnuradio-examples/grc/trellis/sccc.grc')
diff --git a/gnuradio-examples/grc/trellis/sccc.grc b/gnuradio-examples/grc/trellis/sccc.grc
index 166e70f50..e8f656f63 100644
--- a/gnuradio-examples/grc/trellis/sccc.grc
+++ b/gnuradio-examples/grc/trellis/sccc.grc
@@ -1,6 +1,6 @@
- Wed Aug 31 19:29:07 2011
+ Wed Aug 31 19:57:09 2011
options
--
cgit