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

wbm_sel_o == 0 during read transactions #246

Open
epsilon537 opened this issue Sep 19, 2023 · 0 comments
Open

wbm_sel_o == 0 during read transactions #246

epsilon537 opened this issue Sep 19, 2023 · 0 comments

Comments

@epsilon537
Copy link

The picorv32_wb state machine always sets wbm_sel_o to 0 during Wishbone read transactions:

				if (mem_valid) begin
					wbm_adr_o <= mem_addr;
					wbm_dat_o <= mem_wdata;
					wbm_we_o <= we;
					wbm_sel_o <= mem_wstrb;

During read transactions mem_wstrb will be 0, so wbm_sel_o gets set to 0. According to the Wishbone spec, sel_o also applies to read transactions, however. Shouldn't wbm_sel_o be set to 4'b1111 during read transactions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant