|
torc-master
|
Encapsulation of a primitive site element. Primitive elements are subcomponents of logic primitive sites. More...
#include <PrimitiveElement.hpp>
Collaboration diagram for torc::architecture::PrimitiveElement:Public Types | |
| typedef std::set< std::string > | StringSet |
| A set of configuration values. More... | |
Public Member Functions | |
| PrimitiveElement (void) | |
| Null constructor. This constructor should only be used by containers. More... | |
| PinIndex | findPinIndexByName (const string &inName) const |
| Returns the pin index corresponding to the given pin name, or PinIndex::undefined() if the pin name does not exist. inName The pin name to find. More... | |
| const string & | getName (void) const |
| Returns the name of the element. More... | |
| const PrimitiveElementPinArray & | getPins (void) const |
| Returns a constant array of element pins. More... | |
| const StringSet & | getCfgs (void) const |
| Returns the set of allowable configuration values. More... | |
| bool | isBel (void) const |
| Returns true if this element is a BEL (Basic ELement). More... | |
Protected Types | |
| typedef xilinx::PinIndex | PinIndex |
| Imported type name. More... | |
| typedef std::string | string |
| Imported type name. More... | |
| typedef std::map< std::string, PinIndex > | PinNameToPinIndexMap |
| Map of pin names to pin indexes for a primitive element. More... | |
Protected Member Functions | |
| PrimitiveElementPinArray & | getPins (void) |
| Returns a non-constant array of element pins. This function should only be used by the Sites class during database iniialization. More... | |
Protected Attributes | |
| string | mName |
| The element name. More... | |
| PrimitiveElementPinArray | mPins |
| The array of pins. More... | |
| StringSet | mCfgs |
| The set of allowable configuration values. More... | |
| bool | mIsBel |
| A flag indicating whether or not this element is a BEL (Basic ELement). More... | |
| PinNameToPinIndexMap | mPinNameToPinIndex |
| The map of pin names to pin indexes. More... | |
Friends | |
| class | Sites |
| The Sites class has access to our internals. More... | |
| class | torc::architecture::architecture::PrimitiveElementUnitTest |
| Our unit test class has access to our internals. More... | |
Encapsulation of a primitive site element. Primitive elements are subcomponents of logic primitive sites.
Definition at line 36 of file PrimitiveElement.hpp.
|
protected |
Imported type name.
Definition at line 48 of file PrimitiveElement.hpp.
|
protected |
Map of pin names to pin indexes for a primitive element.
Definition at line 51 of file PrimitiveElement.hpp.
|
protected |
Imported type name.
Definition at line 49 of file PrimitiveElement.hpp.
| typedef std::set<std::string> torc::architecture::PrimitiveElement::StringSet |
A set of configuration values.
Definition at line 40 of file PrimitiveElement.hpp.
|
inline |
Null constructor. This constructor should only be used by containers.
Definition at line 72 of file PrimitiveElement.hpp.
|
inline |
Returns the pin index corresponding to the given pin name, or PinIndex::undefined() if the pin name does not exist. inName The pin name to find.
Definition at line 77 of file PrimitiveElement.hpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Returns the set of allowable configuration values.
Definition at line 88 of file PrimitiveElement.hpp.
Here is the caller graph for this function:
|
inline |
Returns the name of the element.
Definition at line 84 of file PrimitiveElement.hpp.
Here is the caller graph for this function:
|
inlineprotected |
Returns a non-constant array of element pins. This function should only be used by the Sites class during database iniialization.
Definition at line 67 of file PrimitiveElement.hpp.
Here is the caller graph for this function:
|
inline |
Returns a constant array of element pins.
Definition at line 86 of file PrimitiveElement.hpp.
|
inline |
Returns true if this element is a BEL (Basic ELement).
Definition at line 90 of file PrimitiveElement.hpp.
|
friend |
The Sites class has access to our internals.
Definition at line 44 of file PrimitiveElement.hpp.
|
friend |
Our unit test class has access to our internals.
Definition at line 46 of file PrimitiveElement.hpp.
|
protected |
The set of allowable configuration values.
Definition at line 58 of file PrimitiveElement.hpp.
|
protected |
A flag indicating whether or not this element is a BEL (Basic ELement).
Definition at line 60 of file PrimitiveElement.hpp.
|
protected |
The element name.
Definition at line 54 of file PrimitiveElement.hpp.
|
protected |
The map of pin names to pin indexes.
Definition at line 62 of file PrimitiveElement.hpp.
|
protected |
The array of pins.
Definition at line 56 of file PrimitiveElement.hpp.