A cross creates a matrix of bins. It multiplies the bins of one coverpoint with
the bins of another.
covergroup cg @(posedge clk);
cp_cmd: coverpoint cmd {
bins read = {0};
bins write = {1};
}
cp_mode: coverpoint mode {
bins low_power = {0};
bins turbo = {1};
}
// Creates 2 * 2 = 4 combinations:
// read/low_power, read/turbo, write/low_power, write/turbo
cx_cmd_mode: cross cp_cmd, cp_mode;
endgroup