GDS/LEF/GL from 9bac78a

82eefb5353439068f75cca6a0d09f06e3ad15e89  gds/wrapper_sha1.gds
c265eb7972487473cacd1c20b0d2a4280bcb14b2  gds/wrapper_sha1.gds.png
c4c42f2be86209e002153873b1e5c6370b61fd97  gds/wrapper_sha1.lef
801999d923d36a65031349d11086d9badc311b15  gds/wrapper_sha1.lvs.powered.v
5e4a4d94d2612ebd3429d7f746250a851960bc1b  gds/wrapper_sha1.lvs.v

f6f33808dfdf98c63fdef3465433e7188bad1158  gds/user_project_wrapper.gds.gz
f730d41d21f74b3000254210bbe21a2dd2e044ba  gds/wrapper_sha1.gds.gz

$ gzip -dc gds/user_project_wrapper.gds.gz  | sha1sum -
9973eb59a7c64edef6d14652167a2cf08f5f77c3  -

Signed-off-by: Konrad Rzeszutek Wilk <konrad@kernel.org>
11 files changed
tree: 586ec6676a04f23d31afd30d00ee99461a0b33aa
  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
  16. LICENSE
  17. Makefile
  18. README.md
README.md

Caravel User Project

License UPRJ_CI Caravel Build

SHA-1 engine

See a https://github.com/konradwilk/sha1 for the full git history of this code. Branch name is submission-mpw-two.

This is an implementation of [https://www.rfc-editor.org/rfc/inline-errata/rfc3174.html](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.

SHA1

If you want to see this more interactively, I would recommend you clone https://github.com/konradwilk/sha1 and run

make test_wb_logic

which will use the various WishBone commands to program it.