Skip to content

Commit

Permalink
axi_lite_to_apb: Fix strobe width assertion message
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaskurth committed Apr 8, 2020
1 parent 1a81563 commit 2a9e21b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- `rand_axi_master` (in `axi_test`): In ATOP mode, this module could get stuck receiving an R beat
when only writes (without ATOP read responses) were left to complete. This has been fixed.
- `assign.svh`: Remove spurious semicolons.
- `axi_lite_to_apb`: Fix message of assertion checking the strobe width.


## 0.18.0 - 2020-03-24
Expand Down
2 changes: 1 addition & 1 deletion src/axi_lite_to_apb.sv
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ module axi_lite_to_apb #(
wdata_width: assert ($bits(axi_lite_req_i.w.data ) == $bits(apb_req_o[0].pwdata)) else
$fatal(1, $sformatf("AXI4-Lite and APB write data width not equal"));
strb_width: assert ($bits(axi_lite_req_i.w.strb ) == $bits(apb_req_o[0].pstrb)) else
$fatal(1, $sformatf("AXI4-Lite and APB address width not equal"));
$fatal(1, $sformatf("AXI4-Lite and APB strobe width not equal"));
rdata_width: assert ($bits(axi_lite_resp_o.r.data ) == $bits(apb_resp_i[0].prdata)) else
$fatal(1, $sformatf("AXI4-Lite and APB read data width not equal"));
sel_width: assert ($bits(apb_req_o[0].psel) == 32'd1) else
Expand Down

0 comments on commit 2a9e21b

Please sign in to comment.