Bitstream Interpretation Library (BIL)  0.1
Public Member Functions
bil::PinRef Class Reference

References a pin on a distinct primitive site. More...

#include <xdl/model/PinRef.hpp>

List of all members.

Public Member Functions

 PinRef ()
 Constructs a new PinRef instance.
void instanceIndex (size_t index)
 Sets the Instance the pin is on.
size_t instanceIndex () const
 Gets the Instance the pin is on.
void pinIndex (size_t index)
 Sets the target pin.
size_t pinIndex () const
 Gets the target pin.
void clear ()
 Resets all properties to default values.

Detailed Description

References a pin on a distinct primitive site.

In a XDL design this class is used to attach nets to the pins of primitive sites. The primitive site is (implicitly) denoted by an index to an Instance in the Design. The pin is denoted by an index to a Pin in the corresponding PrimitiveType of a Device.

Definition at line 24 of file PinRef.hpp.


Constructor & Destructor Documentation

PinRef::PinRef ( )

Constructs a new PinRef instance.

Definition at line 11 of file PinRef.cpp.


Member Function Documentation

void PinRef::instanceIndex ( size_t  index)

Sets the Instance the pin is on.

Parameters:
indexIndex of Instance in superordinated Design.

Definition at line 19 of file PinRef.cpp.

size_t PinRef::instanceIndex ( ) const

Gets the Instance the pin is on.

Returns:
Index of Instance in superordinated Design.

Definition at line 25 of file PinRef.cpp.

void PinRef::pinIndex ( size_t  index)

Sets the target pin.

Parameters:
indexIndex of pin in corresponding PrimitiveType.

Definition at line 31 of file PinRef.cpp.

size_t PinRef::pinIndex ( ) const

Gets the target pin.

Returns:
Index of pin in corresponding PrimitiveType.

Definition at line 37 of file PinRef.cpp.

void PinRef::clear ( )

Resets all properties to default values.

Definition at line 43 of file PinRef.cpp.


The documentation for this class was generated from the following files: