duggabe

pkt_53.grc

Jan 28th, 2025
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.25 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: ''
  10. gen_cmake: 'On'
  11. gen_linking: dynamic
  12. generate_options: no_gui
  13. hier_block_src_path: '.:'
  14. id: pkt_53
  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_53
  26. window_size: (1000,1000)
  27. states:
  28. bus_sink: false
  29. bus_source: false
  30. bus_structure: null
  31. coordinate: [24, 16.0]
  32. rotation: 0
  33. state: enabled
  34.  
  35. blocks:
  36. - name: samp_rate
  37. id: variable
  38. parameters:
  39. comment: ''
  40. value: '32000'
  41. states:
  42. bus_sink: false
  43. bus_source: false
  44. bus_structure: null
  45. coordinate: [184, 16.0]
  46. rotation: 0
  47. state: enabled
  48. - name: blocks_message_debug_0_0
  49. id: blocks_message_debug
  50. parameters:
  51. affinity: ''
  52. alias: ''
  53. comment: ''
  54. en_uvec: 'True'
  55. log_level: info
  56. states:
  57. bus_sink: false
  58. bus_source: false
  59. bus_structure: null
  60. coordinate: [648, 56.0]
  61. rotation: 0
  62. state: disabled
  63. - name: blocks_message_debug_0_0_0
  64. id: blocks_message_debug
  65. parameters:
  66. affinity: ''
  67. alias: ''
  68. comment: ''
  69. en_uvec: 'True'
  70. log_level: info
  71. states:
  72. bus_sink: false
  73. bus_source: false
  74. bus_structure: null
  75. coordinate: [792, 360.0]
  76. rotation: 0
  77. state: enabled
  78. - name: blocks_message_strobe_0
  79. id: blocks_message_strobe
  80. parameters:
  81. affinity: ''
  82. alias: ''
  83. comment: ''
  84. maxoutbuf: '0'
  85. minoutbuf: '0'
  86. msg: pmt.cons(pmt.PMT_NIL,pmt.init_u8vector(9,(71,78,85,32,82,97,100,105,111)))
  87. period: '2000'
  88. states:
  89. bus_sink: false
  90. bus_source: false
  91. bus_structure: null
  92. coordinate: [128, 216.0]
  93. rotation: 0
  94. state: enabled
  95. - name: blocks_throttle2_0
  96. id: blocks_throttle2
  97. parameters:
  98. affinity: ''
  99. alias: ''
  100. comment: ''
  101. ignoretag: 'True'
  102. limit: auto
  103. maximum: '0.1'
  104. maxoutbuf: '0'
  105. minoutbuf: '0'
  106. samples_per_second: samp_rate
  107. type: byte
  108. vlen: '1'
  109. states:
  110. bus_sink: false
  111. bus_source: false
  112. bus_structure: null
  113. coordinate: [848, 216.0]
  114. rotation: 0
  115. state: enabled
  116. - name: digital_crc_append_0
  117. id: digital_crc_append
  118. parameters:
  119. affinity: ''
  120. alias: ''
  121. comment: ''
  122. final_xor: '0xFFFFFFFF'
  123. initial_value: '0xFFFFFFFF'
  124. input_reflected: 'True'
  125. maxoutbuf: '0'
  126. minoutbuf: '0'
  127. num_bits: '32'
  128. poly: '0x4C11DB7'
  129. result_reflected: 'True'
  130. skip_header_bytes: '0'
  131. swap_endianness: 'False'
  132. states:
  133. bus_sink: false
  134. bus_source: false
  135. bus_structure: null
  136. coordinate: [368, 224.0]
  137. rotation: 0
  138. state: true
  139. - name: digital_crc_check_0
  140. id: digital_crc_check
  141. parameters:
  142. affinity: ''
  143. alias: ''
  144. comment: ''
  145. discard_crc: 'False'
  146. final_xor: '0xFFFFFFFF'
  147. initial_value: '0xFFFFFFFF'
  148. input_reflected: 'True'
  149. maxoutbuf: '0'
  150. minoutbuf: '0'
  151. num_bits: '32'
  152. poly: '0x4C11DB7'
  153. result_reflected: 'True'
  154. skip_header_bytes: '0'
  155. swap_endianness: 'False'
  156. states:
  157. bus_sink: false
  158. bus_source: false
  159. bus_structure: null
  160. coordinate: [512, 392.0]
  161. rotation: 0
  162. state: enabled
  163. - name: pdu_pdu_to_tagged_stream_0_0
  164. id: pdu_pdu_to_tagged_stream
  165. parameters:
  166. affinity: ''
  167. alias: ''
  168. comment: ''
  169. maxoutbuf: '0'
  170. minoutbuf: '0'
  171. tag: packet_len
  172. type: byte
  173. states:
  174. bus_sink: false
  175. bus_source: false
  176. bus_structure: null
  177. coordinate: [624, 224.0]
  178. rotation: 0
  179. state: true
  180. - name: pdu_tagged_stream_to_pdu_0
  181. id: pdu_tagged_stream_to_pdu
  182. parameters:
  183. affinity: ''
  184. alias: ''
  185. comment: ''
  186. maxoutbuf: '0'
  187. minoutbuf: '0'
  188. tag: packet_len
  189. type: byte
  190. states:
  191. bus_sink: false
  192. bus_source: false
  193. bus_structure: null
  194. coordinate: [272, 400.0]
  195. rotation: 0
  196. state: enabled
  197. - name: virtual_sink_1
  198. id: virtual_sink
  199. parameters:
  200. alias: ''
  201. comment: ''
  202. stream_id: pkt_out
  203. states:
  204. bus_sink: false
  205. bus_source: false
  206. bus_structure: null
  207. coordinate: [1008, 224.0]
  208. rotation: 0
  209. state: true
  210. - name: virtual_source_1
  211. id: virtual_source
  212. parameters:
  213. alias: ''
  214. comment: ''
  215. stream_id: pkt_out
  216. states:
  217. bus_sink: false
  218. bus_source: false
  219. bus_structure: null
  220. coordinate: [104, 400.0]
  221. rotation: 0
  222. state: true
  223.  
  224. connections:
  225. - [blocks_message_strobe_0, strobe, digital_crc_append_0, in]
  226. - [blocks_throttle2_0, '0', virtual_sink_1, '0']
  227. - [digital_crc_append_0, out, blocks_message_debug_0_0, print]
  228. - [digital_crc_append_0, out, pdu_pdu_to_tagged_stream_0_0, pdus]
  229. - [digital_crc_check_0, ok, blocks_message_debug_0_0_0, print]
  230. - [pdu_pdu_to_tagged_stream_0_0, '0', blocks_throttle2_0, '0']
  231. - [pdu_tagged_stream_to_pdu_0, pdus, digital_crc_check_0, in]
  232. - [virtual_source_1, '0', pdu_tagged_stream_to_pdu_0, '0']
  233.  
  234. metadata:
  235. file_format: 1
  236. grc_version: 3.10.9.2
  237.  
Advertisement
Add Comment
Please, Sign In to add comment