library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.std_logic_unsigned.all;

entity comp8 is
    port (
        A, B: in STD_LOGIC_VECTOR (7 downto 0);
        EQ, GT: out STD_LOGIC
    );
end comp64;

architecture comp8_arch of comp8 is
begin
  EQ <= '1' when A = B else '0';
  GT <= '1' when A > B else '0';
end comp8_arch;
