metaonly interface ti.catalog.arm.ILM3SxBxx

The Stellaris device data sheet module

This module implements the xdc.platform.ICpuDataSheet interface and is used by platforms to obtain "data sheet" information about this device.
XDCspec summary sourced in ti/catalog/arm/ILM3SxBxx.xdc
metaonly interface ILM3SxBxx {  ...
    // inherits xdc.platform.ICpuDataSheet
instance:  ...
XDCspec declarations sourced in ti/catalog/arm/ILM3SxBxx.xdc
package ti.catalog.arm;
 
metaonly interface ILM3SxBxx inherits ICpuDataSheet {
 
instance:
per-instance config parameters
    override config String cpuCore// A string identifying the CPU Core = "CM3";
        [
            "FRAM",
            {
                comment: "256KB FRAM",
                name: "FRAM",
                base: 0x00000000,
                len: 0x00040000
            }
        ],
        [
            "IRAM",
            {
                comment: "96KB IRAM",
                name: "IRAM",
                base: 0x20000000,
                len: 0x00018000
            }
        ]
    ];
    config Timer.Instance timer0// ;
    config Timer.Instance timer1// ;
    config Timer.Instance timer2// ;
    config Timer.Instance timer3// ;
per-instance creation
    create// Create an instance-object(String revision);
per-instance functions
}
config ILM3SxBxx.cpuCore  // instance

A string identifying the CPU Core

XDCspec declarations sourced in ti/catalog/arm/ILM3SxBxx.xdc
override config String cpuCore = "CM3";
DETAILS
This uniquely identifies the instruction set that the CPU can decode and execute.
config ILM3SxBxx.cpuCoreRevision  // instance

A string that uniquely identifies a revision of the core

XDCspec declarations sourced in ti/catalog/arm/ILM3SxBxx.xdc
override config String cpuCoreRevision = "1.0";
config ILM3SxBxx.dataWordSize  // instance

The size of an int on the target in 8-bit bytes

XDCspec declarations sourced in ti/catalog/arm/ILM3SxBxx.xdc
override config Int dataWordSize = 4;
config ILM3SxBxx.deviceHeader  // instance

The optional header file that define device specific constants and structures

XDCspec declarations sourced in ti/catalog/arm/ILM3SxBxx.xdc
config String deviceHeader;
config ILM3SxBxx.memMap  // instance

The memory map returned by getMemoryMap()

XDCspec declarations sourced in ti/catalog/arm/ILM3SxBxx.xdc
config IPlatform.Memory memMap[string] = [
    [
        "FRAM",
        {
            comment: "256KB FRAM",
            name: "FRAM",
            base: 0x00000000,
            len: 0x00040000
        }
    ],
    [
        "IRAM",
        {
            comment: "96KB IRAM",
            name: "IRAM",
            base: 0x20000000,
            len: 0x00018000
        }
    ]
];
config ILM3SxBxx.minDataUnitSize  // instance

The minimum addressable data unit size in 8-bit bytes

XDCspec declarations sourced in ti/catalog/arm/ILM3SxBxx.xdc
override config Int minDataUnitSize = 1;
config ILM3SxBxx.minProgUnitSize  // instance

The minimum addressable program unit size in 8-bit bytes

XDCspec declarations sourced in ti/catalog/arm/ILM3SxBxx.xdc
override config Int minProgUnitSize = 1;
config ILM3SxBxx.peripherals  // instance

The map of peripherals available on the device

XDCspec declarations sourced in ti/catalog/arm/ILM3SxBxx.xdc
config IPeripheral.Instance peripherals[string];
config ILM3SxBxx.timer0  // instance
XDCspec declarations sourced in ti/catalog/arm/ILM3SxBxx.xdc
config Timer.Instance timer0;
config ILM3SxBxx.timer1  // instance
XDCspec declarations sourced in ti/catalog/arm/ILM3SxBxx.xdc
config Timer.Instance timer1;
config ILM3SxBxx.timer2  // instance
XDCspec declarations sourced in ti/catalog/arm/ILM3SxBxx.xdc
config Timer.Instance timer2;
config ILM3SxBxx.timer3  // instance
XDCspec declarations sourced in ti/catalog/arm/ILM3SxBxx.xdc
config Timer.Instance timer3;
Instance Creation

XDCspec declarations sourced in ti/catalog/arm/ILM3SxBxx.xdc
create(String revision);
// Create an instance-object
ARGUMENTS
revision — a string that identifies revision of the CPU to be created.
DETAILS
A "data sheet" for a CPU allows one to get specific attributes for a CPU programatically; e.g., the memory map of the CPU.
Notice that we don't specify CPU registers when we create a a data-sheet; registers are provided as necessary to the other functions defined in this interface. This allows one to more easily get memory maps for several different setting of the registers, for example.
ILM3SxBxx.getMemoryMap()  // instance

Get the memory map that corresponds to the values of the specified registers

XDCspec declarations sourced in ti/catalog/arm/ILM3SxBxx.xdc
function getMemoryMap(registers);
ARGUMENTS
registers — a hash of named registers to values at the time an executable is to be loaded (for example)
DETAILS
If a register is not specified and this register can affect the memory map, the register is assumed to be set to its reset value (the value of the register immediately after a CPU reset).
RETURNS
Returns an array of xdc.platform.IPlatform.Memory objects that represent the memory visible to an executable running on the CPU.
ILM3SxBxx.getRegisterSet()  // instance

The set of valid register names for this CPU

XDCspec declarations sourced in ti/catalog/arm/ILM3SxBxx.xdc
function getRegisterSet();
DETAILS
This function returns the complete set of register names that may be passed to the getMemoryMap() function. This function is only used to enable one to write a "requires contract" for the getMemoryMap() function.
RETURNS
Returns an array of valid register names (strings) for this device; only names from this array are valid keys for the registers argument to getMemoryMap().
generated on Tue, 24 Aug 2010 15:39:53 GMT