Simple Machine

machine
Class Register.TimingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by util.UserVisibleException
              extended by machine.Register.TimingException
All Implemented Interfaces:
Serializable
Enclosing class:
Register

public class Register.TimingException
extends UserVisibleException

Indicates that CPU implementation has read from the register's input port, but no value was written to that port. Often indicates a deadlock in the pipelined implementation. This exception is an artifact of the mapping of truely parallel hardware to the partically-sequential software model. In software, each pipeline stage is a sequential piece of code, but the stages themselves are executed in parallel, each in their own thread. It is thus acceptable for one stage to read a register's input as long as that stage has already written to it in this cycle or if another stage will.

See Also:
Serialized Form

Constructor Summary
Register.TimingException()
           
Register.TimingException(int aPC)
           
 
Method Summary
 
Methods inherited from class util.UserVisibleException
getMessage, setPC
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Register.TimingException

public Register.TimingException()

Register.TimingException

public Register.TimingException(int aPC)

Simple Machine

Copyright © 2010, 2011 Mike Feeley. All Rights Reserved.