diff options
author | Tom Rondeau | 2012-04-03 11:35:35 -0400 |
---|---|---|
committer | Tom Rondeau | 2012-04-03 12:26:34 -0400 |
commit | 7dc08ba2875c0dace0432cd514add6ce2b085f44 (patch) | |
tree | e6a01fd07cd6c24040886a805105e6323a969834 /gr-trellis/src/examples/python/fsm_files/awgn2o3_4_msbG.fsm | |
parent | 0dd3e32b5526c085a983d7ff235bac61ec2c52ff (diff) | |
download | gnuradio-7dc08ba2875c0dace0432cd514add6ce2b085f44.tar.gz gnuradio-7dc08ba2875c0dace0432cd514add6ce2b085f44.tar.bz2 gnuradio-7dc08ba2875c0dace0432cd514add6ce2b085f44.zip |
examples: Reworked locations and installation of examples.
All python and GRC examples directly associated with a top-level component are now in that examples directory. Examples are split into c++, python, and grc dirs but are all installed into $prefix/share/gnuradio/examples/<component>.
Diffstat (limited to 'gr-trellis/src/examples/python/fsm_files/awgn2o3_4_msbG.fsm')
-rw-r--r-- | gr-trellis/src/examples/python/fsm_files/awgn2o3_4_msbG.fsm | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/gr-trellis/src/examples/python/fsm_files/awgn2o3_4_msbG.fsm b/gr-trellis/src/examples/python/fsm_files/awgn2o3_4_msbG.fsm new file mode 100644 index 000000000..8956c53da --- /dev/null +++ b/gr-trellis/src/examples/python/fsm_files/awgn2o3_4_msbG.fsm @@ -0,0 +1,60 @@ +4 4 8 + +0 1 2 3 +0 1 2 3 +0 1 2 3 +0 1 2 3 + +0 4 2 6 +5 1 3 7 +3 7 5 1 + + +This is generated by the 1/2 AWGN code (5 7) operated twice, ie, +(xk+1 xki) [xk-1 xk-2] -> [xk+1 xki]. +We also puncture the first (MSB) bit and Gray map the symbols. + +intermediate states: + +00 21 02 23 +00 21 02 23 +10 31 12 33 +10 31 12 33 + +output before puncturing: + +00 31 03 32 +30 01 33 02 +13 22 10 21 +23 12 20 11 + +output after punturing the MSB: + +00 11 03 12 +10 01 13 02 +13 02 10 01 +03 12 00 11 + +and in decimal: + +0 5 3 6 +4 1 7 2 +7 2 4 1 +3 6 0 5 + +After Gray mapping: +label -> phase +0 -> 0 +1 -> 0 +2 -> 7 +3 -> 2 +4 -> 5 +5 -> 4 +6 -> 6 +7 -> 3 + +0 4 2 6 +5 1 3 7 +3 7 5 1 +2 6 0 4 + |