class HDLRuby::Low::TypeSigned
Describes a signed integer data type.
Describes a signed 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 1724 def initialize(name,range = 31..0) # Initialize the type. super(name,Signed,range) end
Public Instance Methods
to_high()
click to toggle source
Creates a new high type signed.
# File lib/HDLRuby/hruby_low2high.rb, line 90 def to_high return HDLRuby::High::TypeSigned.new(self.name,self.range) end