aboutsummaryrefslogtreecommitdiff
path: root/src/rtl/sha256.v
AgeCommit message (Collapse)Author
2016-05-31Adding functionality to support both SHA224 and SHA256 digest modes. Note: ↵Joachim Strömbergson
This update changes the ADDR_CTRL API register since it adds a mode bit. The version major number has been bumped to reflect this API change. The top level testbench contains tests for SHA224 as well as old tests for SHA256. The core level tb still only tests SHA256.
2016-05-31Fixed long constants and instead rely on zero extend in Verilog.Joachim Strömbergson
2015-12-13whack copyrightsPaul Selkirk
2015-07-17Minor cleanup.Joachim Strömbergson
2015-07-17Removed the address defines not needed.Joachim Strömbergson
2015-07-17Since state is digest having separate addresses for writing state is ↵Joachim Strömbergson
superflous. Captain slow.
2015-07-16Added logic to write state into the state registers. Simplified the state ↵Joachim Strömbergson
write interface to a common data port.
2015-07-16The digest is the complete state so we only need to be able to write back ↵Joachim Strömbergson
state. The state addresses are still readable though.
2015-07-16(1) Adding addresses to be able to read and write the internal hash state ↵Joachim Strömbergson
from the API. (2) Bumped version to reflect the changes to the API. (3) Added ports for state access in the core module and connected them in the top level wrapper.
2015-03-31Revert streamlined wrapper, and don't delay register reads.Paul Selkirk
2015-03-17Rearrange cores.Paul Selkirk
2014-11-07Changed to asynch reset.Joachim Strömbergson
2014-03-17Removed redundant flag reset wires.Joachim Strömbergson
2014-03-16Adding self resetting init and next flags. Updating TBs to not reset the ↵Joachim Strömbergson
flags. Fixing clock parameter naming.
2014-03-15(1) Updated interface to new std. (2) Added missing input designation in ↵Joachim Strömbergson
tasks. Now simumaltion with ModelSim works.
2014-02-19Adding top level wrapper for the sha256. This wrapper provides a simple ↵Joachim Strömbergson
memory like interface.