Skip to content

@celox-sim/celox / index / CoverageReport

Interface: CoverageReport ​

Defined in: packages/celox/src/types.ts:284

The covergroup coverage of a simulation (IEEE 1800-2023 clause 19), as Simulation.coverage() returns it: an object parsed from the JSON of the Rust celox::CoverageReport. Every field is always present.

Coverage values are percentages. Hit counts, sample counts and bin counts are 64-bit unsigned integers in the simulator and JavaScript numbers here: exact up to Number.MAX_SAFE_INTEGER (2^53 - 1), rounded above it.

Properties ​

coverage ​

coverage: number

Defined in: packages/celox/src/types.ts:286

What $get_coverage() gives now: 100 without an instance.


covergroups ​

covergroups: CovergroupReport[]

Defined in: packages/celox/src/types.ts:288

The covergroup types that have an instance, by name.