removed wait_state, other corrections
extended to test several bus cycles with wait statements