blob: 6bee0abc6a1b590e271aea3e1069ce181fe3c7ae [file] [log] [blame]
/**
* *******************************************************************************
* Copyright (c) 2015-2021 Robert Bosch GmbH and others.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Generated using Eclipse EMF
*
* *******************************************************************************
*/
package org.eclipse.app4mc.amalthea.model;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Memory Definition</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.app4mc.amalthea.model.MemoryDefinition#getSize <em>Size</em>}</li>
* <li>{@link org.eclipse.app4mc.amalthea.model.MemoryDefinition#getAccessLatency <em>Access Latency</em>}</li>
* <li>{@link org.eclipse.app4mc.amalthea.model.MemoryDefinition#getDataRate <em>Data Rate</em>}</li>
* <li>{@link org.eclipse.app4mc.amalthea.model.MemoryDefinition#getMemoryType <em>Memory Type</em>}</li>
* <li>{@link org.eclipse.app4mc.amalthea.model.MemoryDefinition#getClassifiers <em>Classifiers</em>}</li>
* </ul>
*
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getMemoryDefinition()
* @model
* @generated
*/
public interface MemoryDefinition extends HwDefinition {
/**
* Returns the value of the '<em><b>Size</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Size</em>' containment reference.
* @see #setSize(DataSize)
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getMemoryDefinition_Size()
* @model containment="true"
* @generated
*/
DataSize getSize();
/**
* Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.MemoryDefinition#getSize <em>Size</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Size</em>' containment reference.
* @see #getSize()
* @generated
*/
void setSize(DataSize value);
/**
* Returns the value of the '<em><b>Access Latency</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* <p><b>Access latency [cycles]</b></p>
* <!-- end-model-doc -->
* @return the value of the '<em>Access Latency</em>' containment reference.
* @see #setAccessLatency(IDiscreteValueDeviation)
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getMemoryDefinition_AccessLatency()
* @model containment="true"
* @generated
*/
IDiscreteValueDeviation getAccessLatency();
/**
* Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.MemoryDefinition#getAccessLatency <em>Access Latency</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Access Latency</em>' containment reference.
* @see #getAccessLatency()
* @generated
*/
void setAccessLatency(IDiscreteValueDeviation value);
/**
* Returns the value of the '<em><b>Data Rate</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Data Rate</em>' containment reference.
* @see #setDataRate(DataRate)
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getMemoryDefinition_DataRate()
* @model containment="true"
* @generated
*/
DataRate getDataRate();
/**
* Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.MemoryDefinition#getDataRate <em>Data Rate</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Data Rate</em>' containment reference.
* @see #getDataRate()
* @generated
*/
void setDataRate(DataRate value);
/**
* Returns the value of the '<em><b>Memory Type</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.app4mc.amalthea.model.MemoryType}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Memory Type</em>' attribute.
* @see org.eclipse.app4mc.amalthea.model.MemoryType
* @see #setMemoryType(MemoryType)
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getMemoryDefinition_MemoryType()
* @model unique="false"
* @generated
*/
MemoryType getMemoryType();
/**
* Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.MemoryDefinition#getMemoryType <em>Memory Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Memory Type</em>' attribute.
* @see org.eclipse.app4mc.amalthea.model.MemoryType
* @see #getMemoryType()
* @generated
*/
void setMemoryType(MemoryType value);
/**
* Returns the value of the '<em><b>Classifiers</b></em>' reference list.
* The list contents are of type {@link org.eclipse.app4mc.amalthea.model.MemoryClassifier}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Classifiers</em>' reference list.
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getMemoryDefinition_Classifiers()
* @model
* @generated
*/
EList<MemoryClassifier> getClassifiers();
} // MemoryDefinition