mirror of
https://github.com/verilator/verilator.git
synced 2025-01-07 15:17:36 +00:00
24 lines
451 B
Verilog
24 lines
451 B
Verilog
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed into the Public Domain, for any use,
|
|
// without warranty, 2005-2007 by Wilson Snyder.
|
|
|
|
module t (/*AUTOARG*/
|
|
// Inputs
|
|
value
|
|
);
|
|
|
|
input [3:0] value;
|
|
always @ (/*AS*/value) begin
|
|
casex (value)
|
|
default: $stop;
|
|
endcase
|
|
case (value)
|
|
4'b0000: $stop;
|
|
4'b1xxx: $stop;
|
|
default: $stop;
|
|
endcase
|
|
end
|
|
|
|
endmodule
|