gem5/python/m5/objects
Nathan Binkert 40bab977bc Better handling of latency/frequency parameter types
python/m5/config.py:
    Addr is slightly different from memory size in that Addr
    will take non strings.
    Deal with the fact that the convert.toFoo functions only accept
    strings.
    Add RootFrequency as a special type for the Root.frequency
    parameter which is not scaled.
    Add ClockPeriod parameter type.
python/m5/convert.py:
    Be more strict about what's allowed.
    Only accept strings as inputs for these conversion functions.
    If the user wants to accept something else, they need to deal
    with the failure and convert other types on their own.
python/m5/objects/Bus.mpy:
    Use the new ClockPeriod parameter type
python/m5/objects/Root.mpy:
    Can't use integers for frequency anymore
python/m5/smartdict.py:
    rename SmartDict.Proxy to just Variable.  Create a new class
    UndefinedVariable that is returned when the user tries to get
    a variable that is not in the dict.  Undefined variable evaluates
    to false, and will cause an error elsewhere.

--HG--
extra : convert_revision : 1d55246fd1af65106f102396234827d6401ef9ce
2005-03-25 22:59:29 -05:00
..
AlphaConsole.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
AlphaTLB.mpy stick all python stuff into a top level python directory. 2005-03-11 18:28:38 -05:00
BadDevice.mpy stick all python stuff into a top level python directory. 2005-03-11 18:28:38 -05:00
BaseCache.mpy First step in fixing up parameter handling. Clean up the 2005-03-23 13:25:48 -05:00
BaseCPU.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
BaseSystem.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
Bus.mpy Better handling of latency/frequency parameter types 2005-03-25 22:59:29 -05:00
CoherenceProtocol.mpy stick all python stuff into a top level python directory. 2005-03-11 18:28:38 -05:00
Device.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
DiskImage.mpy stick all python stuff into a top level python directory. 2005-03-11 18:28:38 -05:00
Ethernet.mpy First step in fixing up parameter handling. Clean up the 2005-03-23 13:25:48 -05:00
Ide.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
IntrControl.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
MemTest.mpy stick all python stuff into a top level python directory. 2005-03-11 18:28:38 -05:00
Pci.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
PhysicalMemory.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
Platform.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
Process.mpy stick all python stuff into a top level python directory. 2005-03-11 18:28:38 -05:00
Repl.mpy stick all python stuff into a top level python directory. 2005-03-11 18:28:38 -05:00
Root.mpy Better handling of latency/frequency parameter types 2005-03-25 22:59:29 -05:00
SimConsole.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
SimpleDisk.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
Tsunami.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00
Uart.mpy Enhancements to python config proxy class. 2005-03-16 00:40:48 -05:00