Skip to content

Commit

Permalink
Fix SW Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
IveanEx committed Oct 1, 2024
1 parent 984d77c commit db35416
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion target/sim/sw/host/apps/offload/src/offload.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ int main() {
print_str(address_prefix, "[Occamy] Current Chip ID is: ");
print_u8(address_prefix, chip_id);
print_str(address_prefix, "\r\n");
reset_and_ungate_quadrants(chip_id);
reset_and_ungate_quadrants_all(chip_id);
print_str(address_prefix, "[Occamy] Snitch ungated. \r\n");
deisolate_all(chip_id);
print_str(address_prefix, "[Occamy] Snitch deisolated. \r\n");
Expand Down
2 changes: 1 addition & 1 deletion target/sim/sw/host/runtime/host.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ static inline void reset_and_ungate_quadrants(uint8_t chip_id, uint32_t cluster_
for (int i = 0; i < N_QUADS; i++) reset_and_ungate_quad(chip_id, i, cluster_enable_value);
}

static inline void reset_and_ungate_quadrants_all(chip_id) {
static inline void reset_and_ungate_quadrants_all(uint8_t chip_id) {
for (int i = 0; i < N_QUADS; i++) reset_and_ungate_quad(chip_id, i, 0xFFFF);
}
//===============================================================
Expand Down

0 comments on commit db35416

Please sign in to comment.