class HDLRuby::High::RefConcat
Describes a high-level concat reference.
Public Instance Methods
to_low()
click to toggle source
Converts the concat reference to HDLRuby::Low
.
# File lib/HDLRuby/hruby_high.rb, line 3048 def to_low # return HDLRuby::Low::RefConcat.new(self.type.to_low, # self.each_ref.map do |ref| # ref.to_low # end # ) refConcatL = HDLRuby::Low::RefConcat.new(self.type.to_low, self.each_ref.map do |ref| ref.to_low end ) # For debugging: set the source high object refConcatL.properties[:low2high] = self.hdr_id self.properties[:high2low] = refConcatL return refConcatL end
to_ref()
click to toggle source
Converts to a new reference.
# File lib/HDLRuby/hruby_high.rb, line 3039 def to_ref return RefConcat.new(self.type, self.each_ref.map do |ref| ref.to_ref end ) end