-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc(book): Fill up empty sections and add table diagram (#608)
* Fill up empty sections and add table diagram * Typo * Ignore mermaid initialization files * Update workflow
- Loading branch information
Showing
8 changed files
with
74 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
book | ||
|
||
# Mermaid initialization files | ||
# Obtained with `mdbook-mermaid install book`. | ||
mermaid-init.js | ||
mermaid.min.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,42 @@ | ||
# Tables | ||
|
||
Our EVM statements are decomposed into several STARK tables, each corresponding to some coprocessor capable of handling specific operations, | ||
orchestrated by a [Central Processing Unit](./cpu.md). | ||
|
||
Each coprocessor execution can be proven independently and concurrently, and a global check (via our [cross-table lookups](../framework/ctls.md)) | ||
enforces consistency of values being shared across multiple coprocessors. | ||
|
||
Below is a depiction of the current decomposition of EVM statements execution[^1]: | ||
|
||
```mermaid | ||
%%{init: {'theme':'dark'}}%% | ||
flowchart TB | ||
A[Arithmetic] | ||
BP[BytePacking] | ||
C[CPU] | ||
subgraph KK [ Keccak Hash ] | ||
direction LR | ||
K[Keccak] | ||
KS[KeccakSponge] | ||
K --- KS | ||
end | ||
L[Logic] | ||
M[Memory] | ||
subgraph MM [ zk-continuations ] | ||
MB[MemBefore] | ||
MA[MemAfter] | ||
MB --- MA | ||
end | ||
C --- A | ||
C --- BP | ||
C --- KK | ||
C --- L | ||
C --- M | ||
M --- MM | ||
``` | ||
|
||
[^1]: This diagram is simplified, and does not represent *all* interactions between co-processors. |