#include <Circuit.hpp>


| Public Types | |
| typedef InstanceSharedPtrVector::const_iterator | InstanceSharedPtrConstIterator | 
| Constant iterator to Instance shared pointers. | |
| typedef InstanceSharedPtrVector::iterator | InstanceSharedPtrIterator | 
| Non-constant iterator to Instance shared pointers. | |
| typedef NetSharedPtrVector::const_iterator | NetSharedPtrConstIterator | 
| Constant iterator to Net shared pointers. | |
| typedef NetSharedPtrVector::iterator | NetSharedPtrIterator | 
| Non-constant iterator to Net shared pointers. | |
| Public Member Functions | |
| InstanceSharedPtrIterator | findInstance (const string &inName) | 
| Find a circuit instance by name. | |
| bool | addInstance (InstanceSharedPtr &inInstancePtr) | 
| Add an instance to the circuit. | |
| bool | removeInstance (InstanceSharedPtr &inInstancePtr) | 
| Remove an instance from the circuit. | |
| void | unplace (void) | 
| Unplace the circuit by discarding placement information for each instance. | |
| NetSharedPtrIterator | findNet (const string &inName) | 
| Find a circuit net by name. | |
| bool | addNet (NetSharedPtr &inNetPtr) | 
| Add a net to the circuit. | |
| bool | removeNet (NetSharedPtr &inNetPtr) | 
| Remove a net from the circuit. | |
| void | unroute (void) | 
| Unroute the circuit by discarding routing information for each net. | |
| InstanceSharedPtrConstIterator | instancesBegin (void) const | 
| Returns the begin constant iterator for instances. | |
| InstanceSharedPtrConstIterator | instancesEnd (void) const | 
| Returns the end constant iterator for instances. | |
| InstanceSharedPtrIterator | instancesBegin (void) | 
| Returns the begin non-constant iterator for instances. | |
| InstanceSharedPtrIterator | instancesEnd (void) | 
| Returns the end non-constant iterator for instances. | |
| size_t | getInstanceCount (void) const | 
| Returns the number of instances in the circuit. | |
| NetSharedPtrConstIterator | netsBegin (void) const | 
| Returns the begin constant iterator for nets. | |
| NetSharedPtrConstIterator | netsEnd (void) const | 
| Returns the end constant iterator for nets. | |
| NetSharedPtrIterator | netsBegin (void) | 
| Returns the begin non-constant iterator for nets. | |
| NetSharedPtrIterator | netsEnd (void) | 
| Returns the end non-constant iterator for nets. | |
| size_t | getNetCount (void) const | 
| Returns the number of nets in the circuit. | |
| Protected Types | |
| typedef std::string | string | 
| Imported type name. | |
| typedef boost::int64_t | int64_t | 
| Imported type name. | |
| typedef std::map< std::string, int64_t > | NameToIndexMap | 
| Map from an element name to a vector index. | |
| Protected Member Functions | |
| Circuit (const string &inName) | |
| Protected constructor. Circuit objects cannot be instantiated. | |
| Protected Attributes | |
| InstanceSharedPtrVector | mInstances | 
| Vector of Instance shared pointers for the circuit. | |
| NameToIndexMap | mInstanceMap | 
| Instance name to index mapping for this circuit. | |
| NetSharedPtrVector | mNets | 
| Vector of Net shared pointers for the circuit. | |
| NameToIndexMap | mNetMap | 
| Net name to index mapping for this circuit. | |
This class serves as a base class for Design and Module classes, and cannot be instantiated. A circuit is essentially a container for instances and their connecting nets.
Definition at line 46 of file Circuit.hpp.
| typedef std::string torc::physical::Circuit::string  [protected] | 
Imported type name.
Reimplemented from torc::physical::ConfigMap.
Reimplemented in torc::physical::Design, and torc::physical::Module.
Definition at line 51 of file Circuit.hpp.
| typedef boost::int64_t torc::physical::Circuit::int64_t  [protected] | 
| typedef std::map<std::string, int64_t> torc::physical::Circuit::NameToIndexMap  [protected] | 
| typedef InstanceSharedPtrVector::const_iterator torc::physical::Circuit::InstanceSharedPtrConstIterator | 
| typedef InstanceSharedPtrVector::iterator torc::physical::Circuit::InstanceSharedPtrIterator | 
| typedef NetSharedPtrVector::const_iterator torc::physical::Circuit::NetSharedPtrConstIterator | 
| typedef NetSharedPtrVector::iterator torc::physical::Circuit::NetSharedPtrIterator | 
| torc::physical::Circuit::Circuit | ( | const string & | inName | ) |  [inline, protected] | 
Protected constructor. Circuit objects cannot be instantiated.
| inName | The circuit name. | 
Definition at line 68 of file Circuit.hpp.
| InstanceSharedPtrIterator torc::physical::Circuit::findInstance | ( | const string & | inName | ) |  [inline] | 
Find a circuit instance by name.
| inName | The instance name to look for. | 
Definition at line 84 of file Circuit.hpp.
| bool torc::physical::Circuit::addInstance | ( | InstanceSharedPtr & | inInstancePtr | ) |  [inline] | 
Add an instance to the circuit.
| inInstancePtr | The instance to add. | 
Definition at line 94 of file Circuit.hpp.
| bool torc::physical::Circuit::removeInstance | ( | InstanceSharedPtr & | inInstancePtr | ) |  [inline] | 
Remove an instance from the circuit.
| inInstancePtr | The instance to remove. | 
Definition at line 109 of file Circuit.hpp.
| void torc::physical::Circuit::unplace | ( | void | ) |  [inline] | 
Unplace the circuit by discarding placement information for each instance.
Definition at line 131 of file Circuit.hpp.
| NetSharedPtrIterator torc::physical::Circuit::findNet | ( | const string & | inName | ) |  [inline] | 
Find a circuit net by name.
| inName | The net name to look for. | 
Definition at line 141 of file Circuit.hpp.
| bool torc::physical::Circuit::addNet | ( | NetSharedPtr & | inNetPtr | ) |  [inline] | 
Add a net to the circuit.
| inNetPtr | The net to add. | 
Definition at line 151 of file Circuit.hpp.
| bool torc::physical::Circuit::removeNet | ( | NetSharedPtr & | inNetPtr | ) |  [inline] | 
Remove a net from the circuit.
| inNetPtr | The net to remove. | 
Definition at line 166 of file Circuit.hpp.
| void torc::physical::Circuit::unroute | ( | void | ) |  [inline] | 
Unroute the circuit by discarding routing information for each net.
Definition at line 188 of file Circuit.hpp.
| InstanceSharedPtrConstIterator torc::physical::Circuit::instancesBegin | ( | void | ) | const  [inline] | 
| InstanceSharedPtrConstIterator torc::physical::Circuit::instancesEnd | ( | void | ) | const  [inline] | 
| InstanceSharedPtrIterator torc::physical::Circuit::instancesBegin | ( | void | ) |  [inline] | 
| InstanceSharedPtrIterator torc::physical::Circuit::instancesEnd | ( | void | ) |  [inline] | 
| size_t torc::physical::Circuit::getInstanceCount | ( | void | ) | const  [inline] | 
| NetSharedPtrConstIterator torc::physical::Circuit::netsBegin | ( | void | ) | const  [inline] | 
| NetSharedPtrConstIterator torc::physical::Circuit::netsEnd | ( | void | ) | const  [inline] | 
| NetSharedPtrIterator torc::physical::Circuit::netsBegin | ( | void | ) |  [inline] | 
| NetSharedPtrIterator torc::physical::Circuit::netsEnd | ( | void | ) |  [inline] | 
| size_t torc::physical::Circuit::getNetCount | ( | void | ) | const  [inline] | 
| NameToIndexMap torc::physical::Circuit::mInstanceMap  [protected] | 
| NetSharedPtrVector torc::physical::Circuit::mNets  [protected] | 
| NameToIndexMap torc::physical::Circuit::mNetMap  [protected] | 
 1.5.6
 1.5.6