module HDLRuby::High::HvectorType
Methods for vector types.
Public Instance Methods
to_low(name = self.name)
click to toggle source
Converts the type to HDLRuby::Low
and set its name
.
# File lib/HDLRuby/hruby_high.rb, line 1767 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) typeVectorL = HDLRuby::Low::TypeVector.new(name,self.base.to_low, self.range.to_low) # For debugging: set the source high object typeVectorL.properties[:low2high] = self.hdr_id self.properties[:high2low] = typeVectorL return typeVectorL end