mirror of
https://github.com/verilator/verilator.git
synced 2025-03-04 02:59:34 +00:00
25 lines
531 B
Systemverilog
25 lines
531 B
Systemverilog
|
// DESCRIPTION: Verilator: Verilog Test module
|
||
|
//
|
||
|
// This file ONLY is placed under the Creative Commons Public Domain, for
|
||
|
// any use, without warranty, 2020 by Wilson Snyder.
|
||
|
// SPDX-License-Identifier: CC0-1.0
|
||
|
|
||
|
module t (/*AUTOARG*/
|
||
|
// Inputs
|
||
|
in
|
||
|
);
|
||
|
input int in;
|
||
|
|
||
|
int ass_keptdead;
|
||
|
|
||
|
initial begin
|
||
|
if (in != 0) begin
|
||
|
ass_keptdead = 1 | in;
|
||
|
$display("Avoid gate removing");
|
||
|
ass_keptdead = 2 | in;
|
||
|
end
|
||
|
$write("*-* All Finished *-*\n");
|
||
|
$finish;
|
||
|
end
|
||
|
endmodule
|