verilator/test_regress/t/t_math_countbits_bad.v

13 lines
297 B
Systemverilog
Raw Normal View History

2020-05-10 20:27:22 +02:00
// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain.
// SPDX-FileCopyrightText: 2020 Yossi Nivin
2020-05-10 20:27:22 +02:00
// SPDX-License-Identifier: CC0-1.0
module t;
2020-05-10 20:27:22 +02:00
2026-03-10 02:38:29 +01:00
integer count;
assign count = $countbits(32'h123456, '0, '1, 'x, 'z);
2020-05-10 20:27:22 +02:00
endmodule