Hi,
I want to know if it is possible to watch a constant in the Modelsim waveform viewer because I tried to make a model of ROM memory with an array of std_logic_vector but when I adress the array it don't give me the right value (it seem to choose the first or the final one). So I would like to verify if Modelsim put the right value in the memory the declaration of the memory look like this:
--declaration of a memory subtype type TYPE_RAM is array (512 downto 0) of std_logic_vector(7 downto 0);
--declaration of the memory and his contents constant ram1: TYPE_RAM := ( std_logic_vector(to_unsigned(10#1#,8)), std_logic_vector(to_unsigned(10#2#,8)), std_logic_vector(to_unsigned(10#3#,8)), std_logic_vector(to_unsigned(10#0#,8)), others => ("11111111")
);
--read at the adress wanted data_out