aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-11-18 16:11:24 +0100
committerNao Pross <np@0hm.ch>2021-11-18 16:11:24 +0100
commitdd795612f0ca0d84e0a17075f8e56d783937bf10 (patch)
treef13eb51615fa8c26747785de3ed7f5ab345f4315 /tests
parentMerge branch 'master' of github.com:NaoPross/Fading (diff)
downloadFading-dd795612f0ca0d84e0a17075f8e56d783937bf10.tar.gz
Fading-dd795612f0ca0d84e0a17075f8e56d783937bf10.zip
Begin frame sync block
Diffstat (limited to '')
-rw-r--r--tests/fadingui/QAM/qam_nogui.grc25
-rwxr-xr-xtests/fadingui/QAM/qam_nogui.py4
2 files changed, 25 insertions, 4 deletions
diff --git a/tests/fadingui/QAM/qam_nogui.grc b/tests/fadingui/QAM/qam_nogui.grc
index 2c6abf8..e9028b6 100644
--- a/tests/fadingui/QAM/qam_nogui.grc
+++ b/tests/fadingui/QAM/qam_nogui.grc
@@ -265,7 +265,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
- coordinate: [2336, 424.0]
+ coordinate: [2584, 456.0]
rotation: 0
state: true
- name: blocks_throttle_0
@@ -429,7 +429,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
- coordinate: [2136, 420.0]
+ coordinate: [2144, 452.0]
rotation: 0
state: true
- name: digital_pfb_clock_sync_xxx_0
@@ -489,6 +489,24 @@ blocks:
coordinate: [2096, 180.0]
rotation: 0
state: true
+- name: fadingui_xor_frame_sync_0
+ id: fadingui_xor_frame_sync
+ parameters:
+ affinity: ''
+ alias: ''
+ buffer_size: '128'
+ comment: ''
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ pattern: '[]'
+ pattern_len: '10'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [2304, 436.0]
+ rotation: 0
+ state: true
connections:
- [blocks_throttle_0, '0', channels_channel_model_0, '0']
@@ -500,9 +518,10 @@ connections:
- [digital_costas_loop_cc_0, '0', digital_constellation_decoder_cb_0, '0']
- [digital_costas_loop_cc_0, '0', fadingui_dearpygui_sink_0, '0']
- [digital_diff_decoder_bb_0, '0', digital_map_bb_0, '0']
-- [digital_map_bb_0, '0', blocks_null_sink_0, '0']
+- [digital_map_bb_0, '0', fadingui_xor_frame_sync_0, '0']
- [digital_pfb_clock_sync_xxx_0, '0', digital_cma_equalizer_cc_0, '0']
- [fadingui_datasource_0, '0', blocks_vector_to_stream_0, '0']
+- [fadingui_xor_frame_sync_0, '0', blocks_null_sink_0, '0']
metadata:
file_format: 1
diff --git a/tests/fadingui/QAM/qam_nogui.py b/tests/fadingui/QAM/qam_nogui.py
index e9aa15b..56fc49b 100755
--- a/tests/fadingui/QAM/qam_nogui.py
+++ b/tests/fadingui/QAM/qam_nogui.py
@@ -52,6 +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_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)
@@ -93,9 +94,10 @@ class qam_nogui(gr.top_block):
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.blocks_null_sink_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))
self.connect((self.fadingui_datasource_0, 0), (self.blocks_vector_to_stream_0, 0))
+ self.connect((self.fadingui_xor_frame_sync_0, 0), (self.blocks_null_sink_0, 0))
def get_sps(self):