Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
356a4bf2123fc606ca19fbed9b9c535f149fdec5
/
.
/
SVIncCompil
/
Testcases
/
YosysTests
/
regression
/
issue_00931
/
top.v
blob: 45c84f8bad5bf1544e4c4f87a34df21ac48e81b4 [
file
] [
log
] [
blame
]
module
top
(
input
[
1
:
0
]
S
,
input
[
7
:
0
]
A
,
B
,
C
,
D
,
output reg
[
7
:
0
]
Y
);
always
@*
begin
case
(
S
)
2
'b00: Y <= A;
2'
b01
:
Y
<=
B
;
2
'b10: Y <= C;
2'
b11
:
Y
<=
D
;
endcase
end
endmodule