rogue
Loading...
Searching...
No Matches
Constants.h
Go to the documentation of this file.
1
17#ifndef __ROGUE_INTERFACES_MEMORY_ERRORS_H__
18#define __ROGUE_INTERFACES_MEMORY_ERRORS_H__
19#include "rogue/Directives.h"
20
21#include <stdint.h>
22
23namespace rogue {
24namespace interfaces {
25namespace memory {
26
28// Transaction Type Constants
30
36static const uint32_t Read = 0x1;
37
43static const uint32_t Write = 0x2;
44
50static const uint32_t Post = 0x3;
51
57static const uint32_t Verify = 0x4;
58
67static const uint32_t TcpBridgeProbe = 0xFFFFFFFE;
68
70// Block Processing Types
72
78static const uint8_t PyFunc = 0x00;
79
85static const uint8_t Bytes = 0x01;
86
92static const uint8_t UInt = 0x02;
93
99static const uint8_t Int = 0x03;
100
106static const uint8_t Bool = 0x04;
107
113static const uint8_t String = 0x05;
114
120static const uint8_t Float = 0x06;
121
127static const uint8_t Double = 0x07;
128
134static const uint8_t Fixed = 0x08;
135
141static const uint8_t UFixed = 0x09;
142
148static const uint8_t Float16 = 0x0A;
149
155static const uint8_t Float8 = 0x0B;
156
162static const uint8_t BFloat16 = 0x0C;
163
169static const uint8_t TensorFloat32 = 0x0D;
170
176static const uint8_t Float6 = 0x0E;
177
183static const uint8_t Float4 = 0x0F;
184
190static const uint8_t Custom = 0x80;
191
192} // namespace memory
193} // namespace interfaces
194} // namespace rogue
195
196#endif
static const uint8_t Fixed
Block access type for fixed-point numeric data.
Definition Constants.h:134
static const uint8_t Double
Block access type for double-precision (double) data.
Definition Constants.h:127
static const uint8_t Float4
Block access type for 4-bit E2M1 floating-point data.
Definition Constants.h:183
static const uint8_t Bytes
Block access type for raw byte data.
Definition Constants.h:85
static const uint32_t Read
Memory read transaction type.
Definition Constants.h:36
static const uint32_t TcpBridgeProbe
Internal TCP bridge readiness probe transaction type.
Definition Constants.h:67
static const uint8_t UInt
Block access type for unsigned integer data.
Definition Constants.h:92
static const uint8_t String
Block access type for string data.
Definition Constants.h:113
static const uint8_t Float8
Block access type for 8-bit E4M3 floating-point data.
Definition Constants.h:155
static const uint8_t PyFunc
Block access type for Python callback functions.
Definition Constants.h:78
static const uint8_t Float6
Block access type for 6-bit E3M2 floating-point data.
Definition Constants.h:176
static const uint8_t Bool
Block access type for boolean data.
Definition Constants.h:106
static const uint32_t Write
Memory write transaction type.
Definition Constants.h:43
static const uint8_t Float16
Block access type for half-precision floating-point data.
Definition Constants.h:148
static const uint32_t Verify
Memory verify readback transaction type.
Definition Constants.h:57
static const uint8_t UFixed
Block access type for unsigned fixed-point numeric data.
Definition Constants.h:141
static const uint8_t BFloat16
Block access type for BFloat16 (Brain Float 16) data.
Definition Constants.h:162
static const uint8_t Custom
Block access type for custom handlers.
Definition Constants.h:190
static const uint8_t Float
Block access type for floating-point (float) data.
Definition Constants.h:120
static const uint8_t TensorFloat32
Block access type for TensorFloat32 (NVIDIA TF32) data.
Definition Constants.h:169
static const uint32_t Post
Memory posted write transaction type.
Definition Constants.h:50
static const uint8_t Int
Block access type for signed integer data.
Definition Constants.h:99