blob: 34e64a5d96b6a1633c09d558463618c97546b3a0 (
plain)
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
|
<?xml version="1.0"?>
<!--
###################################################
##Pack K Bits
###################################################
-->
<block>
<name>Pack K Bits</name>
<key>gr_pack_k_bits_bb</key>
<import>from gnuradio import gr</import>
<make>gr.pack_k_bits_bb($k)</make>
<param>
<name>K</name>
<key>k</key>
<type>int</type>
</param>
<sink>
<name>in</name>
<type>byte</type>
</sink>
<source>
<name>out</name>
<type>byte</type>
</source>
<doc>
Pack K unpacked bits (one bit per byte) into a single packed byte containing k bits and 8 - k zeros.
</doc>
</block>
|