forked from aldenderfer/jsavr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo_uarch.html
20 lines (19 loc) · 910 Bytes
/
demo_uarch.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<html>
<head>
<title>JS-AVR demo</title>
<link rel="stylesheet" type="text/css" href="uarch/sim.css" />
<link rel="stylesheet" href="lib/codemirror/codemirror.css" />
<link rel="stylesheet" href="lib/codemirror/theme/paraiso-light.css" />
<script type="text/javascript" src="lib/angular/angular.min.js"></script>
<script type="text/javascript" src="lib/codemirror/codemirror.js"></script>
<script type="text/javascript" src="demo_uarch.js"></script>
<script type="text/javascript" src="uarch/sim.js"></script>
</head>
<body ng-app="app">
<div ng-controller="DemoController">
<a href="#" ng-click="avrcontrol.set_program('nop')">Reset the program</a>
Current program: {{prog}}
<sim-avr program="prog" control="avrcontrol" size="" lightboard="yes" reset="yes" simid="1" template="uarch/simavr.html" debug="yes"></sim-avr>
</div>
</body>
</html>