<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _verify_tile_versions(self, hw):
 """Verify that the tiles have the correct versions """

        for tile, expected_tile_version in self._tile_versions.items():
            actual_tile_version = str(hw.get(tile).tile_version())
            if expected_tile_version != actual_tile_version:
                raise ArgumentError("Tile has incorrect firmware", tile=tile, \
                    expected_version=expected_tile_version, actual_version=actual_tile_version)