移位寄存器-Verilog
生活随笔
收集整理的這篇文章主要介紹了
移位寄存器-Verilog
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
//五位循環右移
module register_right(input clk,input [4:0] data_in,output reg [4:0] data_out);always @ (posedge clk)begin data_out <= ({data_in[0],data_in[4:1]});endendmodule
總結
以上是生活随笔為你收集整理的移位寄存器-Verilog的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 旋转编码器
- 下一篇: Recovery for HD2 Rec