CIRCT 24.0.0git
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions | Variables
circt::axi4 Namespace Reference

Namespaces

namespace  OpTrait
 

Enumerations

enum class  AXI4Channel {
  AW , W , B , AR ,
  R
}
 The five AXI4 channels. More...
 

Functions

hw::StructType getChannelPayloadType (PortType port, AXI4Channel channel)
 Build the hw.struct payload type for one channel of an !axi4.port.
 

Variables

constexpr unsigned kLenWidth = 8
 
constexpr unsigned kSizeWidth = 3
 
constexpr unsigned kBurstWidth = 2
 
constexpr unsigned kLockWidth = 1
 
constexpr unsigned kCacheWidth = 4
 
constexpr unsigned kProtWidth = 3
 
constexpr unsigned kQosWidth = 4
 
constexpr unsigned kRegionWidth = 4
 
constexpr unsigned kRespWidth = 2
 
constexpr unsigned kLastWidth = 1
 

Enumeration Type Documentation

◆ AXI4Channel

enum class circt::axi4::AXI4Channel
strong

The five AXI4 channels.

Enumerator
AW 
AR 

Definition at line 24 of file AXI4Types.h.

Function Documentation

◆ getChannelPayloadType()

hw::StructType circt::axi4::getChannelPayloadType ( PortType  port,
AXI4Channel  channel 
)

Build the hw.struct payload type for one channel of an !axi4.port.

Definition at line 56 of file AXI4Types.cpp.

References kBurstWidth, kCacheWidth, kLastWidth, kLenWidth, kLockWidth, kProtWidth, kQosWidth, kRegionWidth, kRespWidth, and kSizeWidth.

Variable Documentation

◆ kBurstWidth

constexpr unsigned circt::axi4::kBurstWidth = 2
constexpr

Definition at line 29 of file AXI4Types.h.

Referenced by getChannelPayloadType().

◆ kCacheWidth

constexpr unsigned circt::axi4::kCacheWidth = 4
constexpr

Definition at line 31 of file AXI4Types.h.

Referenced by getChannelPayloadType().

◆ kLastWidth

constexpr unsigned circt::axi4::kLastWidth = 1
constexpr

Definition at line 36 of file AXI4Types.h.

Referenced by getChannelPayloadType().

◆ kLenWidth

constexpr unsigned circt::axi4::kLenWidth = 8
constexpr

Definition at line 27 of file AXI4Types.h.

Referenced by getChannelPayloadType().

◆ kLockWidth

constexpr unsigned circt::axi4::kLockWidth = 1
constexpr

Definition at line 30 of file AXI4Types.h.

Referenced by getChannelPayloadType().

◆ kProtWidth

constexpr unsigned circt::axi4::kProtWidth = 3
constexpr

Definition at line 32 of file AXI4Types.h.

Referenced by getChannelPayloadType().

◆ kQosWidth

constexpr unsigned circt::axi4::kQosWidth = 4
constexpr

Definition at line 33 of file AXI4Types.h.

Referenced by getChannelPayloadType().

◆ kRegionWidth

constexpr unsigned circt::axi4::kRegionWidth = 4
constexpr

Definition at line 34 of file AXI4Types.h.

Referenced by getChannelPayloadType().

◆ kRespWidth

constexpr unsigned circt::axi4::kRespWidth = 2
constexpr

Definition at line 35 of file AXI4Types.h.

Referenced by getChannelPayloadType().

◆ kSizeWidth

constexpr unsigned circt::axi4::kSizeWidth = 3
constexpr

Definition at line 28 of file AXI4Types.h.

Referenced by getChannelPayloadType().