CIRCT 24.0.0git
Loading...
Searching...
No Matches
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 
W 
B 
AR 
R 

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 63 of file AXI4Types.cpp.

References AR, AW, B, kBurstWidth, kCacheWidth, kLastWidth, kLenWidth, kLockWidth, kProtWidth, kQosWidth, kRegionWidth, kRespWidth, kSizeWidth, R, and W.

Variable Documentation

◆ kBurstWidth

unsigned circt::axi4::kBurstWidth = 2
constexpr

Definition at line 29 of file AXI4Types.h.

Referenced by getChannelPayloadType().

◆ kCacheWidth

unsigned circt::axi4::kCacheWidth = 4
constexpr

Definition at line 31 of file AXI4Types.h.

Referenced by getChannelPayloadType().

◆ kLastWidth

unsigned circt::axi4::kLastWidth = 1
constexpr

Definition at line 36 of file AXI4Types.h.

Referenced by getChannelPayloadType().

◆ kLenWidth

unsigned circt::axi4::kLenWidth = 8
constexpr

Definition at line 27 of file AXI4Types.h.

Referenced by getChannelPayloadType().

◆ kLockWidth

unsigned circt::axi4::kLockWidth = 1
constexpr

Definition at line 30 of file AXI4Types.h.

Referenced by getChannelPayloadType().

◆ kProtWidth

unsigned circt::axi4::kProtWidth = 3
constexpr

Definition at line 32 of file AXI4Types.h.

Referenced by getChannelPayloadType().

◆ kQosWidth

unsigned circt::axi4::kQosWidth = 4
constexpr

Definition at line 33 of file AXI4Types.h.

Referenced by getChannelPayloadType().

◆ kRegionWidth

unsigned circt::axi4::kRegionWidth = 4
constexpr

Definition at line 34 of file AXI4Types.h.

Referenced by getChannelPayloadType().

◆ kRespWidth

unsigned circt::axi4::kRespWidth = 2
constexpr

Definition at line 35 of file AXI4Types.h.

Referenced by getChannelPayloadType().

◆ kSizeWidth

unsigned circt::axi4::kSizeWidth = 3
constexpr

Definition at line 28 of file AXI4Types.h.

Referenced by getChannelPayloadType().