de     

This is an old revision of the document!


Litecoin Mining on FPGA's

Due to many requests for LTC mining software for ZTEX FPGA Boards I took a deeper look into the scrypt algorithm. The goal was to estimate development effort and achievable hash rates. Results are presented here.

In order to prevent confusions and questions: ZTEX does not plan to develop Litecoin mining software.

A description of the scrypt algorithm can be found at http://tools.ietf.org/html/draft-josefsson-scrypt-kdf-01, an example implementation at https://github.com/litecoin-project/litecoin/blob/master/src/scrypt.c.

  • The PBKDF2-HMAC-SHA-256 function can be neglected here. The computations can be done parallelly to the other computations and a single 64 cycle per SHA256 transformation loop is sufficient for many scryptROMix loops
  • Due to decencies of intermediate results each scryptROMix loop requires about 140,000 computation steps
  • Each scryptROMix loop (or pipeline stage) requires one 128.125 KByte vector (which has to be stored in some kind of RAM)

Approach 1: FPGA implementation using Block RAM

Easiest way to implement this are non-pipelined loops. Limiting factor is the amount of vectors n which fit into the block RAM. Total hash rate would be

            f
r = n * ---------
        140,000/H

On XC6SLX150 n is 4 and estimated f is 300MHz. Hash rate would be approximately 8.6 KH/s.

 
en/ztex_boards/ztex_fpga_boards/litcoin_mining_on_fpga.1485008736.txt.gz · Last modified: 2017/01/21 14:25 by stefan
 
Recent changes RSS feed Creative Commons License Powered by PHP Debian Driven by DokuWiki
[ZTEX Home] [Imprint] [Privacy policy]