#include <HDLGenerator.hh>
|
| BinaryConstant (std::string name, int width, int value) |
|
int | value () const noexcept |
|
Width | width () final |
|
void | declare (std::ostream &stream, Language lang, int level) |
|
| 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 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 |
|
Binary constant.
Definition at line 244 of file HDLGenerator.hh.
◆ BinaryConstant()
HDLGenerator::BinaryConstant::BinaryConstant |
( |
std::string |
name, |
|
|
int |
width, |
|
|
int |
value |
|
) |
| |
|
inline |
◆ declare()
void HDLGenerator::BinaryConstant::declare |
( |
std::ostream & |
stream, |
|
|
Language |
lang, |
|
|
int |
level |
|
) |
| |
|
inline |
◆ value()
int HDLGenerator::BinaryConstant::value |
( |
| ) |
const |
|
inlinenoexcept |
◆ width()
Width HDLGenerator::BinaryConstant::width |
( |
| ) |
|
|
inlinefinalvirtual |
◆ value_
int HDLGenerator::BinaryConstant::value_ |
|
private |
◆ width_
int HDLGenerator::BinaryConstant::width_ |
|
private |
The documentation for this class was generated from the following file: