blob: 91683df3b867ac9dde8689da7c3cb08ffc75038a [file] [log] [blame]
Zakir Meer9f251f52018-06-17 16:21:31 +02001package templates
2
3import com.inchron.realtime.root.model.Model
4import org.eclipse.app4mc.amalthea.model.Frequency
5import org.eclipse.app4mc.amalthea.model.FrequencyDomain
6import org.eclipse.app4mc.amalthea.model.HWModel
7import org.eclipse.app4mc.amalthea.model.HwStructure
8import org.eclipse.app4mc.amalthea.model.Memory
9import org.eclipse.app4mc.amalthea.model.ProcessingUnit
10
11public class CustomHWTransformer extends HWTransformer{
12
13protected var Model inchronModel;
14
15 public override transfromHWModel(HWModel amltHWModel, Model inchronModel){
16 super.transfromHWModel(amltHWModel,inchronModel)
17 }
18
19
20 public override create inchronModelFactory.createCpu createCpu(HwStructure amltMicrocontroller){
21 super.createCpu(amltMicrocontroller)
22 }
23
24 override create inchronModelFactory.createClock createClock(FrequencyDomain amltQuartz){
25 super.createClock(amltQuartz)
26 }
27
28 override create inchronModelFactory.createFrequency createFrequency(Frequency amltFrequency){
29 super.createFrequency(amltFrequency)
30 }
31
32 override create inchronModelFactory.createCpuCore createCpuCore(ProcessingUnit core){
33
34 super.createCpuCore(core)
35 }
36
37 override create inchronmemoryFactory.createMemory createMemory(Memory amltMemory){
38 super.createMemory(amltMemory)
39 }
40}