implicit final class ChiselRange extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ChiselRange
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ChiselRange(sc: StringContext)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
macro
def
range(args: Any*): IntervalRange
Specifies a range using mathematical range notation.
Specifies a range using mathematical range notation. Variables can be interpolated using standard string interpolation syntax.
UInt(range"[0, 2)") UInt(range"[0, $myInt)") UInt(range"[0, ${myInt + 2})")
Example: - val sc: StringContext
-
def
toString(): String
- Definition Classes
- Any