Class: Idl::XregType
- Inherits:
-
RegFileElementType
- Object
- Type
- RegFileElementType
- Idl::XregType
- Defined in:
- lib/idlc/type.rb
Overview
XReg is really a Bits<> type – keep as a named alias for backwards compatibility
Constant Summary
Constants inherited from Type
Type::KINDS, Type::QUALIFIERS, Type::TYPE_FROM_KIND
Instance Attribute Summary
Attributes inherited from RegFileElementType
Attributes inherited from Type
#kind, #max_width, #qualifiers, #width_ast
Instance Method Summary collapse
-
#initialize(xlen) ⇒ XregType
constructor
A new instance of XregType.
Methods inherited from RegFileElementType
Methods inherited from Type
#==, #ary?, #ary_type, #clone, #comparable_to?, #const?, #convertable_to?, #default, #enum_class, #equal_to?, from_json_schema, from_typename, #global?, #integral?, #known?, #make_const, #make_const!, #make_global, #make_known, #make_signed, #mutable?, #name, #qualify, #runtime?, #signed?, #sub_type, #to_idl, #to_s, #tuple_types, #width
Constructor Details
#initialize(xlen) ⇒ XregType
Returns a new instance of XregType.
982 983 984 |
# File 'lib/idlc/type.rb', line 982 def initialize(xlen) super("X", xlen, max_width: 64) end |