Functional coverage to check each bit is toggled or not in a memory

Hi all ,i have a memory of width 8 bit and depth of 128.How to write a functional coverage to check each individual bit is toggled or not.Here i need to check total 128*8 bits are toggled or not.
thanks and regards.

In reply to mamathamanu:

Many tools have built-in toggle coverage so you don’t have to write a covergroup for it manually. Otherwise see https://verificationacademy.com/forums/systemverilog/bitwise-toggle-coverage-bitvector

In reply to dave_59:

In reply to mamathamanu:
Many tools have built-in toggle coverage so you don’t have to write a covergroup for it manually. Otherwise see Bitwise toggle coverage for a bitvector - SystemVerilog - Verification Academy

Hi dave, thanks for your response.so if i want to check individual bit i should create 128*8 instance of covergroup?.

In reply to mamathamanu:

That is correct, which is why I strongly recommend seeing if your simulation tool can do it more efficiently for you.

In reply to dave_59:

In reply to mamathamanu:
That is correct, which is why I strongly recommend seeing if your simulation tool can do it more efficiently for you.

ok thank you sir.