Go to the source code of this file.
|
namespace | gem5 |
| Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
|
|
namespace | gem5::copy_engine_reg |
|
◆ ADD_FIELD16
#define ADD_FIELD16 |
( |
| NAME, |
|
|
| OFFSET, |
|
|
| BITS ) |
Value: inline uint16_t NAME() { return bits(_data, OFFSET+BITS-1, OFFSET); } \
inline void NAME(uint16_t d) { replaceBits(_data, OFFSET+BITS-1, OFFSET,d); }
Definition at line 86 of file copy_engine_defs.hh.
◆ ADD_FIELD32
#define ADD_FIELD32 |
( |
| NAME, |
|
|
| OFFSET, |
|
|
| BITS ) |
Value: inline uint32_t NAME() { return bits(_data, OFFSET+BITS-1, OFFSET); } \
inline void NAME(uint32_t d) { replaceBits(_data, OFFSET+BITS-1, OFFSET,d); }
Definition at line 90 of file copy_engine_defs.hh.
◆ ADD_FIELD64
#define ADD_FIELD64 |
( |
| NAME, |
|
|
| OFFSET, |
|
|
| BITS ) |
Value: inline uint64_t NAME() { return bits(_data, OFFSET+BITS-1, OFFSET); } \
inline void NAME(uint64_t d) { replaceBits(_data, OFFSET+BITS-1, OFFSET,d); }
Definition at line 94 of file copy_engine_defs.hh.
◆ ADD_FIELD8
#define ADD_FIELD8 |
( |
| NAME, |
|
|
| OFFSET, |
|
|
| BITS ) |
Value: inline uint8_t NAME() { return bits(_data, OFFSET+BITS-1, OFFSET); } \
inline void NAME(uint8_t d) { replaceBits(_data, OFFSET+BITS-1, OFFSET,d); }
Definition at line 82 of file copy_engine_defs.hh.