summaryrefslogtreecommitdiff
path: root/grc/blocks/gr_glfsr_source_x.xml
blob: 88fb66797b3c98c9c9cfa3a76e837dc0a8866378 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0"?>
<!--
###################################################
##GLFSR Source
###################################################
 -->
<block>
	<name>GLFSR Source</name>
	<key>gr_glfsr_source_x</key>
	<import>from gnuradio import gr</import>
	<make>gr.glfsr_source_$(type.fcn)($degree, $repeat, $mask, $seed)</make>
	<param>
		<name>Type</name>
		<key>type</key>
		<type>enum</type>
		<option>
			<name>Float</name>
			<key>float</key>
			<opt>fcn:f</opt>
		</option>
		<option>
			<name>Byte</name>
			<key>byte</key>
			<opt>fcn:b</opt>
		</option>
	</param>
	<param>
		<name>Degree</name>
		<key>degree</key>
		<type>int</type>
	</param>
	<param>
		<name>Repeat</name>
		<key>repeat</key>
		<type>enum</type>
		<option>
			<name>Yes</name>
			<key>True</key>
		</option>
		<option>
			<name>No</name>
			<key>False</key>
		</option>
	</param>
	<param>
		<name>Mask</name>
		<key>mask</key>
		<type>int</type>
	</param>
	<param>
		<name>Seed</name>
		<key>seed</key>
		<type>int</type>
	</param>
	<source>
		<name>out</name>
		<type>$type</type>
	</source>
</block>