diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-11-10 15:43:21 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-11-10 15:43:21 -0500 |
commit | 611f7e45e7a793f2489d76670a61493327838e3e (patch) | |
tree | 9c97a36fc0f5bdd8b6078fe110f330dde81a625d /gr-digital/examples/demod/ber_simulation.grc | |
parent | 1155ff1e58fc3311f55f28d2e95f057708b99c7d (diff) |
analog: fixing up GRC and other examples to use gr-analog for sig and noise sources.
Diffstat (limited to 'gr-digital/examples/demod/ber_simulation.grc')
-rw-r--r-- | gr-digital/examples/demod/ber_simulation.grc | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/gr-digital/examples/demod/ber_simulation.grc b/gr-digital/examples/demod/ber_simulation.grc index f41b9cf79b..3097aa8fa5 100644 --- a/gr-digital/examples/demod/ber_simulation.grc +++ b/gr-digital/examples/demod/ber_simulation.grc @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='ASCII'?> <flow_graph> - <timestamp>Mon Jul 16 21:09:12 2012</timestamp> + <timestamp>Sat Nov 10 15:31:44 2012</timestamp> <block> <key>options</key> <param> @@ -354,41 +354,6 @@ </param> </block> <block> - <key>gr_noise_source_x</key> - <param> - <key>id</key> - <value>gr_noise_source_x</value> - </param> - <param> - <key>_enabled</key> - <value>True</value> - </param> - <param> - <key>type</key> - <value>complex</value> - </param> - <param> - <key>noise_type</key> - <value>gr.GR_GAUSSIAN</value> - </param> - <param> - <key>amp</key> - <value>1.0 / math.sqrt(2.0 * const.bits_per_symbol() * 10**(EbN0/10))</value> - </param> - <param> - <key>seed</key> - <value>42</value> - </param> - <param> - <key>_coordinate</key> - <value>(16, 224)</value> - </param> - <param> - <key>_rotation</key> - <value>0</value> - </param> - </block> - <block> <key>variable_slider</key> <param> <key>id</key> @@ -522,6 +487,29 @@ </param> </block> <block> + <key>digital_constellation_decoder_cb</key> + <param> + <key>id</key> + <value>digital_constellation_decoder_cb_0</value> + </param> + <param> + <key>_enabled</key> + <value>True</value> + </param> + <param> + <key>constellation</key> + <value>const.base()</value> + </param> + <param> + <key>_coordinate</key> + <value>(622, 164)</value> + </param> + <param> + <key>_rotation</key> + <value>0</value> + </param> + </block> + <block> <key>gr_add_xx</key> <param> <key>id</key> @@ -553,22 +541,34 @@ </param> </block> <block> - <key>digital_constellation_decoder_cb</key> + <key>analog_noise_source_x</key> <param> <key>id</key> - <value>digital_constellation_decoder_cb_0</value> + <value>analog_noise_source_x_0</value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> - <key>constellation</key> - <value>const.base()</value> + <key>type</key> + <value>complex</value> + </param> + <param> + <key>noise_type</key> + <value>analog.GR_GAUSSIAN</value> + </param> + <param> + <key>amp</key> + <value>1.0/math.sqrt(2.0 * const.bits_per_symbol() * 10*(EbN0/10))</value> + </param> + <param> + <key>seed</key> + <value>-42</value> </param> <param> <key>_coordinate</key> - <value>(622, 164)</value> + <value>(16, 224)</value> </param> <param> <key>_rotation</key> @@ -588,12 +588,6 @@ <sink_key>0</sink_key> </connection> <connection> - <source_block_id>gr_noise_source_x</source_block_id> - <sink_block_id>gr_add_xx</sink_block_id> - <source_key>0</source_key> - <sink_key>1</sink_key> - </connection> - <connection> <source_block_id>random_source_x</source_block_id> <sink_block_id>gr_throttle</sink_block_id> <source_key>0</source_key> @@ -629,4 +623,10 @@ <source_key>0</source_key> <sink_key>0</sink_key> </connection> + <connection> + <source_block_id>analog_noise_source_x_0</source_block_id> + <sink_block_id>gr_add_xx</sink_block_id> + <source_key>0</source_key> + <sink_key>1</sink_key> + </connection> </flow_graph> |