Advertisement
m4rtinpf

packet_rx.grc

Nov 9th, 2021
190
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2. parameters:
  3. author: ''
  4. category: Packet Operators
  5. cmake_opt: ''
  6. comment: ''
  7. copyright: ''
  8. description: ''
  9. gen_cmake: 'On'
  10. gen_linking: dynamic
  11. generate_options: hb
  12. hier_block_src_path: '.:'
  13. id: packet_rx
  14. max_nouts: '0'
  15. output_language: python
  16. placement: (0,0)
  17. qt_qss_theme: ''
  18. realtime_scheduling: ''
  19. run: 'True'
  20. run_command: '{python} -u {filename}'
  21. run_options: prompt
  22. sizing_mode: fixed
  23. thread_safe_setters: ''
  24. title: ''
  25. window_size: ''
  26. states:
  27. bus_sink: false
  28. bus_source: false
  29. bus_structure: null
  30. coordinate: [8, 11]
  31. rotation: 0
  32. state: enabled
  33.  
  34. blocks:
  35. - name: mark_delay
  36. id: variable
  37. parameters:
  38. comment: ''
  39. value: mark_delays[sps]
  40. states:
  41. bus_sink: false
  42. bus_source: false
  43. bus_structure: null
  44. coordinate: [32, 436.0]
  45. rotation: 0
  46. state: enabled
  47. - name: mark_delays
  48. id: variable
  49. parameters:
  50. comment: "Tag Marking Delay for \nCorr Est block, indexed\nby sps.\n\nFound empirically."
  51. value: '[0, 0, 34, 56, 87, 119]'
  52. states:
  53. bus_sink: false
  54. bus_source: false
  55. bus_structure: null
  56. coordinate: [32, 500.0]
  57. rotation: 0
  58. state: enabled
  59. - name: modulated_sync_word
  60. id: variable_modulate_vector
  61. parameters:
  62. comment: ''
  63. data: preamble
  64. mod: rxmod
  65. taps: '[1]'
  66. states:
  67. bus_sink: false
  68. bus_source: false
  69. bus_structure: null
  70. coordinate: [744, 484.0]
  71. rotation: 0
  72. state: enabled
  73. - name: nfilts
  74. id: variable
  75. parameters:
  76. comment: ''
  77. value: '32'
  78. states:
  79. bus_sink: false
  80. bus_source: false
  81. bus_structure: null
  82. coordinate: [8, 91]
  83. rotation: 0
  84. state: enabled
  85. - name: preamble
  86. id: variable
  87. parameters:
  88. comment: ''
  89. value: preamble_select[int(1.0/hdr_dec.rate())]
  90. states:
  91. bus_sink: false
  92. bus_source: false
  93. bus_structure: null
  94. coordinate: [728, 692.0]
  95. rotation: 0
  96. state: enabled
  97. - name: preamble_dummy
  98. id: variable
  99. parameters:
  100. comment: 'use when header
  101.  
  102. FEC is Dummy'
  103. value: '[0xac, 0xdd, 0xa4, 0xe2, 0xf2, 0x8c, 0x20, 0xfc]'
  104. states:
  105. bus_sink: false
  106. bus_source: false
  107. bus_structure: null
  108. coordinate: [560, 580.0]
  109. rotation: 0
  110. state: enabled
  111. - name: preamble_rep
  112. id: variable
  113. parameters:
  114. comment: 'use when header
  115.  
  116. FEC is Repetition (x3)'
  117. value: '[0xe3, 0x8f, 0xc0, 0xfc, 0x7f, 0xc7, 0xe3, 0x81, 0xc0, 0xff, 0x80, 0x38,
  118. 0xff, 0xf0, 0x38, 0xe0, 0x0f, 0xc0, 0x03, 0x80, 0x00, 0xff, 0xff, 0xc0]'
  119. states:
  120. bus_sink: false
  121. bus_source: false
  122. bus_structure: null
  123. coordinate: [728, 580.0]
  124. rotation: 0
  125. state: enabled
  126. - name: preamble_select
  127. id: variable
  128. parameters:
  129. comment: ''
  130. value: '{1: preamble_dummy, 3: preamble_rep}'
  131. states:
  132. bus_sink: false
  133. bus_source: false
  134. bus_structure: null
  135. coordinate: [560, 692.0]
  136. rotation: 0
  137. state: enabled
  138. - name: rxmod
  139. id: variable
  140. parameters:
  141. comment: ''
  142. value: digital.generic_mod(hdr_const, False, sps, True, eb, False, False)
  143. states:
  144. bus_sink: false
  145. bus_source: false
  146. bus_structure: null
  147. coordinate: [560, 516.0]
  148. rotation: 0
  149. state: enabled
  150. - name: blocks_multiply_by_tag_value_cc_0
  151. id: blocks_multiply_by_tag_value_cc
  152. parameters:
  153. affinity: ''
  154. alias: ''
  155. comment: ''
  156. maxoutbuf: '0'
  157. minoutbuf: '0'
  158. tagname: '"amp_est"'
  159. vlen: '1'
  160. states:
  161. bus_sink: false
  162. bus_source: false
  163. bus_structure: null
  164. coordinate: [376, 316.0]
  165. rotation: 0
  166. state: enabled
  167. - name: blocks_tagged_stream_multiply_length_0
  168. id: blocks_tagged_stream_multiply_length
  169. parameters:
  170. affinity: ''
  171. alias: ''
  172. c: pld_const.bits_per_symbol()
  173. comment: ''
  174. lengthtagname: '"payload symbols"'
  175. maxoutbuf: '0'
  176. minoutbuf: '0'
  177. type: float
  178. vlen: '1'
  179. states:
  180. bus_sink: false
  181. bus_source: false
  182. bus_structure: null
  183. coordinate: [1320, 496.0]
  184. rotation: 180
  185. state: enabled
  186. - name: blocks_tagged_stream_to_pdu_0
  187. id: blocks_tagged_stream_to_pdu
  188. parameters:
  189. affinity: ''
  190. alias: ''
  191. comment: ''
  192. maxoutbuf: '0'
  193. minoutbuf: '0'
  194. tag: '"payload symbols"'
  195. type: float
  196. states:
  197. bus_sink: false
  198. bus_source: false
  199. bus_structure: null
  200. coordinate: [1200, 580.0]
  201. rotation: 0
  202. state: enabled
  203. - name: digital_constellation_soft_decoder_cf_0
  204. id: digital_constellation_soft_decoder_cf
  205. parameters:
  206. affinity: ''
  207. alias: ''
  208. comment: ''
  209. constellation: pld_const
  210. maxoutbuf: '0'
  211. minoutbuf: '0'
  212. states:
  213. bus_sink: false
  214. bus_source: false
  215. bus_structure: null
  216. coordinate: [1440, 356.0]
  217. rotation: 0
  218. state: enabled
  219. - name: digital_constellation_soft_decoder_cf_0_0
  220. id: digital_constellation_soft_decoder_cf
  221. parameters:
  222. affinity: ''
  223. alias: ''
  224. comment: ''
  225. constellation: hdr_const
  226. maxoutbuf: '0'
  227. minoutbuf: '0'
  228. states:
  229. bus_sink: false
  230. bus_source: false
  231. bus_structure: null
  232. coordinate: [1424, 196.0]
  233. rotation: 0
  234. state: enabled
  235. - name: digital_corr_est_cc_0
  236. id: digital_corr_est_cc
  237. parameters:
  238. affinity: ''
  239. alias: ''
  240. comment: ''
  241. mark_delay: mark_delay
  242. maxoutbuf: '0'
  243. minoutbuf: '0'
  244. sps: sps
  245. symbols: modulated_sync_word
  246. threshold: '0.999'
  247. threshold_method: digital.THRESHOLD_ABSOLUTE
  248. states:
  249. bus_sink: false
  250. bus_source: false
  251. bus_structure: null
  252. coordinate: [144, 308.0]
  253. rotation: 0
  254. state: enabled
  255. - name: digital_costas_loop_cc_0_0
  256. id: digital_costas_loop_cc
  257. parameters:
  258. affinity: ''
  259. alias: ''
  260. comment: ''
  261. maxoutbuf: '0'
  262. minoutbuf: '0'
  263. order: hdr_const.arity()
  264. use_snr: 'False'
  265. w: 6.28/200.0
  266. states:
  267. bus_sink: false
  268. bus_source: false
  269. bus_structure: null
  270. coordinate: [1232, 200.0]
  271. rotation: 0
  272. state: enabled
  273. - name: digital_costas_loop_cc_0_0_0
  274. id: digital_costas_loop_cc
  275. parameters:
  276. affinity: ''
  277. alias: ''
  278. comment: ''
  279. maxoutbuf: '0'
  280. minoutbuf: '0'
  281. order: pld_const.arity()
  282. use_snr: 'False'
  283. w: 6.28/200.0
  284. states:
  285. bus_sink: false
  286. bus_source: false
  287. bus_structure: null
  288. coordinate: [1232, 360.0]
  289. rotation: 0
  290. state: enabled
  291. - name: digital_crc32_async_bb_0
  292. id: digital_crc32_async_bb
  293. parameters:
  294. affinity: ''
  295. alias: ''
  296. check: 'True'
  297. comment: ''
  298. maxoutbuf: '0'
  299. minoutbuf: '0'
  300. states:
  301. bus_sink: false
  302. bus_source: false
  303. bus_structure: null
  304. coordinate: [1680, 580.0]
  305. rotation: 0
  306. state: enabled
  307. - name: digital_header_payload_demux_0
  308. id: digital_header_payload_demux
  309. parameters:
  310. affinity: ''
  311. alias: ''
  312. comment: ''
  313. guard_interval: '0'
  314. header_len: (hdr_format.header_nbits() * int(1.0/hdr_dec.rate())) // hdr_const.bits_per_symbol()
  315. header_padding: '0'
  316. items_per_symbol: '1'
  317. length_tag_key: '"payload symbols"'
  318. maxoutbuf: '0'
  319. minoutbuf: '0'
  320. output_symbols: 'True'
  321. samp_rate: '1'
  322. special_tags: '[]'
  323. timing_tag_key: '"rx_time"'
  324. trigger_tag_key: '"time_est"'
  325. type: complex
  326. states:
  327. bus_sink: false
  328. bus_source: false
  329. bus_structure: null
  330. coordinate: [856, 244.0]
  331. rotation: 0
  332. state: enabled
  333. - name: digital_pfb_clock_sync_xxx_0
  334. id: digital_pfb_clock_sync_xxx
  335. parameters:
  336. affinity: ''
  337. alias: ''
  338. comment: ''
  339. filter_size: nfilts
  340. init_phase: nfilts/2
  341. loop_bw: 6.28/400.0
  342. max_dev: '1.5'
  343. maxoutbuf: '0'
  344. minoutbuf: '0'
  345. osps: '1'
  346. sps: sps
  347. taps: psf_taps
  348. type: ccf
  349. states:
  350. bus_sink: false
  351. bus_source: false
  352. bus_structure: null
  353. coordinate: [568, 276.0]
  354. rotation: 0
  355. state: enabled
  356. - name: digital_protocol_parser_b_0
  357. id: digital_protocol_parser_b
  358. parameters:
  359. affinity: ''
  360. alias: ''
  361. comment: ''
  362. format: hdr_format
  363. maxoutbuf: '0'
  364. minoutbuf: '0'
  365. states:
  366. bus_sink: false
  367. bus_source: false
  368. bus_structure: null
  369. coordinate: [856, 140.0]
  370. rotation: 180
  371. state: enabled
  372. - name: eb
  373. id: parameter
  374. parameters:
  375. alias: ''
  376. comment: ''
  377. hide: none
  378. label: Filter Rolloff
  379. short_id: ''
  380. type: eng_float
  381. value: '0.35'
  382. states:
  383. bus_sink: false
  384. bus_source: false
  385. bus_structure: null
  386. coordinate: [1408, 11]
  387. rotation: 0
  388. state: enabled
  389. - name: fec_async_decoder_0
  390. id: fec_async_decoder
  391. parameters:
  392. affinity: ''
  393. alias: ''
  394. comment: ''
  395. decoder: pld_dec
  396. maxoutbuf: '0'
  397. minoutbuf: '0'
  398. mtu: 1500*8
  399. packed: 'True'
  400. rev_pack: 'False'
  401. states:
  402. bus_sink: false
  403. bus_source: false
  404. bus_structure: null
  405. coordinate: [1440, 572.0]
  406. rotation: 0
  407. state: enabled
  408. - name: fec_generic_decoder_0
  409. id: fec_generic_decoder
  410. parameters:
  411. affinity: ''
  412. alias: ''
  413. comment: ''
  414. decoder: hdr_dec
  415. itype: float
  416. maxoutbuf: '0'
  417. minoutbuf: '0'
  418. otype: byte
  419. states:
  420. bus_sink: false
  421. bus_source: false
  422. bus_structure: null
  423. coordinate: [1424, 140.0]
  424. rotation: 180
  425. state: enabled
  426. - name: hdr_const
  427. id: parameter
  428. parameters:
  429. alias: ''
  430. comment: ''
  431. hide: none
  432. label: Header constellation
  433. short_id: ''
  434. type: ''
  435. value: digital.constellation_calcdist((digital.psk_2()[0]), (digital.psk_2()[1]),
  436. 2, 1).base()
  437. states:
  438. bus_sink: false
  439. bus_source: false
  440. bus_structure: null
  441. coordinate: [544, 11]
  442. rotation: 0
  443. state: enabled
  444. - name: hdr_dec
  445. id: parameter
  446. parameters:
  447. alias: ''
  448. comment: ''
  449. hide: none
  450. label: Header FEC Decoder
  451. short_id: ''
  452. type: ''
  453. value: ' fec.dummy_decoder.make(8000)'
  454. states:
  455. bus_sink: false
  456. bus_source: false
  457. bus_structure: null
  458. coordinate: [192, 11]
  459. rotation: 0
  460. state: enabled
  461. - name: hdr_format
  462. id: parameter
  463. parameters:
  464. alias: ''
  465. comment: ''
  466. hide: none
  467. label: Header Formatter
  468. short_id: ''
  469. type: ''
  470. value: digital.header_format_default(digital.packet_utils.default_access_code,
  471. 0)
  472. states:
  473. bus_sink: false
  474. bus_source: false
  475. bus_structure: null
  476. coordinate: [904, 11]
  477. rotation: 0
  478. state: enabled
  479. - name: pad_sink_0
  480. id: pad_sink
  481. parameters:
  482. affinity: ''
  483. alias: ''
  484. comment: ''
  485. label: pkt out
  486. num_streams: '1'
  487. optional: 'True'
  488. type: message
  489. vlen: '1'
  490. states:
  491. bus_sink: false
  492. bus_source: false
  493. bus_structure: null
  494. coordinate: [1815, 459]
  495. rotation: 0
  496. state: enabled
  497. - name: pad_sink_1
  498. id: pad_sink
  499. parameters:
  500. affinity: ''
  501. alias: ''
  502. comment: ''
  503. label: precrc
  504. num_streams: '1'
  505. optional: 'True'
  506. type: message
  507. vlen: '1'
  508. states:
  509. bus_sink: false
  510. bus_source: false
  511. bus_structure: null
  512. coordinate: [1680, 628.0]
  513. rotation: 0
  514. state: enabled
  515. - name: pad_sink_2
  516. id: pad_sink
  517. parameters:
  518. affinity: ''
  519. alias: ''
  520. comment: ''
  521. label: hdr_out
  522. num_streams: '1'
  523. optional: 'True'
  524. type: complex
  525. vlen: '1'
  526. states:
  527. bus_sink: false
  528. bus_source: false
  529. bus_structure: null
  530. coordinate: [1024, 196.0]
  531. rotation: 180
  532. state: enabled
  533. - name: pad_sink_3
  534. id: pad_sink
  535. parameters:
  536. affinity: ''
  537. alias: ''
  538. comment: ''
  539. label: pld_out
  540. num_streams: '1'
  541. optional: 'True'
  542. type: complex
  543. vlen: '1'
  544. states:
  545. bus_sink: false
  546. bus_source: false
  547. bus_structure: null
  548. coordinate: [1024, 420.0]
  549. rotation: 180
  550. state: enabled
  551. - name: pad_sink_3_0
  552. id: pad_sink
  553. parameters:
  554. affinity: ''
  555. alias: ''
  556. comment: ''
  557. label: pld_phs
  558. num_streams: '1'
  559. optional: 'True'
  560. type: complex
  561. vlen: '1'
  562. states:
  563. bus_sink: false
  564. bus_source: false
  565. bus_structure: null
  566. coordinate: [1456, 308.0]
  567. rotation: 0
  568. state: enabled
  569. - name: pad_sink_5
  570. id: pad_sink
  571. parameters:
  572. affinity: ''
  573. alias: ''
  574. comment: ''
  575. label: timing
  576. num_streams: '1'
  577. optional: 'True'
  578. type: complex
  579. vlen: '1'
  580. states:
  581. bus_sink: false
  582. bus_source: false
  583. bus_structure: null
  584. coordinate: [664, 220.0]
  585. rotation: 180
  586. state: enabled
  587. - name: pad_sink_7
  588. id: pad_sink
  589. parameters:
  590. affinity: ''
  591. alias: ''
  592. comment: ''
  593. label: corr est
  594. num_streams: '1'
  595. optional: 'True'
  596. type: complex
  597. vlen: '1'
  598. states:
  599. bus_sink: false
  600. bus_source: false
  601. bus_structure: null
  602. coordinate: [232, 420.0]
  603. rotation: 180
  604. state: enabled
  605. - name: pad_source_0
  606. id: pad_source
  607. parameters:
  608. affinity: ''
  609. alias: ''
  610. comment: ''
  611. label: in
  612. maxoutbuf: '0'
  613. minoutbuf: '0'
  614. num_streams: '1'
  615. optional: 'False'
  616. type: complex
  617. vlen: '1'
  618. states:
  619. bus_sink: false
  620. bus_source: false
  621. bus_structure: null
  622. coordinate: [8, 340.0]
  623. rotation: 0
  624. state: enabled
  625. - name: pld_const
  626. id: parameter
  627. parameters:
  628. alias: ''
  629. comment: ''
  630. hide: none
  631. label: Payload constellation
  632. short_id: ''
  633. type: ''
  634. value: digital.constellation_calcdist((digital.psk_2()[0]), (digital.psk_2()[1]),
  635. 2, 1).base()
  636. states:
  637. bus_sink: false
  638. bus_source: false
  639. bus_structure: null
  640. coordinate: [720, 11]
  641. rotation: 0
  642. state: enabled
  643. - name: pld_dec
  644. id: parameter
  645. parameters:
  646. alias: ''
  647. comment: ''
  648. hide: none
  649. label: Payload FEC Decoder
  650. short_id: ''
  651. type: ''
  652. value: ' fec.dummy_decoder.make(8000)'
  653. states:
  654. bus_sink: false
  655. bus_source: false
  656. bus_structure: null
  657. coordinate: [368, 11]
  658. rotation: 0
  659. state: enabled
  660. - name: psf_taps
  661. id: parameter
  662. parameters:
  663. alias: ''
  664. comment: ''
  665. hide: none
  666. label: Pulse Shape Filter
  667. short_id: ''
  668. type: ''
  669. value: '[0,]'
  670. states:
  671. bus_sink: false
  672. bus_source: false
  673. bus_structure: null
  674. coordinate: [1256, 11]
  675. rotation: 0
  676. state: enabled
  677. - name: sps
  678. id: parameter
  679. parameters:
  680. alias: ''
  681. comment: ''
  682. hide: none
  683. label: Samples per Symbol
  684. short_id: ''
  685. type: eng_float
  686. value: '2'
  687. states:
  688. bus_sink: false
  689. bus_source: false
  690. bus_structure: null
  691. coordinate: [1096, 11]
  692. rotation: 0
  693. state: enabled
  694.  
  695. connections:
  696. - [blocks_multiply_by_tag_value_cc_0, '0', digital_pfb_clock_sync_xxx_0, '0']
  697. - [blocks_tagged_stream_multiply_length_0, '0', blocks_tagged_stream_to_pdu_0, '0']
  698. - [blocks_tagged_stream_to_pdu_0, pdus, fec_async_decoder_0, in]
  699. - [blocks_tagged_stream_to_pdu_0, pdus, pad_sink_0, in]
  700. - [blocks_tagged_stream_to_pdu_0, pdus, pad_sink_1, in]
  701. - [digital_constellation_soft_decoder_cf_0, '0', blocks_tagged_stream_multiply_length_0,
  702. '0']
  703. - [digital_constellation_soft_decoder_cf_0_0, '0', fec_generic_decoder_0, '0']
  704. - [digital_corr_est_cc_0, '0', blocks_multiply_by_tag_value_cc_0, '0']
  705. - [digital_corr_est_cc_0, '1', pad_sink_7, '0']
  706. - [digital_costas_loop_cc_0_0, '0', digital_constellation_soft_decoder_cf_0_0, '0']
  707. - [digital_costas_loop_cc_0_0_0, '0', digital_constellation_soft_decoder_cf_0, '0']
  708. - [digital_costas_loop_cc_0_0_0, '0', pad_sink_3_0, '0']
  709. - [digital_crc32_async_bb_0, out, pad_sink_0, in]
  710. - [digital_header_payload_demux_0, '0', digital_costas_loop_cc_0_0, '0']
  711. - [digital_header_payload_demux_0, '0', pad_sink_2, '0']
  712. - [digital_header_payload_demux_0, '1', digital_costas_loop_cc_0_0_0, '0']
  713. - [digital_header_payload_demux_0, '1', pad_sink_3, '0']
  714. - [digital_pfb_clock_sync_xxx_0, '0', digital_header_payload_demux_0, '0']
  715. - [digital_pfb_clock_sync_xxx_0, '0', pad_sink_5, '0']
  716. - [digital_protocol_parser_b_0, info, digital_header_payload_demux_0, header_data]
  717. - [fec_async_decoder_0, out, digital_crc32_async_bb_0, in]
  718. - [fec_async_decoder_0, out, pad_sink_0, in]
  719. - [fec_async_decoder_0, out, pad_sink_1, in]
  720. - [fec_generic_decoder_0, '0', digital_protocol_parser_b_0, '0']
  721. - [pad_source_0, '0', digital_corr_est_cc_0, '0']
  722.  
  723. metadata:
  724. file_format: 1
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement