object BitSet
- Source
- BitPat.scala
- Alphabetic
- By Inheritance
- BitSet
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def apply(bitpats: BitPat*): BitSet
Construct a
BitSet
from a sequence of BitPat. All
BitPatmust have the same width.
- val empty: BitSet
Empty
BitSet
. - def fromRange(start: BigInt, length: BigInt, width: Int): BitSet
Construct a
BitSet
matching a range of valueConstruct a
BitSet
matching a range of value- start
The smallest matching value
- length
The length of the matching range
- width
The width of the constructed
BitSet
. If not given, the returnedBitSet
have the width of the maximum possible matching value.- returns
A
BitSet
matcing exactly all inputs in range [start, start + length)
- def fromRange(start: BigInt, length: BigInt): BitSet
Construct a
BitSet
matching a range of value automatically infer width by the bit length of (start + length - 1)Construct a
BitSet
matching a range of value automatically infer width by the bit length of (start + length - 1)- start
The smallest matching value
- length
The length of the matching range
- returns
A
BitSet
matching exactly all inputs in range [start, start + length)
- def fromString(str: String): BitSet
Construct a
BitSet
from String.Construct a
BitSet
from String. each line should be a validBitPat
string with the same width.
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
,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.