def reload_register(self, reg: RegsRegister) -> None: """Reload the value in requested register. :param reg: The register to reload from the HW. """ reg.set_value(self.get_register(reg.name))