mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-17 20:02:53 +08:00
Fixed mailbox bug on remap
- Bypassing remap on write to RX registers - Otherwise the write to mailbox gets dropped since 810 gets remapped to 310
This commit is contained in:
parent
13005e6cbf
commit
711088a9e7
@ -60,13 +60,12 @@ module erx_remap (/*AUTOARG*/
|
||||
+ remap_base[31:0] //adding back base
|
||||
- (addr_in[31:26]<<$clog2(colid));
|
||||
|
||||
|
||||
//Static, dynamic, or no remap
|
||||
assign remap_mux[31:0] = (remap_mode[1:0]==2'b00) ? addr_in[31:0] :
|
||||
assign remap_mux[31:0] = (addr_in[31:20]==ID) ? addr_in[31:0] : //for write to mailbox
|
||||
(remap_mode[1:0]==2'b00) ? addr_in[31:0] :
|
||||
(remap_mode[1:0]==2'b01) ? static_remap[31:0] :
|
||||
dynamic_remap[31:0];
|
||||
|
||||
|
||||
//Access pipeline
|
||||
always @ (posedge clk)
|
||||
emesh_access_out <= emesh_access_in;
|
||||
|
Loading…
x
Reference in New Issue
Block a user