Go to file
bsdevlin 5ed7af923a Updates to c++ library and test case 2019-07-01 13:26:56 +08:00
aws Updates to c++ library and test case 2019-07-01 13:26:56 +08:00
bittware_xupvvh update folders 2019-07-01 08:34:38 +08:00
ip_cores Made point checking optional 2019-06-26 00:17:41 +08:00
zcash_fpga Updates to c++ library and test case 2019-07-01 13:26:56 +08:00
.project Initial files for the Blake2B core 2019-02-12 00:07:18 +08:00
LICENSE Create LICENSE 2019-02-15 01:24:46 -05:00
README.md update folders 2019-07-01 08:34:38 +08:00

README.md

zcash-fpga

Repo for Zcash FPGA projects code and documents. Architecture document is here.

aws

This contains the top / project files for building on AWS (Amazon FPGA)

bittware_xupvvh

This contains the top / project files for building on the Bittware VVH board

ip_cores

These contain custom IP cores used by the projects in this repo.

  • Hashing
    • Blake2b - single pipe implementation of blake2b and a pipline-unrolled version for high performance.
    • SHA256 and SHA256d
  • Packages and interfaces that are shared
  • Fifo implementations
  • Blocks for parsing/processing streams, as well as testbench files
  • Karabutsa multiplier
  • Barret reduction for modulo reduction when the modulus does not allow fast reduction
  • Resource arbitrators
  • General purpose elliptical curve point modules
    • Supports point multiplication, addition, doubling in Fp and Fp^2

zcash_fpga

This is the top level for the Zcash FPGA. It targets both Xilinx Virtex UltraScale+ FPGA VCU118 Evaluation Kit, and Amazon EC2 F1 Instances.

It optionally contains the following top-level engines (you can optionally include in a build via parameters):

  • Equihash verification engine
    • Verifies the equihash solution and difficulty filters
  • EC secp256k1 signature verification engine
    • Uses efficient endomorphism to reduce key bit size
    • Signature verification calculates multiple EC point operations in parallel, using a resource-shared single fully pipelined karabutsa multiplier and quick modulo reduction technique
  • EC bls12-381 coprocessor
    • Point multiplication in Fp and Fp^2
    • ate Pairing