Skip to content

Commit

Permalink
Fix typo in icache tests and return type in documentation (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
Durchbruchswagen authored Nov 6, 2023
1 parent bf83d82 commit 60410c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions coreblocks/fu/fu_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
4 changes: 2 additions & 2 deletions test/frontend/test_icache.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 60410c2

Please sign in to comment.