Class: HDLRuby::LowDB::TypeVector
- Inherits:
-
Base::TypeVector
- Object
- Base::TypeVector
- HDLRuby::LowDB::TypeVector
- Includes:
- Ltype
- Defined in:
- lib/HDLRuby/hruby_db.rb
Overview
Describes a vector data type.
Instance Method Summary collapse
-
#initialize(name, base, range) ⇒ TypeVector
constructor
Creates a new type vector named +name+ from a +base+ type and with +range+.
Methods included from Ltype
Constructor Details
#initialize(name, base, range) ⇒ TypeVector
Creates a new type vector named +name+ from a +base+ type and with +range+
137 138 139 140 141 142 |
# File 'lib/HDLRuby/hruby_db.rb', line 137 def initialize(name,base,range) # Ensure base si a HDLRuby::Low type. base = Type.get(base) # Create the type. super(name,base,range) end |