2019-10-09 12:47:26 +02:00
|
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
|
|
|
// This file ONLY is placed into the Public Domain, for any use,
|
|
|
|
|
// without warranty, 2019 by Todd Strader.
|
2020-03-21 16:24:24 +01:00
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
2019-10-09 12:47:26 +02:00
|
|
|
|
|
|
|
|
module secret_impl (
|
2019-10-23 14:32:02 +02:00
|
|
|
input a,
|
|
|
|
|
input oe,
|
|
|
|
|
inout z,
|
|
|
|
|
output y);
|
2019-10-09 12:47:26 +02:00
|
|
|
|
|
|
|
|
assign z = oe ? a : 1'bz;
|
|
|
|
|
assign y = z;
|
|
|
|
|
|
|
|
|
|
endmodule
|