K
Kleric
Guest
Hey
I'm having some problems with my code lock machine.
It is for simulation.
Here is my code:
http://www.box.com/s/129cbfc83b936f275292
It is a lock machine. When the right code is entered it gets opened.
Maybe you could help me to get it working.
The problem is that when i use this line "wait until
rising_edge(clock);" in my lock.vhd file it gives me this error:
Prefixed name 'rising_edge' is not a 1 dimensional array or a function
or contains a bad suffix (index/slice/selected-name)
When I replace this line with this:
wait on clock until clock = '1';
It compiles.
But it doesn't work, my graph stays the same all time.
Thanks
I'm having some problems with my code lock machine.
It is for simulation.
Here is my code:
http://www.box.com/s/129cbfc83b936f275292
It is a lock machine. When the right code is entered it gets opened.
Maybe you could help me to get it working.
The problem is that when i use this line "wait until
rising_edge(clock);" in my lock.vhd file it gives me this error:
Prefixed name 'rising_edge' is not a 1 dimensional array or a function
or contains a bad suffix (index/slice/selected-name)
When I replace this line with this:
wait on clock until clock = '1';
It compiles.
But it doesn't work, my graph stays the same all time.
Thanks