Bitcoin Forum
November 10, 2024, 05:11:59 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: SHA256 Implementation Gate Equivalent  (Read 901 times)
Balthazar2012 (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
July 31, 2013, 10:12:22 PM
 #1

Hi Guys,
I needed help in understanding how to calculate the GE for a SHA256 implementation. I need to calculate the GE of individual functions in the SHA256 hashing algorithm.

Could anyone please direct me to an appropriate paper/book that explains this in detail?

Thanks in advance!

P.S: Correct me if I sound dumb in what I've asked. It is quite apparent that I am a newbie in this domain.
cp1
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Stop using branwallets


View Profile
August 01, 2013, 01:36:16 AM
 #2

There's an open source fpga, maybe that will have the info.

Guide to armory offline install on USB key:  https://bitcointalk.org/index.php?topic=241730.0
J35st3r
Full Member
***
Offline Offline

Activity: 196
Merit: 100



View Profile
August 01, 2013, 08:12:46 AM
 #3

It depends on how far you unroll the SHA256 algorithm. The open source code https://bitcointalk.org/index.php?topic=9047.0 fits two fully unrolled SHA256 engines (for the two stages of SHA256D) into a 115kLE cyclone IV (I think the utilization is around  90kLE). However if you just want the minimum then a single fully rolled engine comes in at around 1kLE (and runs 128 times slower). As for the conversion between Logic Elements (CLBs) and gates, I've seen estimates of around 12 gates per LE. Anyway have a look through the thread I linked above, lots of info there and the linked github has the verilog code.

1Jest66T6Jw1gSVpvYpYLXR6qgnch6QYU1 NumberOfTheBeast ... go on, give it a try Grin
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!