In reply to Po:
That code was supposed to go in a sequence do a direct write and not inside the reg2bus (i.e. a non RAL bus access). I supposed you could create a random_address_reg giving it an out of range address, but that seems to be more bother than its worth.