Class: HDLRuby::LowDB::SignalI
- Inherits:
-
Base::SignalI
- Object
- Base::SignalI
- HDLRuby::LowDB::SignalI
- Defined in:
- lib/HDLRuby/hruby_db.rb
Overview
Describes a signal.
Instance Method Summary collapse
-
#initialize(name, type) ⇒ SignalI
constructor
Creates a new signal named +name+ typed as +type+.
Constructor Details
#initialize(name, type) ⇒ SignalI
Creates a new signal named +name+ typed as +type+.
234 235 236 237 238 239 |
# File 'lib/HDLRuby/hruby_db.rb', line 234 def initialize(name,type) # Ensures type is from Low::Type type = Type.get(type) # Initialize the signal structure. super(name,type) end |