TinyTapeout / tt-commander-app

Web app to control the Tiny Tapeout Demo board
https://commander.tinytapeout.com
Other
0 stars 3 forks source link

On reset, the design might not get any clocks while reset is asserted #3

Open MichaelBell opened 4 months ago

MichaelBell commented 4 months ago

When you press the reset button, ttcontrol sends a short reset pulse.

However, many designs don't use async reset, so they will miss the reset if running at a slow frequency or clcoking manually.

I'm not sure of the best fix, but one option would be to make the reset button toggle reset on and off instead of a single pulse - then you could clock it manually if required.

Alternatively the reset could automatically send some clocks if the clock is stopped, or sleep for a long enough time for a couple of clocks to happen if the clock is running.