simulation: simulate with RS-coding

This commit is contained in:
2025-12-03 21:51:23 +01:00
parent 3872ff5221
commit 1695944d82
2 changed files with 82 additions and 19 deletions

View File

@@ -37,7 +37,7 @@ blocks:
id: variable
parameters:
comment: ''
value: '10'
value: '2'
states:
bus_sink: false
bus_source: false
@@ -102,7 +102,7 @@ blocks:
label: ''
short_id: ''
type: eng_float
value: '100'
value: '3'
states:
bus_sink: false
bus_source: false
@@ -121,7 +121,7 @@ blocks:
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
roc_tolerance: '1'
roc_tolerance: '0.8'
samp_rate: samp_rate
symbol_map: symbol_map
syncword: syncword
@@ -140,7 +140,6 @@ blocks:
affinity: ''
alias: ''
comment: ''
data_len: data_len
maxoutbuf: '0'
minoutbuf: '0'
preamble: '[0x33 for i in range(0, 128*2, 8)]'
@@ -149,7 +148,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [464, 256.0]
coordinate: [480, 264.0]
rotation: 0
state: enabled
- name: blocks_tag_gate_0
@@ -168,7 +167,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [752, 264.0]
coordinate: [744, 280.0]
rotation: 0
state: enabled
- name: blocks_throttle2_0
@@ -189,7 +188,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1136, 264.0]
coordinate: [1144, 280.0]
rotation: 0
state: enabled
- name: channels_channel_model_0
@@ -203,14 +202,14 @@ blocks:
freq_offset: freq_offset
maxoutbuf: '0'
minoutbuf: '0'
noise_voltage: (1/EbN0*(1+RRC_ALPHA)/2)**0.5
noise_voltage: 1.0/sqrt(2* 10**(float(EbN0) / 10)) * sqrt(OVERSAMPLING/2)
seed: '0'
taps: '1.0'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [928, 232.0]
coordinate: [928, 248.0]
rotation: 0
state: enabled
- name: data_len
@@ -222,7 +221,7 @@ blocks:
label: ''
short_id: ''
type: intx
value: '128'
value: 255*4 + 32
states:
bus_sink: false
bus_source: false
@@ -247,6 +246,19 @@ blocks:
coordinate: [960, 136.0]
rotation: 0
state: enabled
- name: import_0
id: import
parameters:
alias: ''
comment: ''
imports: from math import log10, log2, sqrt
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [968, 24.0]
rotation: 0
state: enabled
- name: network_socket_pdu_1
id: network_socket_pdu
parameters:
@@ -647,7 +659,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1320, 272.0]
coordinate: [1320, 288.0]
rotation: 0
state: enabled
- name: virtual_source_0