45 lines
970 B
XML
45 lines
970 B
XML
<?xml version="1.0"?>
|
|
<block>
|
|
<name>Symbol (De-)Interleaver</name>
|
|
<key>hamnet70_symbol_interleaver</key>
|
|
<category>[hamnet70]</category>
|
|
<import>import hamnet70</import>
|
|
<make>hamnet70.symbol_interleaver($interleaver_width, $operation.deinterleave, $length_tag)</make>
|
|
<param>
|
|
<name>Memory width</name>
|
|
<key>interleaver_width</key>
|
|
<type>int</type>
|
|
<!--value>packet_len</value-->
|
|
</param>
|
|
<param>
|
|
<name>Operation</name>
|
|
<key>operation</key>
|
|
<type>enum</type>
|
|
<option>
|
|
<name>Interleave</name>
|
|
<key>interleave</key>
|
|
<opt>deinterleave:False</opt>
|
|
</option>
|
|
<option>
|
|
<name>Deinterleave</name>
|
|
<key>deinterleave</key>
|
|
<opt>deinterleave:True</opt>
|
|
</option>
|
|
</param>
|
|
<param>
|
|
<name>Length Tag Key</name>
|
|
<key>length_tag</key>
|
|
<type>string</type>
|
|
<!--value>packet_len</value-->
|
|
</param>
|
|
|
|
<sink>
|
|
<name>in</name>
|
|
<type>complex</type>
|
|
</sink>
|
|
<source>
|
|
<name>out</name>
|
|
<type>complex</type>
|
|
</source>
|
|
</block>
|