CIRCT 24.0.0git
Loading...
Searching...
No Matches
circt::hw::PortConverter< PortConversionBuilderImpl > Class Template Reference

#include <PortConverter.h>

Inheritance diagram for circt::hw::PortConverter< PortConversionBuilderImpl >:
Collaboration diagram for circt::hw::PortConverter< PortConversionBuilderImpl >:

Public Member Functions

template<typename... Args>
 PortConverter (hw::InstanceGraph &graph, hw::HWMutableModuleLike mod, Args &&...args)
Public Member Functions inherited from circt::hw::PortConverterImpl
LogicalResult run ()
 Run port conversion.
Block * getBody () const
hw::HWMutableModuleLike getModule () const
Value createNewInput (hw::PortInfo origPort, const Twine &suffix, Type type, hw::PortInfo &newPort, PortAttrPolicy attrPolicy=PortAttrPolicy::Drop)
 These two methods take care of allocating new ports in the correct place based on the position of 'origPort'.
void createNewOutput (hw::PortInfo origPort, const Twine &suffix, Type type, Value output, hw::PortInfo &newPort, PortAttrPolicy attrPolicy=PortAttrPolicy::Drop)
 Same as above.

Additional Inherited Members

Protected Member Functions inherited from circt::hw::PortConverterImpl
 PortConverterImpl (igraph::InstanceGraphNode *moduleNode)
Protected Attributes inherited from circt::hw::PortConverterImpl
std::unique_ptr< PortConversionBuilder > ssb

Detailed Description

template<typename PortConversionBuilderImpl>
class circt::hw::PortConverter< PortConversionBuilderImpl >

Definition at line 176 of file PortConverter.h.

Constructor & Destructor Documentation

◆ PortConverter()

template<typename PortConversionBuilderImpl>
template<typename... Args>
circt::hw::PortConverter< PortConversionBuilderImpl >::PortConverter ( hw::InstanceGraph & graph,
hw::HWMutableModuleLike mod,
Args &&... args )
inline

The documentation for this class was generated from the following file: