Advertisement
duggabe

pkt_12.grc

Feb 25th, 2023
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.82 KB | None | 0 0
  1. options:
  2. parameters:
  3. author: Barry Duggan
  4. catch_exceptions: 'True'
  5. category: '[GRC Hier Blocks]'
  6. cmake_opt: ''
  7. comment: ''
  8. copyright: ''
  9. description: Packet format
  10. gen_cmake: 'On'
  11. gen_linking: dynamic
  12. generate_options: qt_gui
  13. hier_block_src_path: '.:'
  14. id: pkt_12
  15. max_nouts: '0'
  16. output_language: python
  17. placement: (0,0)
  18. qt_qss_theme: ''
  19. realtime_scheduling: ''
  20. run: 'True'
  21. run_command: '{python} -u {filename}'
  22. run_options: prompt
  23. sizing_mode: fixed
  24. thread_safe_setters: ''
  25. title: pkt_12
  26. window_size: (1000,1000)
  27. states:
  28. bus_sink: false
  29. bus_source: false
  30. bus_structure: null
  31. coordinate: [16, 12.0]
  32. rotation: 0
  33. state: enabled
  34.  
  35. blocks:
  36. - name: hdr_format
  37. id: variable
  38. parameters:
  39. comment: header_format_crc
  40. value: digital.header_format_crc(len_key, num_key)
  41. states:
  42. bus_sink: false
  43. bus_source: false
  44. bus_structure: null
  45. coordinate: [528, 12.0]
  46. rotation: 0
  47. state: enabled
  48. - name: len_key
  49. id: variable
  50. parameters:
  51. comment: ''
  52. value: '"packet_len"'
  53. states:
  54. bus_sink: false
  55. bus_source: false
  56. bus_structure: null
  57. coordinate: [296, 12.0]
  58. rotation: 0
  59. state: enabled
  60. - name: num_key
  61. id: variable
  62. parameters:
  63. comment: ''
  64. value: '"packet_num"'
  65. states:
  66. bus_sink: false
  67. bus_source: false
  68. bus_structure: null
  69. coordinate: [408, 12.0]
  70. rotation: 0
  71. state: enabled
  72. - name: samp_rate
  73. id: variable
  74. parameters:
  75. comment: ''
  76. value: '32000'
  77. states:
  78. bus_sink: false
  79. bus_source: false
  80. bus_structure: null
  81. coordinate: [200, 12.0]
  82. rotation: 0
  83. state: enabled
  84. - name: blocks_file_source_0
  85. id: blocks_file_source
  86. parameters:
  87. affinity: ''
  88. alias: ''
  89. begin_tag: pmt.PMT_NIL
  90. comment: ''
  91. file: /home/barry/Documents/Org2022.txt
  92. length: '0'
  93. maxoutbuf: '0'
  94. minoutbuf: '0'
  95. offset: '0'
  96. repeat: 'False'
  97. type: byte
  98. vlen: '1'
  99. states:
  100. bus_sink: false
  101. bus_source: false
  102. bus_structure: null
  103. coordinate: [64, 164.0]
  104. rotation: 0
  105. state: true
  106. - name: blocks_message_debug_0
  107. id: blocks_message_debug
  108. parameters:
  109. affinity: ''
  110. alias: ''
  111. comment: ''
  112. en_uvec: 'True'
  113. states:
  114. bus_sink: false
  115. bus_source: false
  116. bus_structure: null
  117. coordinate: [1200, 272.0]
  118. rotation: 180
  119. state: enabled
  120. - name: blocks_stream_to_tagged_stream_0
  121. id: blocks_stream_to_tagged_stream
  122. parameters:
  123. affinity: ''
  124. alias: ''
  125. comment: ''
  126. len_tag_key: '"packet_len"'
  127. maxoutbuf: '0'
  128. minoutbuf: '0'
  129. packet_len: '290'
  130. type: byte
  131. vlen: '1'
  132. states:
  133. bus_sink: false
  134. bus_source: false
  135. bus_structure: null
  136. coordinate: [464, 188.0]
  137. rotation: 0
  138. state: true
  139. - name: blocks_throttle_0
  140. id: blocks_throttle
  141. parameters:
  142. affinity: ''
  143. alias: ''
  144. comment: ''
  145. ignoretag: 'True'
  146. maxoutbuf: '0'
  147. minoutbuf: '0'
  148. samples_per_second: samp_rate
  149. type: byte
  150. vlen: '1'
  151. states:
  152. bus_sink: false
  153. bus_source: false
  154. bus_structure: null
  155. coordinate: [288, 196.0]
  156. rotation: 0
  157. state: true
  158. - name: digital_crc32_bb_0
  159. id: digital_crc32_bb
  160. parameters:
  161. affinity: ''
  162. alias: ''
  163. check: 'False'
  164. comment: ''
  165. lengthtagname: '"packet_len"'
  166. maxoutbuf: '0'
  167. minoutbuf: '0'
  168. packed: 'True'
  169. states:
  170. bus_sink: false
  171. bus_source: false
  172. bus_structure: null
  173. coordinate: [696, 180.0]
  174. rotation: 0
  175. state: true
  176. - name: digital_protocol_formatter_bb_0
  177. id: digital_protocol_formatter_bb
  178. parameters:
  179. affinity: ''
  180. alias: ''
  181. comment: ''
  182. format: hdr_format
  183. len_tag_key: '"packet_len"'
  184. maxoutbuf: '0'
  185. minoutbuf: '0'
  186. states:
  187. bus_sink: false
  188. bus_source: false
  189. bus_structure: null
  190. coordinate: [928, 188.0]
  191. rotation: 0
  192. state: true
  193. - name: pdu_tagged_stream_to_pdu_0
  194. id: pdu_tagged_stream_to_pdu
  195. parameters:
  196. affinity: ''
  197. alias: ''
  198. comment: ''
  199. maxoutbuf: '0'
  200. minoutbuf: '0'
  201. tag: packet_len
  202. type: byte
  203. states:
  204. bus_sink: false
  205. bus_source: false
  206. bus_structure: null
  207. coordinate: [1168, 196.0]
  208. rotation: 0
  209. state: true
  210.  
  211. connections:
  212. - [blocks_file_source_0, '0', blocks_throttle_0, '0']
  213. - [blocks_stream_to_tagged_stream_0, '0', digital_crc32_bb_0, '0']
  214. - [blocks_throttle_0, '0', blocks_stream_to_tagged_stream_0, '0']
  215. - [digital_crc32_bb_0, '0', digital_protocol_formatter_bb_0, '0']
  216. - [digital_protocol_formatter_bb_0, '0', pdu_tagged_stream_to_pdu_0, '0']
  217. - [pdu_tagged_stream_to_pdu_0, pdus, blocks_message_debug_0, print]
  218.  
  219. metadata:
  220. file_format: 1
  221. grc_version: 3.10.5.1
  222.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement