2626 */
2727public class MicroArchitecture extends Definition {
2828
29- private final Processor processor ;
29+ private final InstructionSetArchitecture instructionSetArchitecture ;
3030
3131 // Stages and Logic elements
3232 private final List <Stage > stages ;
@@ -42,34 +42,39 @@ public class MicroArchitecture extends Definition {
4242 /**
4343 * Create a micro architecture definition.
4444 *
45- * @param identifier identifier
46- * @param processor processor definition
47- * @param stages list of stages
48- * @param logic list of logic elements
45+ * @param identifier identifier
46+ * @param instructionSetArchitecture processor definition
47+ * @param stages list of stages
48+ * @param logic list of logic elements
4949 */
50- public MicroArchitecture (Identifier identifier , Processor processor , List <Stage > stages ,
50+ public MicroArchitecture (Identifier identifier ,
51+ InstructionSetArchitecture instructionSetArchitecture ,
52+ List <Stage > stages ,
5153 List <Logic > logic ) {
52- this (identifier , processor , stages , logic , new ArrayList <>(), new ArrayList <>(),
54+ this (identifier , instructionSetArchitecture , stages , logic , new ArrayList <>(),
55+ new ArrayList <>(),
5356 new ArrayList <>(), new ArrayList <>());
5457 }
5558
5659 /**
5760 * Create a micro architecture definition.
5861 *
59- * @param identifier identifier
60- * @param processor processor definition
61- * @param stages list of stages
62- * @param logic list of logic elements
63- * @param signals list of signals
64- * @param registers list of registers (tensors)
65- * @param memories list of memories
66- * @param functions list of functions
62+ * @param identifier identifier
63+ * @param instructionSetArchitecture processor definition
64+ * @param stages list of stages
65+ * @param logic list of logic elements
66+ * @param signals list of signals
67+ * @param registers list of registers (tensors)
68+ * @param memories list of memories
69+ * @param functions list of functions
6770 */
68- public MicroArchitecture (Identifier identifier , Processor processor , List <Stage > stages ,
71+ public MicroArchitecture (Identifier identifier ,
72+ InstructionSetArchitecture instructionSetArchitecture ,
73+ List <Stage > stages ,
6974 List <Logic > logic , List <Signal > signals , List <RegisterTensor > registers ,
7075 List <Memory > memories , List <Function > functions ) {
7176 super (identifier );
72- this .processor = processor ;
77+ this .instructionSetArchitecture = instructionSetArchitecture ;
7378 this .stages = stages ;
7479 this .logic = logic ;
7580 this .signals = signals ;
@@ -85,8 +90,8 @@ public MicroArchitecture(Identifier identifier, Processor processor, List<Stage>
8590 }
8691 }
8792
88- public Processor processor () {
89- return processor ;
93+ public InstructionSetArchitecture isa () {
94+ return instructionSetArchitecture ;
9095 }
9196
9297 public List <Stage > stages () {
0 commit comments