shiny1
Junior Member level 1
- Joined
- Aug 7, 2012
- Messages
- 16
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,394
I am trying to store the value of Ram into Ram2 (using VHDL) ; if a change occurs on any bit value. Its giving the following error at the if loop.
Pls let me know if you have any suggestions or corrections
Thanks.
Code:
ERROR:HDLCompiler:989 - " Attribute event requires a static signal prefix
for i in 0 to 15 loop
if (Ram(i)' event and (Ram(i) = "0" or Ram(i) = "1") ) then
Ram2(i) <= Ram(i);
end if;
end loop;
Pls let me know if you have any suggestions or corrections
Thanks.