-
Notifications
You must be signed in to change notification settings - Fork 4
/
turbo_reader.html
183 lines (180 loc) · 11 KB
/
turbo_reader.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="A Fast Forward Error Correction Toolbox (AFF3CT)">
<meta name="author" content="Adrien CASSAGNE">
<meta name="keywords" content="Turbo,Turbo code,SISO,BCJR,ECC,Codes,FEC">
<title>AFF3CT - A Fast Forward Error Correction Toolbox</title>
<link rel="stylesheet" href="./css/turbo_reader.css">
<link rel="stylesheet" href="./css/lib/bootstrap-4.1.1.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
<link rel="stylesheet" href="./css/bootstrap_carousel.css">
<script src="./js/lib/jquery-3.3.1.min.js"></script>
<script src="./js/lib/popper-1.14.3.min.js"></script>
<script src="./js/lib/bootstrap-4.1.1.min.js"></script>
<script src="./js/lib/plotly-1.37.1.min.js"></script>
<script> /* Google Analytics */
if (window.location.host == "aff3ct.github.io") {
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-78973823-1', 'auto');
ga('send', 'pageview');
}
</script>
<script>
/**
* Function that tracks a click on an outbound link in Analytics.
* This function takes a valid URL string as an argument, and uses that URL string
* as the event label. Setting the transport method to 'beacon' lets the hit be sent
* using 'navigator.sendBeacon' in browser that support it.
*/
var trackOutboundLink = function(url, isExternal = true) {
var params = {};
if (!isExternal) {
params.hitCallback = function () {
document.location = url;
}
}
if (window.location.host == "aff3ct.github.io")
ga('send', 'event', 'outbound', 'click', url, params);
return isExternal;
}
</script>
<style>
.excl { color:#EA5678; }
</style>
</head>
<body>
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<a class="navbar-brand" href="index.html">AFF3CT</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbarCollapse" class="collapse navbar-collapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item"><a class="nav-link" href="index.html"><i class="fas fa-home" aria-hidden="true"> </i>Home</a></li>
<li class="nav-item"><a class="nav-link" href="publications.html"><i class="fa fa-newspaper" aria-hidden="true"> </i>Publications</a></li>
<li class="nav-item"><a class="nav-link" href="contributors.html"><i class="fa fa-users" aria-hidden="true"> </i>Contributors</a></li>
<li class="nav-item"><a class="nav-link" href="download.html"><i class="fas fa-download" aria-hidden="true"> </i>Download</a></li>
<li class="nav-item"><a class="nav-link" href="https://aff3ct.readthedocs.io" target="_blank" onclick="return trackOutboundLink('https://aff3ct.readthedocs.io');"><i class="fas fa-book" aria-hidden="true"> </i>Documentation</a></li>
<li class="nav-item"><a class="nav-link" href="https://github.com/aff3ct/aff3ct" target="_blank" onclick="return trackOutboundLink('https://github.com/aff3ct/aff3ct');"><i class="fab fa-github" aria-hidden="true"> </i>GitHub Repository</a></li>
<!--
<li class="nav-item"><a class="nav-link" href="consortium.html"><i class="fas fa-hands-helping" aria-hidden="true"> </i>Consortium <span class="excl"><i class="fas fa-exclamation"></i></span></a></li>
-->
</ul>
<ul class="navbar-nav navbar-right">
<li class="nav-item"><a class="nav-link" href="comparator.html"><i class="fas fa-chart-bar" aria-hidden="true"> </i>BER/FER Comparator</a></li>
<li class="nav-item active"><a class="nav-link" href="turbo_reader.html"><i class="fas fa-code-branch" aria-hidden="true"> </i>Turbo Code Reader</a></li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="dropdown_hof" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-list" aria-hidden="true"> </i>Software Decoders Hall of Fame </a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdown_hof">
<h6 class="dropdown-header">Synoptic tables</h6>
<a class="dropdown-item" href="hof_turbo.html">Turbo Codes</a>
<a class="dropdown-item" href="hof_ldpc.html">LDPC Codes</a>
<a class="dropdown-item" href="hof_polar.html">Polar Codes</a>
</div>
</li>
</ul>
</div>
</nav>
<div class="jumbotron">
<div class="container marketing">
<h1 class="display-4">Turbo Code Reader</span></h1>
<div id="presentationTurboReader">
<p class="lead">
The AFF3CT simulator can dump the internal values (<span class="badge badge-primary">alpha</span>, <span class="badge badge-success">beta</span> and <span class="badge badge-danger">gamma</span>) from the Turbo code encoder/decoder via JSON files (see the <span class="badge badge-secondary">--enc-json-path</span> option).
This page allows you to nicely navigate into those values (fixed-point and/or floating-point data representations) and <strong>to visualize the convergence of the Turbo decoding process</strong> through the iterations
(<a href="resources/turbo_reader/turbo_traces.json.zip" onclick="return trackOutboundLink('resources/turbo_reader/turbo_traces.json.zip');">click here to download and play with a dumped file example</a> and do not forget to unzip the file before to open it).
</p>
<div id="fileSelection">
<p class="lead">Select a JSON file:
<input type="file" id="fileInput">
<span id="fileDisplayArea"></span>
</p>
</div>
</div>
</div>
</div>
<div id="page-wrapper" class="container marketing">
<div id="turboReaderPreview">
<img class="img-fluid d-block mx-auto rounded" src="images/preview_turbo_reader_grey.png" alt="Turbo code reader preview" title="Turbo code reader preview">
</div>
<div class="row">
<div class="col-md-6" id="control">
<p>
<form id="fraForm">
Jump to a specific frame:
<input type="text" name="fra" value="" id="fraText">
<input type="submit" value="Go!" id="fraButton">
<span class="nFra"></span>
</form>
</p>
<p>
<input type="button" value="Prev. ite." id="prevButton" />
<input type="button" value="Next. ite." id="nextButton" />
<br/>
or press <span class="badge badge-primary">p</span> for previous and <span class="badge badge-primary">n</span> for next iteration.
</p>
<form id="iteForm">
Jump to a specific iteration:
<input type="text" name="iIte" value="" id="iteText">
<input type="submit" value="Go!" id="iteButton">
</form>
<p>
<input type="checkbox" name="radiusCB" value="radiusCB" id="radiusCB" checked="checked" />Enable variable radius.
<input type="checkbox" name="opacityCB" value="opacityCB" id="opacityCB" />Enable opacity.
<input type="checkbox" name="bigLinesCB" value="bigLinesCB" id="bigLinesCB" />Enable big lines.
</p>
</div>
<div id="legend" class="col-md-6">
<div style="margin-top:5px;">
<h3>Legend</h3>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" height="100px" width="360px">
<line x1=" 0" y1="10" x2="40" y2="10" style="stroke:rgb(0,0,0);stroke-width:3;stroke-dasharray:5 3" />
<text x ="45" y="15" fill="black">bit 0</text>
<line x1=" 0" y1="35" x2="40" y2="35" style="stroke:rgb(0,0,0);stroke-width:3;" />
<text x ="45" y="40" fill="black">bit 1</text>
<line x1="100" y1="10" x2="120" y2="10" style="stroke:rgb(0,0,0);stroke-width:3;stroke-dasharray:5 3" />
<line x1="125" y1="10" x2="145" y2="10" style="stroke:rgb(0,0,0);stroke-width:3;" />
<text x="150" y="15" fill="black">encoder</text>
<line x1="100" y1="35" x2="120" y2="35" style="stroke:#3b8217;stroke-width:3;stroke-dasharray:5 3" />
<line x1="125" y1="35" x2="145" y2="35" style="stroke:#3b8217;stroke-width:3;" />
<text x="150" y="40" fill="black">decoder</text>
<circle cx="240" cy="10" r="7" fill="#3b8217" fill-opacity="1" />
<text x="252" y="15" fill="black">high likelihood</text>
<circle cx="240" cy="35" r="7" fill="#821e17" fill-opacity="1" />
<text x="252" y="40" fill="black">low likelihood</text>
<circle cx="240" cy="60" r="7" fill="#000000" fill-opacity="1" />
<text x="252" y="65" fill="black">impossible</text>
</svg>
</div>
<div>
<h2 class="nIte"></h2>
</div>
</div>
</div>
</div>
<div id="siso" class="shadow-lg p-3 mb-5 bg-white rounded">
<h2> SISO in the Natural Domain</h2>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" id="svg-natural"></svg>
<h2> SISO in the Interleaved Domain</h2>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" id="svg-interleaved"></svg>
</div>
<div class="container marketing">
<div class="mb-4"></div>
<hr>
<footer class="container">
<p class="float-right"><a href="#"><i class="fa fa-level-up-alt" aria-hidden="true"> </i>Back to top</a></p>
<!--
<p>Funded by <a href="http://www.agence-nationale-recherche.fr/" target="_blank" onclick="return trackOutboundLink('http://www.agence-nationale-recherche.fr/');">ANR</a>: <a href="http://www-labsticc.univ-ubs.fr/~boutillon/NAND/" target="_blank" onclick="return trackOutboundLink('http://www-labsticc.univ-ubs.fr/~boutillon/NAND/');">NAND</a> (ANR-15-CE25-0006-01) and <a href="http://cpu.labex.u-bordeaux.fr/" target="_blank" onclick="return trackOutboundLink('http://cpu.labex.u-bordeaux.fr/');">CPU LabEx (Bordeaux)</a> (ANR-10-IDEX-03-02).</p>
-->
</footer>
</div>
<script type="text/javascript" src="js/turbo_reader.js"></script>
</body>
</html>