Commits

Sam Mussmann  committed 02b9bbc

Rename functional units.

  • Participants
  • Parent commits 09344bf

Comments (0)

Files changed (1)

       instruction.enqueue_for_execute()
 
   def __init__(self):
-    int_fu = _FunctionalUnits.FunctionalUnit(1, 'int')
-    fp_add_fu = _FunctionalUnits.FunctionalUnit(5, 'fp_add')
-    fp_mul_fu = _FunctionalUnits.FunctionalUnit(8, 'fp_mul')
-    fp_div_fu = _FunctionalUnits.FunctionalUnit(15, 'fp_div')
+    int_fu = _FunctionalUnits.FunctionalUnit(1, 'Int FU')
+    fp_add_fu = _FunctionalUnits.FunctionalUnit(5, 'FP Add FU')
+    fp_mul_fu = _FunctionalUnits.FunctionalUnit(8, 'FP Mul FU')
+    fp_div_fu = _FunctionalUnits.FunctionalUnit(15, 'FP Div FU')
     self.opcode_map = collections.defaultdict(lambda: int_fu)
     self.opcode_map.update({'ADD.D': fp_add_fu, 'MUL.D': fp_mul_fu,
         'DIV.D': fp_div_fu})