Skip to content

Commit 049b9be

Browse files
author
Alexandre Marquet
committed
Update documentation.
1 parent 554d3d7 commit 049b9be

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ A Fast Maximum-Likelihood Decoder for Convolutional Codes. Vehicular Technology
99
This implementation provides a significant speedup at moderate SNRs, but is slower
1010
at low SNR.
1111
* Viterbi: implements the classical Viterbi algorithm.
12-
This implementation, which is faster than the one present in gr-trellis, is
13-
better-suited than Lazy Viterbi for low SNRs.
12+
This implementation is better-suited than Lazy Viterbi for low SNRs.
1413
* Dynamic Viterbi: Switch between the two implementations mentionned above,
1514
depending on SNR.
1615

1716

18-
One GRC example is provided in the examples/ directory.
17+
One GRC example is provided in the examples/ directory:
18+
* `simple.grc` simple example showing how each decoder should be use in a typical flowgraph. You will have to populate the variable `base_dir`, and put the full path to the source folder of `gr-lazyviterbi` (for example: `/usr/local/src/gr-lazyviterbi`).
19+
1920
There are also two python scripts :
2021
* `ber_vs_ebn0_75_awgn.py` lets you compare the BER of this algorithm
2122
and the gr-trellis's implementation of the classical Viterbi algorithm for a

examples/simple.grc

+16-17
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,7 @@ blocks:
4141
bus_sink: false
4242
bus_source: false
4343
bus_structure: null
44-
coordinate: [192, 12]
45-
rotation: 0
46-
state: disabled
47-
- name: base_dir
48-
id: variable
49-
parameters:
50-
comment: ''
51-
value: '"/home/amarquet/Documents/sdr/gr-lazyviterbi"'
52-
states:
53-
bus_sink: false
54-
bus_source: false
55-
bus_structure: null
56-
coordinate: [360, 184.0]
44+
coordinate: [488, 92.0]
5745
rotation: 0
5846
state: enabled
5947
- name: fsm
@@ -65,7 +53,7 @@ blocks:
6553
bus_sink: false
6654
bus_source: false
6755
bus_structure: null
68-
coordinate: [392, 12]
56+
coordinate: [192, 12.0]
6957
rotation: 0
7058
state: enabled
7159
- name: noise_amp
@@ -86,7 +74,7 @@ blocks:
8674
bus_sink: false
8775
bus_source: false
8876
bus_structure: null
89-
coordinate: [192, 76]
77+
coordinate: [192, 76.0]
9078
rotation: 0
9179
state: enabled
9280
- name: samp_rate
@@ -426,7 +414,6 @@ blocks:
426414
init_state: '0'
427415
maxoutbuf: '0'
428416
minoutbuf: '0'
429-
thres: '15.0'
430417
states:
431418
bus_sink: false
432419
bus_source: false
@@ -446,14 +433,26 @@ blocks:
446433
init_state: '0'
447434
maxoutbuf: '0'
448435
minoutbuf: '0'
449-
thres: '15.0'
450436
states:
451437
bus_sink: false
452438
bus_source: false
453439
bus_structure: null
454440
coordinate: [288, 632]
455441
rotation: 0
456442
state: enabled
443+
- name: note_0
444+
id: note
445+
parameters:
446+
alias: ''
447+
comment: ''
448+
note: Change this!
449+
states:
450+
bus_sink: false
451+
bus_source: false
452+
bus_structure: null
453+
coordinate: [520, 52.0]
454+
rotation: 0
455+
state: true
457456
- name: qtgui_number_sink_0
458457
id: qtgui_number_sink
459458
parameters:

0 commit comments

Comments
 (0)