Skip to content

[keymgr_dpe,rtl] Allow a flop between keymgr_dpe and KMAC #27661

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rswarbrick
Copy link
Contributor

This should be useful in Darjeeling, where there's potentially a long path between the keymgr's active key slot and kmac's app input.

Copy link
Contributor

@vogelpi vogelpi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, thanks @rswarbrick !

@vogelpi
Copy link
Contributor

vogelpi commented Jul 18, 2025

Please also wait for @davidschrammel 's confirmation that this solves the issues he has been observing before merging.

This is behind a FlopToKmac parameter and works by inserting a
prim_fifo_sync with depth 2.

Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
@rswarbrick rswarbrick force-pushed the keymgr-dpe-kmac-flop branch from ecf7313 to 5b3ae7e Compare July 18, 2025 16:41
@rswarbrick
Copy link
Contributor Author

(force push is pretty trivial: it just adds a type that I'd forgotten for the new parameter)

''',
type: "bit",
default: "0",
local: "false",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rswarbrick Can you make that a local parameter such that the HJSON is the SSOT and it cannot be overwritten by the instantiation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants