Class: RubyHDL::High::Sbreak
- Inherits:
-
Object
- Object
- RubyHDL::High::Sbreak
- Defined in:
- lib/HDLRuby/std/sequencer_sw.rb
Overview
Describes a SW implementation of a break statement.
Instance Method Summary collapse
-
#initialize(sequencer) ⇒ Sbreak
constructor
Create a new break statement in sequencer +sequencer+.
-
#to_ruby ⇒ Object
Convert to ruby code.
Constructor Details
Instance Method Details
#to_ruby ⇒ Object
Convert to ruby code.
2068 2069 2070 |
# File 'lib/HDLRuby/std/sequencer_sw.rb', line 2068 def to_ruby return @sequencer.clk_up + "\nbreak" end |