verilator/test_regress/t/t_lib_prot_inout_bad.v

16 lines
393 B
Systemverilog

// DESCRIPTION: Verilator: Verilog Test module
// This file ONLY is placed into the Public Domain, for any use,
// without warranty, 2019 by Todd Strader.
// SPDX-License-Identifier: CC0-1.0
module secret_impl (
input a,
input oe,
inout z,
output y);
assign z = oe ? a : 1'bz;
assign y = z;
endmodule