[tool] last io function

Symptom:system hang when access a module
Root Cause:bus deadlock when access no power or no clock module
Solution:Record the each io access