class HDLRuby::High::Delay
Describes a delay: not synthesizable.
Constants
- High
High-level libraries for describing digital hardware.
Public Instance Methods
!()
click to toggle source
# File lib/HDLRuby/hruby_high.rb, line 2346 def ! High.top_user.wait(self) end
to_low()
click to toggle source
Converts the delay to HDLRuby::Low
.
# File lib/HDLRuby/hruby_high.rb, line 2351 def to_low # return HDLRuby::Low::Delay.new(self.value, self.unit) delayL = HDLRuby::Low::Delay.new(self.value, self.unit) # For debugging: set the source high object delayL.properties[:low2high] = self.hdr_id self.properties[:high2low] = delayL return delayL end