#include <ac_storage.H>
Inheritance diagram for ac_storage:

Public Member Functions | |
| virtual ac_word | read (unsigned address) |
| Reading a word. | |
| virtual unsigned char | read_byte (unsigned address) |
| Reading a byte. | |
| virtual ac_Hword | read_half (unsigned address) |
| Reading half word. | |
| virtual void | write (unsigned address, ac_word datum) |
| Writing a word. | |
| virtual void | write_byte (unsigned address, unsigned char datum) |
| Writing a byte. | |
| virtual void | write_half (unsigned address, ac_Hword datum) |
| Writing a short int. | |
| ac_storage (char *n, unsigned s) | |
| Constructor. | |
| ac_storage (char *n) | |
| Constructor. Without Data Initialization. | |
| virtual | ~ac_storage () |
| Destructor. | |
| ac_storage & | operator= (ac_storage &src) |
| Copy operator. | |
| void | initialize (char *n, unsigned s) |
| Method to initialize Data array dynamically. | |
| char * | get_name () |
| Method to provide the name of the device. | |
| unsigned | get_size () |
| Method to provide the size of the device. | |
| void | load (char *file) |
| Method to load device content from a file. | |
| void | load_array (const unsigned char *d, const unsigned s) |
| Method to load device content from an array. | |
Protected Attributes | |
| char * | Data |
| The data stored into the device. | |
| char * | name |
| Device name. | |
| unsigned | size |
| Device size. | |
Definition at line 53 of file ac_storage.H.
|
|
Constructor. Without Data Initialization. Used to declare devices where sizes will be computed dynamically Definition at line 135 of file ac_storage.H. References name. |
1.3.4