lc-3-2 / lc32sim

LC-3.2 simulator
0 stars 0 forks source link

Change Clock Interface #33

Closed ammrat13 closed 1 year ago

ammrat13 commented 1 year ago

Currently, the clock interface only exposes the current time in seconds and milliseconds. However, this can lead to race conditions if one is not careful. Therefore, it would be good to update the clock interface to allow "atomic" reads of both timers.

Specifically, I propose a status register that updates both timers when written to.