Skip to content

Commit

Permalink
Regenerate the wrapper for AHBL
Browse files Browse the repository at this point in the history
  • Loading branch information
M0stafaRady committed May 2, 2024
1 parent 1248107 commit 9970d8c
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions hdl/rtl/bus_wrappers/EF_SPI_AHBL.pp.v
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@











Expand Down Expand Up @@ -131,8 +136,13 @@ module EF_SPI_AHBL #(


reg last_HSEL, last_HWRITE; reg [31:0] last_HADDR; reg [1:0] last_HTRANS;
always@ (posedge HCLK) begin
if(HREADY) begin
always@ (posedge HCLK or negedge HRESETn) begin
if(~HRESETn) begin
last_HSEL <= 1'b0;
last_HADDR <= 1'b0;
last_HWRITE <= 1'b0;
last_HTRANS <= 1'b0;
end else if(HREADY) begin
last_HSEL <= HSEL;
last_HADDR <= HADDR;
last_HWRITE <= HWRITE;
Expand Down

0 comments on commit 9970d8c

Please sign in to comment.