-
Notifications
You must be signed in to change notification settings - Fork 578
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
[regfile_fpga] oh_raddr_*_err signals unassigned if RdataMuxCheck=0 #2230
Comments
See #2241 |
Oh! Looks like it's fixed! Thanks for adding a note. About the asynchronous comments, they date back to the original version of the file (from 2020). I think the author probably meant to point out that I've just checked, and the behaviour is the same for e.g. |
These were noticed by someone responding to issue lowRISC#2230. I think the author's original logic was to point out that there's a path from e.g. raddr_a_i to rdata_a_o which doesn't depend on any clock, so is "asynchronous". But that's the same in the other modes and also for the other register file implementations, which don't have analogous comments. Drop these ones.
These were noticed by someone responding to issue #2230. I think the author's original logic was to point out that there's a path from e.g. raddr_a_i to rdata_a_o which doesn't depend on any clock, so is "asynchronous". But that's the same in the other modes and also for the other register file implementations, which don't have analogous comments. Drop these ones.
Observed Behavior
The onehot-error signals in relation to the read addresses (
oh_raddr_a_err
,oh_raddr_b_err
) in rtl/ibex_register_file_fpga.sv are unassigned for non-secure Ibex configurations (which is for example used for opentitan FPGA top-levels IIRC):ibex/rtl/ibex_register_file_fpga.sv
Lines 152 to 158 in 667fd20
This leads to the regfile
err_o
signal becomingx
ibex/rtl/ibex_register_file_fpga.sv
Line 55 in 667fd20
which triggers assertions (at least for us) when simulating with the FPGA regfile. It however seems to not cause issues during synthesis, at least with Vivado.
I am also unsure about the comments that refer to
rdata_*_o
as asynchronous:ibex/rtl/ibex_register_file_fpga.sv
Lines 153 to 154 in 667fd20
Expected Behavior
Same as for the other regfile variants; signals in question being tied to
1'b0
forRdataMuxCheck = 0
.The text was updated successfully, but these errors were encountered: