You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
I just ran into this as well. I can't believe no one else has found this. Trying to implement the OpenCores 16550 uart, and it requires wb_sel_o to be set during reads so it can properly return an 8 bit register (8 bit aligned) into a 32 bit data width.
The picorv32_wb state machine always sets wbm_sel_o to 0 during Wishbone read transactions:
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?
The text was updated successfully, but these errors were encountered: