verilator/test_regress/t/t_tri_pullvec_bad.v
2018-02-10 19:08:07 -05:00

20 lines
384 B
Verilog

// 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