class HDLRuby::High::TimeRepeat

Describes a timed loop statement: not synthesizable!

Public Instance Methods

to_low() click to toggle source

Converts the repeat statement to HDLRuby::Low.

# File lib/HDLRuby/hruby_high.rb, line 2384
def to_low
    # return HDLRuby::Low::TimeRepeat.new(self.statement.to_low,
    #                                     self.delay.to_low)
    timeRepeatL = HDLRuby::Low::TimeRepeat.new(self.statement.to_low,
                                        self.delay.to_low)
    # For debugging: set the source high object
    timeRepeatL.properties[:low2high] = self.hdr_id
    self.properties[:high2low] = timeRepeatL
    return timeRepeatL
end