Uses of Class
com.cmpware.cmp.MemoryAccessException

Packages that use MemoryAccessException
com.cmpware.cmp   
com.cmpware.cmp.memory   
com.cmpware.cmp.mmio   
com.cmpware.cmp.models   
com.cmpware.elf   
com.cmpware.elf.dwarf2   
com.cmpware.fastmodel   
com.cmpware.ide   
com.cmpware.tools   
 

Uses of MemoryAccessException in com.cmpware.cmp
 

Methods in com.cmpware.cmp that throw MemoryAccessException
abstract  int Processor.decode(int instr)
          A unique code identifying the instruction is returned by this method.
abstract  void Processor.execute(int instr)
          This method is called after the fetch() and decode() and represents the execution phase of the instruction.
 void Processor.fetch()
          This method fetches an instruction from memory and updates the currentInstr and prevInstr.
static void MpMon.fill(Processor p, byte a, int addr, int size)
          This method fills a section of memory of 'size' bytes starting at address 'addr' with the value 'a'.
 byte[] Processor.getInstruction(int addr)
          This method fetches an instruction from memory.
 void Processor.load(Elf elf, int offset)
          This method loads the memory of the processor with data from the ELF file.
 void Multiprocessor.loadAll(Elf elf, int offset)
          This method loads the memory of each processor with the same data.
 byte Memory.read(int addr)
           
 byte[] Memory.read(int addr, int size)
          This method returns 'size' bytes from the memory at address 'addr'.
 short Memory.read16(int addr)
           
 int Memory.read24(int addr)
           
 int Memory.read32(int addr)
           
 long Memory.read64(int addr)
           
 void Multiprocessor.reloadAll(int offset)
          This method loads the memory of each processor with the most recently loaded ELF (or binary) file.
 void Processor.setBreakpoint(int addr)
          This method sets a breakpoint.
 void Processor.step(long globalCycleCount)
          This method steps the simulation one cycle.
 void Memory.write(int addr, byte data)
           
 void Memory.write(int addr, byte[] buffer)
          This method copies a buffer of bytes from 'buffer' into the memory at address 'addr'.
 void Memory.write16(int addr, short data)
           
 void Memory.write24(int addr, int data)
           
 void Memory.write32(int addr, int data)
           
 void Memory.write64(int addr, long data)
           
 

Uses of MemoryAccessException in com.cmpware.cmp.memory
 

Methods in com.cmpware.cmp.memory that throw MemoryAccessException
static void SharedMemory.commit()
          This method commits all writes at the end of the simulation cycle.
 byte ReadWriteInterface.read(int addr)
          This method returns a byte from the memory at address 'addr'.
 byte LocalMemory.read(int addr)
           
 byte LittleEndianMemory.read(int addr)
           
 short ReadWriteInterface.read16(int addr)
          This method returns a 16-bit short from the memory at address 'addr'.
 short LocalMemory.read16(int addr)
           
 short LittleEndianMemory.read16(int addr)
           
 short BigEndianMemory.read16(int addr)
           
 int ReadWriteInterface.read24(int addr)
          This method returns a 24-bit unsigned integer from the memory at address 'addr'.
 int LocalMemory.read24(int addr)
           
 int LittleEndianMemory.read24(int addr)
           
 int BigEndianMemory.read24(int addr)
           
 int ReadWriteInterface.read32(int addr)
          This method returns a 32-bit int from the memory at address 'addr'.
 int LocalMemory.read32(int addr)
           
 int LittleEndianMemory.read32(int addr)
           
 int BigEndianMemory.read32(int addr)
           
 long ReadWriteInterface.read64(int addr)
          This method returns a 64-bit long from the memory at address 'addr'.
 long LocalMemory.read64(int addr)
           
 long LittleEndianMemory.read64(int addr)
           
 long BigEndianMemory.read64(int addr)
           
 void SharedMemory.write(int addr, byte a)
           
 void ReadWriteInterface.write(int addr, byte a)
          This method copies a byte from 'a' into the memory at address 'addr'.
 void LocalMemory.write(int addr, byte a)
           
 void LittleEndianMemory.write(int addr, byte data)
           
 void SharedMemory.write16(int addr, short a)
           
 void ReadWriteInterface.write16(int addr, short a)
          This method writes the 16-bit value 'a' to the requested memory address.
 void LocalMemory.write16(int addr, short a)
           
 void LittleEndianMemory.write16(int addr, short a)
           
 void BigEndianMemory.write16(int addr, short a)
           
 void ReadWriteInterface.write24(int addr, int a)
          This method writes a 24-bit value 'a' to the requested memory address.
 void LocalMemory.write24(int addr, int a)
           
 void LittleEndianMemory.write24(int addr, int a)
           
 void BigEndianMemory.write24(int addr, int a)
           
 void SharedMemory.write32(int addr, int a)
           
 void ReadWriteInterface.write32(int addr, int a)
          This method writes the 32-bit value 'a' to the requested memory address.
 void LocalMemory.write32(int addr, int a)
           
 void LittleEndianMemory.write32(int addr, int a)
           
 void BigEndianMemory.write32(int addr, int a)
           
 void SharedMemory.write64(int addr, long a)
           
 void ReadWriteInterface.write64(int addr, long a)
          This method writes the 64-bit value 'a' to the requested memory address.
 void LocalMemory.write64(int addr, long a)
           
 void LittleEndianMemory.write64(int addr, long a)
           
 void BigEndianMemory.write64(int addr, long a)
           
 void SharedMemory.writeCommit()
          This method is called at the end of the simulation cycle and updates the shared memory with any pending writes.
 

