shaiko
Advanced Member level 5
PHP:
process is
begin
case address_i is
when "0100" =>
--- do something
when "0101" =>
--- do something else
when others =>
--- do something else
end case ;
end process ;
address_i is defined as an unsigned ( 3 downto 0 ).
instead of writing the long binary address I want to write it in Hex.
x"4" instead of "0100"
x"5" instead of "0101"
What is the correct way to do it ?