Emulator.Components
Class InstructionTimer

java.lang.Object
  extended by Emulator.Components.Component
      extended by Emulator.Components.InstructionTimer
All Implemented Interfaces:
Constants

public class InstructionTimer
extends Component

********************** Created By: Yuval Tzur Date: 15/12/12 Time: 00:36 Description: This class defines the instruction timer. The timer defines the cycle number, which defines the micro operations that should be executed. ***********************


Field Summary
 
Fields inherited from interface Emulator.Global.Constants
_0, _1, AC, ADDR_REGISTER_SIZE, ALU, ALU_IN0, ALU_IN1, ALU_OUT, AR, BUS, BUS_SIZE, DATA_COMPONENTS, DATA_REGISTER_SIZE, DATA_TABLE_SIZE, DR, E, FGI, FGO, I, IEN, INPR, IO_REGISTER_SIZE, IR, M, MEMORY_SIZE, OUTR, PC, R, S, TARGET_REACHED, TIMEOUT, TIMER, TIMER_LIMIT, TR, TR0, TR1, UNREACHABLE
 
Constructor Summary
InstructionTimer(int id, java.lang.String name)
           
 
Method Summary
 int get_currentCycle()
           
 void pulse()
           
 void reset()
           
 
Methods inherited from class Emulator.Components.Component
get_id, get_name, set_id, set_name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstructionTimer

public InstructionTimer(int id,
                        java.lang.String name)
Method Detail

get_currentCycle

public int get_currentCycle()

pulse

public void pulse()

reset

public void reset()