diff options
author | Achilleas Anastasopoulos <anastas@umich.edu> | 2014-10-14 10:51:31 -0400 |
---|---|---|
committer | Achilleas Anastasopoulos <anastas@umich.edu> | 2014-10-15 19:01:05 -0400 |
commit | 79d55f173046d87ae31f04ad1e6dbafe1c9ae5ca (patch) | |
tree | c3efe8e25da8d13b99bb5cdf8b4234ef8cf54d07 /gr-trellis/examples/python | |
parent | be8e888f80934a884287f0ec9eb62dd0d2b7f5e5 (diff) |
fixed a bug in pccc encoder/decoder, and added fsm files.
Also added locks in the set_ methods
Diffstat (limited to 'gr-trellis/examples/python')
5 files changed, 114 insertions, 0 deletions
diff --git a/gr-trellis/examples/python/CMakeLists.txt b/gr-trellis/examples/python/CMakeLists.txt index 0e27a9540d..8a05525bc4 100644 --- a/gr-trellis/examples/python/CMakeLists.txt +++ b/gr-trellis/examples/python/CMakeLists.txt @@ -35,9 +35,13 @@ install( install( FILES + fsm_files/awgn1o1_16rsc.fsm + fsm_files/awgn1o1_4rsc.fsm fsm_files/awgn1o2_128.fsm fsm_files/awgn1o2_16.fsm + fsm_files/awgn1o2_16rsc.fsm fsm_files/awgn1o2_4.fsm + fsm_files/awgn1o2_4rsc.fsm fsm_files/awgn1o2_8.fsm fsm_files/awgn2o3_16.fsm fsm_files/awgn2o3_16ungerboecka.fsm diff --git a/gr-trellis/examples/python/fsm_files/awgn1o1_16rsc.fsm b/gr-trellis/examples/python/fsm_files/awgn1o1_16rsc.fsm new file mode 100644 index 0000000000..f82d6052c2 --- /dev/null +++ b/gr-trellis/examples/python/fsm_files/awgn1o1_16rsc.fsm @@ -0,0 +1,40 @@ +2 16 2 + +0 8 +8 0 +1 9 +9 1 +2 10 +10 2 +3 11 +11 3 +12 4 +4 12 +13 5 +5 13 +14 6 +6 14 +15 7 +7 15 + + +0 1 +0 1 +1 0 +1 0 +1 0 +1 0 +0 1 +0 1 +1 0 +1 0 +0 1 +0 1 +0 1 +0 1 +1 0 +1 0 + +Recursive Systematic Codes(RSC) +GM1o2_16rsc=[1, 1+D+D^4/1+D^2+D^3+D^4] = [1, 27/31] (in decimal); + diff --git a/gr-trellis/examples/python/fsm_files/awgn1o1_4rsc.fsm b/gr-trellis/examples/python/fsm_files/awgn1o1_4rsc.fsm new file mode 100644 index 0000000000..d5e7fe31ba --- /dev/null +++ b/gr-trellis/examples/python/fsm_files/awgn1o1_4rsc.fsm @@ -0,0 +1,16 @@ +2 4 2 + +0 2 +2 0 +1 3 +3 1 + +0 1 +0 1 +1 0 +1 0 + + +Recursive Systematic Codes(RSC) +GM1o2_4rsc=[1, 1+D+D^2/1+D^2] = [1, 7/5] (in decimal); +without the systematic bit diff --git a/gr-trellis/examples/python/fsm_files/awgn1o2_16rsc.fsm b/gr-trellis/examples/python/fsm_files/awgn1o2_16rsc.fsm new file mode 100644 index 0000000000..ccf1f1d4b1 --- /dev/null +++ b/gr-trellis/examples/python/fsm_files/awgn1o2_16rsc.fsm @@ -0,0 +1,40 @@ +2 16 4 + +0 8 +8 0 +1 9 +9 1 +2 10 +10 2 +3 11 +11 3 +12 4 +4 12 +13 5 +5 13 +14 6 +6 14 +15 7 +7 15 + + +0 3 +0 3 +1 2 +1 2 +1 2 +1 2 +0 3 +0 3 +1 2 +1 2 +0 3 +0 3 +0 3 +0 3 +1 2 +1 2 + +Recursive Systematic Codes(RSC) +GM1o2_16rsc=[1, 1+D+D^4/1+D^2+D^3+D^4] = [1, 27/31] (in decimal); + diff --git a/gr-trellis/examples/python/fsm_files/awgn1o2_4rsc.fsm b/gr-trellis/examples/python/fsm_files/awgn1o2_4rsc.fsm new file mode 100644 index 0000000000..adb500a217 --- /dev/null +++ b/gr-trellis/examples/python/fsm_files/awgn1o2_4rsc.fsm @@ -0,0 +1,14 @@ +2 4 4 + +0 2 +2 0 +1 3 +3 1 + +0 3 +0 3 +1 2 +1 2 + +Recursive Systematic Codes(RSC) +GM1o2_4rsc=[1, 1+D+D^2/1+D^2] = [1, 7/5] (in decimal); |