commit | 2b74cc9798d3afd694955173cbe24fb3a9e7faf9 | [log] [tgz] |
---|---|---|
author | Konrad Rzeszutek Wilk <konrad@kernel.org> | Fri Jun 11 22:42:40 2021 -0400 |
committer | Konrad Rzeszutek Wilk <konrad@kernel.org> | Sat Jun 12 09:05:35 2021 -0400 |
tree | 3c9118ddab5533f2b2a426157095e61134560594 | |
parent | a8b57326b935fd196e091d4175100c875351d931 [diff] |
macro: Adjust the location to 500x500 as we get: start detail routing ... start 0th optimization iteration ... completing 10% with 0 violations elapsed time = 00:00:05, memory = 234.24 (MB) completing 20% with 0 violations .. completing 100% with 3759 violations elapsed time = 00:01:00, memory = 215.46 (MB) Error: io_oeb[22] 1 pin not visited #guides = 7 Error: io_oeb[23] 1 pin not visited #guides = 7 Error: io_oeb[25] 1 pin not visited #guides = 11 Error: io_oeb[26] 1 pin not visited #guides = 11 Error: io_oeb[32] 1 pin not visited #guides = 7 Error: io_oeb[34] 1 pin not visited #guides = 10 Error: io_oeb[35] 1 pin not visited #guides = 8 Error: io_oeb[36] 1 pin not visited #guides = 307 Error: io_out[17] 1 pin not visited #guides = 9 Error: io_out[18] 1 pin not visited #guides = 8 Error: io_out[20] 1 pin not visited #guides = 8 Error: io_out[21] 1 pin not visited #guides = 8 Error: io_out[22] 1 pin not visited #guides = 7 Error: io_out[23] 1 pin not visited #guides = 7 Error: io_out[24] 1 pin not visited #guides = 11 Error: io_out[25] 1 pin not visited #guides = 15 Error: io_out[26] 1 pin not visited #guides = 11 Error: checkConnectivity break, net io_oeb[22] Error: checkConnectivity break, net io_oeb[23] Error: checkConnectivity break, net io_oeb[25] Error: checkConnectivity break, net io_oeb[26] Error: checkConnectivity break, net io_oeb[32] Error: checkConnectivity break, net io_oeb[34] Error: checkConnectivity break, net io_oeb[35] Error: checkConnectivity break, net io_oeb[36] Error: checkConnectivity break, net io_out[17] Error: checkConnectivity break, net io_out[18] Error: checkConnectivity break, net io_out[20] Error: checkConnectivity break, net io_out[21] Error: checkConnectivity break, net io_out[22] Error: checkConnectivity break, net io_out[23] Error: checkConnectivity break, net io_out[24] Error: checkConnectivity break, net io_out[25] Error: checkConnectivity break, net io_out[26] Signed-off-by: Konrad Rzeszutek Wilk <konrad@kernel.org>
See a https://github.com/konradwilk/sha1 for the full git history of this code. Branch name is submission-mpw-two-c.
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.
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.