Class: HDLRuby::High::Expression
- Inherits:
-
Object
- Object
- HDLRuby::High::Expression
- Defined in:
- lib/HDLRuby/hruby_rsim.rb,
lib/HDLRuby/hruby_rcsim.rb
Overview
Extends the Expression class for hybrid Ruby-C simulation.
Instance Method Summary collapse
-
#execute(mode) ⇒ Object
Executes the expression in +mode+ (:blocking or :nonblocking) NOTE: to be overrided.
-
#to_rcsim ⇒ Object
Generate the C description of the expression.
Instance Method Details
#execute(mode) ⇒ Object
Executes the expression in +mode+ (:blocking or :nonblocking) NOTE: to be overrided.
889 890 891 |
# File 'lib/HDLRuby/hruby_rsim.rb', line 889 def execute(mode) raise "execute must be implemented in class #{self.class}" end |
#to_rcsim ⇒ Object
Generate the C description of the expression.
775 776 777 |
# File 'lib/HDLRuby/hruby_rcsim.rb', line 775 def to_rcsim raise "to_rcsim must be implemented in #{self.class}" end |