From: rishucoding Date: Tue, 17 Jul 2018 05:54:43 +0000 (+0530) Subject: correction in awaddr in mux.bsv X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=befa0cb733fda8e7560a509f2de90f99b8890d9b;p=pinmux.git correction in awaddr in mux.bsv --- diff --git a/src/bsv/bsv_lib/mux.bsv b/src/bsv/bsv_lib/mux.bsv index e892d5b..cb67458 100644 --- a/src/bsv/bsv_lib/mux.bsv +++ b/src/bsv/bsv_lib/mux.bsv @@ -46,11 +46,11 @@ package mux; let aw <- pop_o (s_xactor.o_wr_addr); let w <- pop_o (s_xactor.o_wr_data); let b = AXI4_Lite_Wr_Resp {bresp: AXI4_LITE_OKAY, buser: aw.awuser}; - if(aw.awaddr[5:0]=='h2c) + if(aw.awaddr[5:0]=='h0) for(Integer i=0;i=16) + else if(aw.awaddr[5:0]=='h4 && ionum>=16) for(Integer i=0;i=16)begin + else if(ar.araddr[5:0]=='h4 && ionum>=16)begin for(Integer i=0;i