diff options
author | Nao Pross <np@0hm.ch> | 2021-11-18 19:07:03 +0100 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-11-18 19:07:03 +0100 |
commit | d00bb6d29ceae9d2ee958b57549af335e977edc6 (patch) | |
tree | b1e2a3d05724b936ced4182c435d48ebddff3e79 /tests | |
parent | Add PDFs (diff) | |
download | Fading-d00bb6d29ceae9d2ee958b57549af335e977edc6.tar.gz Fading-d00bb6d29ceae9d2ee958b57549af335e977edc6.zip |
Partially implement xor correlator (untested)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fadingui/QAM/qam_nogui.grc | 10 | ||||
-rwxr-xr-x | tests/fadingui/QAM/qam_nogui.py | 4 |
2 files changed, 6 insertions, 8 deletions
diff --git a/tests/fadingui/QAM/qam_nogui.grc b/tests/fadingui/QAM/qam_nogui.grc index e9028b6..83c8059 100644 --- a/tests/fadingui/QAM/qam_nogui.grc +++ b/tests/fadingui/QAM/qam_nogui.grc @@ -488,23 +488,23 @@ blocks: bus_structure: null coordinate: [2096, 180.0] rotation: 0 - state: true + state: disabled - name: fadingui_xor_frame_sync_0 id: fadingui_xor_frame_sync parameters: affinity: '' alias: '' - buffer_size: '128' + buffer_size: '2048' comment: '' maxoutbuf: '0' minoutbuf: '0' - pattern: '[]' - pattern_len: '10' + pattern: '[0xbe, 0xef]' + pattern_len: '16' states: bus_sink: false bus_source: false bus_structure: null - coordinate: [2304, 436.0] + coordinate: [2312, 436.0] rotation: 0 state: true diff --git a/tests/fadingui/QAM/qam_nogui.py b/tests/fadingui/QAM/qam_nogui.py index 56fc49b..1da693e 100755 --- a/tests/fadingui/QAM/qam_nogui.py +++ b/tests/fadingui/QAM/qam_nogui.py @@ -52,8 +52,7 @@ class qam_nogui(gr.top_block): ################################################## # Blocks ################################################## - self.fadingui_xor_frame_sync_0 = fadingui.xor_frame_sync(sync_pattern=[], buffer_size=128) - self.fadingui_dearpygui_sink_0 = fadingui.dearpygui_sink(sock_addr='udp://localhost:31415', ui_element_id=0) + self.fadingui_xor_frame_sync_0 = fadingui.xor_frame_sync(sync_pattern=[0xbe, 0xef], buffer_size=2048) self.fadingui_datasource_0 = fadingui.datasource(vec_len=2037, header_len=11, sock_addr='udp://', file_list=["./lena512color.tiff"]) self.digital_pfb_clock_sync_xxx_0 = digital.pfb_clock_sync_ccf(sps, timing_loop_bw, rrc_taps, nfilts, nfilts/2, 1.5, 1) self.digital_map_bb_0 = digital.map_bb([0, 1, 3, 2]) @@ -92,7 +91,6 @@ class qam_nogui(gr.top_block): self.connect((self.digital_constellation_decoder_cb_0, 0), (self.digital_diff_decoder_bb_0, 0)) self.connect((self.digital_constellation_modulator_0, 0), (self.blocks_throttle_0, 0)) self.connect((self.digital_costas_loop_cc_0, 0), (self.digital_constellation_decoder_cb_0, 0)) - self.connect((self.digital_costas_loop_cc_0, 0), (self.fadingui_dearpygui_sink_0, 0)) self.connect((self.digital_diff_decoder_bb_0, 0), (self.digital_map_bb_0, 0)) self.connect((self.digital_map_bb_0, 0), (self.fadingui_xor_frame_sync_0, 0)) self.connect((self.digital_pfb_clock_sync_xxx_0, 0), (self.digital_cma_equalizer_cc_0, 0)) |