verilator/test_regress/t/t_math_countbits_bad.v
2020-05-10 14:27:22 -04:00

17 lines
358 B
Systemverilog

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain, for
// any use, without warranty, 2020 Yossi Nivin.
// SPDX-License-Identifier: CC0-1.0
module t(/*AUTOARG*/
// Inputs
clk
);
input clk;
integer count;
assign count = $countbits(32'h123456, '0, '1, 'x, 'z);
endmodule