Skip to content

Commit

Permalink
Add axi rd/wr response coverpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
calebofearth committed Sep 28, 2024
1 parent b6ea426 commit 3507def
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/integration/coverage/caliptra_top_cov_if.sv
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,18 @@ interface caliptra_top_cov_if
bins single_axi_rd_txn = (0 => 1 => 0);
bins b2b_axi_rd_txn = (1 [*5]); //5 rd txns in a row
}
axi_rd_rsp: coverpoint s_axi_r_if.rvalid && s_axi_r_if.rready {
bins axi_rd_hshake = {1'b1};
bins single_axi_rd_rsp = (0 => 1 => 0);
}
axi_wr_txn: coverpoint s_axi_w_if.awvalid && s_axi_w_if.awready {
bins single_axi_wr_txn = (0 => 1 => 0);
bins b2b_axi_wr_txn = (1 [*5]); //5 wr txns in a row
}
axi_wr_rsp: coverpoint s_axi_w_if.bvalid && s_axi_w_if.bready {
bins axi_wr_hshake = {1'b1};
bins single_axi_wr_rsp = (0 => 1 => 0);
}
axi_any_txn: coverpoint (s_axi_r_if.arvalid && s_axi_r_if.arready) || (s_axi_w_if.awvalid && s_axi_w_if.awready) {
bins single_axi_txn = (0 => 1 => 0);
bins b2b_axi_txn = (1 [*5]); //5 txns in a row
Expand Down

0 comments on commit 3507def

Please sign in to comment.