Sign in
foss-fpga-tools
/
third_party
/
yosys
/
83fbfe0964dc7315ca6d508e6069507250d9f093
/
.
/
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