2016-12-21 23:43:19 +01:00
|
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
|
|
|
//
|
2020-03-21 16:24:24 +01:00
|
|
|
// This file ONLY is placed under the Creative Commons Public Domain, for
|
|
|
|
|
// any use, without warranty, 2016 by Wilson Snyder.
|
|
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
2016-12-21 23:43:19 +01:00
|
|
|
|
|
|
|
|
module t
|
|
|
|
|
(
|
|
|
|
|
input wire rst
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
integer q;
|
2017-09-12 01:18:58 +02:00
|
|
|
|
2021-01-05 20:26:01 +01:00
|
|
|
// verilator lint_off LATCH
|
2016-12-21 23:43:19 +01:00
|
|
|
always @(*)
|
|
|
|
|
if (rst)
|
|
|
|
|
assign q = 0;
|
|
|
|
|
else
|
|
|
|
|
deassign q;
|
2021-01-05 20:26:01 +01:00
|
|
|
// verilator lint_on LATCH
|
2016-12-21 23:43:19 +01:00
|
|
|
|
|
|
|
|
endmodule
|