Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

SHA 256 opencores code

Altera_Forum
Honored Contributor II
1,116 Views

Hi 

http://opencores.org/websvn,filedetails?repname=nfhc&path=%2fnfhc%2ftrunk%2fsha256%2fsha256.vhdl 

 

When i compile this code in quartus II 10.1 ( device cyclone II EP2C35F672C6 ) i'm getting a warning saying that "k" is not assigned any value. 

 

k is the constant used in hash computation and there are 64 k values stored in romk entity. 

 

could someone tell me what is happening ? 

 

thanks
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
400 Views

It would appear, that k is never assigned a value. Have you got the init files for the K rom? 

 

PS. That is some poor quality code.
0 Kudos
Reply