Class: HDLRuby::High::TypeDef
- Inherits:
-
Low::TypeDef
- Object
- Base::Type
- Low::Type
- Low::TypeDef
- HDLRuby::High::TypeDef
- Includes:
- Htype
- Defined in:
- lib/HDLRuby/hruby_high.rb
Overview
Describes a high-level type definition.
NOTE: type definition are actually type with a name refering to another type (and equivalent to it).
Constant Summary collapse
Constants included from Low::Low2Symbol
Low::Low2Symbol::Low2SymbolPrefix, Low::Low2Symbol::Low2SymbolTable, Low::Low2Symbol::Symbol2LowTable
Instance Attribute Summary
Attributes inherited from Low::TypeDef
Attributes inherited from Low::Type
Attributes included from Low::Hparent
Instance Method Summary collapse
-
#initialize(name, type) ⇒ TypeDef
constructor
Creates a new type definition named +name+ refering +type+.
-
#to_low(name = self.name) ⇒ Object
Converts the type to HDLRuby::Low and set its +name+.
Methods included from Htype
#[], #binary, #comp_operator, #constant, #define_operator, #each_overload, #htype?, included, #inner, #inout, #input, #left, #name=, #output, #register, #right, #typedef, #unary
Methods included from Tprocess
#&, #*, #+, #+@, #-@, #/, #<<, #==, #abs, #make, #resolve, #slice, #~
Methods inherited from Low::TypeDef
#each_type_deep, #eql?, #hash, #set_def!, #to_c, #to_high, #to_vhdl
Methods inherited from Low::Type
#base, #base?, #boolean?, #break_types!, #direction, #each_type_deep, #eql?, #equivalent?, #fixed?, #float?, #hash, #leaf?, #range, #range?, #regular?, #set_name!, #signed?, #struct?, #to_c, #to_high, #to_vector, #to_verilog, #to_vhdl, #types?, #unsigned?, #width
Methods included from Low::Low2Symbol
Methods included from Low::Ltype
Constructor Details
#initialize(name, type) ⇒ TypeDef
Creates a new type definition named +name+ refering +type+.
1543 1544 1545 1546 |
# File 'lib/HDLRuby/hruby_high.rb', line 1543 def initialize(name,type) # Initialize the type structure. super(name,type) end |