Sign in
foss-fpga-tools
/
third_party
/
yosys
/
b3a66dff7cac8ee98a9b26463e8858a38ea57f83
/
.
/
tests
/
arch
/
common
/
shifter.v
blob: cace3b5889ad49d3eb9157322169b2087a991bf3 [
file
]
module
top
(
out
,
clk
,
in
);
output
[
7
:
0
]
out
;
input
signed
clk
,
in
;
reg
signed
[
7
:
0
]
out
=
0
;
always
@(
posedge clk
)
begin
out
<=
out
>>
1
;
out
[
7
]
<=
in
;
end
endmodule