|
torc-master
|
#include <Decompiler.hpp>
Inheritance diagram for torc::generic::Decompiler:
Collaboration diagram for torc::generic::Decompiler:Public Member Functions | |
| void | visit (Root &inroot) throw (Error) |
| void | visit (Design &inDesign) throw (Error) |
| void | visit (Library &inlibrary) throw (Error) |
| void | visit (Cell &incell) throw (Error) |
| void | visit (View &inview) throw (Error) |
| void | visit (ScalarPort &inscalarPort) throw (Error) |
| void | visit (VectorPort &invectorPort) throw (Error) |
| void | visit (VectorPortBit &inportBit) throw (Error) |
| void | visit (PortBundle &inportBundle) throw (Error) |
| void | visit (ScalarNet &inscalarNet) throw (Error) |
| void | visit (VectorNet &invectorNet) throw (Error) |
| void | visit (VectorNetBit &innetBit) throw (Error) |
| void | visit (NetBundle &innetBundle) throw (Error) |
| void | visit (SingleInstance &insingleInstance) throw (Error) |
| void | visit (InstanceArray &ininstanceArray) throw (Error) |
| void | visit (InstanceArrayMember &ininstanceArray) throw (Error) |
| void | visit (ScalarPortReference &inScalarPortRef) throw (Error) |
| void | visit (VectorPortReference &inVectorPortRef) throw (Error) |
| void | visit (VectorPortBitReference &inVectorPortBitRef) throw (Error) |
| void | visit (PortBundleReference &inPortBundleRef) throw (Error) |
| void | visit (SingleParameter &insingleParameter) throw (Error) |
| void | visit (ParameterArray &inparamArray) throw (Error) |
| void | visit (ParameterArrayElement &inParamArrayElement) throw (Error) |
| void | visit (Property &inProperty) throw (Error) |
| void | visit (PortList &inPortList) throw (Error) |
| void | visit (PortListAlias &inPortListAlias) throw (Error) |
| void | visit (Status &inStatus) throw (Error) |
| void | visit (Permutable &inPermutable) throw (Error) |
| void | visit (InterfaceJoinedInfo &inInterfaceJoinedInfo) throw (Error) |
| void | visit (SimulationInfo &simuInfo) throw (Error) |
| void | visit (Simulate &simulate) throw (Error) |
| void | visit (Apply &apply) throw (Error) |
| void | visit (LogicalResponse &logicalResponse) throw (Error) |
| void | visit (LogicValue &logicVal) throw (Error) |
| void | visit (LogicElement &logicElement) throw (Error) |
| void | visit (WaveValue &waveValue) throw (Error) |
| void | visit (Timing &timing) throw (Error) |
| void | visit (Event &event) throw (Error) |
| void | visit (ForbiddenEvent &forbiddenevent) throw (Error) |
| void | printValueType (const Value &value) throw (Error) |
| void | printValue (const Value &value) throw (Error) |
| void | printUnit (const Unit unit) throw (Error) |
| void | printDerivation (const Derivation derivation) throw (Error) |
| void | printArray (const std::vector< size_t > &outVector, size_t depth, std::vector< ParameterSharedPtr >::iterator &itStart, std::vector< ParameterSharedPtr >::iterator &itEnd) throw (Error) |
| void | printPortAttributes (const PortAttributesSharedPtr &inAttrib) throw (Error) |
| void | printNetAttributes (const NetAttributesSharedPtr &inAttrib) throw (Error) |
| void | printViewInterfaceAttributes (const InterfaceAttributesSharedPtr &inAttrib) throw (Error) |
| void | printLogicValueAttributes (const LogicValueAttributesSharedPtr &inAttrib) throw (Error) |
| void | printUserData (std::list< std::string > inElements) throw (Error) |
| void | printComments (std::vector< std::string > &inElements) throw (Error) |
| void | operator() () throw (Error) |
| void | decompile () throw (Error) |
| size_t | getIndentation () const |
| void | setIndentation (size_t inIndentation) |
| Decompiler (const RootSharedPtr &inRoot, std::ostream &outStream=std::cout) | |
| Decompiler (const Decompiler &inSource) | |
| ~Decompiler () throw () | |
| Decompiler & | operator= (const Decompiler &inSource) |
| virtual void | visit (_Tp &client)=0 throw (Error) |
Private Attributes | |
| RootSharedPtr | mRoot |
| std::ostream & | mOut |
| bool | mIsJoiningContext |
| bool | mIsPermutableContext |
| bool | mIsExternContext |
| bool | mParamAssignContext |
| bool | mIsPortInstanceContext |
| size_t | mIndentation |
| VisitorApplier< Decompiler > | mApplier |
This class generates an EDIF 2 0 0 file from an existing class hierarchy. It writes to a stream, so this can be used to write to any stream including string streams.
Definition at line 34 of file Decompiler.hpp.
| torc::generic::Decompiler::Decompiler | ( | const RootSharedPtr & | inRoot, |
| std::ostream & | outStream = std::cout |
||
| ) |
Definition at line 2349 of file Decompiler.cpp.
| torc::generic::Decompiler::Decompiler | ( | const Decompiler & | inSource | ) |
Definition at line 2356 of file Decompiler.cpp.
| torc::generic::Decompiler::~Decompiler | ( | ) | ||
| throw | ( | |||
| ) | ||||
Definition at line 2354 of file Decompiler.cpp.
| void torc::generic::Decompiler::decompile | ( | ) | ||
| throw | ( | Error | ||
| ) | ||||
Decompile the tree.
| [in] | root | Root of the OM tree. |
Definition at line 2336 of file Decompiler.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 173 of file Decompiler.hpp.
| void torc::generic::Decompiler::operator() | ( | void | ) | ||
| throw | ( | Error | |||
| ) | |||||
Convenience wrapper function to call decompile()
Definition at line 2322 of file Decompiler.cpp.
Here is the call graph for this function:| Decompiler & torc::generic::Decompiler::operator= | ( | const Decompiler & | inSource | ) |
Definition at line 2361 of file Decompiler.cpp.
| void torc::generic::Decompiler::printArray | ( | const std::vector< size_t > & | outVector, |
| size_t | depth, | ||
| std::vector< ParameterSharedPtr >::iterator & | itStart, | ||
| std::vector< ParameterSharedPtr >::iterator & | itEnd | ||
| ) | |||
| throw | ( | Error | |
| ) | |||
Definition at line 2007 of file Decompiler.cpp.
| void torc::generic::Decompiler::printComments | ( | std::vector< std::string > & | inElements | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 1813 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::printDerivation | ( | const Derivation | derivation | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 1986 of file Decompiler.cpp.
| void torc::generic::Decompiler::printLogicValueAttributes | ( | const LogicValueAttributesSharedPtr & | inAttrib | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 2205 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::printNetAttributes | ( | const NetAttributesSharedPtr & | inAttrib | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 2131 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::printPortAttributes | ( | const PortAttributesSharedPtr & | inAttrib | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 2030 of file Decompiler.cpp.
Here is the call graph for this function:Definition at line 1915 of file Decompiler.cpp.
| void torc::generic::Decompiler::printUserData | ( | std::list< std::string > | inElements | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 1797 of file Decompiler.cpp.
Here is the call graph for this function:Definition at line 1859 of file Decompiler.cpp.
Here is the call graph for this function:Definition at line 1828 of file Decompiler.cpp.
| void torc::generic::Decompiler::printViewInterfaceAttributes | ( | const InterfaceAttributesSharedPtr & | inAttrib | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 2167 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::setIndentation | ( | size_t | inIndentation | ) |
Definition at line 2345 of file Decompiler.cpp.
Definition at line 178 of file Decompiler.cpp.
Here is the call graph for this function:Definition at line 219 of file Decompiler.cpp.
Here is the call graph for this function:Definition at line 250 of file Decompiler.cpp.
Here is the call graph for this function:Definition at line 312 of file Decompiler.cpp.
Here is the call graph for this function:Definition at line 361 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | ScalarPort & | inscalarPort | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 486 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | VectorPort & | invectorPort | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 563 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | VectorPortBit & | inportBit | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 645 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | PortBundle & | inportBundle | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 696 of file Decompiler.cpp.
Here is the call graph for this function:Definition at line 828 of file Decompiler.cpp.
Here is the call graph for this function:Definition at line 920 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | VectorNetBit & | innetBit | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 972 of file Decompiler.cpp.
Here is the call graph for this function:Definition at line 875 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | SingleInstance & | insingleInstance | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 761 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | InstanceArray & | ininstanceArray | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 992 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | InstanceArrayMember & | ininstanceArray | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 1038 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | ScalarPortReference & | inScalarPortRef | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 540 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | VectorPortReference & | inVectorPortRef | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 622 of file Decompiler.cpp.
Here is the call graph for this function:
|
pure virtualinherited | ||||||||||||||
| void torc::generic::Decompiler::visit | ( | VectorPortBitReference & | inVectorPortBitRef | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 669 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | PortBundleReference & | inPortBundleRef | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 743 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | SingleParameter & | insingleParameter | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 1054 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | ParameterArray & | inparamArray | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 1084 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | ParameterArrayElement & | inParamArrayElement | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 1131 of file Decompiler.cpp.
Here is the call graph for this function:Definition at line 1143 of file Decompiler.cpp.
Here is the call graph for this function:Definition at line 1175 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | PortListAlias & | inPortListAlias | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 1205 of file Decompiler.cpp.
Here is the call graph for this function:Definition at line 1219 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | Permutable & | inPermutable | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 1287 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | InterfaceJoinedInfo & | inInterfaceJoinedInfo | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 1316 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | SimulationInfo & | simuInfo | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 1370 of file Decompiler.cpp.
Here is the call graph for this function:Definition at line 1393 of file Decompiler.cpp.
Here is the call graph for this function:Definition at line 1430 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | LogicalResponse & | logicalResponse | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 1462 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | LogicValue & | logicVal | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 1565 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | LogicElement & | logicElement | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 1498 of file Decompiler.cpp.
Here is the call graph for this function:Definition at line 1549 of file Decompiler.cpp.
Here is the call graph for this function:Definition at line 1599 of file Decompiler.cpp.
Here is the call graph for this function:Definition at line 1655 of file Decompiler.cpp.
Here is the call graph for this function:| void torc::generic::Decompiler::visit | ( | ForbiddenEvent & | forbiddenevent | ) | |
| throw | ( | Error | |||
| ) | |||||
Definition at line 1763 of file Decompiler.cpp.
Here is the call graph for this function:
|
private |
Definition at line 170 of file Decompiler.hpp.
|
private |
Definition at line 169 of file Decompiler.hpp.
|
private |
Definition at line 166 of file Decompiler.hpp.
|
private |
Definition at line 164 of file Decompiler.hpp.
|
private |
Definition at line 165 of file Decompiler.hpp.
|
private |
Definition at line 168 of file Decompiler.hpp.
|
private |
Definition at line 163 of file Decompiler.hpp.
|
private |
Definition at line 167 of file Decompiler.hpp.
|
private |
Definition at line 162 of file Decompiler.hpp.