Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
356a4bf2123fc606ca19fbed9b9c535f149fdec5
/
.
/
SVIncCompil
/
Testcases
/
YosysTests
/
regression
/
issue_00126
/
top.v
blob: ffecf9df223fdd71a9aa4d2753e53c1faef5e279 [
file
] [
log
] [
blame
]
module
top
(
in_a
,
out_vt
);
input
[
1
:
0
]
in_a
;
output out_vt
;
reg
[
2
:
0
]
result
;
assign out_vt
=
result
;
always
@(*)
begin
result
=
3
'b000;
case (in_a)
2'
b00
:
begin
result
=
3
'b101;
end
2'
b01
:
begin
result
=
3
'b001;
end
default;
endcase
end
endmodule