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_python(l = "") ⇒ Object
Convert to Python code.
-
#to_ruby ⇒ Object
Convert to Ruby code.
-
#to_tf(l = "") ⇒ Object
Convert to TensorFlow code.
Methods inherited from Statement
#each_statement, #each_statement_deep
Constructor Details
Instance Method Details
#to_c ⇒ Object
Convert to C code.
3186 3187 3188 |
# File 'lib/HDLRuby/std/sequencer_sw.rb', line 3186 def to_c return @sequencer.clk_up_c end |
#to_python(l = "") ⇒ Object
Convert to Python code.
3191 3192 3193 |
# File 'lib/HDLRuby/std/sequencer_sw.rb', line 3191 def to_python(l = "") return @sequencer.clk_up_python(l) end |
#to_ruby ⇒ Object
Convert to Ruby code.
3181 3182 3183 |
# File 'lib/HDLRuby/std/sequencer_sw.rb', line 3181 def to_ruby return @sequencer.clk_up end |
#to_tf(l = "") ⇒ Object
Convert to TensorFlow code.
3196 3197 3198 |
# File 'lib/HDLRuby/std/sequencer_sw.rb', line 3196 def to_tf(l = "") return "" end |