Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

GMem Class Reference

Memory node. More...

Inheritance diagram for GMem:

Inheritance graph
[legend]
Collaboration diagram for GMem:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 __init__ (client)
 Initialize valid registers as Gattrs.
 gMEMread (addr, size=4)
 gMEMload (addr, val, size=4)
 gMEMbusToLocal (space, addr)
 gMEMlocalToBus (space, addr)

Detailed Description

Memory node.

Has GMem specific registers

Dataless Commands: none

Definition at line 16 of file gMem.py.


Member Function Documentation

gMEMbusToLocal space  ,
addr 
 

Translate an address in some space to local (PPC) space

Parameters:
space Bus address space in which addr resides
addr Bus address to convert
Returns:
A tuple containing the user id, status, local address value and timestamp

gMEMload addr  ,
val  ,
size  = 4
 

SBC MEM load command

Parameters:
addr SBC address
val Value to be set at address addr
size Addressing used (1=8bit, 2=16bit, 4=32bit, 8=64bit, default is 4)
Returns:
A tuple containing the user id, status and timestamp

gMEMlocalToBus space  ,
addr 
 

Translate an address in local (PPC) space to some space

Parameters:
space Bus address space in which addr resides
addr Local address to convert
Returns:
A tuple containing the user id, status, bus address value and timestamp

gMEMread addr  ,
size  = 4
 

SBC MEM read command

Parameters:
addr SBC address
size Addressing used (1=8bit, 2=16bit, 4=32bit, 8=64bit, default is 4)
Returns:
A tuple containing the user id, status and value


The documentation for this class was generated from the following file:
Generated on Fri Jul 21 13:27:07 2006 for LATTE R04-12-00 by doxygen 1.4.3