Skip navigation links
A D E G I L N P R S T U V 

A

ALL_PASSED_WITH_WARNINGS - Static variable in class edu.gvsu.dlunit.Globals.ExitStatus
The tester ran as expected, and every test passed.
ALL_TESTS_PASSED - Static variable in class edu.gvsu.dlunit.Globals.ExitStatus
The tester ran as expected, and every test passed.

D

DLUnit - Class in edu.gvsu.dlunit
The public DLUnit interface: Use these methods to drive the underlying simulator and query its final state.

E

edu.gvsu.dlunit - package edu.gvsu.dlunit
 
ExitStatus() - Constructor for class edu.gvsu.dlunit.Globals.ExitStatus
 

G

getMemoryWidth(String) - Method in class edu.gvsu.dlunit.ISimulator
return the width of the memory (i.e., the memory's word size)
getName() - Method in exception edu.gvsu.dlunit.NoSuchElementException
 
getPinWidth(String) - Method in class edu.gvsu.dlunit.ISimulator
return the width of the pin
getRegisterWidth(String) - Method in class edu.gvsu.dlunit.ISimulator
return the width of the register
Globals - Class in edu.gvsu.dlunit
Global values to use throughout DLUnit
Globals() - Constructor for class edu.gvsu.dlunit.Globals
 
Globals.ExitStatus - Class in edu.gvsu.dlunit
Exit statuses returned by DLUnit

I

IllegalValueException - Exception in edu.gvsu.dlunit
Thrown when attempting to set a value that requires more bits than are available on the target pin
IllegalValueException(String) - Constructor for exception edu.gvsu.dlunit.IllegalValueException
Constructor
INFO_ONLY - Static variable in class edu.gvsu.dlunit.Globals.ExitStatus
User asks for --help, --version, or something similar.
intToHex(int, int) - Static method in class edu.gvsu.dlunit.Utilities
 
INVALID_CIRCUIT - Static variable in class edu.gvsu.dlunit.Globals.ExitStatus
Bad circuit file
INVALID_PARAMETERS - Static variable in class edu.gvsu.dlunit.Globals.ExitStatus
At least one input was invalid.
INVALID_TEST_CLASS - Static variable in class edu.gvsu.dlunit.Globals.ExitStatus
User asked to load a file that is not a valid Java .class file
InvalidCircuitException(String, String) - Constructor for exception edu.gvsu.dlunit.Utilities.InvalidCircuitException
Constructor
InvalidCircuitException(String, String, String) - Constructor for exception edu.gvsu.dlunit.Utilities.InvalidCircuitException
Constructor
InvalidElementException - Exception in edu.gvsu.dlunit
 
InvalidElementException(String) - Constructor for exception edu.gvsu.dlunit.InvalidElementException
 
InvalidTestCaseException - Exception in edu.gvsu.dlunit
Base class for exceptions thrown when a unit test is improperly written.
InvalidTestCaseException(String) - Constructor for exception edu.gvsu.dlunit.InvalidTestCaseException
Constructor
InvalidWidthException - Exception in edu.gvsu.dlunit
Thrown when attempting to set a value that requires more bits than are available on the target pin
InvalidWidthException(String) - Constructor for exception edu.gvsu.dlunit.InvalidWidthException
Constructor
ISimulator - Class in edu.gvsu.dlunit
Interface to various digital logic simulators.
ISimulator() - Constructor for class edu.gvsu.dlunit.ISimulator
 
ISimulator.Extension - Enum in edu.gvsu.dlunit
Describes how a BitSit should be extended when being set on a larger input pin.

L

load(File) - Method in class edu.gvsu.dlunit.ISimulator
Load a circuit from a file
load(String) - Method in class edu.gvsu.dlunit.ISimulator
Load a circuit from a file

N

NO_EULA - Static variable in class edu.gvsu.dlunit.Globals.ExitStatus
User refused the EULA
NoSuchElementException - Exception in edu.gvsu.dlunit
Exception thrown when no element (pin, memory, etc) can be found with the given name
NoSuchElementException(String, String) - Constructor for exception edu.gvsu.dlunit.NoSuchElementException
Constructor

P

PROGRAMMER_ERROR - Static variable in class edu.gvsu.dlunit.Globals.ExitStatus
Errors that should never happen

R

readMemoryBitSets(String, long, int) - Method in class edu.gvsu.dlunit.ISimulator
Get the values in memory as BitSets.
readMemorySigned(String, long, int) - Static method in class edu.gvsu.dlunit.DLUnit
Get the values in the memory as signed long integers
readMemorySigned(String, long) - Static method in class edu.gvsu.dlunit.DLUnit
Get the value in the memory as a signed long integer
readMemorySigned(String, long, int) - Method in class edu.gvsu.dlunit.ISimulator
Get the values in the memory as signed long integers
readMemoryUnsigned(String, long, int) - Static method in class edu.gvsu.dlunit.DLUnit
Get the values in the memory as unsigned long integers
readMemoryUnsigned(String, long) - Static method in class edu.gvsu.dlunit.DLUnit
Get the value in the memory as a signed long integer
readMemoryUnsigned(String, long, int) - Method in class edu.gvsu.dlunit.ISimulator
Get the values in memory as unsigned long integers
readPin(String) - Static method in class edu.gvsu.dlunit.DLUnit
Get the value of a single output pin
readPin(String) - Method in class edu.gvsu.dlunit.ISimulator
Get the value on a one-bit pin
readPinAsBitSet(String) - Method in class edu.gvsu.dlunit.ISimulator
Return the value on an output pin as a BitSet
readPinSigned(String) - Static method in class edu.gvsu.dlunit.DLUnit
Get the value on pin name as a signed integer (i.e., interpret the most significant bit as a sign bit).
readPinSigned(String) - Method in class edu.gvsu.dlunit.ISimulator
Get the value on the pin as a signed long integer
readPinUnsigned(String) - Static method in class edu.gvsu.dlunit.DLUnit
Get the value on pin name as an unsigned integer.
readPinUnsigned(String) - Method in class edu.gvsu.dlunit.ISimulator
Get the value on the pin as an unsigned long integer
readRegister(String) - Static method in class edu.gvsu.dlunit.DLUnit
Get the value of a one-bit register
readRegister(String) - Method in class edu.gvsu.dlunit.ISimulator
Get the value on a one-bit register
readRegisterBitSet(String) - Method in class edu.gvsu.dlunit.ISimulator
 
readRegisterSigned(String) - Static method in class edu.gvsu.dlunit.DLUnit
Get the value in register name as a signed integer (i.e., interpret the most significant bit as a sign bit).
readRegisterSigned(String) - Method in class edu.gvsu.dlunit.ISimulator
Get the value in the register as a signed long integer
readRegisterUnsigned(String) - Static method in class edu.gvsu.dlunit.DLUnit
Get the value in register name as an unsigned integer.
readRegisterUnsigned(String) - Method in class edu.gvsu.dlunit.ISimulator
Get the value in the register as an unsigned long integer
reset() - Static method in class edu.gvsu.dlunit.DLUnit
Reset the simulator.
reset() - Method in class edu.gvsu.dlunit.ISimulator
Reset the simulator between tests
run() - Static method in class edu.gvsu.dlunit.DLUnit
Execute the simulator
run() - Method in class edu.gvsu.dlunit.ISimulator
Execute the simulator

S

setMemorySigned(String, int, int[]) - Static method in class edu.gvsu.dlunit.DLUnit
Sets memory
setMemorySigned(String, int, int) - Static method in class edu.gvsu.dlunit.DLUnit
Sets memory
setMemorySigned(String, int, int[]) - Method in class edu.gvsu.dlunit.ISimulator
Sets memory
setMemoryUnsigned(String, int, int[]) - Static method in class edu.gvsu.dlunit.DLUnit
Sets memory as unsigned (positive) integers
setMemoryUnsigned(String, int, int) - Static method in class edu.gvsu.dlunit.DLUnit
Sets memory as unsigned (positive) integers
setMemoryUnsigned(String, int, int[]) - Method in class edu.gvsu.dlunit.ISimulator
Sets memory using unsigned (positive) values only
setPin(String, boolean) - Static method in class edu.gvsu.dlunit.DLUnit
Set a one-bit input pin.
setPin(String, BitSet, int, ISimulator.Extension) - Method in class edu.gvsu.dlunit.ISimulator
Set the input pin name with a given set of bits.
setPin(String, boolean) - Method in class edu.gvsu.dlunit.ISimulator
Set a single input pin name with a given value.
setPinSigned(String, long) - Static method in class edu.gvsu.dlunit.DLUnit
Set an input bus (multiple pins bundled together as a single unit).
setPinSigned(String, long) - Method in class edu.gvsu.dlunit.ISimulator
Set the specified input pin to value.
setPinUnsigned(String, long) - Static method in class edu.gvsu.dlunit.DLUnit
Set an input bus (multiple pins bundled together as a single unit).
setPinUnsigned(String, long) - Method in class edu.gvsu.dlunit.ISimulator
Set the specified input pin to value.
setRegister(String, boolean) - Static method in class edu.gvsu.dlunit.DLUnit
Set a one-bit register.
setRegister(String, BitSet, int, ISimulator.Extension) - Method in class edu.gvsu.dlunit.ISimulator
Set the input register name with a given set of bits.
setRegister(String, boolean) - Method in class edu.gvsu.dlunit.ISimulator
Set a one-bit register name with a given value.
setRegisterSigned(String, long) - Static method in class edu.gvsu.dlunit.DLUnit
Set a register.
setRegisterSigned(String, long) - Method in class edu.gvsu.dlunit.ISimulator
Set the specified input register to value.
setRegisterUnsigned(String, long) - Static method in class edu.gvsu.dlunit.DLUnit
Set a register.
setRegisterUnsigned(String, long) - Method in class edu.gvsu.dlunit.ISimulator
Set the specified register to value.
SimulationException - Exception in edu.gvsu.dlunit
Exception raised when there was a problem simulating a circuit.
SimulationException(String) - Constructor for exception edu.gvsu.dlunit.SimulationException
Constructor
SOME_TEST_FAILED - Static variable in class edu.gvsu.dlunit.Globals.ExitStatus
The tester ran as expected, but at least one test failed.

T

testParameters() - Static method in class edu.gvsu.dlunit.DLUnit
Get the test parameters.

U

UnreadableFileException(String) - Constructor for exception edu.gvsu.dlunit.Utilities.UnreadableFileException
Constructor
unsignedToSigned(int, int) - Static method in class edu.gvsu.dlunit.Utilities
 
unsignedToSigned(long, int) - Static method in class edu.gvsu.dlunit.Utilities
 
Utilities - Class in edu.gvsu.dlunit
Miscellaneous helper methods
Utilities() - Constructor for class edu.gvsu.dlunit.Utilities
 
Utilities.InvalidCircuitException - Exception in edu.gvsu.dlunit
Exception thrown if a circuit file cannot be parsed as a circuit.
Utilities.UnreadableFileException - Exception in edu.gvsu.dlunit
Exception thrown if a file is not accessible or readable.

V

validateMemoryAddress(long, int, int) - Static method in class edu.gvsu.dlunit.Utilities
 
validateValueWidth(long, int, boolean) - Static method in class edu.gvsu.dlunit.Utilities
 
valueOf(String) - Static method in enum edu.gvsu.dlunit.ISimulator.Extension
Returns the enum constant of this type with the specified name.
values() - Static method in enum edu.gvsu.dlunit.ISimulator.Extension
Returns an array containing the constants of this enum type, in the order they are declared.
verifyFileIsReadable(File) - Static method in class edu.gvsu.dlunit.Utilities
Create File object and throw an exception if the file (1) does not exist, (2) is not readable, or (3) is a directory.
A D E G I L N P R S T U V 
Skip navigation links