Class: HDLRuby::High::TypeVector
- Inherits:
-
Low::TypeVector
- Object
- Low::Type
- Low::TypeVector
- HDLRuby::High::TypeVector
- Includes:
- Htype, HvectorType
- Defined in:
- lib/HDLRuby/hruby_high.rb,
lib/HDLRuby/hruby_rcsim.rb
Overview
Describes a vector type. class TypeVector < TypeExtend
Direct Known Subclasses
Constant Summary collapse
Constants included from Low::Low2Symbol
Low::Low2Symbol::Low2SymbolPrefix, Low::Low2Symbol::Low2SymbolTable, Low::Low2Symbol::Symbol2LowTable
Instance Attribute Summary
Attributes inherited from Low::TypeVector
Attributes inherited from Low::Type
Attributes included from Low::Hparent
Instance Method Summary collapse
-
#to_rcsim ⇒ Object
Generate the C description of the type.
Methods included from HvectorType
Methods included from Htype
#[], #binary, #comp_operator, #constant, #define_operator, #define_operator_with_context, #each_overload, #htype?, included, #inner, #inout, #input, #left, #name=, #output, #register, #right, #shared, #to_type, #typedef, #unary
Methods included from Tprocess
#&, #*, #+, #+@, #-@, #/, #<<, #==, #abs, #lr, #make, #resolve, #slice, #~
Methods inherited from Low::TypeVector
#base?, #break_types!, #dir, #direction, #each_type_deep, #eql?, #equivalent?, #fixed?, #float?, #hash, #initialize, #max, #min, #set_base!, #set_range!, #signed?, #size, #to_c, #to_hdr, #to_high, #to_verilog, #to_vhdl, #unsigned?, #vector?, #width
Methods inherited from Low::Type
#base, #base?, #boolean?, #break_types!, #direction, #each_type_deep, #eql?, #equivalent?, #fixed?, #float?, #hash, #hierarchical?, #initialize, #leaf?, #max, #min, #range, #range?, #regular?, #set_name!, #signed?, #struct?, #to_c, #to_hdr, #to_high, #to_vector, #to_verilog, #to_vhdl, #types?, #unsigned?, #vector?, #width
Methods included from Low::Low2Symbol
Methods included from Low::Hparent
#hierarchy, #no_parent!, #scope
Constructor Details
This class inherits a constructor from HDLRuby::Low::TypeVector
Instance Method Details
#to_rcsim ⇒ Object
Generate the C description of the type.
257 258 259 260 261 |
# File 'lib/HDLRuby/hruby_rcsim.rb', line 257 def to_rcsim # Create the type C object. @rctype = RCSim.rcsim_get_type_vector(self.base.to_rcsim,self.size) return @rctype end |