Simple Machine

machine
Class Register.NonClockedPort

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

public class Register.NonClockedPort
extends Object

Register's non-clocked port value. Simplified view in which get returns the last value set for implementions where clock behaviour is abstracted away.


Constructor Summary
Register.NonClockedPort()
           
 
Method Summary
 int get()
          Get the value of this register's output port.
 int getUnsigned()
          Get the value of this register's output port and treat it as unsigned.
 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.NonClockedPort

public Register.NonClockedPort()
Method Detail

get

public int get()
Get the value of this register's output port.


getUnsigned

public int getUnsigned()
Get the value of this register's output port and treat it as unsigned.


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.