EDA移位寄存器复习课程.ppt移位寄存器--实验评述一、简单移位寄存器二、带左右移位的移位寄存器P186nxt:process(load,left_right,din,dout) begin if(load='1')then shift_val<=din; elsif(left_right='0')then shift_val(2downto0)<=dout(3downto1); shift_val(3)<='0'; else shift_val(3downto1)<=dout(2downto0); shift_val(0)<='0'; endif; endprocess; current:process begin waituntilclk'eventandclk='1'; dout<=shift_val; endprocess;endsynth;三、带并行控制的移位寄存器四、桶形移位
EDA移位寄存器复习课程 来自淘豆网m.daumloan.com转载请标明出处.