Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
3f4e38faba84ce292e5f05601b70dd598f686411
/
.
/
SVIncCompil
/
Testcases
/
YosysTests
/
regression
/
issue_00287
/
top.v
blob: 176a1d4c8d3e9292d4bcf86430f3c94ad9198162 [
file
] [
log
] [
blame
]
module
top
(
input
[
6
:
0
]
D
,
input
[
1
:
0
]
S
,
output reg
[
1
:
0
]
Y
);
always
@*
begin
:
block
reg
[
3
:
0
]
data
[
0
:
3
];
data
[
0
]
=
D
[
3
:
0
];
data
[
1
]
=
D
[
4
:
1
];
data
[
2
]
=
D
[
5
:
2
];
data
[
3
]
=
D
[
6
:
3
];
Y
=
data
[
S
];
end
endmodule