com.cmpware.cmp.models
Class ARC700EX

java.lang.Object
  extended by com.cmpware.cmp.Memory
      extended by com.cmpware.cmp.Processor
          extended by com.cmpware.tools.AutoModel
              extended by com.cmpware.cmp.models.ARC700
                  extended by com.cmpware.cmp.models.ARC700EX
All Implemented Interfaces:
ReadWriteInterface

public class ARC700EX
extends ARC700

This is an AutoModel implementation of the ARC700 processor with an extension. It is used to demonstrate how to extend the ARC700 simulation model.

Copyright (c) 2006 Cmpware, Inc. All Rights Reserved.

Author:
SAG

Nested Class Summary
 
Nested classes/interfaces inherited from class com.cmpware.cmp.models.ARC700
ARC700.BRCC, ARC700.CC, ARC700.OP, ARC700.REG, ARC700.SREG
 
Nested classes/interfaces inherited from class com.cmpware.tools.AutoModel
AutoModel.Asm, AutoModel.Decode, AutoModel.Field, AutoModel.Format, AutoModel.Function, AutoModel.Instruction, AutoModel.Symbol
 
Field Summary
static java.lang.String copyright
          Copyright string
 
Fields inherited from class com.cmpware.cmp.models.ARC700
a, a16, aa1, aa2, aa3, aaSymbols, all32, allbits, b, b16, bhi, bit15, bit16, bit17, bit4, bit5, c, c_flag, c16, cc, ccSymbols, dest, di1, di2, di3, diSymbols, e1_flag, e2_flag, f, fmt_abc, fmt_abu6, fmt_bbc, fmt_bbs12, fmt_bbu6, fmt_bc, fmt_bcs9, fmt_bs12, fmt_bu6, fmt_bu6s9, fmt_c, fmt_cbs9, fmt_dbc, fmt_dbu6, fmt_jc, fmt_ju6, fmt_ldabc, fmt_ldabs9, fmt_qbc, fmt_qbu6, fmt_s12, fmt_s13, fmt_s21, fmt_s25, fmt_u6, fmt_u7, fmt16, fmt16_abc, fmt16_bbh, fmt16_bc, fmt16_bspu7, fmt16_cbu3, fSymbols, h16, h16hi, ldop2, n_flag, nd, ndSymbols, op, op16, op16_2, op2, op2b, op3, p, q, rd, regSymbols, s1_flag, s10hi, s11lo, s12, s13, s2_flag, s21, s25, s3_4, s5_7, s6hi, s6lo, s7, s8lo, s9_10, s9hi, sp16, src1, src2, SREG_MAP, sregSymbols, t, u3_16, u6, u7, u7_16, v_flag, x1, x2, xSymbols, z_flag, zz1, zz2, zz3, zzSymbols
 
Fields inherited from class com.cmpware.tools.AutoModel
currentInstr, currentInstrType, instructionSizes, TRACE
 
Fields inherited from class com.cmpware.cmp.Processor
bkpt, branchAddr, branchDelay, breakpointHit, currentBranchDelay, currentInstrCode, cycleCount, elf, idlePower, iMix, instructionSize, name, noop, opcodeName, pc, prevInstr, prevInstrCode, r, regName, runningPower, sr, sregName, stall, stallCount
 
Fields inherited from class com.cmpware.cmp.Memory
BIG, LITTLE
 
Constructor Summary
ARC700EX()
          The constructor
 
Method Summary
static void main(java.lang.String[] args)
          This enables the stand-alone assembler and disassembler.
 
Methods inherited from class com.cmpware.cmp.models.ARC700
addCarry, addOverflow, bbit, blcc, brcc, dasmFixup, fetch, getPC, ld2, op, op, op, op16, op16, op16, op3, op3, opAll, postExecute, preExecute, reset, setPC, sign, subCarry, subOverflow, zero
 
Methods inherited from class com.cmpware.tools.AutoModel
advancePC, asmFixup, bitsToBytes, concatenate, dasm, dasm, decode, defineInstructions, execute, fetch, getInstruction, getInstructions, getInstructionSizes, getSymbolNames, instrMatch, main, signExtend, signExtend, toHexString, toHexString, toLong, traceOff, traceOn
 
Methods inherited from class com.cmpware.cmp.Processor
branch, branchNoDelay, defineBranchDelay, defineBreakpoint, defineInstructionSize, defineName, defineNoop, defineOpcodeNames, defineRegisterNames, defineRegisters, defineSpecialRegisterNames, defineSpecialRegisters, get, getBreakpoint, getBreakpointData, getBreakpoints, getCycleCount, getDebugRegisters, getElf, getIdlePower, getInstructionMix, getInstructionSize, getName, getNoop, getOpcodeNames, getRegister, getRegisterNames, getRegisters, getRunningPower, getSpecialRegister, getSpecialRegisterNames, getSpecialRegisters, getStallCount, isBreakpoint, isStalled, load, postLoad, removeAllBreakpoints, removeBreakpoint, setBreakpoint, setIdlePower, setRegister, setRunningPower, setSpecialRegister, stall, statistics, step
 
Methods inherited from class com.cmpware.cmp.Memory
addInput, addMemory, addOutput, getEndian, getLocalMemory, getMemoryManager, getMmio, getProfile, hexDump, hexDump, isReadable, isValidAddress, isWriteable, profile, read, read, read16, read24, read32, read64, removeMemory, resize, setEndian, size, toInt, toShort, write, write, write16, write24, write32, write64
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final java.lang.String copyright
Copyright string

See Also:
Constant Field Values
Constructor Detail

ARC700EX

public ARC700EX()
The constructor

Method Detail

main

public static void main(java.lang.String[] args)
This enables the stand-alone assembler and disassembler. The command line should be either: java ARC700EX -dasm or java ARC700EX -asm

Parameters:
args - the command line arguments.