X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=doc%2Fsandbox.mdwn;h=0f28d287f3abfc7d91773247580c11554661e872;hb=04f027d225957984ba7b23ae59e06b817900e23c;hp=f761c45ecb52d7e20d1c7c3bf6c2b7f343ead17d;hpb=25bdb236d5623a85757831a5a6ce6af419602ed7;p=ikiwiki.git diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn index f761c45ec..0f28d287f 100644 --- a/doc/sandbox.mdwn +++ b/doc/sandbox.mdwn @@ -60,6 +60,7 @@ Bulleted list * Cool ! * Indeed. +[[new link]] ---- @@ -118,9 +119,6 @@ Test some tags [[!tag tech life linux]] [[!taglink tech life linux]] -A poll: -[[!poll 6 "red" 3 "green" 2 "blue" 3 "purple"]] - Toggle: [[!toggle id="ipsum" text="show"]] @@ -138,5 +136,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 +"""]]