diff --git a/coreblocks/fu/fu_decoder.py b/coreblocks/fu/fu_decoder.py index 9fa007bf8..0e3b7939a 100644 --- a/coreblocks/fu/fu_decoder.py +++ b/coreblocks/fu/fu_decoder.py @@ -81,8 +81,8 @@ def get_decoder(self, gen_params: GenParams) -> Decoder: Returns ------- - return : set[OpType] - List of OpTypes. + return : Decoder + Instance of Decoder class. """ # check how many different op types are there op_types = self.get_op_types() diff --git a/test/frontend/test_icache.py b/test/frontend/test_icache.py index 2f7f33042..c0ac4f800 100644 --- a/test/frontend/test_icache.py +++ b/test/frontend/test_icache.py @@ -89,7 +89,7 @@ def wishbone_slave(self): while True: yield from self.test_module.wb_ctrl.slave_wait() - # Wishbone is addressing words, so we need to shit it a bit to get the real address. + # Wishbone is addressing words, so we need to shift it a bit to get the real address. addr = (yield self.test_module.wb_ctrl.wb.adr) << log2_int(self.cp.word_width_bytes) while random.random() < 0.5: @@ -200,7 +200,7 @@ def wishbone_slave(self): while True: yield from self.m.wb_ctrl.slave_wait() - # Wishbone is addressing words, so we need to shit it a bit to get the real address. + # Wishbone is addressing words, so we need to shift it a bit to get the real address. addr = (yield self.m.wb_ctrl.wb.adr) << log2_int(self.cp.word_width_bytes) while random.random() < 0.5: