machine
Class Register.InputPort
java.lang.Object
machine.Register.InputPort
- Enclosing class:
- Register
public class Register.InputPort
- extends Object
Register's input port.
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 |
Register.InputPort
public Register.InputPort()
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.
Copyright © 2010, 2011 Mike Feeley. All Rights Reserved.