beautypg.com

Enabled vs. disabled vs. mixed, Device group examples – AMD SimNow Simulator 4.4.4 User Manual

Page 32

background image

AMD Confidential

User Manual

September 12

h

, 2008

20

Chapter 3: Graphical User Interface

and a "

-> Machine #1 -> 4 core Node #1 -> AweSim Processor #0

". Also notice that our default

view ignores the tree, and just shows us two devices: "

4 core Node #0

" and "

4 core

Node #1

".

3.3.4.2 Enabled vs. Disabled vs. Mixed

Shell device commands like “

shell.Location

” or “

shell.AddDevice

” have generic

meanings (regardless of whether the device is a group or library). But some are defined
from an aggregation of the children. For example, “

shell.GetFastPath

” can return

Enabled”, “Disabled”, or “Mixed” (means some children are "Enabled" and some are
"Disabled").

1 simnow> shell.GetLogIO "4 core Node #0 -> AweSim Processor #0"
PCI: Disabled
IO: Disabled
IOfpdis: Enabled
MEM: Disabled
MEMfpdis: Enabled
GETMEMPTR: Disabled

1 simnow> shell.GetLogIO "4 core Node #0 -> AweSim Processor #1"
PCI: Disabled
IO: Disabled
IOfpdis: Disabled
MEM: Disabled
MEMfpdis: Disabled
GETMEMPTR: Disabled


In this example, all other child devices of "

4 core Node #0

" are "Disabled" for all log

options.

1 simnow> shell.GetLogIO "4 core Node #0"
PCI: Disabled
IO: Disabled
IOfpdis: Mixed
MEM: Disabled
MEMfpdis: Mixed
GETMEMPTR: Disabled

1 simnow> shell.GetLogIO "-> Machine #1"
PCI: Disabled
IO: Disabled
IOfpdis: Mixed
MEM: Disabled
MEMfpdis: Mixed
GETMEMPTR: Disabled

3.3.5 Device Group Examples

Device groups can be a powerful building block for SimNow users. These next examples
should help give further understanding about device groups, and demonstrate some
practical uses.