Advertisement
Guest User

Untitled

a guest
May 24th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. case SSalt is
  2. when "00" => tmp <= "00";
  3. when "01" => if CSalt = '0' and Z = '0' then tmp <= "00";
  4. elsif CSalt = '0' and Z = '1' then tmp <= "01";
  5. elsif CSalt = '1' and Z = '0' then tmp <= "01";
  6. elsif CSalt = '1' and Z = '1' then tmp <= "00";
  7. end if;
  8. when "10" => tmp <= "10";
  9. when "11" => if Csalt = '0' then tmp <= "01";
  10. else tmp <= "11";
  11. end if;
  12. end case;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement