Skip to content

Commit be8e888

Browse files
committed
Updated documentation and grc/python examples in gr-trellis.
Removed weird pyhton examples and made them grc files.
1 parent 46e9dfe commit be8e888

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+6357
-6578
lines changed

gr-trellis/doc/gr-trellis.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ private:
176176
int d_O;
177177
std::vector<int> d_NS;
178178
std::vector<int> d_OS;
179-
std::vector<int> d_PS;
180-
std::vector<int> d_PI;
179+
std::vector< std::vector< int> > d_PS;
180+
std::vector< std::vector< int> > d_PI;
181181
std::vector<int> d_TMi;
182182
std::vector<int> d_TMl;
183183
void generate_PS_PI ();
@@ -195,8 +195,8 @@ public:
195195
int O () const { return d_O; }
196196
const std::vector<int> & NS () const { return d_NS; }
197197
const std::vector<int> & OS () const { return d_OS; }
198-
const std::vector<int> & PS () const { return d_PS; }
199-
const std::vector<int> & PI () const { return d_PI; }
198+
const std::vector< std::vector< int> > & PS () const { return d_PS; }
199+
const std::vector< std::vector< int> > & PI () const { return d_PI; }
200200
const std::vector<int> & TMi () const { return d_TMi; }
201201
const std::vector<int> & TMl () const { return d_TMl; }
202202
};

gr-trellis/examples/grc/CMakeLists.txt

+16-10
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,18 @@
2020
## Configure GRC examples to point to the right fsm_files directory
2121
set(FSM_FILE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/${GR_PKG_TRELLIS_EXAMPLES_DIR}/fsm_files/")
2222
configure_file(
23-
"${CMAKE_CURRENT_SOURCE_DIR}/pccc.grc"
24-
"${CMAKE_CURRENT_BINARY_DIR}/pccc.grc"
23+
"${CMAKE_CURRENT_SOURCE_DIR}/tcm.grc"
24+
"${CMAKE_CURRENT_BINARY_DIR}/tcm.grc"
25+
)
26+
27+
configure_file(
28+
"${CMAKE_CURRENT_SOURCE_DIR}/viterbi_equalization.grc"
29+
"${CMAKE_CURRENT_BINARY_DIR}/viterbi_equalization.grc"
2530
)
2631

2732
configure_file(
28-
"${CMAKE_CURRENT_SOURCE_DIR}/pccc1.grc"
29-
"${CMAKE_CURRENT_BINARY_DIR}/pccc1.grc"
33+
"${CMAKE_CURRENT_SOURCE_DIR}/turbo_equalization.grc"
34+
"${CMAKE_CURRENT_BINARY_DIR}/turbo_equalization.grc"
3035
)
3136

3237
configure_file(
@@ -35,8 +40,8 @@ configure_file(
3540
)
3641

3742
configure_file(
38-
"${CMAKE_CURRENT_SOURCE_DIR}/sccc1.grc"
39-
"${CMAKE_CURRENT_BINARY_DIR}/sccc1.grc"
43+
"${CMAKE_CURRENT_SOURCE_DIR}/pccc.grc"
44+
"${CMAKE_CURRENT_BINARY_DIR}/pccc.grc"
4045
)
4146

4247
configure_file(
@@ -46,11 +51,12 @@ configure_file(
4651

4752
install(
4853
FILES
49-
${CMAKE_CURRENT_BINARY_DIR}/interference_cancellation.grc
50-
${CMAKE_CURRENT_BINARY_DIR}/pccc.grc
51-
${CMAKE_CURRENT_BINARY_DIR}/pccc1.grc
52-
${CMAKE_CURRENT_BINARY_DIR}/sccc1.grc
54+
${CMAKE_CURRENT_BINARY_DIR}/tcm.grc
55+
${CMAKE_CURRENT_BINARY_DIR}/viterbi_equalization.grc
56+
${CMAKE_CURRENT_BINARY_DIR}/turbo_equalization.grc
5357
${CMAKE_CURRENT_BINARY_DIR}/sccc.grc
58+
${CMAKE_CURRENT_BINARY_DIR}/pccc.grc
59+
${CMAKE_CURRENT_BINARY_DIR}/interference_cancellation.grc
5460
readme.txt
5561
DESTINATION ${GR_PKG_TRELLIS_EXAMPLES_DIR}
5662
COMPONENT "trellis-examples"

0 commit comments

Comments
 (0)