Cyclone
FPGA-accelerated MSM
Install / Use
/learn @JumpCrypto/CycloneREADME
cyclone-msm
Assuming the FPGA image is loaded with make reset.
Note that this image agfi-09bec09a9e2b4d332 has a fix to enable reading out points
without DRAM, compared to the image agfi-0d25a1d127f1b497f of the ZPrize submission.
Quickstart
# install the demo binaries
RUSTFLAGS='-C target-feature=+avx2' cargo install --features demo --git https://github.com/jumpcrypto/cyclone cyclone-msm
# load the FPGA image
sudo fpga-load-local-image -S 0 -I agfi-09bec09a9e2b4d332
# configure the demo (SIZE can be up to 26)
SIZE=16 LOCATION=/tmp/example-points-$SIZE
CYCLONE=$(command -v cyclone-msm)
# make some points
$CYCLONE $SIZE $LOCATION points
# load the points
sudo $CYCLONE $SIZE $LOCATION load
# run a random MSM on these points
sudo $CYCLONE --preloaded $SIZE $LOCATION msm
Development
Default SIZE=16.
make points SIZE=<SIZE>generates filessize<SIZE>.betaandsize<SIZE>.points.make column SIZE=<SIZE>calculates a column MSM using these points.make msm SIZE=<SIZE>calculates a full 16 column MSM using these points.
You can also skip loading points in the column and msm targes:
make load SIZE=<SIZE>generates filessize<SIZE>.betaandsize<SIZE>.points.make column-pre SIZE=<SIZE>calculates a column MSM using these points.make msm-pre SIZE=<SIZE>calculates a full 16 column MSM using these points.
License
<sup> Licensed under either of <a href="../LICENSE-APACHE">Apache License, Version 2.0</a> or <a href="../LICENSE-MIT">MIT license</a> at your option. </sup> <br> <sub> Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. </sub>Related Skills
node-connect
349.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
