[docs][ci skip] Add docs on SHA3 mixin

This commit is contained in:
Jerry Zhao
2019-09-25 14:06:04 -07:00
parent 8b61a9d51a
commit 7ee395468d
2 changed files with 17 additions and 0 deletions

View File

@@ -68,3 +68,18 @@ on which available execution unit they should be run. Once
the message is fully hashed, the hash is written to memory
with a simple state machine.
Using a SHA3 Accelerator
------------------------
Since the SHA3 accelerator is designed as a RoCC accelerator,
it can be mised into a Rocket or BOOM core by overriding the
BuildRoCC key. The configuration mixin is defined in the SHA3
generator. An example configuration highlighting the use of
this mixin is shown here:
.. literalinclude:: ../../generators/example/src/main/scala/RocketConfigs.scala
:language: scala
:start-after: DOC include start: Sha3Rocket
:end-before: DOC include end: Sha3Rocket