Class: RubyHDL::High::Step
- Defined in:
- lib/HDLRuby/std/sequencer_sw.rb
Overview
Describes a SW implementation of a step statement.
Instance Method Summary collapse
-
#initialize(sequencer) ⇒ Step
constructor
Create a new step statement in sequencer +sequencer+.
-
#to_c ⇒ Object
Convert to C code.
-
#to_ruby ⇒ Object
Convert to Ruby code.
Methods inherited from Statement
#each_statement, #each_statement_deep
Constructor Details
Instance Method Details
#to_c ⇒ Object
Convert to C code.
2423 2424 2425 |
# File 'lib/HDLRuby/std/sequencer_sw.rb', line 2423 def to_c return @sequencer.clk_up_c end |
#to_ruby ⇒ Object
Convert to Ruby code.
2418 2419 2420 |
# File 'lib/HDLRuby/std/sequencer_sw.rb', line 2418 def to_ruby return @sequencer.clk_up end |