class HDLRuby::Low::TypeUnsigned
Describes a unsigned integer data type.
Describes a unsigned integer data type.
Add the conversion to high.
Public Class Methods
new(name,range = 31..0)
click to toggle source
Creates a new vector type named name
from base
type and with range
.
NOTE:
-
The default range is 32-bit.
Calls superclass method
# File lib/HDLRuby/hruby_low.rb, line 1739 def initialize(name,range = 31..0) # Initialize the type. super(name,Unsigned,range) end
Public Instance Methods
to_high()
click to toggle source
Creates a new high type unsigned.
# File lib/HDLRuby/hruby_low2high.rb, line 99 def to_high return HDLRuby::High::TypeUnsigned.new(self.name,self.range) end