JoK3r
Newbie level 1
enable vhdl
Hi ALL,
I am new to this forum and I am in need of a big hand of help here.
How do I make my VHDL Codes to execute ONLY when an 'enter' button is pressed and released i.e. not pressed all the time?
So the enter button would work 'like' a reset button, except that the button enables my codes to be executed.
I know I just can't simple write something like
if enter = '0' then
bla bla bla..
end if;
as then enter would change from 1 to 0 to 1 (Active Low Logic) when the button is pressed, thus disabling code execution at the next clock cycle.
Will somebody be able to help me with this?
Thanks in advance
Hi ALL,
I am new to this forum and I am in need of a big hand of help here.
How do I make my VHDL Codes to execute ONLY when an 'enter' button is pressed and released i.e. not pressed all the time?
So the enter button would work 'like' a reset button, except that the button enables my codes to be executed.
I know I just can't simple write something like
if enter = '0' then
bla bla bla..
end if;
as then enter would change from 1 to 0 to 1 (Active Low Logic) when the button is pressed, thus disabling code execution at the next clock cycle.
Will somebody be able to help me with this?
Thanks in advance