Mojo, Fpga.
out std_logic); end component; begin PROCESS (clk,reset) BEGIN IF(reset = '0') THEN q <= "00000001"; ELSE IF(sq'EVENT and sq = '1' and sh = '1') THEN IF(lr = '1')THEN q(0) <= q(7); q(7 downto 1)<=q(6 downto 0); ELSE q(7) <= q(0); q(6 downto 0)<=q(7 downto 1); END IF; ELSE q <= q; END IF; END IF;