whitespace
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 24 Mar 2020 10:59:18 +0000 (10:59 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 24 Mar 2020 10:59:18 +0000 (10:59 +0000)
src/soc/simulator/internalop_sim.py

index 813dd19c40e21283d000fd597074a2cb38595a8a..f7cd669c8f3a7886ac465660af02ad25275837e6 100644 (file)
@@ -88,7 +88,7 @@ class InternalOpSimulator:
         elif internal_op == InternalOp.OP_OR.value:
             return op1 | op2
         else:
-            assert False, "Not implemented" 
+            assert False, "Not implemented"
 
     def alu_op(self, pdecode2):
         internal_op = yield pdecode2.dec.op.internal_op
@@ -121,7 +121,7 @@ class InternalOpSimulator:
         internal_op = yield pdecode2.dec.op.internal_op
         addr_reg = yield pdecode2.e.read_reg1.data
         addr = self.regfile.read_reg(addr_reg)
-        
         imm_ok = yield pdecode2.e.imm_data.ok
         r2_ok = yield pdecode2.e.read_reg2.ok
         width = yield pdecode2.e.data_len
@@ -140,7 +140,6 @@ class InternalOpSimulator:
             val = self.mem_sim.ld(addr, width)
             self.regfile.write_reg(dest_reg, val)
 
-
     def execute_op(self, pdecode2):
         function = yield pdecode2.dec.op.function_unit
         if function == Function.ALU.value: