torc-master
|
Encapsulation of a device designator and its constituent elements. More...
#include <DeviceDesignator.hpp>
Public Member Functions | |
DeviceDesignator (const string &inDeviceDesignator) | |
Basic constructor. More... | |
const string & | getDeviceDesignator (void) const |
Returns the device designator. More... | |
const EFamily & | getFamily (void) const |
Returns the device family. More... | |
const string & | getDeviceName (void) const |
Returns the device name. More... | |
const string & | getDevicePackage (void) const |
Returns the device package. More... | |
const string & | getDeviceSpeedGrade (void) const |
Returns the device speed grade. More... | |
Protected Types | |
typedef std::string | string |
Imported type name. More... | |
Protected Member Functions | |
bool | parse (const string &inDeviceDesignator, const boost::regex &inRegEx) |
Parses the device name into constituent device, package, and speed components. More... | |
Protected Attributes | |
string | mDeviceDesignator |
The full device designator. More... | |
EFamily | mFamily |
The family type. More... | |
string | mDeviceName |
The device name. More... | |
string | mDevicePackage |
The device package. More... | |
string | mDeviceSpeedGrade |
The device speed grade. More... | |
Static Protected Attributes | |
static boost::regex | sSpartan2RegEx |
Regular expression for Spartan2 devices. More... | |
static boost::regex | sSpartan2ERegEx |
Regular expression for Spartan2E devices. More... | |
static boost::regex | sSpartan3RegEx |
Regular expression for Spartan3 devices. More... | |
static boost::regex | sSpartan3ARegEx |
Regular expression for Spartan3A devices. More... | |
static boost::regex | sSpartan3ERegEx |
Regular expression for Spartan3E devices. More... | |
static boost::regex | sSpartan6RegEx |
Regular expression for Spartan3E devices. More... | |
static boost::regex | sVirtexRegEx |
Regular expression for Virtex devices. More... | |
static boost::regex | sVirtexERegEx |
Regular expression for VirtexE devices. More... | |
static boost::regex | sVirtex2RegEx |
Regular expression for Virtex2 devices. More... | |
static boost::regex | sVirtex2PRegEx |
Regular expression for Virtex2P devices. More... | |
static boost::regex | sVirtex4RegEx |
Regular expression for Virtex4 devices. More... | |
static boost::regex | sVirtex5RegEx |
Regular expression for Virtex5 devices. More... | |
static boost::regex | sVirtex6RegEx |
Regular expression for Virtex6 devices. More... | |
static boost::regex | sArtix7RegEx |
Regular expression for Artix7 devices. More... | |
static boost::regex | sKintex7RegEx |
Regular expression for Kintex7 devices. More... | |
static boost::regex | sVirtex7RegEx |
Regular expression for Virtex7 devices. More... | |
static boost::regex | sZynq7000RegEx |
Regular expression for Zynq7000 devices. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const DeviceDesignator &rhs) |
Stream insertion operator. More... | |
Encapsulation of a device designator and its constituent elements.
Definition at line 30 of file common/DeviceDesignator.hpp.
|
protected |
Imported type name.
Definition at line 48 of file common/DeviceDesignator.hpp.
Definition at line 33 of file common/DeviceDesignator.hpp.
torc::common::DeviceDesignator::DeviceDesignator | ( | const string & | inDeviceDesignator | ) |
Basic constructor.
Definition at line 145 of file DeviceDesignator.cpp.
|
inline |
Returns the device designator.
Definition at line 90 of file common/DeviceDesignator.hpp.
|
inline |
Returns the device name.
Definition at line 94 of file common/DeviceDesignator.hpp.
|
inline |
Returns the device package.
Definition at line 96 of file common/DeviceDesignator.hpp.
|
inline |
Returns the device speed grade.
Definition at line 98 of file common/DeviceDesignator.hpp.
|
inline |
Returns the device family.
Definition at line 92 of file common/DeviceDesignator.hpp.
|
protected |
Parses the device name into constituent device, package, and speed components.
Definition at line 167 of file DeviceDesignator.cpp.
|
friend |
Stream insertion operator.
Definition at line 185 of file DeviceDesignator.cpp.
|
protected |
The full device designator.
Definition at line 51 of file common/DeviceDesignator.hpp.
|
protected |
The device name.
Definition at line 55 of file common/DeviceDesignator.hpp.
|
protected |
The device package.
Definition at line 57 of file common/DeviceDesignator.hpp.
|
protected |
The device speed grade.
Definition at line 59 of file common/DeviceDesignator.hpp.
|
protected |
The family type.
Definition at line 53 of file common/DeviceDesignator.hpp.
|
staticprotected |
Regular expression for Artix7 devices.
Definition at line 77 of file common/DeviceDesignator.hpp.
|
staticprotected |
Regular expression for Kintex7 devices.
Definition at line 78 of file common/DeviceDesignator.hpp.
|
staticprotected |
Regular expression for Spartan2E devices.
Definition at line 65 of file common/DeviceDesignator.hpp.
|
staticprotected |
Regular expression for Spartan2 devices.
Definition at line 64 of file common/DeviceDesignator.hpp.
|
staticprotected |
Regular expression for Spartan3A devices.
Definition at line 67 of file common/DeviceDesignator.hpp.
|
staticprotected |
Regular expression for Spartan3E devices.
Definition at line 68 of file common/DeviceDesignator.hpp.
|
staticprotected |
Regular expression for Spartan3 devices.
Definition at line 66 of file common/DeviceDesignator.hpp.
|
staticprotected |
Regular expression for Spartan3E devices.
Definition at line 69 of file common/DeviceDesignator.hpp.
|
staticprotected |
Regular expression for Virtex2P devices.
Definition at line 73 of file common/DeviceDesignator.hpp.
|
staticprotected |
Regular expression for Virtex2 devices.
Definition at line 72 of file common/DeviceDesignator.hpp.
|
staticprotected |
Regular expression for Virtex4 devices.
Definition at line 74 of file common/DeviceDesignator.hpp.
|
staticprotected |
Regular expression for Virtex5 devices.
Definition at line 75 of file common/DeviceDesignator.hpp.
|
staticprotected |
Regular expression for Virtex6 devices.
Definition at line 76 of file common/DeviceDesignator.hpp.
|
staticprotected |
Regular expression for Virtex7 devices.
Definition at line 79 of file common/DeviceDesignator.hpp.
|
staticprotected |
Regular expression for VirtexE devices.
Definition at line 71 of file common/DeviceDesignator.hpp.
|
staticprotected |
Regular expression for Virtex devices.
Definition at line 70 of file common/DeviceDesignator.hpp.
|
staticprotected |
Regular expression for Zynq7000 devices.
Definition at line 80 of file common/DeviceDesignator.hpp.