19 #ifndef TORC_ARCHITECTURE_PRIMITIVEELEMENT_HPP
20 #define TORC_ARCHITECTURE_PRIMITIVEELEMENT_HPP
25 #include <boost/cstdint.hpp>
30 namespace architecture {
32 namespace architecture {
class PrimitiveElementUnitTest; }
99 #endif // TORC_ARCHITECTURE_PRIMITIVEELEMENT_HPP
PrimitiveElementPinArray mPins
The array of pins.
xilinx::PinIndex PinIndex
Imported type name.
PinNameToPinIndexMap mPinNameToPinIndex
The map of pin names to pin indexes.
PinIndex findPinIndexByName(const string &inName) const
Returns the pin index corresponding to the given pin name, or PinIndex::undefined() if the pin name d...
std::string string
Imported type name.
const PrimitiveElementPinArray & getPins(void) const
Returns a constant array of element pins.
Encapsulation of a pin index in an unsigned 32-bit integer.
bool isBel(void) const
Returns true if this element is a BEL (Basic ELement).
const string & getName(void) const
Returns the name of the element.
string mName
The element name.
PrimitiveElementPinArray & getPins(void)
Returns a non-constant array of element pins. This function should only be used by the Sites class d...
StringSet mCfgs
The set of allowable configuration values.
Site type and population data for the family and the device.
static pod undefined(void)
PrimitiveElement(void)
Null constructor. This constructor should only be used by containers.
Array< const PrimitiveElement > PrimitiveElementArray
Array of constant PrimitiveElement objects.
std::map< std::string, PinIndex > PinNameToPinIndexMap
Map of pin names to pin indexes for a primitive element.
Encapsulation of a primitive site element. Primitive elements are subcomponents of logic primitive s...
Header for the Array class.
std::set< std::string > StringSet
A set of configuration values.
const StringSet & getCfgs(void) const
Returns the set of allowable configuration values.
friend class torc::architecture::architecture::PrimitiveElementUnitTest
Our unit test class has access to our internals.
Header for the PrimitiveElementPin class.
bool mIsBel
A flag indicating whether or not this element is a BEL (Basic ELement).
Device database types for Xilinx architectures.