forked from gnuradio/gnuradio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariable_ldpc_G_matrix_object.xml
43 lines (35 loc) · 1.07 KB
/
variable_ldpc_G_matrix_object.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0"?>
<!--
###################################################
# FEC LDPC MATRIX OBJECT
###################################################
-->
<block>
<name>LDPC Generator Matrix</name>
<key>variable_ldpc_G_matrix_def</key>
<import>from gnuradio import fec</import>
<var_make>self.$(id) = $(id) = fec.ldpc_G_matrix($filename)</var_make>
<make></make>
<param>
<name>Ignore Me</name>
<key>value</key>
<value>"ok"</value>
<type>raw</type>
<hide>all</hide>
</param>
<param>
<name>File</name>
<key>filename</key>
<value></value>
<type>file_open</type>
</param>
<doc>
This block creates a LDPC Generator Matrix variable.
This variable can be used by:
1) LDPC Encoder Definition (via Generator) block
2) LDPC Bit Flip Decoder Definition block
Provide an alist file, which contains a Generator matrix, G, in the standard format G = [I P], where I is an identity matrix and P is the parity submatrix.
The format of alist files is described at:
http://www.inference.phy.cam.ac.uk/mackay/codes/alist.html
</doc>
</block>