In reply to rkg_:
3 Things:
(1) the register read/write have 3 arguments, i.e. status, data and parent. You are missing the parent.
(2) if you want to check what you have written you have to provide the check mechanism by yourself.
(3) You do not show how your RAL integfration/implementation looks like with respect to prediction.