Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tilk committed Nov 26, 2024
1 parent 3117ef2 commit 8a4f0bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ def get_phys_reg_rrat(self, sim: TestbenchContext, reg_id):
return sim.get(self.m.core.RRAT.entries[reg_id])

def get_arch_reg_val(self, sim: TestbenchContext, reg_id):
return sim.get(self.m.core.RF.entries[(self.get_phys_reg_rrat(sim, reg_id))].reg_val)
# TODO: better stubs for memory, remove ignore
return sim.get(self.m.core.RF.entries.data[(self.get_phys_reg_rrat(sim, reg_id))]) # type: ignore


class TestCoreAsmSourceBase(TestCoreBase):
Expand Down

0 comments on commit 8a4f0bf

Please sign in to comment.