|
The Sparta Modeling Framework
|
Field Definition structure. More...
#include <Register.hpp>
Public Member Functions | |
| Definition ()=delete | |
| Allow default constructor. | |
| Definition (const char *_name, const char *_desc, size_type _low_bit, size_type _high_bit) | |
| Limited constructor for backward compatibility. | |
| Definition (const char *_name, const char *_desc, size_type _low_bit, size_type _high_bit, bool _read_only) | |
Public Attributes | |
| const char * | name |
| Name - Must ahere to TreeNode::validateName. Must not be NULL. | |
| const char * | desc |
| Description. Must NOT be NULL. | |
| size_type | low_bit |
| Low bit (inclusive) | |
| size_type | high_bit |
| High bit (inclusive). Must be >= low_bit. (high_bit-low_bit) must be < MAX_FIELD_BITS. Larger fields are not supported. | |
| bool | read_only |
| Is this a read-only field. | |
Field Definition structure.
Definition at line 168 of file Register.hpp.
|
inline |
Limited constructor for backward compatibility.
Definition at line 179 of file Register.hpp.
|
inline |
Definition at line 190 of file Register.hpp.
| const char* sparta::RegisterBase::Field::Definition::desc |
Description. Must NOT be NULL.
Definition at line 203 of file Register.hpp.
| size_type sparta::RegisterBase::Field::Definition::high_bit |
High bit (inclusive). Must be >= low_bit. (high_bit-low_bit) must be < MAX_FIELD_BITS. Larger fields are not supported.
Definition at line 205 of file Register.hpp.
| size_type sparta::RegisterBase::Field::Definition::low_bit |
Low bit (inclusive)
Definition at line 204 of file Register.hpp.
| const char* sparta::RegisterBase::Field::Definition::name |
Name - Must ahere to TreeNode::validateName. Must not be NULL.
Definition at line 202 of file Register.hpp.
| bool sparta::RegisterBase::Field::Definition::read_only |
Is this a read-only field.
Definition at line 206 of file Register.hpp.