Skip to content

Error in mgmt_protect.v #1

Open
@RTimothyEdwards

Description

@RTimothyEdwards

@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.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions