Commit Graph

388 Commits

Author SHA1 Message Date
bsdevlin 3b45bdb448 ip script update 2020-09-09 22:36:32 -04:00
bsdevlin b1bdc38423 add Xilinx FIFO and fix flow control 2020-09-09 22:02:23 -04:00
bsdevlin 4927d4177d update fpga version and just enable secp256k1 core 2020-09-07 09:45:33 -04:00
bsdevlin d33639a2fc update barret mod overflow control 2020-09-06 18:50:06 -04:00
bsdevlin 0c6783c4a8 Digest needs to be flipped 2020-08-21 14:37:07 -04:00
bsdevlin 9e34c9d6d2 Merge branch 'master' of https://github.com/bsdevlin/zcash-fpga 2020-08-21 14:31:57 -04:00
bsdevlin e5a4191363 Fix so that secp256k1 block self-resets after a timeout 2020-08-21 14:31:37 -04:00
Benjamin Devlin f36f2dd3a7
Merge pull request #19 from LeonMac/ecdsa_verify
Ecdsa verify
2020-08-20 12:11:07 -04:00
bsdevlin 13dfe26bfc Bug fix in barret reduction localparam was not assigning correctly in
actual hardware.
2020-08-20 12:09:53 -04:00
Liang Ma dff6fde8cf
Update Readme.md 2020-08-11 19:59:20 +08:00
Liang Ma 2c27768cd6
typo correction 2020-08-11 19:54:50 +08:00
liangma 26fe213b9c 1)add command line argument control; 2)using a common header 2020-08-11 11:47:16 +00:00
liangma 317eb03145 Merge remote-tracking branch 'origin/master' into ecdsa_verify
This will merge the most recent update from Zcash master branch.
2020-08-10 10:58:49 +00:00
Liang Ma 1b8142be2c
Merge pull request #4 from ZcashFoundation/master
Sync the update for verifing
2020-08-10 18:48:56 +08:00
bsdevlin 665411aded Merge branch 'master' of https://github.com/bsdevlin/zcash-fpga 2020-08-08 11:34:15 -04:00
bsdevlin b706017032 Update secp256k1 timeout logic so that it doesnt lock up, and added
testcase to verify.
2020-08-08 11:33:57 -04:00
liangma 3ce74e4ea7 add readme 2020-07-03 15:17:25 +00:00
liangma da23c8bb4f using openssl to generate the tv dynamiclly for fpga test 2020-07-03 15:09:57 +00:00
LiangMa f1e8219dc9 adding a dynamic openssl test vector generator 2020-07-03 15:06:25 +08:00
Liang Ma 716bbcf02a
Create makefile_ecdsa
usage: make -f makefile_ecdsa
2020-07-01 14:06:52 +08:00
Liang Ma 4efdf06387
Modify and add a dedicate ecdsa verify test code
Hardcoded 5 testvectors
2020-07-01 14:01:42 +08:00
Benjamin Devlin 454532887f
Merge pull request #16 from LeonMac/master
resync the repo
2020-05-22 13:08:05 -04:00
Liang Ma c76044b23e
Merge pull request #3 from ZcashFoundation/master
resync the release
2020-05-22 18:33:05 +08:00
bsdevlin c4c0ad9188 Override should be 1 2020-04-18 16:49:37 -04:00
bsdevlin 472257b6a5 Merge branch 'master' of https://github.com/ZcashFoundation/zcash-fpga.git into HEAD 2020-04-11 18:42:34 -04:00
bsdevlin 9a6d20b385 Add option to not override 2020-04-11 18:40:34 -04:00
bsdevlin 8c2c77b2fb Make sure we reset error signal when we clear valid 2020-03-29 17:11:34 -04:00
bsdevlin c32bc5a7a8 Merge branch 'master' of https://github.com/bsdevlin/zcash-fpga.git 2020-03-29 10:20:26 -04:00
bsdevlin 3b65b386b3 Update for correctly clearing output valid 2020-03-29 10:20:05 -04:00
Ben Devlin d2d050234e bugfix for error condition 2020-02-02 21:20:48 -05:00
liangma 05986b812a Merge branch 'master' of https://github.com/LeonMac/zcash-fpga 2019-12-26 06:14:27 +00:00
liangma 9f98776fae add test script for automaticlly run fpga test 2019-12-26 06:11:29 +00:00
bsdevlin 59d8d9ddd3 Merge branch 'master' of https://github.com/ZcashFoundation/zcash-fpga.git 2019-11-30 14:32:59 -05:00
bsdevlin d560d34334 Update readme and remove dependency on bls package for the adder 2019-11-30 14:32:46 -05:00
bsdevlin 2df6113fd9 Add parameters to allow for using montgomery form, default to not using 2019-11-30 14:27:18 -05:00
Liang Ma 97cf855ea3
Merge pull request #2 from LeonMac/Zcash_Customize
add a loop_test for ECDSA verify.
2019-10-22 19:46:58 +08:00
Liang Ma 2ee024f761
add a loop_test for ECDSA verify.
Add a loop test. and a raw TPS calculation.
2019-10-22 19:46:23 +08:00
Liang Ma 667b348450
Update Makefile
Update Make file otherwise build error happen on Ubuntu18.04
2019-10-12 20:36:28 +08:00
Liang Ma 0309161d12
Update test_zcash.cpp
This looks not harmful, but maybe should be clean up to prevent future confuse?
2019-10-12 19:20:21 +08:00
Liang Ma 8952f5462b
Update zcash_fpga.cpp 2019-10-12 19:17:06 +08:00
bsdevlin 00b329519d Adding presentation slides from Ethereum meetup talk and updating README 2019-09-30 17:20:39 +08:00
Liang Ma b9f30d44f4
Merge pull request #1 from bsdevlin/master
pull for test
2019-09-29 11:45:49 +08:00
bsdevlin 3902713b29 Update testbench so with RAM code, passing. 2019-09-28 13:44:09 +08:00
bsdevlin 56e79da6de Added new AFI to doc and update version to 1.4.2 2019-09-28 12:05:36 +08:00
bsdevlin 7973f4e2e3 Update testbench for loading RAM values, change back to use accum_mult
multiplier, change generate script to always generate RAM_A_W bits worth
(makes testbench easier), and set default build to jus tbe bls12-381
coprocessor
2019-09-28 11:36:28 +08:00
bsdevlin 60cee421b5 Re-enable AWS simulation tests 2019-09-27 19:35:56 +08:00
bsdevlin deb8298626 Update testbench to test writing to RAM used in multiplier, fixed bug in
multiplier generation code for loading RAM
2019-09-27 19:27:24 +08:00
bsdevlin 9b5fb2f9fc Change default mode to use bls12-381 to use Karatsuba multiplier until I
can upload files to program RAM for the accum_multiplier
2019-09-27 15:37:08 +08:00
Cloud User a8e323c792 Update AWS test bench to run ate pairing 2019-09-26 15:23:19 +00:00
bsdevlin d02d1af1fb Update doc for v1.4.1 2019-09-26 21:58:54 +08:00