-
Notifications
You must be signed in to change notification settings - Fork 762
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
[entropy_src/rtl] Fix observe fifo overflow reg #21640
[entropy_src/rtl] Fix observe fifo overflow reg #21640
Conversation
f97d1bf
to
5eb275b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
swaccess: "rw0c", | ||
swaccess: "ro", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a documentation change :-)
Maybe it doesn't make sense to split up this small PR. It's only +16 lines...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I squashed the first two commits.
5eb275b
to
2e34813
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cannot comment on the RTL but the register/doc and software change look good to me. Thanks @h-filali
…sing This commit applies the fw_ov_rd_fifo_overflow signal in case of an overflow. It used to only send a pulse through the register but now the signal is applied until the FIFO has been emptied once and is receiving contiguous data again. This commit also aligns the documentation for the FW_OV_RD_FIFO_OVERFLOW register. The register is now not clearable by software. It instead is cleared by hardware. Signed-off-by: Hakim Filali <[email protected]>
…nism This commit aligns SW with the new way of how the observe fifo overflow works. The overflow is now latched and not only pulsed. Furthermore, the clear doesn't need to be done by software anymore. Signed-off-by: Hakim Filali <[email protected]>
This commit changes the mubi4 true test from strict to loose for the rng_fips register field. This is done to ensure that the entropy_src still requests high quality entropy even if one of the mubi bits is flipped. Signed-off-by: Hakim Filali <[email protected]>
2e34813
to
f3692d2
Compare
Keep applying fw_ov_rd_fifo_overflow instead of pulsing. This commit is a manual port of the following Opentitan commit: b454878f2528b49318ff2b604cb8d59a6e59b0ea Which is associated with lowRISC/opentitan#21640. Original commit description: This commit applies the fw_ov_rd_fifo_overflow signal in case of an overflow. It used to only send a pulse through the register but now the signal is applied until the FIFO has been emptied once and is receiving contiguous data again. This commit also aligns the documentation for the FW_OV_RD_FIFO_OVERFLOW register. The register is now not clearable by software. It instead is cleared by hardware. Signed-off-by: Miguel Osorio <[email protected]>
Keep applying fw_ov_rd_fifo_overflow instead of pulsing. This commit is a manual port of the following Opentitan commit: b454878f2528b49318ff2b604cb8d59a6e59b0ea Which is associated with lowRISC/opentitan#21640. Original commit description: This commit applies the fw_ov_rd_fifo_overflow signal in case of an overflow. It used to only send a pulse through the register but now the signal is applied until the FIFO has been emptied once and is receiving contiguous data again. This commit also aligns the documentation for the FW_OV_RD_FIFO_OVERFLOW register. The register is now not clearable by software. It instead is cleared by hardware. Signed-off-by: Miguel Osorio <[email protected]>
Keep applying fw_ov_rd_fifo_overflow instead of pulsing. This commit is a manual port of the following Opentitan commit: b454878f2528b49318ff2b604cb8d59a6e59b0ea Which is associated with lowRISC/opentitan#21640. Original commit description: This commit applies the fw_ov_rd_fifo_overflow signal in case of an overflow. It used to only send a pulse through the register but now the signal is applied until the FIFO has been emptied once and is receiving contiguous data again. This commit also aligns the documentation for the FW_OV_RD_FIFO_OVERFLOW register. The register is now not clearable by software. It instead is cleared by hardware. Signed-off-by: Miguel Osorio <[email protected]>
Keep applying fw_ov_rd_fifo_overflow instead of pulsing. This commit is a manual port of the following Opentitan commit: b454878f2528b49318ff2b604cb8d59a6e59b0ea Which is associated with lowRISC/opentitan#21640. Original commit description: This commit applies the fw_ov_rd_fifo_overflow signal in case of an overflow. It used to only send a pulse through the register but now the signal is applied until the FIFO has been emptied once and is receiving contiguous data again. This commit also aligns the documentation for the FW_OV_RD_FIFO_OVERFLOW register. The register is now not clearable by software. It instead is cleared by hardware. Signed-off-by: Miguel Osorio <[email protected]>
Keep applying fw_ov_rd_fifo_overflow instead of pulsing. This commit is a manual port of the following Opentitan commit: b454878f2528b49318ff2b604cb8d59a6e59b0ea Which is associated with lowRISC/opentitan#21640. Original commit description: This commit applies the fw_ov_rd_fifo_overflow signal in case of an overflow. It used to only send a pulse through the register but now the signal is applied until the FIFO has been emptied once and is receiving contiguous data again. This commit also aligns the documentation for the FW_OV_RD_FIFO_OVERFLOW register. The register is now not clearable by software. It instead is cleared by hardware. Signed-off-by: Miguel Osorio <[email protected]>
Keep applying fw_ov_rd_fifo_overflow instead of pulsing. This commit is a manual port of the following Opentitan commit: b454878f2528b49318ff2b604cb8d59a6e59b0ea Which is associated with lowRISC/opentitan#21640. Original commit description: This commit applies the fw_ov_rd_fifo_overflow signal in case of an overflow. It used to only send a pulse through the register but now the signal is applied until the FIFO has been emptied once and is receiving contiguous data again. This commit also aligns the documentation for the FW_OV_RD_FIFO_OVERFLOW register. The register is now not clearable by software. It instead is cleared by hardware. Signed-off-by: Miguel Osorio <[email protected]>
This PR latches the observe FIFO overflow register signal instead of only pulsing it.
For a more detailed explanation have a look at the individual commit messages.
This PR also contains a commit that changes a mubi4 test true signal from strict to loose.
This is done as a follow up for #21369.
Closes #21279