Can I exclude static inputs(tied to a particular value during simulation) from being considered in toggle/expression coverage calculation?

I have a situation, where some inputs at DUT level are static(tied to one value) all throughout the simulation. My code coverage is reduced because these inputs will never see any toggling(being static).
Is there anyway (tool specific or some simulation argument) using which I can exclude just these inputs from being considered in calculating code coverage.

Is it possible to configure a simulator to identify such static inputs and not consider them for code coverage calculation ?

In reply to shwetasaxena:

I do understand I can give waivers in form of coverage control files, but say, could I configure simulator to automatically identify such inputs and ignore them , so that I don’t have to update the waivers everytime my design changes ?

In reply to shwetasaxena:

There are formal tools that generate the waivers for you: Questa CoverCheck - Automating code coverage closure | Siemens Software

In reply to dave_59:
Thanks Dave, A little out of context though. If I am using a control file for waivers, can i specify waiver on a I/O net ?

In reply to shwetasaxena:
You can certainly add waivers for toggle coverage on a particular net. You will need to check the user manual of the tool you are using. But to add waivers around all code coverage metrics as a result of a port being tied to a constant requires more analysis than just simulation. (i.e a branch never taken)