mirror of https://github.com/YosysHQ/yosys.git
10 lines
188 B
Coq
10 lines
188 B
Coq
|
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
|