torc-master
|
Physical design exporter for XDL. More...
#include <XdlExporter.hpp>
Public Member Functions | |
XdlExporter (std::ostream &inStream, const std::string &inIndentString="\t") | |
Public constructor. More... | |
void | operator() (const DesignSharedPtr &inDesignPtr) |
Top level design exporter operator. More... | |
void | write (const Circuit &circuit) |
Writes the given Circuit. More... | |
void | write (const Design &design) |
Writes the given Design. More... | |
void | write (const Module &module) |
Writes the given Module. More... | |
void | write (const Port &port) |
Writes the given Port. More... | |
void | write (const Instance &instance) |
Writes the given Instance. More... | |
void | write (const Net &net) |
Writes the given Net. More... | |
void | write (const InstancePin &instancePin, EPinDirection pinDirection, bool comma) |
Writes the given InstancePin, with an optional trailing comma. More... | |
void | write (const Pip &pip, bool comma) |
Writes the given pip, with an options trailing comma. More... | |
void | write (const Routethrough &routethrough) |
Writes the given Routethrough. More... | |
void | write (const ConfigMap &configMap) |
Writes the given ConfigMap. More... | |
Private Member Functions | |
void | indent (void) const |
Indent the current line. More... | |
Private Attributes | |
std::ostream & | mStream |
The output stream. More... | |
int | mIndentCount |
The indent count. More... | |
std::string | mIndentString |
The indent string. More... | |
Physical design exporter for XDL.
Definition at line 31 of file XdlExporter.hpp.
|
inline |
Public constructor.
inStream | The output stream. |
inIndentString | The indent string. The default parameter uses a single tab. |
Definition at line 48 of file XdlExporter.hpp.
|
inlineprivate |
Indent the current line.
Definition at line 41 of file XdlExporter.hpp.
void torc::physical::XdlExporter::operator() | ( | const DesignSharedPtr & | inDesignPtr | ) |
Top level design exporter operator.
Definition at line 25 of file XdlExporter.cpp.
void torc::physical::XdlExporter::write | ( | const Circuit & | circuit | ) |
Writes the given Circuit.
Definition at line 41 of file XdlExporter.cpp.
void torc::physical::XdlExporter::write | ( | const Design & | design | ) |
Writes the given Design.
Definition at line 53 of file XdlExporter.cpp.
void torc::physical::XdlExporter::write | ( | const Module & | module | ) |
Writes the given Module.
Definition at line 69 of file XdlExporter.cpp.
void torc::physical::XdlExporter::write | ( | const Port & | port | ) |
Writes the given Port.
Definition at line 90 of file XdlExporter.cpp.
void torc::physical::XdlExporter::write | ( | const Instance & | instance | ) |
Writes the given Instance.
Definition at line 117 of file XdlExporter.cpp.
void torc::physical::XdlExporter::write | ( | const Net & | net | ) |
Writes the given Net.
Definition at line 149 of file XdlExporter.cpp.
void torc::physical::XdlExporter::write | ( | const InstancePin & | instancePin, |
EPinDirection | pinDirection, | ||
bool | comma | ||
) |
Writes the given InstancePin, with an optional trailing comma.
Definition at line 186 of file XdlExporter.cpp.
void torc::physical::XdlExporter::write | ( | const Pip & | pip, |
bool | comma | ||
) |
Writes the given pip, with an options trailing comma.
Definition at line 196 of file XdlExporter.cpp.
void torc::physical::XdlExporter::write | ( | const Routethrough & | routethrough | ) |
Writes the given Routethrough.
Definition at line 206 of file XdlExporter.cpp.
void torc::physical::XdlExporter::write | ( | const ConfigMap & | configMap | ) |
Writes the given ConfigMap.
Definition at line 98 of file XdlExporter.cpp.
|
private |
The indent count.
Definition at line 36 of file XdlExporter.hpp.
|
private |
The indent string.
Definition at line 38 of file XdlExporter.hpp.
|
private |
The output stream.
Definition at line 34 of file XdlExporter.hpp.