GDS/LEF/GL from 30cbda0 GDS/LEF/GL with 800x800 dimensions

4d045a4aef1bd522b1c378c89628378044614762  gds/wrapper_sha1.gds
54199fb46543c26701a9ed93bdedac6b56cd762a  gds/wrapper_sha1.gds.png
b82d527c1ec480445aa15bec3902579b9d52c2e3  gds/wrapper_sha1.lef
54893f024ac6c2f2516e6ad09d1df2fab4cfa2ba  gds/wrapper_sha1.lvs.powered.v
ad87675815fe642a05e7c6ab6f825f8ad68906de  gds/wrapper_sha1.lvs.v

No DRC errors.

Signed-off-by: Konrad Rzeszutek Wilk <>
9 files changed
tree: 33c37cdfb6cfb32af2607f00886e7fb8de191aca
  1. .github/
  2. def/
  3. docs/
  4. gds/
  5. lef/
  6. mag/
  7. maglef/
  8. openlane/
  9. pics/
  10. signoff/
  11. spi/
  12. verilog/
  13. .gitignore
  14. .gitmodules
  15. info.yaml
  17. Makefile

Caravel User Project

License UPRJ_CI Caravel Build

SHA-1 engine

See a for the full git history of this code. Branch name is submission-mpw-two.

This is an implementation of [](RFC 3174) of SHA-1 engine.

It is not the most secure one nowadays (it is still used for git commit ids and TPM PCR values), but it looked like the easiest of the SHA engines to implement. The communication channel is via WishBone commands to provide sixteen words after which the engine starts and computes the digest in about 160 cycles. Then digest can be retrieved via the wishbone. There is a IRQ line so when it has completed it will bring it high if that is enabled.


If you want to see this more interactively, I would recommend you clone and run

make test_wb_logic

which will use the various WishBone commands to program it.