This is TriStateBuffer.h in view mode; [Download] [Up]
//
// TriStateBuffer
//
// Used to gate things onto busses (nodes).
//
#import <objc/Object.h>
#import "Node.h"
@interface TriStateBuffer : Object
{
//
// Internal State:
//
int numbits;
//
// External interface:
//
Node *IN; // n-bit input Node.
Node *GATE; // 1-bit GATE signal.
Node *OUT; // n-bit output Node.
}
- initNumBits:(int)nbits // Number of bits.
in:innode // Node from which we take value.
out:outnode // Node to take if signal is high.
gate:gatenode; // 1-bit signal node.
- cycle;
@end
//
// End of file.
//These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.