CIRCT  20.0.0git
Public Types | Public Member Functions | Private Attributes | List of all members
circt::sv::CasePattern Class Referenceabstract

#include <SVOps.h>

Inheritance diagram for circt::sv::CasePattern:
Inheritance graph
[legend]
Collaboration diagram for circt::sv::CasePattern:
Collaboration graph
[legend]

Public Types

enum  CasePatternKind { CPK_bit , CPK_enum , CPK_default }
 

Public Member Functions

 CasePattern (CasePatternKind kind)
 
virtual ~CasePattern ()
 
CasePatternKind getKind () const
 
virtual bool hasX () const
 Return true if this pattern has an X. More...
 
virtual bool hasZ () const
 Return true if this pattern has an Z. More...
 
virtual Attribute attr () const =0
 

Private Attributes

const CasePatternKind kind
 

Detailed Description

Definition at line 54 of file SVOps.h.

Member Enumeration Documentation

◆ CasePatternKind

Enumerator
CPK_bit 
CPK_enum 
CPK_default 

Definition at line 57 of file SVOps.h.

Constructor & Destructor Documentation

◆ CasePattern()

circt::sv::CasePattern::CasePattern ( CasePatternKind  kind)
inline

Definition at line 58 of file SVOps.h.

◆ ~CasePattern()

virtual circt::sv::CasePattern::~CasePattern ( )
inlinevirtual

Definition at line 59 of file SVOps.h.

Member Function Documentation

◆ attr()

virtual Attribute circt::sv::CasePattern::attr ( ) const
pure virtual

◆ getKind()

CasePatternKind circt::sv::CasePattern::getKind ( ) const
inline

◆ hasX()

virtual bool circt::sv::CasePattern::hasX ( ) const
inlinevirtual

Return true if this pattern has an X.

Reimplemented in circt::sv::CaseBitPattern.

Definition at line 63 of file SVOps.h.

◆ hasZ()

virtual bool circt::sv::CasePattern::hasZ ( ) const
inlinevirtual

Return true if this pattern has an Z.

Reimplemented in circt::sv::CaseBitPattern.

Definition at line 66 of file SVOps.h.

Member Data Documentation

◆ kind

const CasePatternKind circt::sv::CasePattern::kind
private

Definition at line 71 of file SVOps.h.

Referenced by getKind().


The documentation for this class was generated from the following file: