Skip to content

Instantly share code, notes, and snippets.

@jadonk
Forked from anonymous/jsbin.uderuw.html
Created March 18, 2014 23:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jadonk/9632307 to your computer and use it in GitHub Desktop.
Save jadonk/9632307 to your computer and use it in GitHub Desktop.
<html>
<header>
<script src="http://wavedrom.googlecode.com/svn/trunk/skins/default.js"></script>
<script src="http://wavedrom.googlecode.com/svn/trunk/WaveDrom.js"></script>
</header>
<body onload="WaveDrom.ProcessAll()">
<h2>WaveDrom Example</h2>
WaveDrom timing diagrams can be embedded into the web pages, blogs, wiki pages:
<p/>
<script type="WaveDrom">
{ signal : [
{ name: "clk", wave: "p......" },
{ name: "bus", wave: "x.34.5x", data: "head body tail" },
{ name: "wire", wave: "0.1..0." },
]}
</script>
<p/>
Yes, right in the middle of your page.
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment