Current Status:
TB中已经有了APB VIP, 此时需要添加APB 的 HVP
1. 在TB中enable APB coverage
在testcase那一层目录下,
文件:svt_apb_user_defines.svi, define the macro to enable the default coverage
`define SVT_AMBA_DEFAULT_COV_ENABLE
2. 在verdi中load hvp并查看
跑一个仿真,在verdi -cov里面看到了很多svt_apb_master_monitoe_def_cov_callback::trans_apb_state_after_reset_deasserted, 等等很多的covergroup/points
用Verdi打开apb的HVP:
原先的:
Original Source:
group ${INST_GROUP_COV_attr}: *::svt_apb_master_monitor_def_cov_callback::trans_apb_state_after_reset_deasserted**${INST_NAME_attr}_trans_apb_state_after_reset_deasserted
Real Source:
group trans_cross_write_address_8bit: *::svt_apb_master_monitor_def_cov_callback::trans_apb_state_after_reset_deasserted**apb_write_address_trans_apb_state_after_reset_deasserted
手动map:
group: svt_apb_uvm_pkg::svt_apb_master_monitor_def_cov_callback::trans_apb_state_after_reset_deasserted