From 20589150d9fb0cbdddb7c31e3c0792caf4bfefea Mon Sep 17 00:00:00 2001 From: azaidy Date: Fri, 19 Jul 2024 17:35:03 -0400 Subject: [PATCH] Minor pready fix --- umi/utils/rtl/umi2apb.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/umi/utils/rtl/umi2apb.v b/umi/utils/rtl/umi2apb.v index 6d958f2..0d693b8 100644 --- a/umi/utils/rtl/umi2apb.v +++ b/umi/utils/rtl/umi2apb.v @@ -252,7 +252,7 @@ module umi2apb #( always @(posedge clk or negedge nreset) if (~nreset) prdata_r <= 'b0; - else if (pready) + else if (penable & pready) prdata_r <= prdata; always @(posedge clk or negedge nreset) @@ -268,7 +268,7 @@ module umi2apb #( always @(posedge clk or negedge nreset) if (~nreset) pslverr_r <= 'b0; - else if (pready) + else if (penable & pready) pslverr_r <= {pslverr, 1'b0}; /*umi_pack AUTO_TEMPLATE(