def METHOD_NAME(self, spec, placement):
    rec_regions = self._app_vertex.synapse_recorder.get_region_sizes(
        self.vertex_slice)
    self._write_common_data_spec(spec, rec_regions)
    self._write_synapse_data_spec(
        spec, self.__ring_buffer_shifts,
        self.__weight_scales, self.__structural_sz)
    # Write information about SDRAM
    self._write_sdram_edge_spec(spec)
    # Write information about keys
    self._write_key_spec(spec)
    # End the writing of this specification:
    spec.end_specification()