Created
September 4, 2020 15:22
-
-
Save daniestevez/8d55c08a2dd661f8f707b0646836c543 to your computer and use it in GitHub Desktop.
TRISAT WIP flowgraph
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
options: | |
parameters: | |
author: daniel | |
category: '[GRC Hier Blocks]' | |
cmake_opt: '' | |
comment: '' | |
copyright: '' | |
description: '' | |
gen_cmake: 'On' | |
gen_linking: dynamic | |
generate_options: qt_gui | |
hier_block_src_path: '.:' | |
id: trisat | |
max_nouts: '0' | |
output_language: python | |
placement: (0,0) | |
qt_qss_theme: '' | |
realtime_scheduling: '' | |
run: 'True' | |
run_command: '{python} -u {filename}' | |
run_options: prompt | |
sizing_mode: fixed | |
thread_safe_setters: '' | |
title: Not titled yet | |
window_size: '' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [8, 8] | |
rotation: 0 | |
state: enabled | |
blocks: | |
- name: access_code | |
id: variable | |
parameters: | |
comment: '' | |
value: '''00011010110011111111110000011101''' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [880, 60.0] | |
rotation: 0 | |
state: true | |
- name: dec_cc | |
id: variable_cc_decoder_def | |
parameters: | |
comment: '' | |
dim1: '4' | |
dim2: '4' | |
framebits: '80' | |
k: '7' | |
mode: fec.CC_STREAMING | |
ndim: '0' | |
padding: 'False' | |
polys: '[-109, 79]' | |
rate: '2' | |
state_end: '-1' | |
state_start: '0' | |
value: '"ok"' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [48, 548.0] | |
rotation: 0 | |
state: enabled | |
- name: dec_cc2 | |
id: variable_cc_decoder_def | |
parameters: | |
comment: '' | |
dim1: '4' | |
dim2: '4' | |
framebits: '80' | |
k: '7' | |
mode: fec.CC_STREAMING | |
ndim: '0' | |
padding: 'False' | |
polys: '[-109, 79]' | |
rate: '2' | |
state_end: '-1' | |
state_start: '0' | |
value: '"ok"' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [48, 756.0] | |
rotation: 0 | |
state: enabled | |
- name: samp_rate | |
id: variable | |
parameters: | |
comment: '' | |
value: 48e3 | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [184, 12] | |
rotation: 0 | |
state: enabled | |
- name: syncword | |
id: variable | |
parameters: | |
comment: '' | |
value: 2*np.array([int(a) for a in access_code])-1 | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [880, 132.0] | |
rotation: 0 | |
state: true | |
- name: blocks_add_const_vxx_0 | |
id: blocks_add_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: [752, 544.0] | |
rotation: 0 | |
state: true | |
- name: blocks_add_const_vxx_0_0 | |
id: blocks_add_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: [800, 756.0] | |
rotation: 0 | |
state: disabled | |
- name: blocks_char_to_float_0 | |
id: blocks_char_to_float | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
scale: '.5' | |
vlen: '1' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [600, 572.0] | |
rotation: 0 | |
state: true | |
- name: blocks_char_to_float_0_0 | |
id: blocks_char_to_float | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
scale: '.5' | |
vlen: '1' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [624, 740.0] | |
rotation: 0 | |
state: disabled | |
- name: blocks_delay_0 | |
id: blocks_delay | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
delay: '1' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
num_ports: '1' | |
type: float | |
vlen: '1' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [224, 368.0] | |
rotation: 0 | |
state: disabled | |
- name: blocks_multiply_const_vxx_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: [264, 228.0] | |
rotation: 0 | |
state: true | |
- name: blocks_tag_debug_0 | |
id: blocks_tag_debug | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
display: 'True' | |
filter: '""' | |
name: '' | |
num_inputs: '1' | |
type: float | |
vlen: '1' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [1152, 432.0] | |
rotation: 0 | |
state: disabled | |
- name: blocks_tag_gate_0 | |
id: blocks_tag_gate | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
propagate_tags: 'False' | |
single_key: '""' | |
type: byte | |
vlen: '1' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [408, 588.0] | |
rotation: 0 | |
state: true | |
- name: blocks_tag_gate_0_0 | |
id: blocks_tag_gate | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
propagate_tags: 'False' | |
single_key: '""' | |
type: byte | |
vlen: '1' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [456, 764.0] | |
rotation: 0 | |
state: disabled | |
- name: blocks_wavfile_source_0 | |
id: blocks_wavfile_source | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
file: /tmp/trisat_short.wav | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
nchan: '1' | |
repeat: 'True' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [72, 220.0] | |
rotation: 0 | |
state: true | |
- name: digital_correlate_access_code_tag_xx_0 | |
id: digital_correlate_access_code_tag_xx | |
parameters: | |
access_code: access_code | |
affinity: '' | |
alias: '' | |
comment: '' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
tagname: sync | |
threshold: '0' | |
type: float | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [944, 544.0] | |
rotation: 0 | |
state: disabled | |
- name: fec_extended_decoder_0_0 | |
id: fec_extended_decoder | |
parameters: | |
affinity: '' | |
alias: '' | |
ann: None | |
comment: '' | |
decoder_list: dec_cc | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
puncpat: '''11''' | |
threadtype: none | |
value: fec_extended_decoder | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [224, 452.0] | |
rotation: 0 | |
state: enabled | |
- name: fec_extended_decoder_0_0_0 | |
id: fec_extended_decoder | |
parameters: | |
affinity: '' | |
alias: '' | |
ann: None | |
comment: '' | |
decoder_list: dec_cc2 | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
puncpat: '''11''' | |
threadtype: none | |
value: fec_extended_decoder | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [272, 668.0] | |
rotation: 0 | |
state: disabled | |
- name: fir_filter_xxx_1 | |
id: fir_filter_xxx | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
decim: '1' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
samp_delay: '0' | |
taps: syncword[::-1]/syncword.size | |
type: fff | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [568, 436.0] | |
rotation: 0 | |
state: true | |
- name: fir_filter_xxx_1_0 | |
id: fir_filter_xxx | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
decim: '1' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
samp_delay: '0' | |
taps: syncword[::-1]/syncword.size | |
type: fff | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [624, 652.0] | |
rotation: 0 | |
state: disabled | |
- name: import_0 | |
id: import | |
parameters: | |
alias: '' | |
comment: '' | |
imports: import numpy as np | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [312, 16.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 1 | |
label10: Signal 10 | |
label2: Signal 2 | |
label3: Signal 3 | |
label4: Signal 4 | |
label5: Signal 5 | |
label6: Signal 6 | |
label7: Signal 7 | |
label8: Signal 8 | |
label9: Signal 9 | |
legend: 'True' | |
marker1: '0' | |
marker10: '-1' | |
marker2: '-1' | |
marker3: '-1' | |
marker4: '-1' | |
marker5: '-1' | |
marker6: '-1' | |
marker7: '-1' | |
marker8: '-1' | |
marker9: '-1' | |
name: '""' | |
nconnections: '2' | |
size: '50000' | |
srate: samp_rate | |
stemplot: 'False' | |
style1: '0' | |
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: '3' | |
ymin: '-3' | |
yunit: '""' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [952, 416.0] | |
rotation: 0 | |
state: true | |
- name: qtgui_time_sink_x_0_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 1 | |
label10: Signal 10 | |
label2: Signal 2 | |
label3: Signal 3 | |
label4: Signal 4 | |
label5: Signal 5 | |
label6: Signal 6 | |
label7: Signal 7 | |
label8: Signal 8 | |
label9: Signal 9 | |
legend: 'True' | |
marker1: '0' | |
marker10: '-1' | |
marker2: '-1' | |
marker3: '-1' | |
marker4: '-1' | |
marker5: '-1' | |
marker6: '-1' | |
marker7: '-1' | |
marker8: '-1' | |
marker9: '-1' | |
name: '""' | |
nconnections: '2' | |
size: '50000' | |
srate: samp_rate | |
stemplot: 'False' | |
style1: '0' | |
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: '3' | |
ymin: '-3' | |
yunit: '""' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [1008, 628.0] | |
rotation: 0 | |
state: disabled | |
- name: satellites_ccsds_concatenated_deframer_0 | |
id: satellites_ccsds_concatenated_deframer | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
differential: 'True' | |
dual_basis: 'False' | |
frame_size: '223' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
nasa_dsn: 'False' | |
options: '"--verbose_rs"' | |
threshold: '0' | |
use_scrambler: 'True' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [712, 268.0] | |
rotation: 0 | |
state: disabled | |
- name: satellites_ccsds_concatenated_deframer_1 | |
id: satellites_ccsds_concatenated_deframer | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
differential: 'False' | |
dual_basis: 'True' | |
frame_size: '223' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
nasa_dsn: 'True' | |
options: '""' | |
threshold: '0' | |
use_scrambler: 'True' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [416, 904.0] | |
rotation: 0 | |
state: true | |
- name: satellites_ccsds_rs_deframer_0 | |
id: satellites_ccsds_rs_deframer | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
differential: 'False' | |
dual_basis: 'True' | |
frame_size: '223' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
options: '"--verbose_rs"' | |
threshold: '0' | |
use_scrambler: 'True' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [720, 848.0] | |
rotation: 0 | |
state: disabled | |
- name: satellites_fsk_demodulator_0 | |
id: satellites_fsk_demodulator | |
parameters: | |
affinity: '' | |
alias: '' | |
baudrate: '9766' | |
comment: '' | |
iq: 'False' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
options: '""' | |
samp_rate: samp_rate | |
subaudio: 'False' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [440, 212.0] | |
rotation: 0 | |
state: true | |
- name: satellites_hexdump_sink_0 | |
id: satellites_hexdump_sink | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
options: '""' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [1016, 296.0] | |
rotation: 0 | |
state: disabled | |
- name: satellites_hexdump_sink_1 | |
id: satellites_hexdump_sink | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
options: '""' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [1088, 864.0] | |
rotation: 0 | |
state: enabled | |
connections: | |
- [blocks_add_const_vxx_0, '0', digital_correlate_access_code_tag_xx_0, '0'] | |
- [blocks_add_const_vxx_0, '0', fir_filter_xxx_1, '0'] | |
- [blocks_add_const_vxx_0, '0', qtgui_time_sink_x_0, '0'] | |
- [blocks_add_const_vxx_0, '0', satellites_ccsds_rs_deframer_0, '0'] | |
- [blocks_add_const_vxx_0_0, '0', fir_filter_xxx_1_0, '0'] | |
- [blocks_add_const_vxx_0_0, '0', qtgui_time_sink_x_0_0, '0'] | |
- [blocks_char_to_float_0, '0', blocks_add_const_vxx_0, '0'] | |
- [blocks_char_to_float_0_0, '0', blocks_add_const_vxx_0_0, '0'] | |
- [blocks_delay_0, '0', fec_extended_decoder_0_0_0, '0'] | |
- [blocks_multiply_const_vxx_0, '0', satellites_fsk_demodulator_0, '0'] | |
- [blocks_tag_gate_0, '0', blocks_char_to_float_0, '0'] | |
- [blocks_tag_gate_0_0, '0', blocks_char_to_float_0_0, '0'] | |
- [blocks_wavfile_source_0, '0', blocks_multiply_const_vxx_0, '0'] | |
- [digital_correlate_access_code_tag_xx_0, '0', blocks_tag_debug_0, '0'] | |
- [fec_extended_decoder_0_0, '0', blocks_tag_gate_0, '0'] | |
- [fec_extended_decoder_0_0_0, '0', blocks_tag_gate_0_0, '0'] | |
- [fir_filter_xxx_1, '0', qtgui_time_sink_x_0, '1'] | |
- [fir_filter_xxx_1_0, '0', qtgui_time_sink_x_0_0, '1'] | |
- [satellites_ccsds_concatenated_deframer_0, out, satellites_hexdump_sink_0, in] | |
- [satellites_ccsds_concatenated_deframer_1, out, satellites_hexdump_sink_1, in] | |
- [satellites_ccsds_rs_deframer_0, out, satellites_hexdump_sink_1, in] | |
- [satellites_fsk_demodulator_0, '0', blocks_delay_0, '0'] | |
- [satellites_fsk_demodulator_0, '0', fec_extended_decoder_0_0, '0'] | |
- [satellites_fsk_demodulator_0, '0', satellites_ccsds_concatenated_deframer_0, '0'] | |
- [satellites_fsk_demodulator_0, '0', satellites_ccsds_concatenated_deframer_1, '0'] | |
metadata: | |
file_format: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment