OpenASIP
2.0
|
#include <LHSValue.hh>
Public Member Functions | |
LHSValue () | |
void | hdl (std::ostream &stream, Language lang, int level) |
void | hdl (std::ostream &stream, Language lang) |
void | writeSignals (std::unordered_set< std::string > &readList) const |
std::string | vhdl () const |
std::string | verilog () const |
LHSValue | operator|| (LHSValue rhs) |
LHSValue | operator| (LHSValue rhs) |
LHSValue | operator&& (LHSValue rhs) |
LHSValue | operator& (LHSValue rhs) |
LHSValue | operator^ (LHSValue rhs) |
LHSValue | operator! () |
LHSValue | operator~ () |
Protected Attributes | |
std::unordered_set< std::string > | readList_ |
std::string | vhdl_ |
std::string | verilog_ |
Base class for left-hand side values (assignments, If clauses)
Definition at line 39 of file LHSValue.hh.
|
inline |
Definition at line 41 of file LHSValue.hh.
void HDLGenerator::LHSValue::hdl | ( | std::ostream & | stream, |
Language | lang | ||
) |
void HDLGenerator::LHSValue::hdl | ( | std::ostream & | stream, |
Language | lang, | ||
int | level | ||
) |
Definition at line 37 of file LHSValue.cc.
References StringTools::indent().
Referenced by HDLGenerator::Assign::hdl(), HDLGenerator::Switch::hdl(), and HDLGenerator::Register::reset().
LHSValue HDLGenerator::LHSValue::operator! | ( | ) |
Definition at line 84 of file LHSValue.cc.
Definition at line 74 of file LHSValue.cc.
Definition at line 69 of file LHSValue.cc.
Definition at line 79 of file LHSValue.cc.
Definition at line 64 of file LHSValue.cc.
Definition at line 59 of file LHSValue.cc.
LHSValue HDLGenerator::LHSValue::operator~ | ( | ) |
Definition at line 89 of file LHSValue.cc.
|
inline |
Definition at line 46 of file LHSValue.hh.
References verilog_.
Referenced by HDLGenerator::BinaryOp::BinaryOp(), HDLGenerator::Reduce::Reduce(), and HDLGenerator::UnaryOp::UnaryOp().
|
inline |
Definition at line 45 of file LHSValue.hh.
References vhdl_.
Referenced by HDLGenerator::BinaryOp::BinaryOp(), HDLGenerator::Reduce::Reduce(), and HDLGenerator::UnaryOp::UnaryOp().
void HDLGenerator::LHSValue::writeSignals | ( | std::unordered_set< std::string > & | readList | ) | const |
Definition at line 52 of file LHSValue.cc.
References readList_.
Referenced by HDLGenerator::BinaryOp::BinaryOp(), HDLGenerator::Generatable::reads(), HDLGenerator::Reduce::Reduce(), and HDLGenerator::UnaryOp::UnaryOp().
|
protected |
Definition at line 58 of file LHSValue.hh.
Referenced by HDLGenerator::BinaryOp::BinaryOp(), HDLGenerator::Ext::Ext(), HDLGenerator::LHSSignal::LHSSignal(), HDLGenerator::Reduce::Reduce(), HDLGenerator::Sext::Sext(), HDLGenerator::Splice::Splice(), HDLGenerator::UnaryOp::UnaryOp(), and writeSignals().
|
protected |
Definition at line 60 of file LHSValue.hh.
Referenced by HDLGenerator::BinaryLiteral::BinaryLiteral(), HDLGenerator::BinaryOp::BinaryOp(), HDLGenerator::Ext::Ext(), hdl(), HDLGenerator::LHSSignal::LHSSignal(), HDLGenerator::Reduce::Reduce(), HDLGenerator::Sext::Sext(), HDLGenerator::Splice::Splice(), HDLGenerator::UnaryOp::UnaryOp(), verilog(), HDLGenerator::Ext::write_rtl(), and HDLGenerator::Sext::write_rtl().
|
protected |
Definition at line 59 of file LHSValue.hh.
Referenced by HDLGenerator::BinaryLiteral::BinaryLiteral(), HDLGenerator::BinaryOp::BinaryOp(), HDLGenerator::Ext::Ext(), hdl(), HDLGenerator::LHSSignal::LHSSignal(), HDLGenerator::Reduce::Reduce(), HDLGenerator::Sext::Sext(), HDLGenerator::Splice::Splice(), HDLGenerator::UnaryOp::UnaryOp(), vhdl(), HDLGenerator::Ext::write_rtl(), and HDLGenerator::Sext::write_rtl().