Class: HDLRuby::LowDB::SignalI

Inherits:
Base::SignalI
  • Object
show all
Defined in:
lib/HDLRuby/hruby_db.rb

Overview

Describes a signal.

Instance Method Summary collapse

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