Операционное устройство. Хлуденев А.В. - 46 стр.

UptoLike

Составители: 

if x1 = '1' then next_state <= s2;
else next_state <= s3;
end if;
when s2 =>
y3 <= '1';
next_state <= s3;
when s3 =>
y2 <= '1';
if x2 = '1' then next_state <= s4;
elsif x1 = '1' then next_state <= s2;
else next_state <= s3;
end if;
when s4 =>
y4 <= '1';
next_state <= s0;
end case;
end process;
end;
46
             if x1 = '1' then next_state <= s2;
             else             next_state <= s3;
             end if;

        when s2 =>
          y3 <= '1';
          next_state <= s3;

        when s3 =>
          y2 <= '1';
           if x2 = '1' then next_state <= s4;
          elsif x1 = '1' then next_state <= s2;
          else            next_state <= s3;
          end if;

            when s4 =>
             y4 <= '1';
             next_state <= s0;

        end case;
     end process;

     end;




46