beginning outline of talk
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
37861335a2
commit
70089d945a
183
index.html
183
index.html
@ -1,10 +1,11 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
|
||||
<title>reveal.js</title>
|
||||
<title>Renode: Easy CI for your Weird Hardware</title>
|
||||
|
||||
<link rel="stylesheet" href="dist/reset.css">
|
||||
<link rel="stylesheet" href="dist/reveal.css">
|
||||
@ -12,29 +13,197 @@
|
||||
|
||||
<!-- Theme used for syntax highlighted code -->
|
||||
<link rel="stylesheet" href="plugin/highlight/monokai.css">
|
||||
</head>
|
||||
<body>
|
||||
</head>
|
||||
|
||||
* Emulators are useful tools
|
||||
- PC emulator (e.g. Docker on Mac, WSL on Linux)
|
||||
- NES emulator -- fun and games, realtime output
|
||||
- Also have debugging emulators
|
||||
- Renode
|
||||
|
||||
* Renode Stack
|
||||
- CPU cores written in C
|
||||
- arm, i386, ppc, riscv, sparc, xtensa
|
||||
- Windows, Mac, Linux
|
||||
- Peripherals and UI written in C#
|
||||
- Extensible via Python and C#
|
||||
- Write once. Run anywhere. Using C# to define new peripherals
|
||||
|
||||
* Three major users
|
||||
- Designers of new boards
|
||||
- Reverse engineering exsisting hardware
|
||||
- Silicon designers
|
||||
|
||||
* Designers of new boards
|
||||
- One or more chips
|
||||
- How are they connected?
|
||||
- What weird hardware exists?
|
||||
|
||||
* Concurrent emulation of multiple devices
|
||||
- Can connect multiple devices, e.g. via UART, GPIO, SPI, Ethernet, CAN...
|
||||
- All devices are emulated using the same time source
|
||||
- Helps to debug timing differences with different processors on a board
|
||||
|
||||
* Board definition format
|
||||
- Easily define memory layout
|
||||
- Easily move blocks around
|
||||
- Only define what's necessary
|
||||
- You don't need to be perfect, just good enough!
|
||||
|
||||
* Can read SVD files
|
||||
|
||||
* Hardware has Similarities
|
||||
- Picture of existing register sets
|
||||
- There are only so many combinations
|
||||
- Rip. Mix. Burn. Many chips are just copies of one another.
|
||||
|
||||
* Tests in CI
|
||||
|
||||
* Reverse engineering existing hardware
|
||||
|
||||
* If it's a supported architecture, it's easy to run code
|
||||
* LoadBinary and set PC
|
||||
* Can skip much of the boot ROM
|
||||
* Attach GDB
|
||||
* Reproducible makes it easy to test theories
|
||||
|
||||
* Developing new Silicon blocks
|
||||
|
||||
* Betrusted hardware
|
||||
- Create a new design in LiteX / Verilog
|
||||
- Document the design
|
||||
- Create a model
|
||||
- Timing isn't as critical
|
||||
|
||||
*
|
||||
|
||||
|
||||
<body>
|
||||
<div class="reveal">
|
||||
<div class="slides">
|
||||
<section>Slide 1</section>
|
||||
<section>
|
||||
<section>
|
||||
<h2>What is an Emulator?</h2>
|
||||
<ul>
|
||||
<li>Desktop</li>
|
||||
<li>CPU</li>
|
||||
<li>Console</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section>
|
||||
<h2>Desktop Emulator</h2>
|
||||
<ul>
|
||||
<li>VirtualBox</li>
|
||||
<li>VMWare</li>
|
||||
<li>Parallels</li>
|
||||
<li>HyperV</li>
|
||||
<li>WSL2/Docker</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section>
|
||||
<h2>CPU Emulator</h2>
|
||||
<ul>
|
||||
<li>qemu on Linux</li>
|
||||
<li>Rosetta on Mac</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section>
|
||||
<h2>Console Emulator</h2>
|
||||
<ul>
|
||||
<li>Wii Virtual Console</li>
|
||||
</ul>
|
||||
</section>
|
||||
</section>
|
||||
<section>Slide 2</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="dist/reveal.js"></script>
|
||||
<script src="plugin/notes/notes.js"></script>
|
||||
<script src="plugin/zoom/zoom.js"></script>
|
||||
<script src="plugin/markdown/markdown.js"></script>
|
||||
<script src="plugin/highlight/highlight.js"></script>
|
||||
<script>
|
||||
/** This used to be a part of Reveal.js, but was removed at some point */
|
||||
function getQueryHash() {
|
||||
function deserialize(value) {
|
||||
if (typeof value === 'string') {
|
||||
if (value === 'null') return null;
|
||||
else if (value === 'true') return true;
|
||||
else if (value === 'false') return false;
|
||||
else if (value.match(/^-?[\d\.]+$/)) return parseFloat(value);
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
let query = {};
|
||||
location.search.replace(/[A-Z0-9]+?=([\w\.%-]*)/gi, a => {
|
||||
query[a.split('=').shift()] = a.split('=').pop();
|
||||
});
|
||||
// Basic deserialization
|
||||
for (let i in query) {
|
||||
let value = query[i];
|
||||
|
||||
query[i] = deserialize(unescape(value));
|
||||
}
|
||||
|
||||
// Do not accept new dependencies via query config to avoid
|
||||
// the potential of malicious script injection
|
||||
if (typeof query['dependencies'] !== 'undefined') delete query['dependencies'];
|
||||
|
||||
return query;
|
||||
|
||||
}
|
||||
var presenter = !!getQueryHash().s;
|
||||
// More info about initialization & config:
|
||||
// - https://revealjs.com/initialization/
|
||||
// - https://revealjs.com/config/
|
||||
Reveal.initialize({
|
||||
hash: true,
|
||||
|
||||
controls: presenter ? false : true,
|
||||
progress: true,
|
||||
history: true,
|
||||
center: true,
|
||||
controlsTutorial: presenter ? false : true,
|
||||
|
||||
slideNumber: presenter ? null : 'c/t',
|
||||
|
||||
// The "normal" size of the presentation, aspect ratio will be preserved
|
||||
// when the presentation is scaled to fit different resolutions. Can be
|
||||
// specified using percentage units.
|
||||
width: 960,
|
||||
height: 700,
|
||||
|
||||
// Factor of the display size that should remain empty around the content
|
||||
margin: 0.1,
|
||||
|
||||
multiplex: {
|
||||
// Example values. To generate your own, see the socket.io server instructions.
|
||||
secret: getQueryHash().s || null,
|
||||
id: '160c0567ef5ca18f',
|
||||
url: 'https://p.xobs.io/'
|
||||
},
|
||||
|
||||
|
||||
// Bounds for smallest/largest possible scale to apply to content
|
||||
minScale: 0.02,
|
||||
maxScale: 5.5,
|
||||
|
||||
transition: 'slide', // none/fade/slide/convex/concave/zoom
|
||||
|
||||
// Don't forget to add the dependencies
|
||||
dependencies: [
|
||||
{ src: 'https://reveal-multiplex.glitch.me/socket.io/socket.io.js', async: true },
|
||||
{ src: 'https://reveal-multiplex.glitch.me/client.js', async: true }
|
||||
],
|
||||
|
||||
// Learn about plugins: https://revealjs.com/plugins/
|
||||
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
|
||||
plugins: [RevealMarkdown, RevealHighlight, RevealZoom]
|
||||
});
|
||||
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</body>
|
||||
|
||||
</html>
|
BIN
media/hardware-20191117.jpg
Normal file
BIN
media/hardware-20191117.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 178 KiB |
BIN
media/renode-20191117.jpg
Normal file
BIN
media/renode-20191117.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
BIN
media/renode-20191117.mp4
Normal file
BIN
media/renode-20191117.mp4
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user