Added more logic to fsm.v, but not tested yet.
Merge branch 'master' of https://github.com/molohov/gpu2