|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
ADC class represents an on-chip device on the ATMega series of microcontroller
that is capable of converting an analog voltage value into a 10-bit digital value.ADCInput interface is used by inputs into the analog to digital converter.ControlRegister defines the behavior of the ADC control register,DataRegister defines the behavior of the ADC's 10-bit data register.MUXRegister defines the behavior of the ADMUX register.ASTNode class is a unification of all syntax-related items that are dealt with in loading
source programs. ATMega128 class represents the ATMega128 microcontroller from Atmel. ATMega16 class represents the ATMega16 microcontroller from Atmel. ATMega32 class represents the ATMega32 microcontroller from Atmel. ATMegaFamily class encapsulates much of the common functionality among the
ATMega family microcontrollers from Atmel.DirectionRegister class implements an active register that sets the output
direction of the general purpose IO pins which are present on the ATMega series.PinRegister class implements an active register that acts as the
read register (input register) for the general purpose IO pins.PortRegister class implements an active register that acts as the
write register (output register) for the general purpose IO pins.Timer0 is the default 8-bit timer on the ATMega128.Timer1 is a 16-bit timer available on the ATMega128.Timer2 is an additional 8-bit timer on the ATMega128. Timer3 is an additional 16-bit timer available on the ATMega128, but not in ATMega103
compatability mode.AVRErrorReporter contains one method per compilation error. AbstractArithmetic arithmetic class implements operations that are useful for working on
abstract integers which are represented as characters. AbstractInterpreter class implements the abstract transfer function for each instruction
type. AbstractParseException represents a parse exception that was thrown by one of the parsers
generated by JavaCC. AbstractParser is a superclass of all parsers introduced to give multiple JavaCC-generated
parsers a parent class.AbstractState class represents an abstract state within the state space. Action class defines a new action that the main driver is capable of executing. Action class initializes the referneces to the short name and help
string for this action as well as creating the internal options.
ActiveRegister interface models the behavior of a register that may perform
some simulation work as a result of being read or written. AnalyzeStackAction class is an extension of the Main.Action class that allows
the stack tool to be reached from the command line.AnalyzeStackAction class simply creates an empty instance
with the appropriate name and help string.
Analyzer class implements the analysis phase that determines the transition relation
between the states in the abstract state space. ContextSensitive class implements the context-sensitive analysis similar to 1-CFA. MonitorThread class represents a thread instance that constantly monitors the progress
of the stack analysis and reports on the number of states explored, edges inserted, states on the
frontier, as well statistics about the propagation phase.Policy interface allows for more modular, composable analysis. Architecture class represents a collection of instructions, encodings, operands, and
subroutines that describe an instruction set architecture.Architecture class creates an instance with the specified
name that is empty and ready to receive new instruction declarations, encodings, etc.
EncodingVisitor interface is a simple interface that can be used to iterate
over the encodings declared in the instruction set specification. InstrVisitor interface is a simple interface that can be used to iterate
over the instructions declared in the instruction set specification. OperandVisitor interface is a simple interface that can be used to iterate
over the operands declared in the instruction set specification. SubroutineVisitor interface is a simple interface that can be used to iterate
over the subroutines declared in the instruction set specification. Visitor class represents a visitor over the elements of the architecture description.
Arith class is a container for classes that represent integer arithmetic in the IR. AddExpr inner class represents the addition of two integer values that produces a new
integer value.AndExpr class represents the bitwise and of two integer values that produces a single
integer result.BinOp inner class represents an operation on two integers with an infix binary
operation. BinOp class initializes the public final fields that form the
structure of this expression.
CompExpr class represents the bitwise complement of an integer value that produces a
single integer result.DivExpr inner class represents a division operation on two integer values which
produces a single integer result.MulExpr inner class represents the multiplication of two integer values which produces
a single integer result.NegExpr class represents the negation (sign reversal) of an integer value that
produces a single integer result.OrExpr class represents the bitwise inclusive or of two integer values that produces a
single integer result.ShiftLeftExpr class represents the shift left of an integer value that produces a
single integer result.ShiftRightExpr class represents the shift left of an integer value that produces a
single integer result.SubExpr inner class represents the subtraction of one integer value from another that
results in a new integer value.UnOp inner class represents an operation on a single integer value. UnOp class initializes the public final fields that form the
structure of this expression.
XorExpr class represents the bitwise exclusive or of two integer values that produces
a single integer result.Arithmetic class implements a set of useful methods that are used by the simulator and
assembler for converting java types to various data types used by the machine.Assembler class represents an assembler that is capable of
encoding AVR assembly instructions into binary machine code.AssignStmt class represents an assignment statement in the IR. AssignStmt class simply stores a reference to the right hand side
expression internally.
InteralDevice class represents an internal device
on a microcontroller.AtmelMicrocontroller class represents the common functionality among microcontrollers
for the Atmel series. Pin class implements a model of a pin on the ATMegaFamily for the general purpose IO
ports.AtmelProgramReader is an implementation of the ProgramReader that reads
source assembly files in the Atmel style syntax. AutomatedTester is a class that is designed to be an in-program test facility. Avrora class contains several utilities relating to exceptions and errors within Avrora.Error class is the base class of all errors in Avrora. InternalError class is a class of errors corresponding to exceptional conditions
within Avrora.Unexpected class wraps an unexpected exception that may happen during
execution. AvroraGUI is the top level GUI component. accept() method is part of the visitor pattern for instructions.
accept() method implements part of the visitor pattern that allows a visitor to visit
each part of the architecture description.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern for rebuilding of
expressions.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern for rebuilding of
expressions.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern for rebuilding of
expressions.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern for rebuilding of
expressions.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern for rebuilding of
expressions.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern for rebuilding of
expressions.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern for rebuilding of
expressions.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern for rebuilding of
expressions.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern for rebuilding of
expressions.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern for rebuilding of
expressions.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern for rebuilding of
expressions.
accept() method implements one half of the visitor pattern so that client visitors can
traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors can
traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern for rebuilding of
expressions.
accept() method implements one half of the visitor pattern so that client visitors can
traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors can
traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern for rebuilding of
expressions.
accept() method implements one half of the visitor pattern so that client visitors can
traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors can
traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern for rebuilding of
expressions.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern so that client visitors can
traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors can
traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern for rebuilding of
expressions.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements half of the visitor pattern for expression visitors.
accept() method implements one half of the visitor pattern so that client visitors can
traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern for rebuilding of
expressions.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors can
traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors
can traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern so that client visitors can
traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors can
traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern for rebuilding of
expressions.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern for visiting the abstract
syntax trees representing the code of a particular instruction or subroutine.
accept() method implements one half of the visitor pattern so that client visitors can
traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern so that client visitors can
traverse the syntax tree easily and in an extensible way.
accept() method implements one half of the visitor pattern for rebuilding of
expressions.
add() method allows another probe to be inserted into the multicast set.
add() method performs addition of two abstract values.
add() method adds a new measurement to this set.
add() method adds a new measurement to this set.
addAll() method adds all of the measurements from another measurement structure
to the end of this measurement structure.
addAll() method adds all of the measurements from another measurement structure
to the end of this measurement structure.
addCategory() method adds a help category to the help system.
addCategory() method adds a help category to the help system.
addClass() method adds a short name (alias) for the specified class to the set of
default class names.
addClock() method adds a clock to this clock domain.
addCommandExample() method adds a command example, properly formatted, to
this section.
addDevice() method adds a new internal device to this microcontroller so that it can
be retrieved later with getDevice()
addDevice() method is used by subclasses of Platform to add external
devices that are connected to the microcontroller.
addDevices() method is used to add the external (off-chip) devices to the
platform.
addDevices() method is used to add the external (off-chip) devices to the
platform.
addEdge() method adds an edge between two blocks with a given type.
addEdge() method adds an edge between two blocks.
addEdge() method adds an edge between two states in the state transition graph.
addFrontierState method adds a state to the frontier.
addIOReg() method adds a new IO register with the specified name and address to this
register layout.
addIOReg() method adds a new IO register with the specified name and address to this
register layout.
addIndirectEdge adds an indirect edge between a callsite and possible target.
addIndirectEdges() method adds any indirect edges specified in the "-indirect-edges"
option to the program representation.
addInstance() method adds a mapping between a short name (alias) and an object that is
the instance of the class represented by that short name.
addInstr() method adds an instruction to the end of this basic block.
addListSection() method adds a new section to this help category with the specified
list of help items.
addMonitor() method is called by a Monitor when it attaches itself to this node.
addNode() method adds a node to this synchronization group.
addNode() method adds a node to this synchronization group.
addNode() method adds a node to this synchronization group.
addNode() method adds a node to this synchronization group.
addOptionSection() method adds a new section to this help category with the specified
options.
addRadio() method adds a new radio to this radio model.
addRadio() method adds a new radio to this radio model.
addSection() method adds a new section to this help category with the specified title
and a paragraph that is automatically formatted when printed out.
addSubcategorySection method adds a new section that is a list of subcategories
under this main category.
addToString() method converts a numerical address (represented as a signed 32-bit
integer) and converts it to a string in the format 0xXXXX where 'X' represents a hexadecimal character.
address field stores the address of the instruction that caused the breakpoint.
address field stores the address of the next instruction to be executed after the
timeout.
address field records the address of this label as a byte address.
address field records the address of this label as a byte address.
adjustPeriod() method can be used to adjust the period of synchronization
while the simulation is executing.
advance method advances timesteps through the queue by the specified number of clock
cycles, processing any events.
advance() method advances the time of the clock by the number of cycles.
advance() method advances the channel to the next period.
advanceClock() method advances the clock by the specified number of cycles.
edges field contains a reference to the list of edges (instances of class
Edge) within this control flow graph.
and() method computes the logical bitwise AND of two abstract values.
and() method computes the logical bitwise AND of three abstract values.
areEqual() method tests whether two abstract values are equivalent in the "abstract
value" sense.
areKnown() method tests whether two abstract values each represent a single, fully
known value.
args fields stores a reference to a list of expressions that are evaluated and passed
as arguments to the subroutine.
args fields stores a reference to a list of expressions that are evaluated and passed
as arguments to the subroutine.
avrora.Main did not process.
asConstant() method uses virtual dispatch to avoid a cast.
asInstr() method converts an instruction into an AVR instruction.
asRegister() method uses virtual dispatch to avoid a cast.
BaseInterpreter class represents a base class of the legacy interpreter and the generated
interpreter(s) that stores the state of the executing program, e.g. registers and flags, etc.BaseInterpreter class initializes the node's flash,
SRAM, general purpose registers, IO registers, and loads the program onto the flash.
ErrorReporter class is used to report errors accessing segments.BitExpr class represents an access of an individual bit within a value. BitExpr class simply initializes the references to the expression
and the bit.
BitRangeExpr class represents an expression whose value is the result of extracting a
range of the bits from another expression. BitRangeExpr class simply initializes the references to the
operands of the bit range expression.
BitRangeExpr class simply initializes the references to the
operands of the bit range expression.
BranchCounter class is a profiling probe that can be inserted at a branch instruction to
count the number of times the branch is taken and not taken. base field stores the cycle count of the underlying clock at the last time that this
clock was reset.
begin() method prints a new line with the new status.
beginTransaction() method freezes this list so that further requests for updates
(such as to add or remove objects) are queued until the transaction is completed, which is triggered
by a called to endTransaction().
bit field stores a reference to an expression that when evaluated indicates which bit
to read.
bit field stores a reference to the expression which is evaluated to yield the bit
expr into the element of the map.
bit field stores a reference to the expression that represents the expr of the bit to
assign to.
toString() method converts an 1-bit abstract value to a string representation.
bitsOf() method returns the lower 8 bits (the value bits) of the abstract value,
ignoring the known bit mask.
blocks field contains a reference to a map from Integer to
Block this map is used to lookup the basic block that starts at a particular address.
build() method constructs a new Instr instance with the given operands,
checking the operands against the constraints that are specific to each instruction.
buildBimodalTTM() method builds a transition time matrix
that corresponds to a finite state machine with two modes.
buildInterruptRange() method creates the IO registers and MaskableInterrupt
instances corresponding to a complete range of interrupts.
buildPort() method builds the IO registers corresponding to a general purpose IO port.
buildReachableStateSpace() method starts at the eden state of the analysis,
maintaining a list of frontier states.
buildSparseTTM() method builds a transition time matrix
that is uniform but sparse; the machine can transition from any state to any
other state with the given transition time.
buildUniformTTM() method builds a transition time
matrix that is uniform; the machine can transition from any state to any other
state with the given transition time.
CC1000Radio class is a simulation of the CC1000 radio for use with avrora. Transmit is an event that transmits a packet of data after a one bit period delay.CurrentRegister controls various currents running through the CC1000 wiring.DummyRegister is a filler class for registers within the 7-bit address space of the
radio registers, but do not actually exist/do anything in the real radio.RadioRegister is an abstract register grouping together registers on the CC1000
radio.Receiver, but for the transmitter on the radio.
CFGAction is an Avrora action that allows a control flow graph to be generated and output
to the terminal or to a file.CFGAction class simply creates an empty instance with the
appropriate name and help string.
COMPARATOR field stores a comparator that is used in sorting basic blocks by program
order.
OptionComparator is an implementation of the java.util.Comparator
interface that is used to sort options alphabetically for printing in the help system.
CallExpr class represents a subroutine call within the IR. CallExpr class simply initializes the references to the subroutine
name and arguments.
CallExpr class simply initializes the references to the subroutine
name and arguments.
CallMonitor class implements a monitor that is capable of tracing the call/return behavior
of a program while it executes.CallMonitor class simply initializes the help for this
class.
CallStmt class represents a call to a subroutine that does not produce a value.CallStmt class simply initializes the references to the subroutine
name and arguments.
CallStmt class simply initializes the references to the subroutine
name and arguments.
Channel class implements a serial channel that represents a communication
channel where bits are sent one by one. ClassGenerator class generates a set of classes that represent instructions in an
architecture. ClassMap is a class that maps short names (i.e. short, lower case strings) to java classes
and can instantiate them. ClassMap class creates a new class map with the specified type,
which maps strings to instances of the specified class.
ClassMapValueItem is a help item representing one possible value
for an option, where the value of the option is used to access a class map. ClassMapValueItem class creates a new instance of
a help item for the specified option and value.
Clock class represents a clock within the simulation. ClockDomain class represents a collection of clocks for a device or platform,
including the main clock used for the microcontroller.ClockDomain class constructs the main clock (from which
all other clocks are derived).
ClockPrescaler class represents a clock that is another clock scaled appropriately; e.g.
8x slower.ClockPrescaler creates a new clock that is an integer multiple
slower than the clock that it is derived from.
CodeVisitor interface represents a visitor that is more specific than the
ExprVisitor visitor, in that it contains visit methods for every type of arithmetic and
logical operation in the IR.DepthFirst class is a base implementation of the CodeVisitor interface
that visits the tree in depth-first order.CodeRegion class represents a piece of code that has external inputs. CodeSegment class represents a segment of memory that stores executable
code. CodeSegment class creates a new code segment, complete
with binary and instruction representations.
CodeSharer interface is used to allow sharing of the underlying array
representing the code. DefaultFactory class represents a factory capable of creating a simple code segment
that is not reprogrammable.CodeSegment.Factory class is used to create a new code segment for a new interpreter.CodeVisitor interface represents a visitor that is more specific than the
ExprVisitor visitor, in that it contains visit methods for every type of arithmetic and
logical operation in the IR.DepthFirst class is a base implementation of the CodeVisitor interface
that visits the tree in depth-first order.DepthFirst class is a base implementation of the CodeVisitor interface
that visits the tree in depth-first order.Context interface represents a context in which an expression in a program should be
evaluated. ControlFlowGraph represents a control flow graph for an entire program, including all
basic blocks and all procedures.Block class represents a basic block of code within the program. Edge represents an edge leaving a basic block and (optionally) arriving at another,
known basic block. MapExpr class represents an expression that is an access of an element within a map.MapExpr class initializes the publicly accessable fields that
represent the members of this expression
MapExpr class initializes the publicly accessable fields that
represent the members of this expression
Counter class is a utility for profiling programs. call() method is called by the abstract interpreter when it encounters a call
instruction within the program.
call() method is called by the abstract interpreter when it encounters a call
instruction within the program.
canon() method canonicalizes an abstract value.
canon() method canonicalizes an abstract value.
caseSensitive field controls whether label searching is case sensitive or not.
ceiling() function computes the concrete value with all unknown bits set to one.
ceiling() function computes the concrete value with all unknown bits set to one.
checkAddress() method simply checks an address against the bounds of the program and
throws an error if the address is not within the bounds.
classMap field is a hash map that maps a string to a Java class.
clazz field stores a reference to the Java class of which the objects stored in this
map are instances of.
clock field stores a reference to the main clock of the simulator.
clock field stores a reference to the MainClock instance that tracks the
clock cycles that have passed for this simulator.
name field stores a reference to the name of the local.
commit field stores the commit number (i.e. the number of code revisions committed to
CVS since the last release).
commit() method is used internally to commit the results of the instructiobn just executed.
commonMask() method computes the intersection of the known bit masks of two abstract
values.
commonMask() method computes the intersection of the known bit masks of three abstract
values.
computeNextStates() method computes the possible next states that follow the given
immutable old state and then will push them to the AnalyzerPolicy instance that was passed
in the constructor to this interpreter instance.
cond field stores a reference to the expression that is evaluated as the condition
determining which branch is executed.
connect() method will connect this pin to the specified input.
connect() method will connect this pin to the specified output.
connect() method connects this SPI device to the specified SPIDevice.
connectADCInput() method connects an ADCInput object to the specified
input port on the ADC chip.
contains() method tests for membership.
contents field stores a string that represents a summary of the registers that are
in this set.
copy() method returns a deep copy of this state.
couldBeEqual() method performs a "fuzzy" equality test between two abstract values.
couldBeZero method performs a "fuzzy" equality test against zero for an abstract
value.
couldBeZero() method performs a "fuzzy" equality test against zero for two abstract
values.
count field stores the total number of cycles that this queue has been advanced, i.e.
count field stores the accumulation of all events received by this counter.
createNode() method creates a new node in the simulation with the specified
platform, with the specified program loaded onto it.
cycles field stores the minimum number of cycles required to invoke this
instruction.
cycles: number of cycles spend in this procedure
cyclesConsumed field stores the number of cycles consumed in doing a part of the
simulation (e.g. executing an instruction or processing an interrupt).
cyclesToMillis() method converts the specified number of cycles to a time quantity in
milliseconds.
cyclesToMillis() method converts the specified number of cycles to a time quantity in
milliseconds.
DBBCAction class contains a simple test action where a program can be loaded
and compiled to Java source by the DBBC and that source is output on the console. DEFAULT_VALUE field stores the default value that is used to
initialize the flash memory.
DeclStmt represents a declaration of a local, temporary value in the IR. DeclStmt class initializes the references to the name, type, and
initial value of the declared local.
DeclStmt class initializes the references to the name, type, and
initial value of the declared local.
DeclStmt class initializes the references to the name, type, and
initial value of the declared local.
DefaultPlatform class represents the simplest type of platform, a microcontroller
with no externally connected devices. DefaultPlatform.Factory class implements a factory for a default platform. DefaultPlatform.Factory class accepts three parameters: the
speed of the main clock, the speed of the external clock, and the microcontroller factory for
this platform
Defaults class contains the default mappings for microcontrollers, actions,
input formats, constants, etc.DeltaQueue class implements an amortized constant time delta-queue for processing of
scheduled events. DerivedClock class represents a clock that is derived from another clock; i.e. the derived
clock runs slower but is synchronized with the clock that it is derived from. DerivedClock creates a new clock with the specified name, driven by
the specified clock, with the specified clockrate.
DisassembleAction class represents an action that allows the user to disassemble
a binary file and display the instructions. Disassembler class is (partially) generated from the instruction set description. InvalidInstruction class represents an exception generated by the disassembler when it is given
a machine code instruction that does not correspond to a well-formed instruction.SimulatorTestHarness implements a test harness that interfaces the
avrora.test.AutomatedTester in order to automate testing of the AVR parser and simulator.data_end field records the address following the highest address in the program with
declared, labelled memory in the data segment.
data_start field records the lowest address of declared, labelled memory in the data
segment.
decrement() method simply subtracts 1 to the abstract value.
default_high field stores the default (initial) high value for this option.
default_low field stores the default (initial) low value for this option.
defvalue field stores the default (initial) value for this option.
defvalue field stores the default (initial) value for this option.
defvalue field stores the default (initial) value for this option.
defvalue field stores the default (initial) value for this option.
delay() method is used to add some delay cycles before the next instruction is executed.
delay() method introduces a delay in the execution of the instructions of the program.
delayCycles field tracks the number of cycles that the microcontroller is delayed.
description field stores a reference to the string that represents the help item for
this option.
disableInput() method is called by the simulator when the program changes the
direction of the pin.
disableInterrupts() method disables all of the interrupts.
disableOutput() method is called by the simulator when the program changes the
direction of the pin.
disassemble() method disassembles a single instruction from binary code.
distrib field stores an array that records the number of occurrences for each value in
the distribution.
distribMin field stores the value corresponding to expr 0 in the distrib
array.
distribname field stores the string that should be reported as the name of the
distribution, e.g.
divider stores the number of cycles of the underlying clock are equivalent to one
cycle of this clock.
divider stores a the ration between the clockspeed of the drive clock and the
clockspeed of this clock.
driveClock field stores a reference to the clock that the prescaler is derived from.
driveClock field stores a reference to the clock that is underlying this derived
clock.
dup() method takes a character and a count and returns a string where that character
has been duplicated the specified number of times.
EncodingDecl class represents the encoding of an instruction in machine code, describing
how to encode the mnemonic and operands into binary and vice versa.EnergyProfiler class is a monitor that tracks the power consumption of the cpu
instructions. EnergyProfiler class builds a new MonitorFactory
capable of creating monitors for each Simulator instance passed to the
newMonitor() method.
EnergyProfiler class is a monitor that tracks the power consumption of the cpu
instructions. ErrorReporter is the super class of all error reporters in Avrora. Expr class represents an expression in the IR. Expr class represents an expression within the program that must be evaluated to a value.
BinOp class represents a simple binary arithmetic operator such as addition,
multiplication, etc. CharLiteral class represents a character literal in the program that can be used as an
integer value.Constant class represents a integer literal (a constant) within the program.Func class represents a builtin function that is applied to an operand. RelativeAddress class represents an expression that is derived from the addition (or
subtraction) of a constant to the current byte address. StringLiteral class represents a string literal within the program. Term class is a superclass for all expressions that consist of a single lexical
token.UnOp class represents an expression that is a single operand with a unary operation
applied to it. Variable class represents a variable reference within the program.ExprList class represents a list of expressions within the program. ExprVisitor interface is part of the visitor pattern for expressions within the program.
DepthFirst class is a base implementation of the ExprVisitor interface
that visits the tree in depth-first order.ExternalFlash class implements the necessary functionality of the
Atmega Dataflash interface to use the Mica2 DataFlash
This device requires use of the following pins:
PA3 - Flash Cable Seclect
PD2 - USART1_RXD
PD3 - USART1_TXD
PD5 - USART1_CLKeeprom_end field records the address following the highest address in the program with
declared, labelled memory in the eeprom segment.
eeprom_size field stores the size of the EEPROM on this microcontroller.
eeprom_start field records the lowest address of declared, labelled memory in the
eeprom segment.
embed() method simply adds parentheses around a string.
enableInput() method is called by the simulator when the program changes the
direction of the pin.
enableInterrupts() method enables all of the interrupts.
enableOutput() method is called by the simulator when the program changes the
direction of the pin.
enabled field is true when this printer is enabled.
encode() method translates an assembly instruction into
a sequence of bytes and writes them into an array.
endTransaction() method unlocks this list from the transaction and will process
any queued adds or removes in order from the time the beginTransaction() method was called.
entry_addr field stores the address that enables the per-instruction calling
of the probe passed in the constructor.
equals() method computes object equality for basic blocks.
equals() method compares this location against another object.
equals() method compares this location against another object.
equals() method implements the standard java.lang.Object equality testing
contract.
error() method simply prints out "ERROR" in a stylized fashion was well as the time since
the last begin() call.
error() method simply prints out an error string in a stylized fashion was well as the time since
the last begin() call.
error() method simply prints out "ERROR" in a stylized fashion was well as the time since
the last begin() call, and then reports the exception.
error() method simply prints out "ERROR" in a stylized fashion was well as the time since
the last begin() call, and then reports the exception.
evaluate() method computes the value of the expression in this context and returns
its value.
evaluate() method computes the value of the expression in this context and returns
its value.
evaluate() method computes the value of the expression in this context and returns
its value.
evaluate() method computes the value of the expression in this context and returns
its value.
evaluate() method computes the value of the expression in this context and returns
its value.
evaluate() method computes the value of the expression in this context and returns
its value.
evaluate() method computes the value of the expression in this context and returns
its value.
evaluate() method computes the value of the expression in this context and returns
its value.
evaluate() method computes the value of the expression in this context and returns its
value.
eventQueue field stores a reference to the event queue for this node.
exceptionWatch stores a reference to a MulticastExceptionWatch
that contains all of the exception watches currently registered.
exit_addr field stores the address that disables the per-instruction calling
of the probe passed when the nesting level reaches zero.
expr field stores a reference to the expression whose result is assigned to the left
hand side.
expr field stores a reference to the expression whose value the bit will be extracted
from.
expr field stores a references to the expression which is evaluated to yield the expr
into the map.
expr field stores a reference to the expression that is evaluated and returned to the
caller.
FALSE field represents the abstract bit that is known to be false.
FileMarkingTokenManager is a subclass of the TokenManager for the Atmel parser that marks
each token that is seen with the name of the file that it came from. FileMarkingTokenManager is a subclass of the TokenManager for the Atmel parser that marks
each token that is seen with the name of the file that it came from. FileMarkingTokenManager is a subclass of the TokenManager for the Atmel parser that marks
each token that is seen with the name of the file that it came from. FiniteStateMachine class represents a model of a finite state machine that
allows probing and monitoring the state of a device.FiniteStateMachine class creates a new finite state machine with
the number of states corresponding to the length of the array containing the names of the states.
FiniteStateMachine class creates a new finite state machine with
the number of states corresponding to the length of the array containing the names of the states.
Probe interface allows observation of the state changes of a finite
state machine. State class represents a state of the finite state machine, including its
name as a String, the transition time to each of the other states, and a list of any
probes attached to this state.TransitionEvent class is used internally by the finite state machine for transitions
that take 1 more more clock cycles. factory field stores a reference to the InterpreterFactory which
should be used to build an interpreter for this simulator.
failure() method is a utility that constructs a
InternalError instance with the specified message.
falseBranch field stores a reference to the list of statements to be executed if the
condition is false.
fields field stores a reference to a hashmap that maps from a field name to a representation
of the field.
findMaximalPath() method is a recursive procedure that discovers the maximal weight
path in the state graph.
fire() method is called when the timeout is up.
fire() method is called when the event to which it is tied happens with in the
simulator.
fire() method of this event is called by the individual event queues of each
simulator as they reach this point in time.
fireAfter() method is called after the probed instruction executes.
fireAfter() method is called after the probed instruction executes.
fireAfter() method is called after the probed instruction executes.
fireAfter() method is called after the probed instruction executes.
fireAfter() method is called after the probed instruction executes.
fireAfter() method is called after the probed instruction executes.
fireBefore() method is called before the probed instruction executes.
fireAfterBitRead() method is called after the data address is read by the program.
fireAfterBitRead() method is called after the data address is read by the program.
fireAfterBitRead() method is called after the data address is read by the program.
fireAfterBitWrite() method is called after the data address is written by the
program.
fireAfterBitWrite() method is called after the data address is written by the
program.
fireAfterBitWrite() method is called after the data address is written by the
program.
fireAfterInvoke() method of an interrupt probe will be called by the
simulator after control is transferred to this interrupt handler, i.e. after the current
PC is pushed onto the stack, interrupts are disabled, and the current PC is set to
the start of the interrupt handler.
fireAfterInvoke() method of an interrupt probe will be called by the
simulator after control is transferred to this interrupt handler, i.e. after the current
PC is pushed onto the stack, interrupts are disabled, and the current PC is set to
the start of the interrupt handler.
fireAfterInvoke() method of an interrupt probe will be called by the
simulator after control is transferred to this interrupt handler, i.e. after the current
PC is pushed onto the stack, interrupts are disabled, and the current PC is set to
the start of the interrupt handler.
fireAfterRead() method is called after the data address is read by the program.
fireAfterRead() method is called after the data address is read by the program.
fireAfterRead() method is called after the data address is read by the program.
fireAfterRead() method is called after the probed address is read by the program.
fireAfterRead() method is called after the probed address is read by the program.
fireAfterTransition() method allows the probe to gain control
after the state machine transitions between two states.
fireAfterTransition() method allows the probe to gain control
after the state machine transitions between two states.
fireAfterWrite() method is called after the data address is written by the
program.
fireAfterWrite() method is called after the data address is written by the
program.
fireAfterWrite() method is called after the data address is written by the program.
fireAfterWrite() method is called after the probed address is written by the program.
fireAfterWrite() method is called after the probed address is written by the program.
fireBefore() method is called before the probed instruction executes.
fireBefore() method is called before the probed instruction executes.
fireBefore() method is called before the probed instruction executes.
fireBefore() method is called before the probed instruction executes.
fireBefore() method is called before the probed instruction executes.
fireBefore() method is called before the probed instruction executes.
fireBefore() method is called before the probed instruction executes.
fireBefore() method is called before the probed instruction executes.
fireBeforeBitRead() method is called before the data address is read by the program.
fireBeforeBitRead() method is called before the data address is read by the program.
fireBeforeBitRead() method is called before the data address is read by the program.
fireBeforeBitWrite() method is called before the data address is written by the
program.
fireBeforeBitWrite() method is called before the data address is written by the
program.
fireBeforeBitWrite() method is called before the data address is written by the
program.
fireBeforeInvoke() method of an interrupt probe will be called by the
simulator before control is transferred to this interrupt, before the microcontroller
has been woken from its current sleep mode.
fireBeforeInvoke() method of an interrupt probe will be called by the
simulator before control is transferred to this interrupt, before the microcontroller
has been woken from its current sleep mode.
fireBeforeInvoke() method of an interrupt probe will be called by the
simulator before control is transferred to this interrupt, before the microcontroller
has been woken from its current sleep mode.
fireBeforeRead() method is called before the data address is read by the program.
fireBeforeRead() method is called before the data address is read by the program.
fireBeforeRead() method is called before the data address is read by the program.
fireBeforeRead() method is called before the data address is read by the program.
fireBeforeRead() method is called before the probed address is read by the program.
fireBeforeRead() method is called before the probed address is read by the program.
fireBeforeTransition() method allows the probe to gain control
before the state machine transitions between two states.
fireBeforeTransition() method allows the probe to gain control
before the state machine transitions between two states.
fireBeforeWrite() method is called before the data address is written by the
program.
fireBeforeWrite() method is called before the data address is written by the
program.
fireBeforeWrite() method is called before the data address is written by the program.
fireBeforeWrite() method is called before the data address is written by the program.
fireBeforeWrite() method is called before the probed address is written by the
program.
fireBeforeWrite() method is called before the probed address is written by the
program.
fireWhenDisabled() method of an interrupt probe will be called by the
simulator when the interrupt is masked out (disabled) by the program.
fireWhenDisabled() method of an interrupt probe will be called by the
simulator when the interrupt is masked out (disabled) by the program.
fireWhenDisabled() method of an interrupt probe will be called by the
simulator when the interrupt is masked out (disabled) by the program.
fireWhenEnabled() method of an interrupt probe will be called by the
simulator when the interrupt is unmasked (enabled) by the program.
fireWhenEnabled() method of an interrupt probe will be called by the
simulator when the interrupt is unmasked (enabled) by the program.
fireWhenEnabled() method of an interrupt probe will be called by the
simulator when the interrupt is unmasked (enabled) by the program.
fireWhenPosted() method of an interrupt probe will be called by the
simulator when the interrupt is posted.
fireWhenPosted() method of an interrupt probe will be called by the
simulator when the interrupt is posted.
fireWhenPosted() method of an interrupt probe will be called by the
simulator when the interrupt is posted.
fireWhenUnposted() method of an interrupt probe will be called by the
simulator when the interrupt is unposted.
fireWhenUnposted() method of an interrupt probe will be called by the
simulator when the interrupt is unposted.
fireWhenUnposted() method of an interrupt probe will be called by the
simulator when the interrupt is unposted.
flash_data field stores a reference to the array that contains the raw data (bytes) of the
program segment.
flash_instrs field stores a reference to the array that contains the instruction
representations of the program segment.
flash_size field stores the size of the code segment (flash) on this microcontroller.
floor() function computes the concrete value with all unknown bits set to zero.
floor() function computes the concrete value with all unknown bits set to zero.
forceInterrupt() method forces the simulator to post the specified interrupt
regardless of the normal source of the interrupt.
freeEventLists field stores a reference to any free event links that have become
unused during the processing of events.
freeLinks field stores a reference to any free links that have become unused during
the processing of events.
GASProgramReader is an implementation of the ProgramReader that reads a
source program in the GAS-style syntax and builds a program from it.GDBServer class implements a monitor that can communicate to gdb via
the remote serial protocol (RSP). GDBServer class simply creates a new instance that
is capable of creating monitors for simulators.
GDBMonitor class implements a monitor that can interactively debug
a program that is running in Avrora. BreakpointProbe is a probe inserted at a breakpoint that calls
the commandLoop() method before the target instruction is executed, thus
implementing a breakpoint.ExceptionWatch halts execution and signals GDB when an exceptional event occurs.StartupProbe is a probe inserted at the beginning of the program that
will stop the simulation in order to wait for GDB to connect to Avrora.StepProbe class implements a probe that is used to step by a single
instruction. VisualAction class serves as an action that creates an initializes a GUI
for Avrora.GenInterpreter class is largely generated from the instruction specification. Interpreter class builds the internal data structures needed to
store the complete state of the machine, including registers, IO registers, the SRAM, and the flash.
Factory() class implements an interpreter factory that can create
a new interpreter for a new simulator instance with the given program.get() method simply retrieves the value of a byte at a particular location in the
segment.
get() method retrieves the singleton instance of the system clock.
get() method returns the current value of the option.
get() method returns the current value of the option.
get() method returns the current value of the option.
get() method returns the current value of the option.
get() method returns the current value of the option.
getAction() method gets the action corresponding to the given name
represented as a string.
getActionList() method returns a list of aliases for actions sorted
alphabetically.
getAddress() method gets the starting byte address of this basic block.
getAddress() method translates a source level name into a machine-code level
address.
getAddress() method translates a source level name into a machine-code level
address.
getBit() method extracts the specified abstract bit from the specified abstract
value.
getBitField() method reads a bit field from a value where the bits of the field
are not consecutive or in order.
getBitWidth() method gets the number of bits needed to represent this value.
getBitWidth() method gets the number of bits needed to represent this value.
getBitWidth() method gets the number of bits needed to represent this value.
getBitWidth() method returns the known bit size of this expression which is needed
in computing the size of an encoding.
getBlockContaining() method looks up the basic block that contains the address
specified.
getBlockIterator() method constructs an interator over all of the blocks in the
control flow graph, regardless of connectivity.
getBlockStartingAt() method looks up a basic block based on its starting address.
getCFG() method returns a reference to the control flow graph of the program.
getCachedState() method looks for the a cached, immutable state that corresponds to
the given mutable state.
getCategory() method gets a help category for the specified short name.
getClass() method gets the Java class representing the class returned for a given
short name.
getClock() method gets the underlying clock driving the device.
getClock() method gets a reference to the Clock that this
simulator is driving.
getClock() method looks for a clock with the specified name in this clock
domain.
getClock() method gets a reference to a specific clock on this device.
getClockDomain() method gets a reference to the ClockDomain instance for
this node that contains the main clock and any derived clocks for this microcontroller.
getClockDomain() method returns the clock domain for this microcontroller.
getCompiledBlock() method instructs the DBBC to compile the basic block that begins at
the specified byte address.
getCount() method returns the number of clock cycles (ticks) that have elapsed for
this clock.
getCount() method returns the number of clock cycles (ticks) that have elapsed for
this clock.
getCount() gets the total cumulative count of all the advance() calls on
this delta queue.
getCount() method returns the total count of clock ticks that have happened for this
clock.
getCount() method returns the number of clock cycles (ticks) that have elapsed for
this clock.
getCount() method returns the number of clock cycles (ticks) that have elapsed for
this clock.
getCurrentState() method returns an integer that represents the state that the machine
is currently in.
getCurrentStateName() method retrieves the name for the current state.
getCycles() method returns the number of cylces consumed by the instruction in the
default case.
getCycles() method returns the clock cycle count recorded so far in the simulation.
getCycles() method returns the clock cycle count recorded so far in the simulation.
getDataByte() method reads a byte value from the data memory (SRAM) at the specified
address.
getDataByte() method reads a byte value from the data memory (SRAM) at the specified
address.
getDataByte() method reads a byte value from the data memory (SRAM) at the specified
address.
getDevice() method is used to get a reference to an internal device with the given name.
getDevice() method looks up a device attached to this platform.
getEdenState() method gets the starting state of the abstract interpretation.
getEdgeIterator() method returns an interator over all edges between all blocks within
this control flow graph.
getEnabledInterrupts() method returns a long integer that represents a bit map
of which interrupts are currently enabled, meaning not masked out.
getFSM() method gets a reference to the finite state machine that represents
the sleep modes of the MCU.
getFSM() method returns the FiniteStateMachine instance corresponding
to this LED.
getField() gets an object that represents an entire field which
may be stored across multiple registers in multiple bit fields.
getFiniteStateMachine() method gets a reference to the finite state
machine that represents this radio's state.
getFiniteStateMachine() method gets a reference to the finite state
machine that represents this radio's state.
getFirstEventDelta() method returns the number of clock cycles until
the first event in the event queue will fire.
getFirstEventDelta() method returns the number of clock cycles until
the first event in the event queue will fire.
getHeadDelta() method gets the number of clock cycles until the first event will
fire.
getFlag_C() method returns the current value of the C bit in the status register as a
boolean.
getFlag_C() method returns the current value of the C bit in the status register as a
boolean.
getFlag_C() method returns the abstract value of the C flag.
getFlag_H() method returns the current value of the H bit in the status register as a
boolean.
getFlag_H() method returns the current value of the H bit in the status register as a
boolean.
getFlag_H() method returns the abstract value of the H flag.
getFlag_I() method returns the current value of the I bit in the status register as a
boolean.
getFlag_I() method returns the current value of the I bit in the status register as a
boolean.
getFlag_I() method returns the abstract value of the I flag.
getFlag_N() method returns the current value of the N bit in the status register as a
boolean.
getFlag_N() method returns the current value of the N bit in the status register as a
boolean.
getFlag_N() method returns the abstract value of the N flag.
getFlag_S() method returns the current value of the S bit in the status register as a
boolean.
getFlag_S() method returns the current value of the S bit in the status register as a
boolean.
getFlag_S() method returns the abstract value of the S flag.
getFlag_T() method returns the current value of the T bit in the status register as a
boolean.
getFlag_T() method returns the current value of the T bit in the status register as a
boolean.
getFlag_T() method returns the abstract value of the T flag.
getFlag_V() method returns the current value of the V bit in the status register as a
boolean.
getFlag_V() method returns the current value of the V bit in the status register as a
boolean.
getFlag_V() method returns the abstract value of the V flag.
getFlag_Z() method returns the current value of the Z bit in the status register as a
boolean.
getFlag_Z() method returns the current value of the Z bit in the status register as a
boolean.
getFlag_Z() method returns the abstract value of the Z flag.
getHZ() method returns the number of cycles per second at which this clock runs.
getHZ() method returns the number of cycles per second at which this hardware device
is designed to run.
getHZ() method returns the number of cycles per second at which this hardware device
is designed to run.
getHelp() method returns a help string for this help item.
getHelp() method returns a string representing help for this help item.
getHelp() method returns a string that is suitable to being formatted into
a single paragraph.
getHelp() method returns the help string of the underlying help category.
getHelp() method returns a help string for this help item.
getHigh() method returns the current highest value of the interval for this
option.
getID() method simply returns this node's unique ID.
getIOReg() method is used to retrieve a reference to the actual IOReg
instance stored internally in the state.
getIOReg() method is used to retrieve a reference to the actual IOReg
instance stored internally in the state.
getIOReg() method is used to retrieve a reference to the actual IOReg
instance stored internally in the state.
getIOReg() method gets a reference to the active register currently installed for
the specified name.
getIOReg() method retrieves the IO register number for the given IO
Register name for this microcontroller.
getIOReg() method retrieves the IO register number for the given IO
Register name for this microcontroller.
getIORegName() method returns the name of the IO register specified by
the given number.
getIORegisterByte() method reads the abstract value of an IO register from the
abstract state.
getIORegisterByte() method reads the value of an IO register.
getIORegisterByte() method reads the value of an IO register.
getIORegisterByte() method reads the value of an IO register.
getIndirectEdges returns a list of integers representing the possible target program
locations for a given callsite.
getInstr() can be used to retrieve a reference to the Instr object
representing the instruction at the specified program address.
getInstr() can be used to retrieve a reference to the Instr object
representing the instruction at the specified program address.
getInstr() method reads an Instr from the specified address in
the flash.
getInstr() can be used to retrieve a reference to the Instr object
representing the instruction at the specified program address.
getInstrIterator() method returns an iterator over the instructions in this basic
block.
getInstrSize() method reads the size of the instruction at the given program address.
getInterpreter() method returns the interpreter that is currently attached
to this simulator.
getInterrupt() method retrieves the interrupt number for the given interrupt
name for this microcontroller
getInterruptBase() method returns the base address of the interrupt table.
getInterruptName() method returns the name of an interrupt specified by
the given number.
getInterruptTable() method gets a reference to the interrupt table,
which contains information about each interrupt, such as whether it is enabled, posted,
pending, etc.
getInterruptTable() method returns a reference to the interrupt table for this
interpreter.
getInterruptTable() method gets a reference to the interrupt table,
which contains information about each interrupt, such as whether it is enabled, posted,
pending, etc.
getInterruptVectorAddress() method computes the location in memory to jump to for the
given interrupt number.
getIterator() method returns an interator over all of the key values (short
names or aliases) of this class map.
getLabel() method searches for a label with a given name within the program, in any
section.
getLastAddress() gets the last address that this block covers.
getLastTime() method returns the time when the last measurement was recorded.
getLeftMostToken() method gets the first token associated with the abstract syntax
tree node.
getLength() returns the length of this basic block in terms of the number of
instructions
getLocation() method retrieves an object that represents a location for the given name,
if the name exists in the program.
- getLocation(String) -
Method in class avrora.core.SourceMapping
-
- getLocationList(Program, List) -
Static method in class avrora.actions.SimAction
- The
getLocationList() method is to used to parse a list of program locations and turn them
into a list of Main.Location instances.
- getLow() -
Method in class avrora.util.Option.Interval
- The
getLow() method returns the current lowest value of the interval for this option.
- getMainCategories() -
Static method in class avrora.Defaults
-
- getMainClock() -
Method in class avrora.sim.BaseInterpreter
- The
getMainClock() method returns a reference to the main clock for this interpreter.
- getMainClock() -
Method in class avrora.sim.clock.ClockDomain
- The
getMainClock() method returns the main clock for this clock domain.
- getMapRep(String) -
Method in class avrora.core.isdl.gen.InterpreterGenerator
-
- getMapRep(String) -
Method in class avrora.core.isdl.gen.PrettyPrinter
-
- getMaxZoom() -
Method in class avrora.gui.TimeScale
-
- getMessage() -
Method in class avrora.core.isdl.parser.ParseException
- This method has the standard behavior when this object has been created using the standard
constructors.
- getMessage() -
Method in class avrora.core.isdl.parser.TokenMgrError
- You can also modify the body of this method to customize your error messages.
- getMessage() -
Method in class avrora.syntax.atmel.ParseException
- This method has the standard behavior when this object has been created using the standard
constructors.
- getMessage() -
Method in class avrora.syntax.atmel.TokenMgrError
- You can also modify the body of this method to customize your error messages.
- getMessage() -
Method in class avrora.syntax.gas.ParseException
- This method has the standard behavior when this object has been created using the standard
constructors.
- getMessage() -
Method in class avrora.syntax.gas.TokenMgrError
- You can also modify the body of this method to customize your error messages.
- getMessage() -
Method in class avrora.syntax.objdump.ParseException
- This method has the standard behavior when this object has been created using the standard
constructors.
- getMessage() -
Method in class avrora.syntax.objdump.TokenMgrError
- You can also modify the body of this method to customize your error messages.
- getMessage() -
Method in class avrora.test.probes.ParseException
- This method has the standard behavior when this object has been
created using the standard constructors.
- getMessage() -
Method in class avrora.test.probes.TokenMgrError
- You can also modify the body of this method to customize your error messages.
- getMethod(String) -
Method in class avrora.core.isdl.gen.PrettyPrinter
-
- getMethod(String) -
Method in class avrora.sim.dbbc.DBBC.CodeGenerator
-
- getMicrocontroller(String) -
Static method in class avrora.Defaults
- The
getMicrocontroller() method gets the microcontroller factory corresponding
to the given name represented as a string.
- getMicrocontroller() -
Method in class avrora.sim.Simulator
- The
getMicrocontroller() method gets a reference to the microcontroller being simulated.
- getMicrocontroller() -
Method in class avrora.sim.platform.Platform
- The
getMicrocontroller() method returns a reference to the microcontroller that is driving
this platform.
- getMode() -
Method in class avrora.sim.mcu.AtmelMicrocontroller
- The
getMode() method returns the current sleep mode of the MCU.
- getMode() -
Method in interface avrora.sim.mcu.Microcontroller
- Deprecated. this method should no longer be used; eventually this state information should be exposed
through a FiniteStateMachine object
- getModeAmpere(int) -
Method in class avrora.sim.energy.Energy
- get the current draw of a mode
- getModeName(int) -
Method in class avrora.sim.energy.Energy
- get the name of a mode
- getModeName() -
Method in class avrora.sim.mcu.AtmelMicrocontroller
- get the name of the current mode
- getModeName() -
Method in interface avrora.sim.mcu.Microcontroller
- Deprecated. this method should no longer be used; eventually this state information should be exposed
through a FiniteStateMachine object
- getModeNumber() -
Method in class avrora.sim.energy.Energy
- get the number of modes of this device
- getModule() -
Method in class avrora.syntax.Module.Seg
-
- getMonitor(String) -
Static method in class avrora.Defaults
- The
getMonitor() method gets the monitor corresponding to the given name
represented as a string.
- getMonitor(String) -
Static method in class avrora.gui.GUIDefaults
-
- getMonitorList() -
Method in class avrora.gui.AvroraGui
- Gets all monitors attached to the simulator.
- getMonitorList() -
Static method in class avrora.gui.GUIDefaults
-
- getMonitors() -
Method in class avrora.sim.Simulation.Node
- The
getMonitors() method gets a list of monitors that are attached to this node.
- getName() -
Method in class avrora.core.Instr
- The
getName() method returns the name of the instruction as a string.
- getName() -
Method in interface avrora.core.InstrPrototype
- The
getName() method returns the name of the instruction as a string.
- getName(int) -
Method in class avrora.core.LabelMapping
- The
getName() method translates a code address into a name that is more useful to
the user, such as a label.
- getName() -
Method in class avrora.core.LoadableProgram
- The
getName() method returns the name of the program, i.e. the name of the file
containing the program.
- getName() -
Method in class avrora.core.Register
- The
getName() method returns the name of the instruction as a string.
- getName(int) -
Method in class avrora.core.SourceMapping
- The
getName() method translates a code address into a name that is more useful to
the user, such as a label, a location in a method, a location in a module and the source line, etc.
- getName() -
Method in class avrora.sim.clock.Clock
- The
getName() method returns the name of this clock source.
- getName() -
Method in class avrora.sim.energy.Energy
- get the device name
- getName() -
Method in class avrora.syntax.Module.Seg
-
- getName() -
Method in class avrora.util.Option
- The
getName() method returns the string name of the option.
- getName() -
Method in class avrora.util.help.HelpCategory
- The
getName() method returns the short name for this help category.
- getName() -
Method in class avrora.util.profiling.DataItem
-
- getNeighbors() -
Method in class avrora.sim.radio.freespace.LocalAirImpl
- tell me, who is around
- getNextFrontierState() -
Method in class avrora.stack.StateTransitionGraph
- The
getNextFrontierState() chooses a state off of the state frontier, removes it from the
state frontier, and returns it.
- getNextPC(int) -
Method in class avrora.core.Program
- The
getNextPC() method computes the program counter value of the next instruction
following the instruction referenced by the given program counter value.
- getNextToken() -
Method in class avrora.core.isdl.parser.ISDLParser
-
- getNextToken() -
Method in class avrora.core.isdl.parser.ISDLParserTokenManager
-
- getNextToken() -
Method in class avrora.core.isdl.parser.Token
-
- getNextToken() -
Method in class avrora.syntax.AbstractToken
-
- getNextToken() -
Method in class avrora.syntax.atmel.AtmelParser
-
- getNextToken() -
Method in class avrora.syntax.atmel.AtmelParserTokenManager
-
- getNextToken() -
Method in class avrora.syntax.atmel.Token
-
- getNextToken() -
Method in class avrora.syntax.gas.GASParser
-
- getNextToken() -
Method in class avrora.syntax.gas.GASParserTokenManager
-
- getNextToken() -
Method in class avrora.syntax.gas.Token
-
- getNextToken() -
Method in class avrora.syntax.objdump.ObjDumpParser
-
- getNextToken() -
Method in class avrora.syntax.objdump.ObjDumpParserTokenManager
-
- getNextToken() -
Method in class avrora.syntax.objdump.Token
-
- getNextToken() -
Method in class avrora.test.probes.ProbeParser
-
- getNextToken() -
Method in class avrora.test.probes.ProbeParserTokenManager
-
- getNode(int) -
Method in class avrora.sim.Simulation
- The
getNode() method gets a reference to the node with the specified id number.
- getNode() -
Method in class avrora.sim.SimulatorThread
- The
getNode() method gets a reference to the Simulation.Node that this
simulator thread is simulating.
- getNodeIterator() -
Method in class avrora.sim.Simulation
- The
getNodeIterator() method returns an iterator over all of the nodes of the simulation.
- getNodeName() -
Method in class avrora.sim.radio.freespace.Position
- get node name
- getNumber() -
Method in class avrora.core.Register
- The
getNumber() method returns the "number" of this register, meaning the offset into the
register file.
- getNumberOfInterrupts() -
Method in class avrora.sim.InterruptTable
- The
getNumberOfInterrupts() method returns the number of interrupts in this interrupt table.
- getNumberOfNodes() -
Method in class avrora.sim.Simulation
- The
getNumberOfNodes() method returns the number of nodes in this simulation.
- getNumberOfStates() -
Method in class avrora.sim.FiniteStateMachine
- The
getNumberOfStates() method returns the total number of states that this machine
has.
- getObjectOfClass(String) -
Method in class avrora.util.ClassMap
- The
getObjectOfClass() method looks up the string name of the class in the alias map
first, and if not found, attempts to load the class using Class.forName() and instantiates
one object.
- getOldAmpere() -
Method in class avrora.sim.energy.Energy
- get the current draw of the old mode
- getOldMode() -
Method in class avrora.sim.energy.Energy
- get old mode
- getOperandDecl(String) -
Method in class avrora.core.isdl.Architecture
-
- getOperandDecl() -
Method in class avrora.core.isdl.CodeRegion.Operand
-
- getOperandIterator() -
Method in class avrora.core.isdl.CodeRegion
-
- getOperands() -
Method in class avrora.core.Instr.IMMIMM_class
-
- getOperands() -
Method in class avrora.core.Instr.IMMREG_class
-
- getOperands() -
Method in class avrora.core.Instr.IMMWORD_class
-
- getOperands() -
Method in class avrora.core.Instr.IMM_class
-
- getOperands() -
Method in class avrora.core.Instr.NONE_class
-
- getOperands() -
Method in class avrora.core.Instr.REGIMMREG_class
-
- getOperands() -
Method in class avrora.core.Instr.REGIMM_class
-
- getOperands() -
Method in class avrora.core.Instr.REGREGIMM_class
-
- getOperands() -
Method in class avrora.core.Instr.REGREG_class
-
- getOperands() -
Method in class avrora.core.Instr.REG_class
-
- getOperands() -
Method in class avrora.core.Instr.WORD_class
-
- getOperands() -
Method in class avrora.core.Instr
- The
getOperands() method returns a string representation of the operands of the
instruction.
- getOperands() -
Method in class avrora.core.isdl.CodeRegion
-
- getOperands() -
Method in class avrora.sim.CodeSegment.ProbedInstr
-
- getOperands() -
Method in class avrora.sim.mcu.ReprogrammableCodeSegment.DisassembleInstr
-
- getOption(String) -
Method in class avrora.util.Options
-
- getOptionList() -
Method in class avrora.gui.AvroraGui
- Gets all options for the GUI and simulator.
- getOptionList() -
Static method in class avrora.gui.GUIDefaults
-
- getOptionValue(String) -
Method in class avrora.util.Options
-
- getOptionsPanel() -
Method in class avrora.gui.GraphEvents
- This function creates the actual options panel
that can be displayed.
- getOptionsPanel() -
Method in class avrora.gui.GraphNumbers
- This function returns a panel that has all
the visual options aligned in a column
- getPC() -
Method in class avrora.sim.BaseInterpreter.StateImpl
- The
getPC() retrieves the current program counter.
- getPC() -
Method in class avrora.sim.BaseInterpreter
- The
getPC() retrieves the current program counter.
- getPC() -
Method in interface avrora.sim.State
- The
getPC() retrieves the current program counter.
- getPC() -
Method in class avrora.stack.AbstractState
- The
getPC() method returns the concrete value of the program counter.
- getParam() -
Method in class avrora.Avrora.Error
-
- getPendingInterrupts() -
Method in class avrora.sim.InterruptTable
- The
getPendingInterrupts() method returns a long integer that represents a bit map
of which interrupts are currently pending, meaning they are both posted and enabled.
- getPin(int) -
Method in class avrora.sim.mcu.AtmelMicrocontroller
- The
getPin() method looks up the specified pin by its number and returns a reference to
that pin.
- getPin(String) -
Method in class avrora.sim.mcu.AtmelMicrocontroller
- The
getPin() method looks up the named pin and returns a reference to that pin.
- getPin(String) -
Method in interface avrora.sim.mcu.Microcontroller
- The
getPin() method looks up the named pin and returns a reference to that pin.
- getPin(int) -
Method in interface avrora.sim.mcu.Microcontroller
- The
getPin() method looks up the specified pin by its number and returns a reference to
that pin.
- getPin(String) -
Method in class avrora.sim.mcu.MicrocontrollerProperties
- The
getPin() method retrieves the pin number for the given pin name for this
microcontroller.
- getPinNumber(String) -
Method in class avrora.sim.mcu.AtmelMicrocontroller
- The
getPinNumber() method gets the pin number (according to the pin assignments) for the
pin with the specified name.
- getPinNumber(String) -
Method in interface avrora.sim.mcu.Microcontroller
- The
getPinNumber() method looks up the named pin and returns its number.
- getPlatform(String) -
Static method in class avrora.Defaults
- The
getPlatform() method gets the platform factory corresponding to the
given name represented as a string.
- getPlatform() -
Method in class avrora.sim.Simulation
- The
getPlatform() method is a helper method for extensions of the Simulation
class.
- getPlatform() -
Method in class avrora.sim.mcu.AtmelMicrocontroller
- The
getPlatform() method returns the platform for this microcontroller.
- getPlatform() -
Method in interface avrora.sim.mcu.Microcontroller
- The
getPlatform() method gets a platform instance that contains this microcontroller.
- getPosition() -
Method in class avrora.gui.TimeScale
-
- getPosition() -
Method in class avrora.sim.radio.freespace.LocalAirImpl
- get node position
- getPosition(int) -
Method in class avrora.sim.radio.freespace.Topology
-
- getPostedInterrupts() -
Method in class avrora.sim.InterruptTable
- The
getPostedInterrupts() method returns a long integer that represents a bit map
of which interrupts are currently posted.
- getPower() -
Method in class avrora.sim.radio.CC1000Radio.PA_POWRegister
-
- getPower() -
Method in class avrora.sim.radio.CC1000Radio
- get the transmission power
- getPower() -
Method in interface avrora.sim.radio.Radio
- get the transmission power
- getPrecedence() -
Method in class avrora.core.isdl.ast.Arith.BinOp
- The
getPrecedence() method gets the binding precedence for this expression.
- getPrecedence() -
Method in class avrora.core.isdl.ast.Arith.UnOp
- The
getPrecedence() method gets the binding precedence for this expression.
- getPrecedence() -
Method in class avrora.core.isdl.ast.BitExpr
- The
getPrecedence() method gets the binding precedence for this expression.
- getPrecedence() -
Method in class avrora.core.isdl.ast.BitRangeExpr
- The
getPrecedence() method gets the binding precedence for this expression.
- getPrecedence() -
Method in class avrora.core.isdl.ast.CallExpr
- The
getPrecedence() method gets the binding precedence for this expression.
- getPrecedence() -
Method in class avrora.core.isdl.ast.ConversionExpr
- The
getPrecedence() method gets the binding precedence for this expression.
- getPrecedence() -
Method in class avrora.core.isdl.ast.Expr
- The
getPrecedence() method gets the binding precedence for this expression.
- getPrecedence() -
Method in class avrora.core.isdl.ast.Literal.BoolExpr
-
- getPrecedence() -
Method in class avrora.core.isdl.ast.Literal.IntExpr
-
- getPrecedence() -
Method in class avrora.core.isdl.ast.Logical.BinOp
-
- getPrecedence() -
Method in class avrora.core.isdl.ast.Logical.UnOp
-
- getPrecedence() -
Method in class avrora.core.isdl.ast.MapExpr
- The
getPrecedence() method gets the binding precedence for this expression.
- getPrecedence() -
Method in class avrora.core.isdl.ast.VarExpr
- The
getPrecedence() method gets the binding precedence for this expression.
- getPrinter(String) -
Method in class avrora.sim.Simulator
- The
getPrinter() method returns a Simulator.Printer instance
for the named verbose channel.
- getPriority() -
Method in class avrora.core.isdl.EncodingDecl
-
- getProcedureBlocks(ControlFlowGraph.Block) -
Method in class avrora.core.ProcedureMap
- The
getProcedureBlocks() method returns the collection of basic blocks contained in the
procedure with the specified entrypoint.
- getProcedureContaining(ControlFlowGraph.Block) -
Method in class avrora.core.ProcedureMap
- The
getProcedureContaining() method looks up the entrypoint of the procedure that contains
this basic block.
- getProcedureEntrypoints() -
Method in class avrora.core.ProcedureMap
- The
getProcedureEntrypoints() method returns a collection of basic blocks that are
entrypoints of procedures in the control flow graph.
- getProcedureMap() -
Method in class avrora.core.ControlFlowGraph
- The
getProcedureMap() method returns a reference to a ProcedureMap instance
that maps basic blocks to the procedures in which they are contained
- getProcedureSummary(int) -
Method in class avrora.stack.isea.ISEAnalyzer
-
- getProcedureSummary(int) -
Method in interface avrora.stack.isea.ISEInterpreter.SummaryCache
-
- getProgram() -
Method in class avrora.core.LoadableProgram
- The
getProgram() method gets the current representation of the program stored
in this object.
- getProgram() -
Method in class avrora.core.SourceMapping
- The
getProgram() class returns a reference to the program for which this class
provides source information.
- getProgram() -
Method in class avrora.sim.Simulation.Node
- The
getProgram() method return a reference to the loadable program for this node.
- getProgram() -
Method in class avrora.sim.Simulator
- The
getProgram() method gets a reference to the program that has been loaded onto this
simulator.
- getProgram() -
Method in class avrora.sim.dbbc.DBBC
-
- getProgramByte(int) -
Method in class avrora.sim.BaseInterpreter.StateImpl
- The
getProgramByte() method reads a byte value from the program (Flash) memory.
- getProgramByte(int) -
Method in class avrora.sim.BaseInterpreter
- The
getProgramByte() method reads a byte value from the program (Flash) memory.
- getProgramByte(int) -
Method in interface avrora.sim.State
- The
getProgramByte() method reads a byte value from the program (Flash) memory.
- getProgramLocation(String) -
Method in class avrora.core.Program
- The
getProgramLocation() method will convert the specified string into a program location,
i.e. a location in the program segment.
- getProgramReader(String) -
Static method in class avrora.Defaults
- The
getProgramReader() method gets the program reader corresponding to
the given name represented as a string.
- getProgramReaderList() -
Static method in class avrora.Defaults
- The
getProgramReaderList() method returns a list of aliases for program
readers sorted alphabetically.
- getProperties() -
Method in class avrora.sim.mcu.AtmelMicrocontroller
- The
getProperties() method gets a reference to the microcontroller properties for this
microcontroller instance.
- getProperties() -
Method in interface avrora.sim.mcu.Microcontroller
- The
getProperties() method gets an object that describes the microcontroller
including the size of the RAM, EEPROM, flash, etc.
- getPrototype(String) -
Static method in class avrora.core.InstructionSet
- The
getPrototype() method looks up the prototype for the given instruction name and
returns it.
- getRadio() -
Method in class avrora.sim.radio.freespace.LocalAirImpl
-
- getRandom() -
Method in class avrora.sim.Simulation
- The
getRandom() method returns a reference to a random number generator that is used
in the simulation.
- getReadCount(int, int) -
Method in class avrora.sim.util.MemoryMatrixProfiler
- The
getReadCount() method returns the number of times the specified instruction read the
specified memory address.
- getRegister() -
Method in interface avrora.core.Operand.Register
- The
getRegister() method returns a reference to the register represented
by this operand.
- getRegister(String) -
Method in class avrora.core.isdl.gen.CodemapGenerator.ExprGenerator
-
- getRegister(Register) -
Method in class avrora.stack.isea.ISEInterpreter
-
- getRegister(Register) -
Method in class avrora.stack.isea.ISEState
-
- getRegister(AbstractToken) -
Method in interface avrora.syntax.Context
- The
getRegister() method resolves a register that may have been renamed earlier in the
program.
- getRegister(AbstractToken) -
Method in class avrora.syntax.Module
-
- getRegister() -
Method in class avrora.syntax.SyntacticOperand.Register
-
- getRegisterAV(Register) -
Method in class avrora.stack.AbstractState
- The
getRegisterByte() method reads the abstract value of a register in the abstract
state.
- getRegisterAV(int) -
Method in class avrora.stack.AbstractState
-
- getRegisterByName(String) -
Static method in class avrora.core.Register
- The
getRegisterByName() method retrieves a reference to the Register instance
with the given string name.
- getRegisterByNumber(int) -
Static method in class avrora.core.Register
- The
getRegisterByNumber() method retrieves a reference to the Register
instance with the given offset in the register file.
- getRegisterByte(Register) -
Method in class avrora.sim.BaseInterpreter.StateImpl
- Read a general purpose register's current value as a byte.
- getRegisterByte(Register) -
Method in class avrora.sim.BaseInterpreter
- Read a general purpose register's current value as a byte.
- getRegisterByte(int) -
Method in class avrora.sim.BaseInterpreter
-
- getRegisterByte(Register) -
Method in interface avrora.sim.State
- Read a general purpose register's current value as a byte.
- getRegisterLayout() -
Method in class avrora.sim.mcu.MicrocontrollerProperties
-
- getRegisterLayout() -
Method in class avrora.sim.mcu.RegisterSet
- The
getRegisterLayout() method gets a reference to the register layout object for this
register set.
- getRegisterSet() -
Method in class avrora.sim.mcu.AtmelMicrocontroller
- The
getRegisterSet() method gets a reference to the register set of the microcontroller.
- getRegisterSet() -
Method in interface avrora.sim.mcu.Microcontroller
- The
getRegisterSet() method returns the register set containing all of the IO registers
for this microcontroller.
- getRegisterUnsigned(Register) -
Method in class avrora.sim.BaseInterpreter.StateImpl
- Read a general purpose register's current value as an integer, without any sign extension.
- getRegisterUnsigned(Register) -
Method in class avrora.sim.BaseInterpreter
- Read a general purpose register's current value as an integer, without any sign extension.
- getRegisterUnsigned(int) -
Method in class avrora.sim.BaseInterpreter
- The
getRegisterUnsigned() method reads a register's value (without sign extension)
- getRegisterUnsigned(Register) -
Method in interface avrora.sim.State
- Read a general purpose register's current value as an integer, without any sign extension.
- getRegisterWord(Register) -
Method in class avrora.sim.BaseInterpreter.StateImpl
- Read a general purpose register pair as an unsigned word.
- getRegisterWord(Register) -
Method in class avrora.sim.BaseInterpreter
- Read a general purpose register pair as an unsigned word.
- getRegisterWord(int) -
Method in class avrora.sim.BaseInterpreter
- Read a general purpose register pair as an unsigned word.
- getRegisterWord(Register) -
Method in interface avrora.sim.State
- Read a general purpose register pair as an unsigned word.
- getReturnSummary(int) -
Method in class avrora.stack.isea.ISEAnalyzer
-
- getRightMostToken() -
Method in class avrora.syntax.ASTNode
- The
getRightMostToken() method gets the last token associated with the abstract syntax
tree node.
- getRightMostToken() -
Method in class avrora.syntax.Expr.BinOp
-
- getRightMostToken() -
Method in class avrora.syntax.Expr.Func
-
- getRightMostToken() -
Method in class avrora.syntax.Expr.RelativeAddress
-
- getRightMostToken() -
Method in class avrora.syntax.Expr.Term
-
- getRightMostToken() -
Method in class avrora.syntax.Expr.UnOp
-
- getRightMostToken() -
Method in class avrora.syntax.ExprList
-
- getRightMostToken() -
Method in class avrora.syntax.SyntacticOperand
-
- getSP() -
Method in class avrora.sim.BaseInterpreter.StateImpl
- The
getSP() method reads the current value of the stack pointer.
- getSP() -
Method in class avrora.sim.BaseInterpreter
- The
getSP() method reads the current value of the stack pointer.
- getSP() -
Method in interface avrora.sim.State
- The
getSP() method reads the current value of the stack pointer.
- getSREG() -
Method in class avrora.sim.BaseInterpreter.StateImpl
- The
getSREG() method reads the value of the status register.
- getSREG() -
Method in class avrora.sim.BaseInterpreter
- The
getSREG() method reads the value of the status register.
- getSREG() -
Method in interface avrora.sim.State
- The
getSREG() method reads the value of the status register.
- getSREG() -
Method in class avrora.stack.AbstractState
- The
getSREG() method reads the abstract value of the status register.
- getSREG() -
Method in class avrora.stack.isea.ISEInterpreter
-
- getSREG() -
Method in class avrora.stack.isea.ISEState
-
- getScale() -
Method in class avrora.gui.TimeScale
-
- getScrollBarSize(long) -
Method in class avrora.gui.TimeScale
-
- getShareForName(String) -
Method in class avrora.util.profiling.Proportion
- Search for the counter with the specified string name and return it if it is registered.
- getSimulation(String) -
Static method in class avrora.Defaults
-
- getSimulation() -
Method in class avrora.gui.AvroraGui
- A
Simulation object holds data about the current sim running
- getSimulation() -
Method in class avrora.sim.Simulation.Node
- The
getSimulation() method returns a reference to the simulation instance which this
node is a part of.
- getSimulator() -
Method in class avrora.sim.BaseInterpreter.StateImpl
- The
getSimulator() method returns the simulator associated with this state
instance.
- getSimulator() -
Method in class avrora.sim.BaseInterpreter
- The
getSimulator() method gets a reference to the simulator which encapsulates this
interpreter.
- getSimulator() -
Method in class avrora.sim.Simulation.Node
- The
getSimulator() method returns the simulator instance for this node while it is
executing.
- getSimulator() -
Method in class avrora.sim.SimulatorThread
- The
getSimulator() method gets the Simulator instance that this thread is
bound to.
- getSimulator() -
Method in interface avrora.sim.State
- The
getSimulator() method returns the simulator associated with this state
instance.
- getSimulator() -
Method in class avrora.sim.mcu.AtmelMicrocontroller
- The
getSimulator() method gets a reference to the simulator for this microcontroller instance.
- getSimulator() -
Method in interface avrora.sim.mcu.Microcontroller
- The
getSimulator() method gets a simulator instance that is capable of emulating this
hardware device.
- getSimulator() -
Method in class avrora.sim.radio.CC1000Radio
- Get the
Simulator on which this radio is running.
- getSimulator() -
Method in interface avrora.sim.radio.Radio
- Get the
Simulator on which this radio is running.
- getSingleBitMask(int) -
Static method in class avrora.util.Arithmetic
-
- getSingleInverseBitMask(int) -
Static method in class avrora.util.Arithmetic
-
- getSize() -
Method in class avrora.core.ControlFlowGraph.Block
- The
getSize() method returns the size of the basic block in bytes.
- getSize() -
Method in class avrora.core.Instr
- The
getSize() method returns the size of the instruction in bytes.
- getSize() -
Method in interface avrora.core.InstrPrototype
- The
getSize() method returns the size of the instruction in bytes.
- getSize() -
Method in class avrora.sim.mcu.RegisterSet
- The
getSize() method returns the total number of registers in this register set.
- getSleepMode() -
Method in class avrora.sim.BaseInterpreter.StateImpl
- The
getSleepMode() method returns an integer code describing which sleep mode the
microcontroller is currently in.
- getSleepMode() -
Method in interface avrora.sim.State
- The
getSleepMode() method returns an integer code describing which sleep mode the
microcontroller is currently in.
- getSleepMode() -
Method in class avrora.sim.mcu.ATMega128
-
- getSleepMode() -
Method in class avrora.sim.mcu.ATMega16
-
- getSleepMode() -
Method in class avrora.sim.mcu.ATMega32
-
- getSleepMode() -
Method in class avrora.sim.mcu.AtmelMicrocontroller
-
- getSortedBlockIterator() -
Method in class avrora.core.ControlFlowGraph
- The
getBlockIterator() method constructs an interator over all of the blocks in the
control flow graph, regardless of connectivity.
- getSortedList() -
Method in class avrora.util.ClassMap
- The
getSortedList() method returns a sorted list of the short names (aliases) stored in
this class map.
- getSortedList() -
Static method in class avrora.util.help.HelpSystem
- The
getSortedList() returns a sorted list of all of the help categories.
- getSource() -
Method in class avrora.core.ControlFlowGraph.Edge
- The
getSource() method returns the basic block that is the source of this edge.
- getSourceMapping() -
Method in class avrora.core.Program
-
- getStackByte() -
Method in class avrora.sim.BaseInterpreter.StateImpl
- The
getStackByte() method reads a byte from the address specified by SP+1.
- getStackByte() -
Method in interface avrora.sim.State
- The
getStackByte() method reads a byte from the address specified by SP+1.
- getStartState() -
Method in class avrora.sim.FiniteStateMachine
- The
getStartState() method returns the state in which the machine starts operation.
- getStartTime() -
Method in class avrora.gui.TimeScale
-
- getState() -
Method in class avrora.sim.Simulator
- The
getState() retrieves a reference to the current state of the simulation, including the
values of all registers, the SRAM, the IO register, the program memory, program counter, etc.
- getStateCache() -
Method in class avrora.stack.StateTransitionGraph
- The
getStateCache() method gets the cache of all the states in the state space.
- getStateFor(MutableState) -
Method in class avrora.stack.StateCache
- The
getCachedState() method searches the state cache for an immutable state that
corresponds to the given mutable state.
- getStateIterator() -
Method in class avrora.stack.StateCache
-
- getStateName(int) -
Method in class avrora.sim.FiniteStateMachine
- The
getStateName() method retrieves the name for the specified state.
- getStepSize() -
Method in class avrora.gui.GraphEvents
-
- getSubroutine(String) -
Method in class avrora.core.isdl.Architecture
-
- getSubroutineIterator() -
Method in class avrora.core.isdl.Architecture
-
- getSynchronizer() -
Method in interface avrora.sim.radio.RadioAir
- The
getSynchronizer() method gets the synchronizer for this air
implementation.
- getSynchronizer() -
Method in class avrora.sim.radio.SimpleAir
- The
getSynchronizer() method gets the synchronizer for this air
implementation.
- getSynchronizer() -
Method in class avrora.sim.radio.freespace.FreeSpaceAir
-
- getTarget() -
Method in class avrora.core.ControlFlowGraph.Edge
- The
getTarget() method returns the known target of this control flow graph edge, if it
is known.
- getTestHarness(String) -
Static method in class avrora.Defaults
- The
getTestHarness() method gets the test harness class corresponding to
the given name represented as a string.
- getThread() -
Method in class avrora.sim.Simulation.Node
-
- getToken(int) -
Method in class avrora.core.isdl.parser.ISDLParser
-
- getToken(int) -
Method in class avrora.syntax.atmel.AtmelParser
-
- getToken(int) -
Method in class avrora.syntax.gas.GASParser
-
- getToken(int) -
Method in class avrora.syntax.objdump.ObjDumpParser
-
- getToken(int) -
Method in class avrora.test.probes.ProbeParser
-
- getTotal() -
Method in class avrora.util.profiling.Counter
-
- getTotalConsumedEnergy() -
Method in class avrora.sim.energy.Energy
- get the power consumption of this device
- getTotalCount() -
Method in class avrora.sim.clock.ClockPrescaler
- The
getTotalCount() method returns the total number of clock cycles (ticks) that have
elapsed for this clock.
- getTotalStateCount() -
Method in class avrora.stack.StateCache
- The
getTotalStateCount() method returns the internally recorded number of states created
in this state space.
- getTransitionTime(int, int) -
Method in class avrora.sim.FiniteStateMachine
- The
getTransitionTime() method retrieves the transition time between the two states
specified from the transition time matrix.
- getType() -
Method in class avrora.core.ControlFlowGraph.Edge
- The
getType() method returns the string name of the type of this edge.
- getType() -
Method in class avrora.core.isdl.CodeRegion.Operand
-
- getType() -
Method in class avrora.stack.StateCache.State
-
- getUniqueName() -
Method in class avrora.stack.StateCache.State
- The
getUniqueName() gets a string that uniquely identifies this state.
- getValue() -
Method in interface avrora.core.Operand.Constant
- The
getvalue() method returns the integer value of this constant operand.
- getValue() -
Method in class avrora.syntax.SyntacticOperand.Expr
-
- getValueAsWord() -
Method in interface avrora.core.Operand.Constant
- The
getValueAsWord() method returns the value of this constant operand as
word-aligned; meaning, for addresses, it will divide by 2, but for immediate constants
it will not.
- getValueAsWord() -
Method in class avrora.syntax.SyntacticOperand.Expr
-
- getVariable(Token) -
Method in class avrora.core.isdl.gen.InterpreterGenerator
-
- getVariable(Token) -
Method in class avrora.core.isdl.gen.PrettyPrinter
-
- getVariable(Token) -
Method in class avrora.sim.dbbc.DBBC.CodeGenerator
-
- getVariable(AbstractToken) -
Method in interface avrora.syntax.Context
- The
getVariable() method looks up the value of a named constant within the current
environment and returns its value.
- getVariable(AbstractToken) -
Method in class avrora.syntax.Module
-
- getVariant() -
Method in class avrora.core.Instr
- The
getVariant() method returns the variant name of the instruction as a string.
- getVariant() -
Method in interface avrora.core.InstrPrototype
- The
getVariant() method returns the variant name of the instruction as a string.
- getVerbosePrinter(String) -
Static method in class avrora.util.Verbose
-
- getVersion() -
Static method in class avrora.Version
- The
getVersion() method returns a reference to a Version object
that represents the version of the code base.
- getWidth() -
Method in class avrora.core.Register
- The
getWidth() method returns the width of the register in bits.
- getWriteCount(int, int) -
Method in class avrora.sim.util.MemoryMatrixProfiler
- The
getWriteCount() method returns the number of times the specified instruction wrote the
specified memory address.
- getX(long) -
Method in class avrora.gui.TimeScale
-
- getZoom() -
Method in class avrora.gui.TimeScale
-
- getZoomLevelOption() -
Method in class avrora.gui.GraphNumbers
- This is called to get the visual widget that the user can set step
size with.
- globalMap -
Static variable in class avrora.sim.dbbc.DBBC
-
- globalName -
Variable in class avrora.core.isdl.dep.StateUse.GlobalUse
-
- globalProbe -
Variable in class avrora.sim.BaseInterpreter
- The
globalProbe field stores a reference to a MulticastProbe that contains
all of the probes to be fired before and after the main execution runLoop--i.e. before and after every
instruction.
- globalProbe -
Variable in class avrora.sim.FiniteStateMachine
-
- globalProbe -
Variable in class avrora.sim.InterruptTable
-
- globalTime -
Variable in class avrora.sim.radio.Channel
-
- goal -
Variable in class avrora.sim.clock.IntervalSynchronizer
-
- graph -
Variable in class avrora.gui.VisualStackMonitor.SPMon
-
- graph -
Variable in class avrora.stack.Analyzer
-
HelpCategory class implements a category that provides help from the
command line. HelpCategory class creates a new help category with the specified
short name and the specified default help.
HelpSystem is the global repository for help information, indexing
categories for help, while each category can have sub categories, etc.hasClock() method queries the clock domain whether it contains a particular
named clock.
hasIOReg() method queries whether the IO register exists on this device.
hasIOReg() method simply checks whether this register layout has a register with
the specified name.
hashCode() method computes the hash code of this block.
hashCode() method computes the hash code of this location so that
it can be used in any of the standard collection libraries.
hashCode() computes the hash code of this register so that registers can be inserted
in hashmaps and hashsets.
hashCode() method computes the hash code of this location so that
it can be used in any of the standard collection libraries.
hashCode() method computes an integer hash code for this state.
head field stores a reference to the head of the delta queue, which represents the
event that is nearest in the future.
high field stores the highest value that is allowed for this operand.
high_addr stores the highest address in the range.
high_bit field represents the highest bit in the range to be extracted, inclusive.
high_bit field stores the highest bit of the range of bits being assigned.
high_bit field stores the highest bit of the range of bits being assigned.
hz field stores the rate of this clock in cycles per second.
IORegMonitor is a simple tracing mechanism that allows reads and writes of IO registers
to be displayed to the user as the program performs them.IORegisterConstants interface is used to centralize the numeric values of the IO registers
of the AVR architecture.ISDLAction class implements an action to load an instruction set description from a file
and perform various actions with it, including generating the Instr classes and generating an
interpreter.ISEAAction class implements interprocedural side-effect analysis. ISEAnalyzer class is a static analyzer for machine code. ISEInterpreter class implements an abstract interpreter for intraprocedural
side effect analysis. ISEValue class contains a collection of constants and methods relating to
the abstract values used in intraprocedural side effect analysis.IfStmt class represents a simple branch within the IR. IfStmt class simply initializes the internal fields based on the
parameters.
Inliner class implements a visitor over the code that inlines calls to known subroutines.
Instr class and its descendants represent instructions within the assembly code. Instr class creates a new instruction with the specified
instruction properties.
ImmediateRequired class represents an error in construction of an instance of
Instr where the given operand is expected to be an immediate but is not.InvalidImmediate class represents an error in construction of an instance of
Instr where the given immediate operand is not within the range that is specified by the
instruction set manual. InvalidOperand class represents a runtime error thrown by the constructor of an
instruction or the build method of a prototype when an operand does not meet the
restrictions imposed by the AVR instruction set architecture.InvalidRegister class represents an error in constructing an instance of
Instr where a register operand does not meet the instruction set specification. RegisterRequired class represents an error in construction of an instance of
Instr where the given operand is expected to be a register but is not.WrongNumberOfOperands class represents a runtime error thrown by the
build method of a prototype when the wrong number of operands is passed to build an
instruction.InstrDecl class represents the declaration of an instruction in an instruction set
description language file. InstrDecl class initializes the fields based on the parameters.
InstrProperties represents a grab bag of the properties of an instruction. InstrProperties class simply initializes the final fields of this
class based on the input parameters.
InstrPrototype interface represents an object that is capable of building
Instr instances given an array of Operand instances. InstructionSet class contains static methods that allow the instruction set of the AVR
microcontroller to be accessed from one place.InteractiveMonitor class implements a monitor that allows the user to interact with
the simulation as it is running.CallMonitor class simply initializes the help for this
class.
InterpreterError class is a collection point for all of the error classes that
correspond to errors that can happen during the interpretation of a program.AddressOutOfBoundsException is thrown when the user attempts to access out of
bounds memory through the state interface.NoSuchInstructionException() is thrown when the program attempts to execute
an instruction that does not exist (i.e. a section of the flash that is not initialized).PCAlignmentException is thrown if the program counter somehow becomes misaligned.
PCOutOfBoundsException is thrown when the progrma attempts to execute
an instruction outside the bounds of the flash.InterpreterFactory class represents a factory for creating interpreters. InterpreterGenerator class is a visitor over the code of an instruction declaration or
subroutine that generates the appropriate Java code that implements an interpreter for the architecture.InterpreterGenerator class builds an object capable of generating
the interpreter for a particular architecture that outputs to the specified printer.
InterruptMonitor class implements a monitor that tracks the interrupts
that happen during a simulation. InterruptScheduler class is a testing utility that reads an interrupt schedule
from a file and then posts the interrupts at the appropriate times (according to the schedule)
to the simulator.ScheduledInterrupt class is an event that is inserted into the queue of a simulator.
InterruptTable class encapsulates the functionality relating to handling
the state of the interrupts in the simulation. Notification interface serves a very specific role in simulation;
for device implementations to be notified when an interrupt that a device may have
posted is executed, or when the user forces an interrupt to be notified. SimulatorTestHarness implements a test harness that interfaces the
avrora.test.AutomatedTester in order to automate testing of the AVR parser and simulator.IntervalSynchronizer class implements a global timer among multiple simulators by inserting
periodic events into the queue of each simulator.IntervalSynchronizer class creates a new synchronizer
with the specified period, that will fire the specified event each time all threads meet at
a synchronization point.
SynchEvent class represents an event that is inserted into the event
queue of each simulator at the same global time. Item class represents either an assembler directive, an instruction, or a sequence of
initialized data with a source program.InitializedData item represents a section of programmer-declared initialized data
within the program. Instruction item in a source program represents an instruction that must be simplified
and added to the program. Label item represents a labelled location in the program that is given a name. NamedConstant item in a source program represents a directive that assigns a
computable value to a name.RegisterAlias item in a source program represents a directive that adds an alias for a
register. UnitializedData item represents a declared section of data that is not given a value
(a reservation of space). itime field stores the invocation count for each instruction in the program.
itime field stores the invocation count for each instruction in the range.
id field stores a unique identifier used to differentiate this simulator
from others that might be running in the same simulation.
increment() method simply adds 1 to the abstract value.
expr field stores a references to the expression which is evaluated to yield the expr
into the map.
expr field stores a references to the expression which is evaluated to yield the expr
into the map.
expr field stores a references to the expression which is evaluated to yield the expr
into the map.
expr field stores a references to the expression which is evaluated to yield the expr
into the map.
indirectCall() method is called by the abstract interpreter when it encounters an
indirect call within the program.
indirectCall() method is called by the abstract interpreter when it encounters an
indirect call within the program.
indirectCall() method is called by the abstract interpreter when it encounters an
indirect call within the program.
indirectCall() method is called by the abstract interpreter when it encounters an
indirect call within the program.
indirectJump() method is called by the abstract interpreter when it encounters an
indirect jump within the program.
indirectJump() method is called by the abstract interpreter when it encounters an
indirect jump within the program.
indirectJump() method is called by the abstract interpreter when it encounters an
indirect jump within the program.
indirectJump() method is called by the abstract interpreter when it encounters an
indirect jump within the program.
init field stores a reference to the expression which is evaluated to give an initial
value to the local.
innerLoop field is a boolean that is used internally in the implementation of the
interpreter.
innerString() method is a utility to embed an expression in parentheses only if its
precedence is less than the precedence of this expression.
insertEvent() method inserts an event into the event queue of the simulator with the
specified delay in clock cycles.
insertEvent() method inserts an event into the event queue of the clock with the
specified delay in clock cycles.
insertEvent() method inserts an event into the event queue of the clock with the
specified delay in clock cycles.
add method adds an event to be executed in the future.
insertEvent() method inserts an event into the event queue of the clock with the
specified delay in clock cycles.
insertEvent() method inserts an event into the event queue of the clock with the
specified delay in clock cycles.
insertEvent() method inserts an event into the event queue of the clock with the
specified delay in clock cycles.
insertExceptionWatch() method registers an ExceptionWatch to listen for
exceptional conditions in the machine.
insertExceptionWatch() method registers an ExceptionWatch instance.
insertIORWatch() method is used internally to insert a watch on an IO register.
insertIORWatch() method allows an IO register watch to be inserted on an IO register.
insertInterruptProbe() method inserts an interrupt probe on an interrupt.
insertProbe() method is used internally to insert a probe on a particular instruction.
insertProbe() method allows a probe to be inserted that is executed before and after
every instruction that is executed by the simulator
insertProbe() method inserts a probe on an instruction at the
specified address.
insertProbe() method allows the insertion of a probe for each state transition of this
finite state machine.
insertProbe() method allows the insertion of a probe for transitions that involve a
particular state, either transitioning from this state or from this state.
insertProbe() method inserts an interrupt probe on the specified interrupt.
insertProbe() method inserts a global probe on all of the interrupts.
insertProbe() method allows a probe to be inserted that is executed before and after
every instruction that is executed by the simulator
insertProbe() method allows a probe to be inserted at a particular address in the
program that corresponds to an instruction.
insertProbe() method inserts a probe into a radio.
insertProbe() method inserts a probe into a radio.
insertTimeout() method inserts an event into the event queue of the simulator that
causes it to stop execution and throw a Simulator.TimeoutException when the specified
number of clock cycles have expired.
insertWatch() method is used internally to insert a watch on a particular memory location.
insertWatch() allows user code to insert a watch on a particular memory location.
insertWatch() method allows a watch to be inserted at a memory location.
installField() method allows device implementations to substitute a new field
implementation for the named field.
installIOReg() method installs the specified IOReg object to the specified IO
register number.
installIOReg() method installs an IO register with the specified name.
installIOReg() method installs a new register at the specified address.
instantiate() method is called when the simulation begins.
instantiate() method creates a new register set that contains the actual register
implementations that can be used in simulation.
instantiate() method of the sensor node extends the default simulation node
by creating a new thread to execute the node as well as getting references to the radio and
adding it to the radio model, adding
an optional start up delay for each node, and connecting the node's sensor input to
replay or random data as specified on the command line.
interpreter field stores a reference to the instruction set interpreter.
interrupt() is called by the abstract interrupt when it encounters a place in the
program when an interrupt might occur.
interrupt() is called by the abstract interrupt when it encounters a place in the
program when an interrupt might occur.
invalidRead() method is invoked when an instruction attempts to read from
an out-of-bounds memory location.
invalidWrite() method is invoked when an instruction attempts to write to
a read-only or out-of-bounds memory location.
invalidateBlock() method invalidates any compiled copies of the block that contains
the specified program address.
ioregAssignments field stores a reference to a hashmap from IO register names to their
addresses.
ioreg_length field stores the length of each register in bits.
ioreg_size field stores the number of IO registers on this microcontroller.
ioreg_size field stores the number of IO registers on this microcontroller.
isBitRangeExpr() method tests whether the expression is an access of a range of bits.
isBitRangeExpr() method tests whether the expression is an access of a range of bits.
isConstant() method returns whether this expr is a constant that is not dependent
on either operands to the instruction or runtime values
isConstantExpr() method tests whether this expression is a constant expression
(i.e. it is reducable to a constant and has no references to variables, maps, etc).
isConstantExpr() method tests whether this expression is a constant expression
(i.e. it is reducable to a constant and has no references to variables, maps, etc).
isConstantExpr() method tests whether this expression is a constant expression (i.e.
isConstantExpr() method tests whether this expression is a constant expression (i.e.
isConstantExpr() method tests whether this expression is a constant expression (i.e.
isConstantExpr() method tests whether this expression is a constant expression (i.e.
isConstantExpr() method tests whether this expression is a constant expression
(i.e. it is reducable to a constant and has no references to variables, maps, etc).
isDataSegment() method returns whether this label refers to the data segment.
isDataSegment() method returns whether this label refers to the data segment.
isEEPromSegment() method returns whether this label refers to the eeprom segment.
isEEPromSegment() method returns whether this label refers to the eeprom
segment.
isEmpty() method tests whether this list is empty.
isEnabled() method checks whether the specified interrupt is currently enabled.
isExplored() method tests whether a given state has been explored before.
isFrontier() method tests whether a given state is currently in the frontier list of
the state transition graph.
isHexDigit() method tests whether the given character corresponds to one of the
characters used in the hexadecimal representation (i.e. is '0'-'9' or 'a'-'b', case insensitive.
isInAnyProcedure() method queries whether the specified basic block is reachable from
any procedure entry point in the program.
isKnown() method returns whether this expr is known statically given the
instruction operands.
isLiteral() method tests whether this expression is a known constant directly (i.e. a
literal).
isMap() method tests whether this expression is a reference to an element of a map.
isMap() method tests whether this expression is a reference to an element of a map.
isMap() method tests whether this expression is a reference to an element of a map.
isPaused() method checks whether the simulation is currently paused.
isPending() method checks whether the specified interrupt is currently pending.
isPosted() method checks whether the specified interrupt is currently posted.
isProgramSegment() method returns whether this label refers to the program
segment.
isProgramSegment() method returns whether this label refers to the program
segment.
isRunning() method checks whether the simulation is currently running.
isSharedBetweenProcedures() method queries whether the specified basic block is
reachable from more than one procedure entrypoint.
isSupported() method allows a client to query whether a particular instruction is
implemented on this hardware device.
isKnown() method tests whether an abstract value represents a single, fully known
value.
isVariable() method tests whether this expression is a single variable use.
isVariable() method tests whether this expression is a direct variable use and is used
in copy propagation.
iterator() method returns an interator over the short names (aliases) stored in this
map.
iterator() method returns an interator over the measurements, starting with the
specified measurement.
iterator() method returns an interator over the measurements, starting with the
specified measurement.
itime field stores the cumulative number of cycles consumed for each instruction in
the program.
join() method waits for the simulation to terminate before returning.
join() method will block the caller until all of the threads in
this synchronization interval have terminated, either through stop()
being called, or terminating normally such as through a timeout.
join() method will block the caller until all of the threads in
this synchronization interval have terminated, either through stop()
being called, or terminating normally such as through a timeout.
join() method will block the caller until all of the threads in
this synchronization interval have terminated, either through stop()
being called, or terminating normally such as through a timeout.
join() method will block the caller until all of the threads in
this synchronization interval have terminated, either through stop()
being called, or terminating normally such as through a timeout.
justReturnedFromInterrupt field is used internally in maintaining the invariant stated
in the hardware manual that at least one instruction following a return from an interrupt is executed
before another interrupt can be processed.
knownBitsOf() method returns computes the concrete value from the given abstract value
where all unknown bits of the abstract value are set to zero.
knownVal() method creates a canonical abstract value from the given concrete value.
LCDScreen class initializes a 40x2 character array that
represents the character area of the LCD screen.
LED class implements an LED (light emitting diode) that can be hooked up
to a pin on the microcontroller. LOCATION_COMPARATOR comparator is used in order to sort locations
in the program from lowest address to highest address.
LOCATION_COMPARATOR comparator is used in order to sort locations
in the program from lowest address to highest address.
LabelMapping class is a simple implementation of the SourceMapping
class that maps labels to addresses in the program. LabelMapping class constructs a new instance of this source
mapping for the specified program.
LightSensor class implements a light sensor like that present on the Mica2.Literal class represents a literal (constant value) as part of an expression. BoolExpr inner class represents a boolean literal that has a known, constant value
(true or false).BoolExpr class evaluates the token's string value as a boolean
and stores it in the publicly accessable value field, as well as storing a reference
to the original token
BoolExpr class evaluates the token's string value as a boolean
and stores it in the publicly accessable value field, as well as storing a reference
to the original token
IntExpr inner class represents an integer literal that has a known, constant value.IntExpr class evaluates the token's string value to an integer
and stores it in the publicly accessable value field, as well as storing a reference
to the original token.
IntExpr class evaluates the token's string value to an integer
and stores it in the publicly accessable value field, as well as storing a reference
to the original token.
LoadableProgram class represents a reference to a program on the disk.
LoadableProgram class creates a new instance with
a reference to the file on the disk.
LoadableProgram class creates a new instance with
a reference to the file on the disk.
Logical class is a container for classes that represent expressions that produce booleans
in the IR. AndExpr inner class represents the logical AND of two boolean values that produces a
new boolean value.BinOp inner class represents an operation on two values with an infix binary operation
that produces a boolean. BinOp class initializes the public final fields that form the
structure of this expression.
EquExpr inner class represents a comparison for equality of two integer values that
produces a single boolean value.GreaterEquExpr inner class represents a comparison of two integer values that produces
a single boolean value that is true if and only if the first operand is greater than or equal to the
second operand.GreaterExpr inner class represents a comparison of two integer values that produces a
single boolean value that is true if and only if the first operand is greater than the second operand.LessEquExpr inner class represents a comparison of two integer values that produces a
single boolean value that is true if and only if the first operand is less than or equal to the second
operand.LessExpr inner class represents a comparison of two integer values that produces a
single boolean value that is true if and only if the first operand is less than the second operand.NequExpr inner class represents a comparison for inequality of two integer values that
produces a single boolean value.NotExpr inner class represents the logical negation of a single boolean value that
produces a new integer value.OrExpr inner class represents the logical OR of two boolean values that produces a new
boolean value.UnOp inner class represents an operation on a single boolean value. UnOp class initializes the public final fields that form the
structure of this expression.
XorExpr inner class represents the logical XOR of two boolean values that produces a
new boolean value.left field stores a reference to the expression that is the left operand of the
binary operation.
left field stores a reference to the expression that is the left operand of the
binary operation.
left field records an expression that represents the operand on the left side of
the operator.
leftJustify() method pads a string to a specified length by adding spaces on the
right, thus justifying the string to the left margin.
leftJustify() method pads a string to a specified length by adding spaces on the
right, thus justifying the string to the left margin.
leftJustify() method pads a string to a specified length by adding spaces on the
right, thus justifying the string to the left margin.
load() method loads (or reloads) the program from the disk.
load() method loads a program into the flash memory, writing the
binary machine code and the disassembled instructions.
readProgram() method reads a program from the command line arguments given the format
specified at the command line.
location: name and address of this procedure
logicalAnd method computes the logical bitwise AND of two abstract values.
low field stores the lowest value that is allowed for this operand.
low_addr stores the lowest address in the range.
low_bit field represents the lowest bit in the range to be extracted, inclusive.
<