Skip to content

Commit

Permalink
Update for new infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
Arusekk committed Dec 10, 2024
1 parent f31143c commit a7aa787
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion coreblocks/func_blocks/fu/common/rs.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def _elaborate(self, m: TModule, selected_id: Value, select_possible: Value, tak
core_state = self.dependency_manager.get_dependency(CoreStateKey())
state = core_state(m)
for i, record in enumerate(self.data):
m.d.comb += self.data_ready[i].eq(
m.d.av_comb += self.data_ready[i].eq(
(~record.rs_data.rp_s1.bool() & ~record.rs_data.rp_s2.bool() & record.rec_full.bool())
| state.flushing
)
Expand Down
2 changes: 1 addition & 1 deletion test/func_blocks/fu/common/test_rs.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ def test_take_flushing(self):
}
for id in range(2)
]
self.check_list = create_check_list(self.rs_entries_bits, self.insert_list)
self.check_list = create_check_list(1, self.insert_list)

@def_method_mock(lambda: self.m.core_state)
def core_state_mock():
Expand Down

0 comments on commit a7aa787

Please sign in to comment.