class HDLRuby::High::TimeWait

Describes a high-level wait delay statement.

Public Instance Methods

to_low() click to toggle source

Converts the wait statement to HDLRuby::Low.

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