Skip to content
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

Error in mgmt_protect.v #1

Open
RTimothyEdwards opened this issue Nov 21, 2024 · 0 comments
Open

Error in mgmt_protect.v #1

RTimothyEdwards opened this issue Nov 21, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@RTimothyEdwards
Copy link

@NouranAbdelaziz

There is an error in mgmt_protect.v line 229

assign mprj_dat_i_core_bar = ~(mprj_dat_i_user & wb_in_enable);

This expression resolves to only one bit because wb_in_enable is one bit. The expression needs to be

assign mprj_dat_i_core_bar = ~(mprj_dat_i_user & {32{wb_in_enable}});

which extends wb_in_enable to 32 bits and therefore allows more than one bit to be passed back in data from the user project to the management SoC.

@RTimothyEdwards RTimothyEdwards added the bug Something isn't working label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants