1
0
mirror of synced 2026-05-05 23:55:43 +00:00
Files
YosysHQ.yosys/tests/hana/test_intermout_exprs_condexpr_tribuf_test.v
Clifford Wolf 7764d0ba1d initial import
2013-01-05 11:13:26 +01:00

10 lines
188 B
Verilog

module test(in, out, en, vin1, vout1, en1);
input in, en, en1;
output out;
input [1:0] vin1;
output [1:0] vout1;
assign out = en ? in : 1'bz;
assign vout1 = en1 ? vin1 : 2'bzz;
endmodule