Simple Machine

machine
Class Register.InputPort

java.lang.Object
  extended by machine.Register.InputPort
Enclosing class:
Register

public class Register.InputPort
extends Object

Register's input port.


Constructor Summary
Register.InputPort()
           
 
Method Summary
 int get()
          Get the value of this register's input port, blocking if necessary until port is set in current cycle.
 void set(long aValue)
          Set a new value for this register's input port.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Register.InputPort

public Register.InputPort()
Method Detail

get

public int get()
        throws Register.TimingException
Get the value of this register's input port, blocking if necessary until port is set in current cycle.

Throws:
Register.TimingException

set

public void set(long aValue)
Set a new value for this register's input port. This is the value the register will take in the next cycle.


Simple Machine

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