Previously, we discussed about “prototyping” code for S

Previously, we discussed about “prototyping” code for S Previously, we discussed about “prototyping” code for S - Start

Added : 2018-01-11 Views :34K

Download Presentation

Previously, we discussed about “prototyping” code for S

Download Presentation - The PPT/PDF document "Previously, we discussed about “protot..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Presentations text content in Previously, we discussed about “prototyping” code for S


Previously, we discussed about “prototyping” code for SHA1 and SHA256 (219.88 MHz) (129.4 MHz)

Today, we will consider prototyping the “unfolding” of SHA1 and SHA256 (2 rounds per cycle) (151.17 MHz, 31% slower Fmax) (86.99 MHz, 33% slower Fmax)

Note that doing 2 rounds/cycle does not reduce Fmax by 50%, more like 31-33%.



#ALUTS = 205, #registers = 680

Fmax = 219.88 MHz



#ALUTS = 384, #registers = 679

Fmax = 151.17 MHz



#ALUTS = 526, #registers = 774

Fmax = 129.4 MHz



#ALUTS = 940, #registers = 779

Fmax = 86.99 MHz


To implement unfolding, best to read in all 16 16 words from memory (or generate necessary padding) first before processing each block

To “hide” the delay of reading in 16 words (or generating padding), can read ahead the 16 words (generate padding) for the next block

Unfolding possibly a good design strategy for “DELAY” metric, but you will likely need to do a different design for the “AREA*DELAY” metric.

Can further improve unfolding performance by “pipelining” (see Lecture 10 on unfolding)

Can also pre-compute the W’s and the K’s as they do not depend on A, B, C, D, E …


To implement a different unfolding or pipelining strategy for each hash algorithm, you can implement a different state machine sequence. e.g.,

About DocSlides
DocSlides allows users to easily upload and share presentations, PDF documents, and images.Share your documents with the world , watch,share and upload any time you want. How can you benefit from using DocSlides? DocSlides consists documents from individuals and organizations on topics ranging from technology and business to travel, health, and education. Find and search for what interests you, and learn from people and more. You can also download DocSlides to read or reference later.