HW implementation for 'DebugNumber'.
More...
List of all members.
Public Member Functions |
|
retval | new (scalar proto, scalar object) |
| Construct a new hardware device object.
|
retval | window () |
| Return the size of of the implementation.
|
retval | read (scalar self, scalar offset, scalar exec) |
| Read value.
|
retval | write (scalar self, scalar offset, scalar exec, scalar value) |
| Write value.
|
retval | symbol (scalar self, scalar offset) |
| Get the symbol name for an offset.
|
Detailed Description
HW implementation for 'DebugNumber'.
This is a simple hardware implementation of a handler which will write a number to the screen when a value is written to the address.
Definition at line 21 of file DebugNumber.pm.
Member Function Documentation
Construct a new hardware device object.
- Parameters:
-
[in] | $proto | This class object, or prototype to add to |
[in] | $object | The object to proxy for |
[in] | $offset | The offset this object is created for |
- Returns:
- Assembler object
Read value.
- Parameters:
-
[in] | $self | Object |
[in] | $offset | Offset of register within window |
[in] | $exec | DExec object opon which this object is operating |
- Returns:
- value of this register
Get the symbol name for an offset.
- Parameters:
-
[in] | $self | Object |
[in] | $offset | Offset of register within window |
- Returns:
- symbol name to use
- Return values:
-
undef | for a default symbol |
"" | for no symbol |
Return the size of of the implementation.
- Parameters:
-
- Returns:
- Size of the hardware implementation in words
Write value.
- Parameters:
-
[in] | $self | Object |
[in] | $offset | Offset of register within window |
[in] | $exec | DExec object upon which this object is operating |
[in] | $value | Value to write |
- Returns:
- ignored
The documentation for this class was generated from the following file: