Struture to store details of loads to the general purpose registers.
More...
#include <cpu.hpp>
|
| uint32_t | reg |
| | Register ID.
|
| |
| uint32_t | data |
| | Data to be loaded.
|
| |
| uint32_t | delay |
| | Delay in clock cycles.
|
| |
Struture to store details of loads to the general purpose registers.
Definition at line 95 of file cpu.hpp.
◆ RegisterLoad() [1/3]
| RegisterLoad::RegisterLoad |
( |
| ) |
|
|
inline |
◆ RegisterLoad() [2/3]
| RegisterLoad::RegisterLoad |
( |
uint32_t | reg, |
|
|
uint32_t | data ) |
|
inline |
Construct a new RegisterLoad object with no delay.
- Parameters
-
| reg | Register ID |
| data | Data to be loaded |
Definition at line 127 of file cpu.hpp.
◆ RegisterLoad() [3/3]
| RegisterLoad::RegisterLoad |
( |
uint32_t | reg, |
|
|
uint32_t | data, |
|
|
uint32_t | delay ) |
|
inline |
Construct a new RegisterLoad object with delay.
- Parameters
-
| reg | Register ID |
| data | Data to be loaded |
| delay | Delay |
Definition at line 136 of file cpu.hpp.
◆ data
| uint32_t RegisterLoad::data |
Data to be loaded.
Definition at line 107 of file cpu.hpp.
◆ delay
| uint32_t RegisterLoad::delay |
Delay in clock cycles.
Definition at line 113 of file cpu.hpp.
◆ reg
| uint32_t RegisterLoad::reg |
Register ID.
Definition at line 101 of file cpu.hpp.
The documentation for this struct was generated from the following file: