# Difference between revisions of "TPC Encoder Definition"

From GNU Radio

Line 1: | Line 1: | ||

[[Category:Block Docs]] | [[Category:Block Docs]] | ||

− | This instantiates a 1-dim array or 2-dim array | + | This instantiates a 1-dim array or 2-dim array for Turbo Product Encoders (TPC). |

Restrictions: B and Q must be carefully chosen such that when the matrices are setup, and the first B outputs are removed, they (the first B outputs) are all 0's. | Restrictions: B and Q must be carefully chosen such that when the matrices are setup, and the first B outputs are removed, they (the first B outputs) are all 0's. | ||

Line 10: | Line 10: | ||

; Dimension 1 | ; Dimension 1 | ||

− | : | + | : For parallelism |

; Dimension 2 | ; Dimension 2 | ||

− | : | + | : For parallelism |

; Row Encoder Polynomials | ; Row Encoder Polynomials | ||

Line 40: | Line 40: | ||

; C++ files | ; C++ files | ||

− | : [https://github.com/gnuradio/gnuradio | + | : [https://github.com/gnuradio/gnuradio/blob/master/gr-fec/lib/tpc_common.cc Common] |

− | + | : [https://github.com/gnuradio/gnuradio/blob/master/gr-fec/lib/tpc_encoder.cc Encoder] | |

− | |||

− | : [https://github.com/gnuradio/gnuradio | ||

; Public header files | ; Public header files | ||

− | : [https://github.com/gnuradio/gnuradio | + | : [https://github.com/gnuradio/gnuradio/blob/master/gr-fec/include/gnuradio/fec/tpc_common.h Common] |

+ | : [https://github.com/gnuradio/gnuradio/blob/master/gr-fec/include/gnuradio/fec/tpc_encoder.h Encoder] | ||

; Block definition | ; Block definition | ||

: [https://github.com/gnuradio/gnuradio/blob/master/gr-fec/grc/tpc_encoder_def_list.block.yml] | : [https://github.com/gnuradio/gnuradio/blob/master/gr-fec/grc/tpc_encoder_def_list.block.yml] |

## Latest revision as of 09:20, 12 September 2019

This instantiates a 1-dim array or 2-dim array for Turbo Product Encoders (TPC).

Restrictions: B and Q must be carefully chosen such that when the matrices are setup, and the first B outputs are removed, they (the first B outputs) are all 0's.

## Parameters[edit]

- Parallelism
- Description of parameter, provide any tips or recommended values. Note that the name of the parameter above should match the param's label that shows up in grc (e.g. Sample Rate).

- Dimension 1
- For parallelism

- Dimension 2
- For parallelism

- Row Encoder Polynomials

- Column Encoder Polynomials

- K Row

- K Col

- B

- Q

## Example Flowgraph[edit]

Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI. Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately. The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo.

## Source Files[edit]

- Block definition
- [1]