Skip to content

Commit

Permalink
chore: add further docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Al-Kindi-0 committed Nov 27, 2023
1 parent ab6a8e3 commit c47b67b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions processor/src/chiplets/aux_trace/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1387,6 +1387,8 @@ impl<'a> MainTrace<'a> {
self.columns.get_column(CHIPLETS_OFFSET + 9)[i]
}

// Merkle path hashing selectors

fn f_mv(&self, i: usize) -> bool {
(i % 8 == 0)
&& self.chiplet_selector_0(i) == ZERO
Expand Down Expand Up @@ -1426,6 +1428,7 @@ impl<'a> MainTrace<'a> {
&& self.chiplet_selector_3(i) == ZERO
}

// Helper method to detect change of address in the kernel ROM chiplet.
fn is_addr_change(&self, i: usize) -> bool {
self.addr(i) != self.addr(i + 1)
}
Expand Down

0 comments on commit c47b67b

Please sign in to comment.