3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-03 13:07:58 +00:00
yosys/tests/share/bug321.ys
2024-08-17 00:46:19 +02:00

11 lines
180 B
Text

read_verilog <<EOF
module top(a, b, s, y);
input wire [7:0] a;
input wire [7:0] b;
input wire s;
output wire y;
assign y = s ? |a : |b;
endmodule
EOF
share -force