OpenASIP
2.0
|
#include <HDLGenerator.hh>
Public Member Functions | |
Behaviour () | |
virtual | ~Behaviour ()=default |
Behaviour & | operator<< (Synchronous &rhs) |
Behaviour & | operator<< (Asynchronous &rhs) |
Behaviour & | operator<< (Synchronous &&rhs) |
Behaviour & | operator<< (NewLine &rhs) |
Behaviour & | operator<< (NewLine &&rhs) |
Behaviour & | operator<< (Assign &assignment) |
Behaviour & | operator<< (Assign &&assignment) |
void | behaviour (std::ostream &stream, Language lang, int level) |
Public Member Functions inherited from HDLGenerator::Generatable | |
Generatable (std::string name) | |
virtual | ~Generatable ()=default |
virtual void | build () |
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, int indent) |
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 |
Wrapper for behavioral code constructs.
Definition at line 1110 of file HDLGenerator.hh.
|
inline |
Definition at line 1112 of file HDLGenerator.hh.
|
virtualdefault |
|
inline |
Definition at line 1150 of file HDLGenerator.hh.
References HDLGenerator::Generatable::forAll().
Definition at line 1145 of file HDLGenerator.hh.
References HDLGenerator::Generatable::addComponent().
Definition at line 1140 of file HDLGenerator.hh.
References HDLGenerator::Generatable::addComponent().
|
inline |
Definition at line 1120 of file HDLGenerator.hh.
References HDLGenerator::Generatable::addComponent().
Definition at line 1135 of file HDLGenerator.hh.
References HDLGenerator::Generatable::addComponent().
Definition at line 1130 of file HDLGenerator.hh.
References HDLGenerator::Generatable::addComponent().
|
inline |
Definition at line 1125 of file HDLGenerator.hh.
References HDLGenerator::Generatable::addComponent().
|
inline |
Definition at line 1115 of file HDLGenerator.hh.
References HDLGenerator::Generatable::addComponent().