IMPORTANT NOTICE: Please be advised that the Verification Academy Forums will be offline for scheduled maintenance on Sunday, March 23rd at 4:00 US/Pacific.
How to write functional coverage for an array of 128 elements where each element is of 8-bit width?
Example:
rand bit [7:0]data[127:0];
I want to check if any value between {8’d1,8’d2,8’d4,8’d8,8’d16,8’d32,8’d64,8’d128,8’d255} is covered or not for each element of the array i.e. for 128 elements and display the 128 bins info