implicit final class ChiselRange extends AnyVal
Ordering
- Alphabetic
- By Inheritance
Inherited
- ChiselRange
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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
This is the documentation for Chisel.
Package structure
The chisel3 package presents the public API of Chisel. It contains the concrete core types
UInt
,SInt
,Bool
,FixedPoint
,Clock
, andReg
, the abstract typesBits
,Aggregate
, andData
, and the aggregate typesBundle
andVec
.The Chisel package is a compatibility layer that attempts to provide chisel2 compatibility in chisel3.
Utility objects and methods are found in the
util
package.The
testers
package defines the basic interface for chisel testers.