Hotfix for yosysjs/demo03.html
authorClifford Wolf <clifford@clifford.at>
Sat, 21 Feb 2015 13:31:02 +0000 (14:31 +0100)
committerClifford Wolf <clifford@clifford.at>
Sat, 21 Feb 2015 13:31:02 +0000 (14:31 +0100)
misc/yosysjs/demo03.html

index c9386aee8cc61bb976217b6d404345e1fab27afc..3dc465cbff4f2d012fd8a2429e456864b33d3bfc 100644 (file)
@@ -28,10 +28,10 @@ endmodule
                <svg id="schem" width="800"></svg>
                <p/>
                <pre id="code" style="width: 800px; border:2px solid #000; padding: 0.5em;"><span class="noedit">module top(input clk, reset, input [7:0] A, output reg [7:0] Y);
-         always @(posedge clock) begin</span><span class="edit" contenteditable="true">
-           Y &lt;= A | {4{reset}};
-         </span><span class="noedit">end
-       endmodule</span></pre><p/>
+  always @(posedge clock) begin</span><span class="edit" contenteditable="true">
+    Y &lt;= A | {4{reset}};
+  </span><span class="noedit">end
+endmodule</span></pre><p/>
                <input type="button" value="Check Model" onclick="check_model()"> <span id="checkmessage"></span>
                <p/>
                <p id="wave">&nbsp;</p>