標(biāo)題: verilog 移位操作 [打印本頁(yè)]

作者: heicad    時(shí)間: 2014-6-8 03:36
標(biāo)題: verilog 移位操作
                        begin
    if( rLED_Out == 3'b000 )
              rLED_Out <= 3'b001;
    else
              rLED_Out <= { rLED_Out[1:0], 1'b0 };
end
                                                                       






歡迎光臨 (http://www.torrancerestoration.com/bbs/) Powered by Discuz! X3.1