mirror of
https://github.com/verilator/verilator.git
synced 2025-01-08 15:47:36 +00:00
20 lines
384 B
Coq
20 lines
384 B
Coq
|
// This file ONLY is placed into the Public Domain, for any use,
|
||
|
// without warranty, 2018 by Wilson Snyder
|
||
|
|
||
|
module t (clk);
|
||
|
input clk;
|
||
|
|
||
|
tri [3:0] w;
|
||
|
|
||
|
pullup p0 (w[0]);
|
||
|
pulldown p1 (w[1]);
|
||
|
pulldown p2 (w[2]);
|
||
|
pullup p3 (w[3]);
|
||
|
|
||
|
always_ff @ (posedge clk) begin
|
||
|
if (w != 4'b1001) $stop;
|
||
|
$write("*-* All Finished *-*\n");
|
||
|
$finish;
|
||
|
end
|
||
|
endmodule
|