UVM INFO Message from SPELLCHK

I’m getting “UVM_INFO verilog_src/uvm-1.2/src/base/uvm_spell_chkr.svh(123) @ 0.00 ns: reporter [UVM/CONFIGDB/SPELLCHK] include_coverage not located, did you mean clk_period”. Can you tell me what is causing this message?

In reply to tonyS:

The “exists” method of the uvm_config_db class can trigger that if you set the “spell_chk” input.

There are also uvm_resource_db methods which can trigger it.

Check in your code to see if you added “include_coverage” to the uvm_config_db.

In reply to gsulliva:
I’m using a register model and it isn’t able to build the covergroups and the message comes from when it looks for a resource call include_coverage that doesn’t exist in the database. Is there something I was supposed to do to cause include_coverage to be loaded to the database?

I found the issue. This message occurred because the include_coverage entry did not exist at the time the register model was looking for it. And the spell_chk method grabs the first entry in the resource_db to indicate that maybe someone made a mistake in what they were asking. Its kind of a dumb way to say it doesn’t exist in the database. And its a dumb way to pass a configuration variable to a standard library object.

I also ran into this. To clarify:
If your RAL is generated so that it includes a “build_coverage(…)” call inside the register build() functions, then you need to call “include_coverage(…)” before the RAL model is built.

build_coverage() makes a call to read an entry in the resource_db and if the entry is not there, you get the message. include_coverage(…) places the entry into the resource_db

1 Like