Home
last modified time | relevance | path

Searched refs:VTypePrimitive (Results 1 – 10 of 10) sorted by relevance

/dports/cad/iverilog/verilog-11.0/vhdlpp/
H A Dstd_types.h31 extern const VTypePrimitive primitive_BIT;
32 extern const VTypePrimitive primitive_INTEGER;
33 extern const VTypePrimitive primitive_NATURAL;
34 extern const VTypePrimitive primitive_REAL;
35 extern const VTypePrimitive primitive_STDLOGIC;
36 extern const VTypePrimitive primitive_TIME;
37 extern const VTypePrimitive primitive_TEXT;
38 extern const VTypePrimitive primitive_LINE;
H A Dstd_types.cc28 const VTypePrimitive primitive_BIT(VTypePrimitive::BIT, true);
29 const VTypePrimitive primitive_INTEGER(VTypePrimitive::INTEGER);
30 const VTypePrimitive primitive_NATURAL(VTypePrimitive::NATURAL);
31 const VTypePrimitive primitive_REAL(VTypePrimitive::REAL);
32 const VTypePrimitive primitive_STDLOGIC(VTypePrimitive::STDLOGIC, true);
33 const VTypePrimitive primitive_TIME(VTypePrimitive::TIME, true);
H A Dvtype_match.cc44 bool VTypePrimitive::type_match(const VType*that) const in type_match()
49 if(const VTypePrimitive*prim = dynamic_cast<const VTypePrimitive*>(that)) { in type_match()
H A Dvtype.cc46 VTypePrimitive::VTypePrimitive(VTypePrimitive::type_t tt, bool packed) in VTypePrimitive() function in VTypePrimitive
51 VTypePrimitive::~VTypePrimitive() in ~VTypePrimitive()
55 void VTypePrimitive::show(ostream&out) const in show()
79 int VTypePrimitive::get_width(ScopeBase*) const in get_width()
H A Dvtype_stream.cc156 void VTypePrimitive::write_to_stream(ostream&fd) const in write_to_stream()
188 if (const VTypePrimitive*tmp = dynamic_cast<const VTypePrimitive*>(base_)) { in write_std_types()
189 if (tmp->type()==VTypePrimitive::NATURAL) { in write_std_types()
H A Dvtype_emit.cc65 const VTypePrimitive*base = dynamic_cast<const VTypePrimitive*> (raw_base); in emit_def()
179 int VTypePrimitive::emit_primitive_type(ostream&out) const in emit_primitive_type()
208 int VTypePrimitive::emit_def(ostream&out, perm_string name) const in emit_def()
H A Dexpression_elaborate.cc615 if(const VTypePrimitive*prim = dynamic_cast<const VTypePrimitive*>(t2)) { in resolve_operand_types_()
617 VTypePrimitive::type_t t2_type = prim->type(); in resolve_operand_types_()
619 if((t2_type == VTypePrimitive::NATURAL || t2_type == VTypePrimitive::INTEGER) in resolve_operand_types_()
623 if((t2_type == VTypePrimitive::NATURAL) && t1_parent == &primitive_UNSIGNED) in resolve_operand_types_()
628 if(const VTypePrimitive*prim = dynamic_cast<const VTypePrimitive*>(t1)) { in resolve_operand_types_()
630 VTypePrimitive::type_t t1_type = prim->type(); in resolve_operand_types_()
632 if((t1_type == VTypePrimitive::NATURAL || t1_type == VTypePrimitive::INTEGER) in resolve_operand_types_()
636 if((t1_type == VTypePrimitive::NATURAL) && t2_parent == &primitive_UNSIGNED) in resolve_operand_types_()
H A Dvtype.h158 class VTypePrimitive : public VType {
164 VTypePrimitive(type_t tt, bool packed = false);
165 ~VTypePrimitive();
167 VType*clone() const { return new VTypePrimitive(*this); } in clone()
H A Dexpression_emit.cc38 inline static int emit_logic(char val, ostream& out, const VTypePrimitive::type_t type) in emit_logic()
48 assert(type == VTypePrimitive::STDLOGIC); in emit_logic()
478 const VTypePrimitive*etype) const in emit_primitive_bit_()
500 if (const VTypePrimitive*use_type = dynamic_cast<const VTypePrimitive*>(etype)) { in emit()
983 const VTypePrimitive*etype = dynamic_cast<const VTypePrimitive*> (arr->basic_type()); in emit_as_array_()
998 assert(etype->type() != VTypePrimitive::INTEGER); in emit_as_array_()
H A Dexpression.h39 class VTypePrimitive; variable
486 const VTypePrimitive*etype) const;