Basic vhdl elaboration for unary not operator.
This commit is contained in:
parent
f4217af506
commit
f0e61a1db7
|
|
@ -496,6 +496,7 @@ class ExpUNot : public ExpUnary {
|
|||
ExpUNot(Expression*op1);
|
||||
~ExpUNot();
|
||||
|
||||
int elaborate_expr(Entity*ent, Architecture*arc, const VType*ltype);
|
||||
int emit(ostream&out, Entity*ent, Architecture*arc);
|
||||
void dump(ostream&out, int indent = 0) const;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -310,7 +310,7 @@ int ExpConditional::elaborate_expr(Entity*ent, Architecture*arc, const VType*lty
|
|||
return errors;
|
||||
}
|
||||
|
||||
int ExpFunc::elaborate_expr(Entity*ent, Architecture*arc, const VType*ltype)
|
||||
int ExpFunc::elaborate_expr(Entity*ent, Architecture*arc, const VType*)
|
||||
{
|
||||
int errors = 0;
|
||||
|
||||
|
|
@ -430,3 +430,10 @@ int ExpString::elaborate_expr(Entity*, Architecture*, const VType*ltype)
|
|||
set_type(ltype);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int ExpUNot::elaborate_expr(Entity*, Architecture*, const VType*ltype)
|
||||
{
|
||||
ivl_assert(*this, ltype != 0);
|
||||
set_type(ltype);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue