]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/sandbox.mdwn
(no commit message)
[ikiwiki.git] / doc / sandbox.mdwn
index 4caf352aef6548205c88fbe62aa2d5ae86adfbd3..14a8b2944c1945ad3e859b923a997f4ad3041177 100644 (file)
@@ -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]]
 
 ----
 
@@ -118,9 +120,6 @@ Test some tags
 [[!tag  tech life linux]]
 [[!taglink tech life linux]]
 
-A poll:
-[[!poll 3 "red" 2 "green" 2 "blue" 2 "purple"]]
-
 Toggle:
 [[!toggle  id="ipsum" text="show"]]
 
@@ -138,5 +137,24 @@ This **SandBox** is also a [[blog]]! xxx
 
 [[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]]a
 
+[[!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
+"""]]