add "other things renode can do"
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
8aa55b0572
commit
0ca6eb6963
61
index.html
61
index.html
@ -841,7 +841,6 @@
|
||||
</section>
|
||||
</section>
|
||||
<section>
|
||||
|
||||
<section>
|
||||
<h2>Multi-System Emulation</h2>
|
||||
<img src="media/betrusted-ec-com-1.png">
|
||||
@ -852,13 +851,59 @@
|
||||
</section>
|
||||
</section>
|
||||
<section>
|
||||
<h2>Other Features</h2>
|
||||
<ul>
|
||||
<li>Loading peripherals at runtime</li>
|
||||
<li>Adding custom instructions to Risc-V</li>
|
||||
<li>Python hooks for memory access</li>
|
||||
<li>Networking</li>
|
||||
</ul>
|
||||
<section>
|
||||
<h2>Other Things Renode can Do</h2>
|
||||
</section>
|
||||
<section>
|
||||
<h2>Loading Peripherals at Runtime</h2>
|
||||
<pre><code data-trim data-line-numbers="|1|2">
|
||||
path add $ORIGIN
|
||||
i @peripherals/trng_server.cs
|
||||
</code></pre>
|
||||
</section>
|
||||
<section>
|
||||
<h2>Loading Peripherals at Runtime</h2>
|
||||
<pre><code class="cs" data-trim data-line-numbers="|3-8|9-16">
|
||||
private void DefineRegisters()
|
||||
{
|
||||
Registers.STATUS.Define(this) // RDY is set on reset
|
||||
.WithFlag(0, name: "ready",
|
||||
valueProviderCallback: _ => true)
|
||||
.WithFlag(1, name: "avail",
|
||||
valueProviderCallback: _ => true)
|
||||
;
|
||||
Registers.DATA.Define(this)
|
||||
.WithValueField(0, 32, FieldMode.Read,
|
||||
valueProviderCallback: _ =>
|
||||
{
|
||||
return (uint)rng.Next();
|
||||
},
|
||||
name: "DATA"
|
||||
);
|
||||
}
|
||||
</code></pre>
|
||||
From trng_server.cs
|
||||
</section>
|
||||
<section>
|
||||
<h2>Visual Studio Code Lens</h2>
|
||||
<img src="media/renode-vscode.png">
|
||||
<p>Auto-complete and contextual popups</p>
|
||||
</section>
|
||||
<section>
|
||||
<h2>Networking with Tap</h2>
|
||||
<pre><code data-trim data-line-numbers="|1|2|3-4">
|
||||
emulation CreateSwitch "switch"
|
||||
emulation CreateTap "renodetap" "tap"
|
||||
connector Connect host.tap switch
|
||||
connector Connect sysbus.wifi.wf200 switch
|
||||
</code></pre>
|
||||
</section>
|
||||
<section>
|
||||
<h2>Networking with Tap</h2>
|
||||
<img src="media/renode-networking.png">
|
||||
<p>SoC → <em><strong>COM-SOC</strong></em> → COM → <em><strong>COM-EC</strong></em> → EC →
|
||||
<em><strong>EC-WIFI</strong></em> → WF200 → Tap → Internet</p>
|
||||
</section>
|
||||
</section>
|
||||
<section>
|
||||
<h2>Renode is Free Software</h2>
|
||||
|
BIN
media/renode-networking.png
Normal file
BIN
media/renode-networking.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 84 KiB |
BIN
media/renode-vscode.png
Normal file
BIN
media/renode-vscode.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 161 KiB |
Loading…
Reference in New Issue
Block a user