slang::ast::CheckerInstanceSymbol class final

Represents an instance of a checker.

Base classes

class InstanceSymbolBase
Common functionality for module, interface, program, and primitive instances.

Public static functions

static CheckerInstanceSymbol& createInvalid(const CheckerSymbol& checker, uint32_t depth)
Creates an intentionally invalid instance by forcing all port connections to null values.

Function documentation

static CheckerInstanceSymbol& slang::ast::CheckerInstanceSymbol::createInvalid(const CheckerSymbol& checker, uint32_t depth)

Creates an intentionally invalid instance by forcing all port connections to null values.

This allows type checking instance members as long as they don't depend on any port expansion.