OpenFPGA/yosys/tests/lut/map_mux.v

6 lines
82 B
Verilog

module top(...);
input a, b, s;
output y;
assign y = s?a:b;
endmodule