From befa0cb733fda8e7560a509f2de90f99b8890d9b Mon Sep 17 00:00:00 2001 From: rishucoding Date: Tue, 17 Jul 2018 11:24:43 +0530 Subject: [PATCH] correction in awaddr in mux.bsv --- src/bsv/bsv_lib/mux.bsv | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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