adityarajrulz
Newbie level 5
- Joined
- Jun 4, 2012
- Messages
- 8
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Noida, India, India
- Activity points
- 1,345
I have a code simulating a flash memory where it receives a reset signal, and after receiving that signal it starts working only after a particular time "reset time = 200 ns" if before the end of this 200ns the reset signal comes again then the 200ns need to be reconsidered and the "reset counter " needs to be started again.
I tried it using the understated code:
process ( flash_rst_n ) ----process for reset signal
begin
if(flash_rst_n'EVENT AND flash_rst_n = '0')
reset<='0';
else wait for 200;
reset:='1';
end if
end process
The status of flash is signified by variable "reset ".
reset = 1 : 200ns over and the flash can be further used,. !!!!
but the compiler gave the error that a wait signal cant be introduced in a process which is parameter sensitive.
How to go for it?
I tried it using the understated code:
process ( flash_rst_n ) ----process for reset signal
begin
if(flash_rst_n'EVENT AND flash_rst_n = '0')
reset<='0';
else wait for 200;
reset:='1';
end if
end process
The status of flash is signified by variable "reset ".
reset = 1 : 200ns over and the flash can be further used,. !!!!
but the compiler gave the error that a wait signal cant be introduced in a process which is parameter sensitive.
How to go for it?