mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-09-05 19:36:55 +02:00
5 lines
133 B
Verilog
5 lines
133 B
Verilog
module test(input [3:0] A, output [3:0] Y1, Y2);
|
|
assign Y1 = |{A[3], 1'b0, A[1]};
|
|
assign Y2 = |{A[2], 1'b1, A[0]};
|
|
endmodule
|