Piotr Krysik | 7a85170 | 2015-08-06 10:22:20 +0200 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <block> |
| 3 | <name>GSM Receiver (with uplink)</name> |
| 4 | <key>gsm_receiver_with_uplink</key> |
| 5 | <import>import grgsm</import> |
| 6 | <make>grgsm.receiver($osr, $cell_allocation, $tseq_nums, True)</make> |
| 7 | |
| 8 | <param> |
| 9 | <name>Oversampling ratio</name> |
| 10 | <key>osr</key> |
| 11 | <value>4</value> |
| 12 | <type>int</type> |
| 13 | </param> |
| 14 | |
| 15 | <param> |
| 16 | <name>Cell allocation</name> |
| 17 | <key>cell_allocation</key> |
| 18 | <value>[0]</value> |
| 19 | <type>float_vector</type> |
| 20 | <hide>part</hide> |
| 21 | </param> |
| 22 | |
| 23 | <param> |
| 24 | <name>TSEQ numbers</name> |
| 25 | <key>tseq_nums</key> |
| 26 | <value>[]</value> |
| 27 | <type>int_vector</type> |
| 28 | <hide>part</hide> |
| 29 | </param> |
| 30 | |
| 31 | <param> |
| 32 | <name>Num Streams</name> |
| 33 | <key>num_streams</key> |
| 34 | <value>1</value> |
| 35 | <type>int</type> |
| 36 | <hide>part</hide> |
| 37 | </param> |
| 38 | |
| 39 | <check>$num_streams >= 0</check> |
| 40 | |
| 41 | <sink> |
| 42 | <name>C</name> |
| 43 | <type>complex</type> |
| 44 | <nports>$num_streams</nports> |
| 45 | </sink> |
| 46 | |
| 47 | |
| 48 | <sink> |
| 49 | <name>C_up</name> |
| 50 | <type>complex</type> |
| 51 | <nports>$num_streams</nports> |
| 52 | </sink> |
| 53 | |
| 54 | <source> |
| 55 | <name>C0</name> |
| 56 | <type>message</type> |
| 57 | <optional>1</optional> |
| 58 | </source> |
| 59 | |
| 60 | <source> |
| 61 | <name>CX</name> |
| 62 | <type>message</type> |
| 63 | <optional>1</optional> |
| 64 | </source> |
| 65 | |
| 66 | <source> |
| 67 | <name>measurements</name> |
| 68 | <type>message</type> |
| 69 | <optional>1</optional> |
| 70 | </source> |
| 71 | </block> |