| OpenASIP 2.2
    | 
#include <HDLGenerator.hh>


| Public Member Functions | |
| template<typename SS > | |
| If (LHSValue cls, SS ifBlock) | |
| template<typename SS > | |
| void | elseIfClause (LHSValue cls, SS ifBlock) | 
| template<typename SS > | |
| void | elseClause (SS elseBlock) | 
| virtual void | hdl (std::ostream &stream, Language lang, int level) override | 
| void | build () override | 
|  Public Member Functions inherited from HDLGenerator::SequentialStatement | |
| SequentialStatement (std::string name) | |
|  Public Member Functions inherited from HDLGenerator::Generatable | |
| Generatable (std::string name) | |
| virtual | ~Generatable ()=default | 
| virtual void | reads (const std::string &var) | 
| virtual void | reads (const LHSValue &var) | 
| virtual void | writes (const std::string &var) | 
| virtual Register & | getRegister (const std::string &var) | 
| virtual bool | hasOption (const std::string &var) | 
| virtual bool | isRegister (const std::string &name) | 
| virtual bool | isVariable (const std::string &name) | 
| virtual bool | isConstant (const std::string &name) | 
| virtual Width | width (const std::string &name) | 
| int | integerWidth (const std::string &name) | 
| virtual WireType | wireType (const std::string &name) | 
| virtual Width | width () | 
| virtual WireType | wireType () const | 
| virtual void | hdl (std::ostream &stream, Language lang) | 
| virtual void | implementAll (std::ostream &stream, Language lang) | 
| virtual void | implementAll (std::ostream &stream, Language lang, int indent) | 
| template<typename Func > | |
| void | forAll (Func func) | 
| template<typename Type , typename Func > | |
| void | forAll (Func func) | 
| template<class Type > | |
| bool | parentIs () | 
| template<class Type > | |
| Type * | parentType () | 
| void | pushComponent (std::shared_ptr< Generatable > c) | 
| template<class Component > | |
| void | addComponent (Component c) | 
| const std::string & | name () const noexcept | 
| void | setParent (Generatable *parent) noexcept | 
| Generatable * | parent () const noexcept | 
| Private Attributes | |
| std::vector< std::pair< LHSValue, std::shared_ptr< SequentialStatement > > > | ifBlocks_ | 
| std::shared_ptr< SequentialStatement > | elseBlock_ | 
if/elsif/else.
Definition at line 787 of file HDLGenerator.hh.
| 
 | inline | 
Definition at line 790 of file HDLGenerator.hh.
References ifBlocks_.
| 
 | inlineoverridevirtual | 
Reimplemented from HDLGenerator::Generatable.
Definition at line 855 of file HDLGenerator.hh.
References HDLGenerator::Generatable::build(), elseBlock_, ifBlocks_, and HDLGenerator::Generatable::reads().

| 
 | inline | 
Definition at line 805 of file HDLGenerator.hh.
References elseBlock_.
Referenced by FUGen::createOutputPipeline(), and FUGen::createShadowRegisters().
| 
 | inline | 
Definition at line 798 of file HDLGenerator.hh.
References ifBlocks_.
Referenced by FUGen::createOutputPipeline().
| 
 | inlineoverridevirtual | 
Reimplemented from HDLGenerator::SequentialStatement.
Definition at line 814 of file HDLGenerator.hh.
References elseBlock_, ifBlocks_, StringTools::indent(), HDLGenerator::Verilog, and HDLGenerator::VHDL.

| 
 | private | 
Definition at line 871 of file HDLGenerator.hh.
Referenced by build(), elseClause(), and hdl().
| 
 | private | 
Definition at line 870 of file HDLGenerator.hh.
Referenced by build(), elseIfClause(), hdl(), and If().