Uses of MemoryAccessException in com.cmpware.cmp.mmio
 

Subclasses of MemoryAccessException in com.cmpware.cmp.mmio
 class MemoryMappedIOException
          This class implements the Memory Mapped IO Exception.
 

Methods in com.cmpware.cmp.mmio that throw MemoryAccessException
 byte MemoryMappedIO.read(int addr)
           
 short MemoryMappedIO.read16(int addr)
           
 int MemoryMappedIO.read24(int addr)
           
 int MemoryMappedIO.read32(int addr)
           
 long MemoryMappedIO.read64(int addr)
           
 int MemoryMappedIO.recv(int addr)
          This method reads the memory mapped IO from a specified address.
 void MemoryMappedIO.send(int addr, int val)
          This method writes the memory mapped IO at a specified address.
 void MemoryMappedIO.write(int addr, byte data)
           
 void MemoryMappedIO.write16(int addr, short a)
           
 void MemoryMappedIO.write24(int addr, int a)
           
 void MemoryMappedIO.write32(int addr, int a)
           
 void MemoryMappedIO.write64(int addr, long a)
           
 

Uses of MemoryAccessException in com.cmpware.cmp.models
 

Methods in com.cmpware.cmp.models that throw MemoryAccessException
 void FastSimple.LD.exec(long addr)
           
 void FastSimple.ST.exec(long addr)
           
 void HardNodeDemo.execute(int instr)
           
 void Sparc.execute(int instr)
           
 void MicroBlaze_old.execute(int instr)
           
 void ALU.execute(int instr)
           
 void NIOS.execute(int instr)
           
 void NIOS2.execute(int instr)
           
 void Null.execute(int instr)
           
 void Null.fetch()
           
 long ARC700.fetch(int addr, int bytes)
           
 void ARC700.preExecute(int instr)
           
 

Uses of MemoryAccessException in com.cmpware.elf
 

Methods in com.cmpware.elf that throw MemoryAccessException
static int Dwarf2Location.getAddr(Processor p, byte[] loc, long frameBase)
          This static method returns the address value associated with a location program.
 

Uses of MemoryAccessException in com.cmpware.elf.dwarf2
 

Methods in com.cmpware.elf.dwarf2 that throw MemoryAccessException
 long LocationList.getAddr(Processor p, long frameBaseAddr)
          This method returns an address from the location list.
 

Uses of MemoryAccessException in com.cmpware.fastmodel
 

Methods in com.cmpware.fastmodel that throw MemoryAccessException
 int FastModel_old.decode(int instr)
           
 int FastModel.decode(int instr)
           
 void NullFunction.exec(long addr)
           
 void IllegalOpcode.exec(long addr)
          This abstract method implements the instruction execution.
abstract  void Function.exec(long addr)
          This abstract method implements the instruction execution.
 void Breakpoint.exec(long addr)
          This abstract method implements the instruction execution.
 void FastModel_old.execute(int instr)
           
 void FastModel.execute(int instr)
           
 Instruction FastModel_old.fetch(Instruction instr)
          This method pre-fetches an instruction.
 Instruction FastModel.fetch(Instruction instr)
          This method pre-fetches an instruction.
 byte[] FastModel_old.getInstruction(int addr)
           
 byte[] FastModel.getInstruction(int addr)
           
 Instruction FastModel_old.getNewInstruction(long addr)
          This method gets and caches a new instruction.
 Instruction FastModel.getNewInstruction(long addr)
          This method gets and caches a new instruction.
 void FastModel_old.setBreakpoint(int addr)
           
 void FastModel.setBreakpoint(int addr)
           
 void FastModel_old.setBreakpoint(long addr)
          This method sets a breakpoint.
 void FastModel.setBreakpoint(long addr)
          This method sets a breakpoint.
 void FastModel_old.step(long globalCycleCount)
           
 void FastModel.step(long globalCycleCount)
           
 

Uses of MemoryAccessException in com.cmpware.ide
 

Methods in com.cmpware.ide that throw MemoryAccessException
static void MpModel.load(Elf elf)
          This method loads an ELF (or binary) file into the memory of the current processor and fires a state change event.
static void MpModel.loadAll(Elf elf)
          This method loads an ELF (or binary) file into the memory of all of the processors and fires a state change event.
static void MpModel.reloadAll()
          This method reloads the most recently loaded ELF (or binary) file into the memory of all of the processors and fires a state change event.
 

Uses of MemoryAccessException in com.cmpware.tools
 

Methods in com.cmpware.tools that throw MemoryAccessException
 int AutoModel.decode(int instr)
           
 void AutoModelVLIW.Function.exec(Processor p)
          This method implements the instruction execution.
 void AutoModel.Asm.exec(Processor p)
          This method implements the instruction execution.
 void AutoModel.Function.exec(Processor p)
          This method implements the instruction execution.
 void AutoModelVLIW.execute(int instr)
           
 void AutoModel.execute(int instr)
           
 void AutoModelVLIW.fetch()
           
 void AutoModel.fetch()
           
 long AutoModel.fetch(int addr, int bytes)
          This method returns a long (64-bit) value based on the data at 'bytes' bytes of memory at address 'addr'.
 byte[] AutoModelVLIW.getInstruction(int addr)
           
 byte[] AutoModel.getInstruction(int addr)
           
 void AutoModel.postExecute(int instr)
          This method is called immediately after execution and may be overloaded to do things like save instruction field values to locals.
 void AutoModel.preExecute(int instr)
          This method is called immediately before execution and may be overloaded to do things like save instruction field values to locals.