CIRCT  19.0.0git
Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends | List of all members
circt::moore::UnpackedQueueDim Class Reference

An unpacked queue dimension with optional bound, like [$] or [$:a]. More...

#include <MooreTypes.h>

Inheritance diagram for circt::moore::UnpackedQueueDim:
Inheritance graph
[legend]
Collaboration diagram for circt::moore::UnpackedQueueDim:
Collaboration graph
[legend]

Public Member Functions

std::optional< unsigned > getBound () const
 Get the bound of the queue, i.e. More...
 

Static Public Member Functions

static UnpackedQueueDim get (UnpackedType inner, std::optional< unsigned > bound={})
 

Static Public Attributes

static constexpr StringLiteral name = "moore.unpacked_queue_dim"
 

Friends

struct detail::DimStorage
 

Detailed Description

An unpacked queue dimension with optional bound, like [$] or [$:a].

Definition at line 437 of file MooreTypes.h.

Member Function Documentation

◆ get()

UnpackedQueueDim UnpackedQueueDim::get ( UnpackedType  inner,
std::optional< unsigned >  bound = {} 
)
static

◆ getBound()

std::optional< unsigned > UnpackedQueueDim::getBound ( ) const

Get the bound of the queue, i.e.

the a in [$:a]. Returns None if the queue is unbounded.

Definition at line 275 of file MooreTypes.cpp.

Friends And Related Function Documentation

◆ detail::DimStorage

friend struct detail::DimStorage
friend

Definition at line 452 of file MooreTypes.h.

Member Data Documentation

◆ name

constexpr StringLiteral circt::moore::UnpackedQueueDim::name = "moore.unpacked_queue_dim"
staticconstexpr

Definition at line 448 of file MooreTypes.h.


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