dsk635
Newbie level 4
Hi,
I have a generic defined as a std_logic_vector(31 downto 0). It defaults to all bits being high ("H"). I have a question regarding passing the generics value in modelsim. Is it possile to set only particular bits of the generic? For example, say set only bits 12 downto 10, while the remaining bits are set in another file? I tried the following but Modelsim would not recognize it:
G<generic_name>(12 downto 10)='111'
I would really appreciate any help in this regard.
Thanks,
-D.
I have a generic defined as a std_logic_vector(31 downto 0). It defaults to all bits being high ("H"). I have a question regarding passing the generics value in modelsim. Is it possile to set only particular bits of the generic? For example, say set only bits 12 downto 10, while the remaining bits are set in another file? I tried the following but Modelsim would not recognize it:
G<generic_name>(12 downto 10)='111'
I would really appreciate any help in this regard.
Thanks,
-D.