From c93efb52cb426155bf9098972b7d27c55dec1eea Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Thu, 14 Oct 2021 17:03:44 +0200 Subject: Remove unnecessary subfolder tests/Simulation and move QPSK into new 'simulation' dir --- tests/AM&DSB_SC/SSB_Resiver_Transmitter.grc | 890 ++++++++++++++++++++++++++++ 1 file changed, 890 insertions(+) create mode 100644 tests/AM&DSB_SC/SSB_Resiver_Transmitter.grc (limited to 'tests/AM&DSB_SC/SSB_Resiver_Transmitter.grc') diff --git a/tests/AM&DSB_SC/SSB_Resiver_Transmitter.grc b/tests/AM&DSB_SC/SSB_Resiver_Transmitter.grc new file mode 100644 index 0000000..df9db74 --- /dev/null +++ b/tests/AM&DSB_SC/SSB_Resiver_Transmitter.grc @@ -0,0 +1,890 @@ +options: + parameters: + author: Sara Halter + category: '[GRC Hier Blocks]' + cmake_opt: '' + comment: '' + copyright: '' + description: '' + gen_cmake: 'On' + gen_linking: dynamic + generate_options: qt_gui + hier_block_src_path: '.:' + id: Simulation + max_nouts: '0' + output_language: python + placement: (0,0) + qt_qss_theme: '' + realtime_scheduling: '1' + run: 'True' + run_command: '{python} -u {filename}' + run_options: prompt + sizing_mode: fixed + thread_safe_setters: '' + title: 'SSB Simulation ' + window_size: '' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [8, 8] + rotation: 0 + state: enabled + +blocks: +- name: audio_rate + id: variable + parameters: + comment: '' + value: '32000' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [280, 12.0] + rotation: 0 + state: enabled +- name: carrier_freq + id: variable + parameters: + comment: '' + value: '16000' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [296, 84.0] + rotation: 0 + state: enabled +- name: decim + id: variable + parameters: + comment: '' + value: samp_rate/audio_rate + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [376, 12.0] + rotation: 0 + state: enabled +- name: reverse + id: variable_qtgui_chooser + parameters: + comment: '' + gui_hint: '' + label: Sideband + label0: Upper + label1: Lower + label2: '' + label3: '' + label4: '' + labels: '[]' + num_opts: '2' + option0: '-1' + option1: '1' + option2: '2' + option3: '3' + option4: '4' + options: '[0, 1, 2]' + orient: Qt.QVBoxLayout + type: int + value: '1' + widget: combo_box + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [600, 12.0] + rotation: 0 + state: true +- name: samp_rate + id: variable + parameters: + comment: '' + value: '256000' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [184, 12] + rotation: 0 + state: enabled +- name: samp_rate_1 + id: variable + parameters: + comment: '' + value: '192000' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [184, 84.0] + rotation: 0 + state: enabled +- name: tuning + id: variable_qtgui_range + parameters: + comment: '' + gui_hint: '' + label: tuning + min_len: '200' + orient: Qt.Horizontal + rangeType: float + start: '48000' + step: '100' + stop: '58000' + value: '51500' + widget: counter_slider + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [456, 12.0] + rotation: 0 + state: true +- name: analog_const_source_x_0 + id: analog_const_source_x + parameters: + affinity: '' + alias: '' + comment: '' + const: '0' + maxoutbuf: '0' + minoutbuf: '0' + type: float + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1744, 516.0] + rotation: 0 + state: true +- name: analog_sig_source_x_0 + id: analog_sig_source_x + parameters: + affinity: '' + alias: '' + amp: '1' + comment: '' + freq: '5000' + maxoutbuf: '0' + minoutbuf: '0' + offset: '0' + phase: '0' + samp_rate: samp_rate + type: complex + waveform: analog.GR_TRI_WAVE + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [72, 284.0] + rotation: 0 + state: true +- name: analog_sig_source_x_0_0 + id: analog_sig_source_x + parameters: + affinity: '' + alias: '' + amp: '1' + comment: '' + freq: '1500' + maxoutbuf: '0' + minoutbuf: '0' + offset: '0' + phase: '0' + samp_rate: audio_rate + type: float + waveform: analog.GR_COS_WAVE + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [656, 180.0] + rotation: 0 + state: true +- name: analog_sig_source_x_0_0_0 + id: analog_sig_source_x + parameters: + affinity: '' + alias: '' + amp: '1' + comment: '' + freq: '1500' + maxoutbuf: '0' + minoutbuf: '0' + offset: '0' + phase: '0' + samp_rate: audio_rate + type: float + waveform: analog.GR_SIN_WAVE + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [664, 428.0] + rotation: 0 + state: true +- name: analog_sig_source_x_1 + id: analog_sig_source_x + parameters: + affinity: '' + alias: '' + amp: '1' + comment: '' + freq: '16000' + maxoutbuf: '0' + minoutbuf: '0' + offset: '0' + phase: '0' + samp_rate: samp_rate_1 + type: complex + waveform: analog.GR_SIN_WAVE + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1896, 356.0] + rotation: 0 + state: true +- name: band_pass_filter_0 + id: band_pass_filter + parameters: + affinity: '' + alias: '' + beta: '6.76' + comment: '' + decim: '1' + gain: '1' + high_cutoff_freq: '19000' + interp: '1' + low_cutoff_freq: '16300' + maxoutbuf: '0' + minoutbuf: '0' + samp_rate: samp_rate_1 + type: fir_filter_ccf + width: '200' + win: firdes.WIN_HAMMING + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [2352, 412.0] + rotation: 0 + state: true +- name: blocks_add_xx_0 + id: blocks_add_xx + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + num_inputs: '2' + type: float + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1200, 280.0] + rotation: 0 + state: true +- name: blocks_complex_to_float_0 + id: blocks_complex_to_float + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [736, 328.0] + rotation: 0 + state: true +- name: blocks_float_to_complex_0 + id: blocks_float_to_complex + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1928, 544.0] + rotation: 0 + state: true +- name: blocks_multiply_const_vxx_0 + id: blocks_multiply_const_vxx + parameters: + affinity: '' + alias: '' + comment: '' + const: 100e-6 + maxoutbuf: '0' + minoutbuf: '0' + type: complex + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [296, 324.0] + rotation: 0 + state: true +- name: blocks_multiply_const_vxx_0_0 + id: blocks_multiply_const_vxx + parameters: + affinity: '' + alias: '' + comment: '' + const: 100e-3 + maxoutbuf: '0' + minoutbuf: '0' + type: float + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1312, 292.0] + rotation: 0 + state: true +- name: blocks_multiply_const_vxx_0_0_0 + id: blocks_multiply_const_vxx + parameters: + affinity: '' + alias: '' + comment: '' + const: '1' + maxoutbuf: '0' + minoutbuf: '0' + type: float + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1080, 404.0] + rotation: 0 + state: true +- name: blocks_multiply_const_vxx_0_0_1 + id: blocks_multiply_const_vxx + parameters: + affinity: '' + alias: '' + comment: '' + const: '10' + maxoutbuf: '0' + minoutbuf: '0' + type: float + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1592, 572.0] + rotation: 0 + state: true +- name: blocks_multiply_xx_0 + id: blocks_multiply_xx + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + num_inputs: '2' + type: complex + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [2176, 456.0] + rotation: 0 + state: true +- name: blocks_multiply_xx_0_0 + id: blocks_multiply_xx + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + num_inputs: '2' + type: float + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [928, 264.0] + rotation: 0 + state: true +- name: blocks_multiply_xx_0_0_0 + id: blocks_multiply_xx + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + num_inputs: '2' + type: float + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [936, 392.0] + rotation: 0 + state: true +- name: blocks_repeat_0 + id: blocks_repeat + parameters: + affinity: '' + alias: '' + comment: '' + interp: '4' + maxoutbuf: '0' + minoutbuf: '0' + type: float + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1752, 572.0] + rotation: 0 + state: true +- name: blocks_throttle_0 + id: blocks_throttle + parameters: + affinity: '' + alias: '' + comment: '' + ignoretag: 'True' + maxoutbuf: '0' + minoutbuf: '0' + samples_per_second: '48000' + type: float + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1408, 572.0] + rotation: 0 + state: true +- name: fosphor_glfw_sink_c_0 + id: fosphor_glfw_sink_c + parameters: + affinity: '' + alias: '' + comment: '' + freq_center: '0' + freq_span: samp_rate + wintype: firdes.WIN_BLACKMAN_hARRIS + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [2616, 596.0] + rotation: 0 + state: true +- name: freq_xlating_fir_filter_xxx_0 + id: freq_xlating_fir_filter_xxx + parameters: + affinity: '' + alias: '' + center_freq: '0' + comment: '' + decim: '8' + maxoutbuf: '0' + minoutbuf: '0' + samp_rate: samp_rate + taps: firdes.low_pass(1.0,samp_rate,3000,100) + type: ccc + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [480, 316.0] + rotation: 0 + state: true +- name: qtgui_freq_sink_x_0 + id: qtgui_freq_sink_x + parameters: + affinity: '' + alias: '' + alpha1: '1.0' + alpha10: '1.0' + alpha2: '1.0' + alpha3: '1.0' + alpha4: '1.0' + alpha5: '1.0' + alpha6: '1.0' + alpha7: '1.0' + alpha8: '1.0' + alpha9: '1.0' + autoscale: 'False' + average: '1.0' + axislabels: 'True' + bw: samp_rate + color1: '"blue"' + color10: '"dark blue"' + color2: '"red"' + color3: '"green"' + color4: '"black"' + color5: '"cyan"' + color6: '"magenta"' + color7: '"yellow"' + color8: '"dark red"' + color9: '"dark green"' + comment: '' + ctrlpanel: 'False' + fc: '0' + fftsize: '1024' + freqhalf: 'True' + grid: 'False' + gui_hint: '' + label: Relative Gain + label1: '' + label10: '''''' + label2: '''''' + label3: '''''' + label4: '''''' + label5: '''''' + label6: '''''' + label7: '''''' + label8: '''''' + label9: '''''' + legend: 'True' + maxoutbuf: '0' + minoutbuf: '0' + name: '""' + nconnections: '1' + showports: 'False' + tr_chan: '0' + tr_level: '0.0' + tr_mode: qtgui.TRIG_MODE_FREE + tr_tag: '""' + type: float + units: dB + update_time: '0.10' + width1: '1' + width10: '1' + width2: '1' + width3: '1' + width4: '1' + width5: '1' + width6: '1' + width7: '1' + width8: '1' + width9: '1' + wintype: firdes.WIN_BLACKMAN_hARRIS + ymax: '10' + ymin: '-140' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1520, 352.0] + rotation: 0 + state: true +- name: qtgui_freq_sink_x_0_0 + id: qtgui_freq_sink_x + parameters: + affinity: '' + alias: '' + alpha1: '1.0' + alpha10: '1.0' + alpha2: '1.0' + alpha3: '1.0' + alpha4: '1.0' + alpha5: '1.0' + alpha6: '1.0' + alpha7: '1.0' + alpha8: '1.0' + alpha9: '1.0' + autoscale: 'False' + average: '1.0' + axislabels: 'True' + bw: samp_rate_1 + color1: '"blue"' + color10: '"dark blue"' + color2: '"red"' + color3: '"green"' + color4: '"black"' + color5: '"cyan"' + color6: '"magenta"' + color7: '"yellow"' + color8: '"dark red"' + color9: '"dark green"' + comment: '' + ctrlpanel: 'False' + fc: '0' + fftsize: '2048' + freqhalf: 'True' + grid: 'False' + gui_hint: '' + label: Relative Gain + label1: '' + label10: '''''' + label2: '''''' + label3: '''''' + label4: '''''' + label5: '''''' + label6: '''''' + label7: '''''' + label8: '''''' + label9: '''''' + legend: 'True' + maxoutbuf: '0' + minoutbuf: '0' + name: '""' + nconnections: '1' + showports: 'False' + tr_chan: '0' + tr_level: '0.0' + tr_mode: qtgui.TRIG_MODE_FREE + tr_tag: '""' + type: complex + units: dB + update_time: '0.10' + width1: '1' + width10: '1' + width2: '1' + width3: '1' + width4: '1' + width5: '1' + width6: '1' + width7: '1' + width8: '1' + width9: '1' + wintype: firdes.WIN_BLACKMAN_hARRIS + ymax: '10' + ymin: '-140' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [2304, 272.0] + rotation: 0 + state: true +- name: qtgui_freq_sink_x_0_0_0 + id: qtgui_freq_sink_x + parameters: + affinity: '' + alias: '' + alpha1: '1.0' + alpha10: '1.0' + alpha2: '1.0' + alpha3: '1.0' + alpha4: '1.0' + alpha5: '1.0' + alpha6: '1.0' + alpha7: '1.0' + alpha8: '1.0' + alpha9: '1.0' + autoscale: 'False' + average: '1.0' + axislabels: 'True' + bw: samp_rate_1 + color1: '"blue"' + color10: '"dark blue"' + color2: '"red"' + color3: '"green"' + color4: '"black"' + color5: '"cyan"' + color6: '"magenta"' + color7: '"yellow"' + color8: '"dark red"' + color9: '"dark green"' + comment: '' + ctrlpanel: 'False' + fc: '0' + fftsize: '2048' + freqhalf: 'True' + grid: 'False' + gui_hint: '' + label: Relative Gain + label1: '' + label10: '''''' + label2: '''''' + label3: '''''' + label4: '''''' + label5: '''''' + label6: '''''' + label7: '''''' + label8: '''''' + label9: '''''' + legend: 'True' + maxoutbuf: '0' + minoutbuf: '0' + name: '""' + nconnections: '1' + showports: 'False' + tr_chan: '0' + tr_level: '0.0' + tr_mode: qtgui.TRIG_MODE_FREE + tr_tag: '""' + type: complex + units: dB + update_time: '0.10' + width1: '1' + width10: '1' + width2: '1' + width3: '1' + width4: '1' + width5: '1' + width6: '1' + width7: '1' + width8: '1' + width9: '1' + wintype: firdes.WIN_BLACKMAN_hARRIS + ymax: '10' + ymin: '-140' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [2600, 472.0] + rotation: 0 + state: true +- name: qtgui_time_sink_x_0 + id: qtgui_time_sink_x + parameters: + affinity: '' + alias: '' + alpha1: '1.0' + alpha10: '1.0' + alpha2: '1.0' + alpha3: '1.0' + alpha4: '1.0' + alpha5: '1.0' + alpha6: '1.0' + alpha7: '1.0' + alpha8: '1.0' + alpha9: '1.0' + autoscale: 'False' + axislabels: 'True' + color1: blue + color10: dark blue + color2: red + color3: green + color4: black + color5: cyan + color6: magenta + color7: yellow + color8: dark red + color9: dark green + comment: '' + ctrlpanel: 'False' + entags: 'True' + grid: 'False' + gui_hint: '' + label1: 'Signal ' + label10: Signal 10 + label2: "Tr\xE4ger" + label3: Signal 3 + label4: Signal 4 + label5: Signal 5 + label6: Signal 6 + label7: Signal 7 + label8: Signal 8 + label9: Signal 9 + legend: 'True' + marker1: '-1' + marker10: '-1' + marker2: '-1' + marker3: '-1' + marker4: '-1' + marker5: '-1' + marker6: '-1' + marker7: '-1' + marker8: '-1' + marker9: '-1' + name: '"Modulated"' + nconnections: '1' + size: '1024' + srate: audio_rate + stemplot: 'False' + style1: '1' + style10: '1' + style2: '1' + style3: '1' + style4: '1' + style5: '1' + style6: '1' + style7: '1' + style8: '1' + style9: '1' + tr_chan: '0' + tr_delay: '0' + tr_level: '0.0' + tr_mode: qtgui.TRIG_MODE_FREE + tr_slope: qtgui.TRIG_SLOPE_POS + tr_tag: '""' + type: float + update_time: '0.10' + width1: '1' + width10: '1' + width2: '1' + width3: '1' + width4: '1' + width5: '1' + width6: '1' + width7: '1' + width8: '1' + width9: '1' + ylabel: Amplitude + ymax: '1' + ymin: '-1' + yunit: '""' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1512, 212.0] + rotation: 0 + state: true + +connections: +- [analog_const_source_x_0, '0', blocks_float_to_complex_0, '0'] +- [analog_sig_source_x_0, '0', blocks_multiply_const_vxx_0, '0'] +- [analog_sig_source_x_0_0, '0', blocks_multiply_xx_0_0, '0'] +- [analog_sig_source_x_0_0_0, '0', blocks_multiply_xx_0_0_0, '1'] +- [analog_sig_source_x_1, '0', blocks_multiply_xx_0, '0'] +- [band_pass_filter_0, '0', fosphor_glfw_sink_c_0, '0'] +- [band_pass_filter_0, '0', qtgui_freq_sink_x_0_0_0, '0'] +- [blocks_add_xx_0, '0', blocks_multiply_const_vxx_0_0, '0'] +- [blocks_complex_to_float_0, '0', blocks_multiply_xx_0_0, '1'] +- [blocks_complex_to_float_0, '1', blocks_multiply_xx_0_0_0, '0'] +- [blocks_float_to_complex_0, '0', blocks_multiply_xx_0, '1'] +- [blocks_multiply_const_vxx_0, '0', freq_xlating_fir_filter_xxx_0, '0'] +- [blocks_multiply_const_vxx_0_0, '0', blocks_throttle_0, '0'] +- [blocks_multiply_const_vxx_0_0, '0', qtgui_freq_sink_x_0, '0'] +- [blocks_multiply_const_vxx_0_0, '0', qtgui_time_sink_x_0, '0'] +- [blocks_multiply_const_vxx_0_0_0, '0', blocks_add_xx_0, '1'] +- [blocks_multiply_const_vxx_0_0_1, '0', blocks_repeat_0, '0'] +- [blocks_multiply_xx_0, '0', band_pass_filter_0, '0'] +- [blocks_multiply_xx_0, '0', qtgui_freq_sink_x_0_0, '0'] +- [blocks_multiply_xx_0_0, '0', blocks_add_xx_0, '0'] +- [blocks_multiply_xx_0_0_0, '0', blocks_multiply_const_vxx_0_0_0, '0'] +- [blocks_repeat_0, '0', blocks_float_to_complex_0, '1'] +- [blocks_throttle_0, '0', blocks_multiply_const_vxx_0_0_1, '0'] +- [freq_xlating_fir_filter_xxx_0, '0', blocks_complex_to_float_0, '0'] + +metadata: + file_format: 1 -- cgit v1.2.1