I know that Code Coverage is the right way to do toggle coverage. Doing that through Functional Coverage is a long stretch. But, for the sake of argument, I want to select a few signals and do toggle coverage through functional coverage. Will the following work?
covergroup gc @(posedge clk);
ac: coverpoint adr1
bins ar1 = (1'b0 => 1'b1 || 1'b1 => 1'b0);
gc gcInst = new;