Open tjaychen opened 3 years ago
@dsandrs
@mwbranstad just FYI.
We don't need to change anything for edn
, but just wanted you to know.
Triaged for edn
, assigning https://github.com/lowRISC/opentitan/labels/Type%3AFutureRelease because I think this is out of scope for the current release.
Right now, most blocks assume they are async to edn (see prim_edn_req).
This is a simplification since modules themselves don't really know if it is async to the edn (the top level integration information can be different).
This means for some modules (kmac, keymgr) the async handling is redundant, since their primary clock may actually be synchronous to edn.
It's worth adding some top level tooling support in the future that allows modules to bypass this async handling when it is not needed.