X-Git-Url: https://scripts.mit.edu/gitweb/www/ikiwiki.git/blobdiff_plain/e381184944cb951ca78123c301ee61f0c6ff50a4..c231b6770b82d136771dbe862b5a1164f84f17d9:/doc/sandbox.mdwn diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn index b1f1242eb..3aaf6d885 100644 --- a/doc/sandbox.mdwn +++ b/doc/sandbox.mdwn @@ -1,5 +1,6 @@ # Sandbox +[[!pagestats pages="/tags/*"]] [[!sidebar content="dfdsfsf"" This is my custom sidebar for this page. @@ -60,6 +61,7 @@ Bulleted list * Cool ! * Indeed. +[[new link]] ---- @@ -94,6 +96,7 @@ Bulleted list _italic_ +Umcacaumca ### this shows a problem with the list and the verbatim @@ -135,10 +138,24 @@ This **SandBox** is also a [[blog]]! xxx [[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]]a -[[!format c """ -void main () { - printf("hello, world!"); -} +[[!format verilog """ +module vc_Mux2 #( parameter W = 1 ) +( + input [W-1:0] in0, in1, + input sel, + output reg [W-1:0] out +); + + always @(*) + begin + case ( sel ) + 1'd0 : out = in0; + 1'd1 : out = in1; + default : out = {W{1'bx}}; + endcase + end + +endmodule """]]