Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@cocohearts
Copy link
Contributor

Wide poseidon2 permute on a width 16 state. (Should also support width 24, but untested)

Description of function and implementation on HackMD.

Supports request so that other functions can statefully generate output and then retrieve the generated trace.

TlatoaniHJ and others added 30 commits June 18, 2024 13:09
Refactor CPU tests, add positive tests for CPU, fix relevant bugs in AIR and trace generation
Add program chip, move instruction frequency calculation to CPU trace, add positive tests for program
Include program chip (+ positive tests) in commit (forgot to last time), add negative tests, change cpu::trace::Memory to return 0 for cells that haven't been written to, change CPU's generate_trace to terminate when pc goes out of bounds (previously was only when pc = -1)
Add dependency on derive-new, derive new for Instruction, use that in cpu/tests/mod.rs, add comment explaining program used in test_negative.
Refactor MemoryAccess for eventual merge with memory::MemoryAccess. Analogously change MemoryAccessCols.value to .data for consistency.
Add terminate instruction, and use to make sure CPU trace height is power of 2. Also make sure that program trace height is power of 2 by adding jumps to same instruction. Refactor tests using ::from_size to construct Instruction, MemoryAccess, ArithmeticOperation.
@cocohearts cocohearts closed this Jun 27, 2024
@jonathanpwang jonathanpwang deleted the feat/poseidon2 branch January 7, 2025 04:35
jonathanpwang pushed a commit that referenced this pull request Jun 3, 2025
jonathanpwang pushed a commit that referenced this pull request Aug 14, 2025
* Cuda tracegen + tests for Rv32HintStore

* fix: MemoryWriteAuxAdapter

* fill zero for some fields
jonathanpwang pushed a commit that referenced this pull request Aug 14, 2025
* Cuda tracegen + tests for Rv32HintStore

* fix: MemoryWriteAuxAdapter

* fill zero for some fields
jonathanpwang pushed a commit that referenced this pull request Aug 19, 2025
* Cuda tracegen + tests for Rv32HintStore

* fix: MemoryWriteAuxAdapter

* fill zero for some fields
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants