ASM States
State S0 waits for Zero operation. In this state the external addr, data, we lines are muxed to RAM
State S1 loads counter with LOW value, sets Busy Flag output
State S2 does zero operation. Exit this state with counter value equals to HIGH register value. On state exit, clear the busy flag output (conditional output).