CIRCT  20.0.0git
Public Member Functions | Public Attributes | List of all members
circt::firrtl::FIRVersion Struct Reference

The FIRRTL specification version. More...

#include <FIRParser.h>

Collaboration diagram for circt::firrtl::FIRVersion:
Collaboration graph
[legend]

Public Member Functions

constexpr FIRVersion (uint16_t major, uint16_t minor, uint16_t patch)
 
constexpr operator uint64_t () const
 
constexpr bool operator< (FIRVersion rhs) const
 
constexpr bool operator> (FIRVersion rhs) const
 
constexpr bool operator<= (FIRVersion rhs) const
 
constexpr bool operator>= (FIRVersion rhs) const
 

Public Attributes

uint16_t major
 
uint16_t minor
 
uint16_t patch
 

Detailed Description

The FIRRTL specification version.

Definition at line 88 of file FIRParser.h.

Constructor & Destructor Documentation

◆ FIRVersion()

constexpr circt::firrtl::FIRVersion::FIRVersion ( uint16_t  major,
uint16_t  minor,
uint16_t  patch 
)
inlineconstexpr

Definition at line 89 of file FIRParser.h.

Member Function Documentation

◆ operator uint64_t()

constexpr circt::firrtl::FIRVersion::operator uint64_t ( ) const
inlineexplicitconstexpr

Definition at line 92 of file FIRParser.h.

References major, minor, and patch.

◆ operator<()

constexpr bool circt::firrtl::FIRVersion::operator< ( FIRVersion  rhs) const
inlineconstexpr

Definition at line 96 of file FIRParser.h.

◆ operator<=()

constexpr bool circt::firrtl::FIRVersion::operator<= ( FIRVersion  rhs) const
inlineconstexpr

Definition at line 104 of file FIRParser.h.

◆ operator>()

constexpr bool circt::firrtl::FIRVersion::operator> ( FIRVersion  rhs) const
inlineconstexpr

Definition at line 100 of file FIRParser.h.

◆ operator>=()

constexpr bool circt::firrtl::FIRVersion::operator>= ( FIRVersion  rhs) const
inlineconstexpr

Definition at line 108 of file FIRParser.h.

Member Data Documentation

◆ major

uint16_t circt::firrtl::FIRVersion::major

Definition at line 112 of file FIRParser.h.

Referenced by operator uint64_t(), and circt::firrtl::operator<<().

◆ minor

uint16_t circt::firrtl::FIRVersion::minor

Definition at line 113 of file FIRParser.h.

Referenced by operator uint64_t(), and circt::firrtl::operator<<().

◆ patch

uint16_t circt::firrtl::FIRVersion::patch

Definition at line 114 of file FIRParser.h.

Referenced by operator uint64_t(), and circt::firrtl::operator<<().


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