I want to test for events on individual bits of a std_logic_vector signal... something like this:
Assume vec is signal vec : std_logic_vector(63 downto 0)...
Unfortunately you can't do this. I get the compile error:
Attribute "event" requires a static signal prefix.
Is there a way to check individual bits of a signal vector for an event?
Assume vec is signal vec : std_logic_vector(63 downto 0)...
Code:
for i in 63 downto 0 loop
if (vec(i)'event) then
[COLOR="SeaGreen"]--do something[/COLOR]
end if;
end loop;
Unfortunately you can't do this. I get the compile error:
Attribute "event" requires a static signal prefix.
Is there a way to check individual bits of a signal vector for an event?