Module: HDLRuby::High::HvectorType

Included in:
TypeVector
Defined in:
lib/HDLRuby/hruby_high.rb

Overview

Methods for vector types.

Instance Method Summary collapse

Instance Method Details

#to_low(name = self.name) ⇒ Object

Converts the type to HDLRuby::Low and set its +name+.



1690
1691
1692
1693
1694
# File 'lib/HDLRuby/hruby_high.rb', line 1690

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