Hello everyone! Is it possible to create stopwatch in VHDL with 4 times memory? Start and stop on the one button, memory set on the second button. One second accuracy
Offcourse, Sure, freilich, if you can draw a state diagram at least in your mind. With the right hardware this precision is also possible. But a cheap microcontroller would also fit the task.
How to start with code?
If you don't have a Städte concept in your mind then draw one first. What are the inputs and outputs? And then write the neccessary logic.
Sorry meant state concept like here: https://bennthomsen.files.wordpress.com/2011/12/stop-watch-state-diagram.png?w=584 https://www.researchgate.net/profile/Timothy_Fossum/publication/234780032/figure/fig5/AS:323378541023234@1454110860075/The-state-diagram-for-the-three-button-stopwatch.png https://www.researchgate.net/profile/Dr_Praveen_Srivastava/publication/215584753/figure/fig2/AS:305716725338120@1449899955646/Stopwatch-behavior-all-state-coverage.png It is called finite state machine (fsm). if you have decided how your fsm should look and which states it should have, you can write it in hdl.