aboutsummaryrefslogtreecommitdiffstats
path: root/tests/asicworld/code_hdl_models_encoder_4to2_gates.v
blob: 0bfdc28ad97e7f24843a9d677180d27d18367ccf (plain)
1
2
3
4
5
6
7
8
module encoder_4to2_gates (i0,i1,i2,i3,y);
input i0,i1,i2,i3;
output [1:0] y;

or o1 (y[0],i1,i3);
or o2 (y[1],i2,i3);

endmodule