Module: HDLRuby::High::HvectorType
- Included in:
- TypeVector
- Defined in:
- lib/HDLRuby/hruby_high.rb
Overview
Methods for vector types.
Instance Method Summary collapse
-
#to_low(name = self.name) ⇒ Object
Converts the type to HDLRuby::Low and set its +name+.
Instance Method Details
#to_low(name = self.name) ⇒ Object
Converts the type to HDLRuby::Low and set its +name+.
1609 1610 1611 1612 1613 |
# File 'lib/HDLRuby/hruby_high.rb', line 1609 def to_low(name = self.name) # Generate and return the new type. return HDLRuby::Low::TypeVector.new(name,self.base.to_low, self.range.to_low) end |