Sign in
foss-fpga-tools
/
third_party
/
yosys
/
3c41599ee1f62e4d77ba630fa1a245ef3fe236fa
/
.
/
tests
/
xilinx
/
shifter.v
blob: 04ae49d831f89b11863e1a6cde708b0b6d8a638e [
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