Commit f5905199 authored by Yuanting Liu's avatar Yuanting Liu

No commit message

No commit message
parent c3ed600a
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="generated-src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.fortiss.af3.multicore</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
#Fri Aug 27 15:30:47 CEST 2010
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.fortiss.af3.multicore;singleton:=true
Bundle-Version: 1.0.0
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.emf.ecore;visibility:=reexport,
org.eclipse.ui;bundle-version="3.6.0",
edu.tum.cs.ccts.common.architecture;bundle-version="0.3.0"
Bundle-ActivationPolicy: lazy
# <copyright>
# </copyright>
#
# $Id$
bin.includes = .,\
model/,\
META-INF/,\
plugin.xml,\
plugin.properties
jars.compile.order = .
source.. = src/
output.. = bin/
<?xml version="1.0" encoding="ASCII"?>
<multicoreModel:HierachicalComponent xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:multicoreModel="www.fortiss.org/multicoreModel" xsi:schemaLocation="www.fortiss.org/multicoreModel multicore-model.ecore" name="NiosIISystem">
<components xsi:type="multicoreModel:PE" name="cpu1">
<ports xsi:type="multicoreModel:AvaloneMasterPort" name="masterPort_cpu1" connectedTo="//@components.6/@interfaces.0"/>
<ports xsi:type="multicoreModel:AvaloneMasterPort" name="masterPort_privateMemory_cpu1" connectedTo="//@components.7/@interfaces.0"/>
</components>
<components xsi:type="multicoreModel:Memory" name="privateMemory_cpu1" totalSize="128" width="32">
<ports xsi:type="multicoreModel:AvalonSlavePort" name="slavePort_privateMemory_cpu1" connectedTo="//@components.7/@interfaces.1"/>
</components>
<components xsi:type="multicoreModel:PE" name="cpu2">
<ports xsi:type="multicoreModel:AvaloneMasterPort" name="masterPort_cpu2" connectedTo="//@components.6/@interfaces.1"/>
<ports xsi:type="multicoreModel:AvaloneMasterPort" name="masterPort_privateMemory_cpu2" connectedTo="//@components.8/@interfaces.0"/>
</components>
<components xsi:type="multicoreModel:Memory" name="privateMemory_cpu2" totalSize="128" width="32">
<ports xsi:type="multicoreModel:AvalonSlavePort" name="slavePort_privateMemory_cpu2" connectedTo="//@components.8/@interfaces.1"/>
</components>
<components xsi:type="multicoreModel:PE" name="cpu3">
<ports xsi:type="multicoreModel:AvaloneMasterPort" name="masterPort_cpu3" connectedTo="//@components.6/@interfaces.2"/>
<ports xsi:type="multicoreModel:AvaloneMasterPort" name="masterPort_privateMemory_cpu3" connectedTo="//@components.9/@interfaces.0"/>
</components>
<components xsi:type="multicoreModel:Memory" name="privateMemory_cpu3" totalSize="128" width="32">
<ports xsi:type="multicoreModel:AvalonSlavePort" name="slavePort_privateMemory_cpu3" connectedTo="//@components.9/@interfaces.1"/>
</components>
<components xsi:type="multicoreModel:Bus" name="avalonBus" arbitrationScheme="//@components.11">
<interfaces xsi:type="multicoreModel:AvalonMasterInterface" name="masterIF_cpu1"/>
<interfaces xsi:type="multicoreModel:AvalonMasterInterface" name="masterIF_cpu2"/>
<interfaces xsi:type="multicoreModel:AvalonMasterInterface" name="masterIF_cpu3"/>
<interfaces xsi:type="multicoreModel:AvalonSlaveInterface" name="slaveIF"/>
</components>
<components xsi:type="multicoreModel:P2PConnection">
<interfaces xsi:type="multicoreModel:AvalonMasterInterface" name="masterIF_privateMemory_cpu1"/>
<interfaces xsi:type="multicoreModel:AvalonSlaveInterface" name="slaveIF_privateMemory_cpu1"/>
</components>
<components xsi:type="multicoreModel:P2PConnection">
<interfaces xsi:type="multicoreModel:AvalonMasterInterface" name="masterIF_privateMemory_cpu2"/>
<interfaces xsi:type="multicoreModel:AvalonSlaveInterface" name="slaveIF_privateMemory_cpu2"/>
</components>
<components xsi:type="multicoreModel:P2PConnection">
<interfaces xsi:type="multicoreModel:AvalonMasterInterface" name="masterIF_privateMemory_cpu3"/>
<interfaces xsi:type="multicoreModel:AvalonSlaveInterface" name="slaveIF_privateMemory_cpu3"/>
</components>
<components xsi:type="multicoreModel:Memory" name="sharedMemory" comment="the unit for memory size is KByte" totalSize="512" width="32">
<ports xsi:type="multicoreModel:AvalonSlavePort" name="slavePort_sharedMemory" connectedTo="//@components.6/@interfaces.3"/>
</components>
<components xsi:type="multicoreModel:RoundRobin" name="roundRobin"/>
</multicoreModel:HierachicalComponent>
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="multicoreModel"
nsURI="www.fortiss.org/multicoreModel" nsPrefix="multicoreModel">
<eClassifiers xsi:type="ecore:EClass" name="Component" eSuperTypes="../../edu.tum.cs.ccts.model.base/model/base.ecore#//INamedCommented"/>
<eClassifiers xsi:type="ecore:EClass" name="HierachicalComponent" eSuperTypes="#//Component">
<eStructuralFeatures xsi:type="ecore:EReference" name="components" upperBound="-1"
eType="#//Component" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="PE" eSuperTypes="#//Component">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="harTs" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
defaultValueLiteral="1"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="arbitrationScheme" eType="#//ArbitrationScheme"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ports" upperBound="-1"
eType="#//Port" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Memory" eSuperTypes="#//Component">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="totalSize" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="width" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ports" upperBound="-1"
eType="#//Port" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Peripheral" eSuperTypes="#//Component">
<eStructuralFeatures xsi:type="ecore:EReference" name="ports" upperBound="-1"
eType="#//Port" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="CommunicationFacility" eSuperTypes="#//Component">
<eStructuralFeatures xsi:type="ecore:EReference" name="interfaces" upperBound="-1"
eType="#//Interface" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Bus" eSuperTypes="#//CommunicationFacility">
<eStructuralFeatures xsi:type="ecore:EReference" name="arbitrationScheme" eType="#//ArbitrationScheme"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="P2PConnection" eSuperTypes="#//CommunicationFacility"/>
<eClassifiers xsi:type="ecore:EClass" name="Noc" eSuperTypes="#//CommunicationFacility"/>
<eClassifiers xsi:type="ecore:EClass" name="ArbitrationScheme" eSuperTypes="#//Component"/>
<eClassifiers xsi:type="ecore:EClass" name="TDMA" eSuperTypes="#//ArbitrationScheme"/>
<eClassifiers xsi:type="ecore:EClass" name="RoundRobin" eSuperTypes="#//ArbitrationScheme"/>
<eClassifiers xsi:type="ecore:EClass" name="Port" eSuperTypes="../../edu.tum.cs.ccts.model.base/model/base.ecore#//INamedCommented"/>
<eClassifiers xsi:type="ecore:EClass" name="Interface" eSuperTypes="../../edu.tum.cs.ccts.model.base/model/base.ecore#//INamedCommented"/>
<eClassifiers xsi:type="ecore:EClass" name="AvalonPort" eSuperTypes="#//Port"/>
<eClassifiers xsi:type="ecore:EClass" name="AvaloneMasterPort" eSuperTypes="#//AvalonPort">
<eStructuralFeatures xsi:type="ecore:EReference" name="connectedTo" lowerBound="1"
eType="#//AvalonMasterInterface"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AvalonSlavePort" eSuperTypes="#//AvalonPort">
<eStructuralFeatures xsi:type="ecore:EReference" name="connectedTo" lowerBound="1"
eType="#//AvalonSlaveInterface"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AvalonInterface" eSuperTypes="#//Interface"/>
<eClassifiers xsi:type="ecore:EClass" name="AvalonMasterInterface" eSuperTypes="#//AvalonInterface"/>
<eClassifiers xsi:type="ecore:EClass" name="AvalonSlaveInterface" eSuperTypes="#//AvalonInterface"/>
</ecore:EPackage>
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.fortiss.af3.multicore/src"
modelPluginID="org.fortiss.af3.multicore" modelName="Multicore-model" importerID="org.eclipse.emf.importer.ecore"
complianceLevel="6.0" copyrightFields="false" usedGenPackages="../../edu.tum.cs.ccts.model.base/model/base.genmodel#//model">
<foreignModel>multicore-model.ecore</foreignModel>
<genPackages prefix="MulticoreModel" disposableProviderFactory="true" ecorePackage="multicore-model.ecore#/">
<genClasses ecoreClass="multicore-model.ecore#//Component"/>
<genClasses ecoreClass="multicore-model.ecore#//HierachicalComponent">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference multicore-model.ecore#//HierachicalComponent/components"/>
</genClasses>
<genClasses ecoreClass="multicore-model.ecore#//PE">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute multicore-model.ecore#//PE/harTs"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference multicore-model.ecore#//PE/arbitrationScheme"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference multicore-model.ecore#//PE/ports"/>
</genClasses>
<genClasses ecoreClass="multicore-model.ecore#//Memory">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute multicore-model.ecore#//Memory/totalSize"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute multicore-model.ecore#//Memory/width"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference multicore-model.ecore#//Memory/ports"/>
</genClasses>
<genClasses ecoreClass="multicore-model.ecore#//Peripheral">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference multicore-model.ecore#//Peripheral/ports"/>
</genClasses>
<genClasses ecoreClass="multicore-model.ecore#//CommunicationFacility">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference multicore-model.ecore#//CommunicationFacility/interfaces"/>
</genClasses>
<genClasses ecoreClass="multicore-model.ecore#//Bus">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference multicore-model.ecore#//Bus/arbitrationScheme"/>
</genClasses>
<genClasses ecoreClass="multicore-model.ecore#//P2PConnection"/>
<genClasses ecoreClass="multicore-model.ecore#//Noc"/>
<genClasses ecoreClass="multicore-model.ecore#//ArbitrationScheme"/>
<genClasses ecoreClass="multicore-model.ecore#//TDMA"/>
<genClasses ecoreClass="multicore-model.ecore#//RoundRobin"/>
<genClasses ecoreClass="multicore-model.ecore#//Port"/>
<genClasses ecoreClass="multicore-model.ecore#//Interface"/>
<genClasses ecoreClass="multicore-model.ecore#//AvalonPort"/>
<genClasses ecoreClass="multicore-model.ecore#//AvaloneMasterPort">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference multicore-model.ecore#//AvaloneMasterPort/connectedTo"/>
</genClasses>
<genClasses ecoreClass="multicore-model.ecore#//AvalonSlavePort">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference multicore-model.ecore#//AvalonSlavePort/connectedTo"/>
</genClasses>
<genClasses ecoreClass="multicore-model.ecore#//AvalonInterface"/>
<genClasses ecoreClass="multicore-model.ecore#//AvalonMasterInterface"/>
<genClasses ecoreClass="multicore-model.ecore#//AvalonSlaveInterface"/>
</genPackages>
</genmodel:GenModel>
# <copyright>
# </copyright>
#
# $Id$
pluginName = Multicore-model Model
providerName = www.example.org
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
<copyright>
</copyright>
$Id$
-->
<plugin>
<extension point="org.eclipse.emf.ecore.generated_package">
<package
uri="www.fortiss.org/multicoreModel"
class="multicoreModel.MulticoreModelPackage"
genModel="model/multicore-model.genmodel"/>
</extension>
</plugin>
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package multicoreModel;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Arbitration Scheme</b></em>'.
* <!-- end-user-doc -->
*
*
* @see multicoreModel.MulticoreModelPackage#getArbitrationScheme()
* @model
* @generated
*/
public interface ArbitrationScheme extends Component {
} // ArbitrationScheme
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package multicoreModel;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Avalon Interface</b></em>'.
* <!-- end-user-doc -->
*
*
* @see multicoreModel.MulticoreModelPackage#getAvalonInterface()
* @model
* @generated
*/
public interface AvalonInterface extends Interface {
} // AvalonInterface
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package multicoreModel;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Avalon Master Interface</b></em>'.
* <!-- end-user-doc -->
*
*
* @see multicoreModel.MulticoreModelPackage#getAvalonMasterInterface()
* @model
* @generated
*/
public interface AvalonMasterInterface extends AvalonInterface {
} // AvalonMasterInterface
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package multicoreModel;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Avalon Port</b></em>'.
* <!-- end-user-doc -->
*
*
* @see multicoreModel.MulticoreModelPackage#getAvalonPort()
* @model
* @generated
*/
public interface AvalonPort extends Port {
} // AvalonPort
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package multicoreModel;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Avalon Slave Interface</b></em>'.
* <!-- end-user-doc -->
*
*
* @see multicoreModel.MulticoreModelPackage#getAvalonSlaveInterface()
* @model
* @generated
*/
public interface AvalonSlaveInterface extends AvalonInterface {
} // AvalonSlaveInterface
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package multicoreModel;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Avalon Slave Port</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link multicoreModel.AvalonSlavePort#getConnectedTo <em>Connected To</em>}</li>
* </ul>
* </p>
*
* @see multicoreModel.MulticoreModelPackage#getAvalonSlavePort()
* @model
* @generated
*/
public interface AvalonSlavePort extends AvalonPort {
/**
* Returns the value of the '<em><b>Connected To</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Connected To</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Connected To</em>' reference.
* @see #setConnectedTo(AvalonSlaveInterface)
* @see multicoreModel.MulticoreModelPackage#getAvalonSlavePort_ConnectedTo()
* @model required="true"
* @generated
*/
AvalonSlaveInterface getConnectedTo();
/**
* Sets the value of the '{@link multicoreModel.AvalonSlavePort#getConnectedTo <em>Connected To</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Connected To</em>' reference.
* @see #getConnectedTo()
* @generated
*/
void setConnectedTo(AvalonSlaveInterface value);
} // AvalonSlavePort
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package multicoreModel;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Avalone Master Port</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link multicoreModel.AvaloneMasterPort#getConnectedTo <em>Connected To</em>}</li>
* </ul>
* </p>
*
* @see multicoreModel.MulticoreModelPackage#getAvaloneMasterPort()
* @model