object Sequence
Prefix-style utilities to work with sequences.
This object exposes the primary API to create and compose sequences from booleans and shorter sequences.
- Source
- LTL.scala
- Alphabetic
- By Inheritance
- Sequence
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- implicit class BoolSequence extends Sequence with SequenceAtom
Implicitly wraps a
Bool
and allows it to be used as a sequence or property.Implicitly wraps a
Bool
and allows it to be used as a sequence or property. Use viaimport chisel3.ltl.Sequence.BoolSequence
.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def and(arg0: Sequence, argN: Sequence*)(implicit sourceInfo: SourceInfo): Sequence
Form the conjunction of two sequences.
Form the conjunction of two sequences. Equivalent to
arg0 and arg1 and ... and argN
in SVA. - def apply(atoms: SequenceAtom*)(implicit sourceInfo: SourceInfo): Sequence
Convenience constructor for sequences.
Convenience constructor for sequences. Allows for the following syntax:
Sequence(a, Delay(), b, Delay(2), c, Delay(3, 9), d, Delay(4, None), e)
See
SequenceAtom
for more details. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clock(seq: Sequence, clock: Clock)(implicit sourceInfo: SourceInfo): Sequence
Specify a
clock
relative to which all cycle delays withinseq
are specified.Specify a
clock
relative to which all cycle delays withinseq
are specified. Equivalent to@(posedge clock) seq
in SVA. - def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def concat(arg0: Sequence, argN: Sequence*)(implicit sourceInfo: SourceInfo): Sequence
Concatenate multiple sequences.
Concatenate multiple sequences. Equivalent to
arg0 ##0 arg1 ##0 ... ##0 argN
in SVA. - def delay(seq: Sequence, delay: Int = 1)(implicit sourceInfo: SourceInfo): Sequence
Delay a sequence by a fixed number of cycles.
Delay a sequence by a fixed number of cycles. Equivalent to
##delay
in SVA. - def delayAtLeast(seq: Sequence, delay: Int)(implicit sourceInfo: SourceInfo): Sequence
Delay a sequence by an unbounded range of cycles.
Delay a sequence by an unbounded range of cycles. Equivalent to
##[delay:$]
in SVA. - def delayRange(seq: Sequence, min: Int, max: Int)(implicit sourceInfo: SourceInfo): Sequence
Delay a sequence by a bounded range of cycles.
Delay a sequence by a bounded range of cycles. Equivalent to
##[min:max]
in SVA. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def gotoRepeat(seq: Sequence, min: Int, max: Int)(implicit sourceInfo: SourceInfo): Sequence
GoTo-style repitition of a sequence a fixed number of non-consecutive times, where the final evaluation of the sequence must hold, e.g.
GoTo-style repitition of a sequence a fixed number of non-consecutive times, where the final evaluation of the sequence must hold, e.g. a !b b b !b !b b c represents a matching observation of
gotoRepeat(b, 1, 3)
, but a !b b b !b !b b !b c does not. Equivalent tos[->min:max]
in SVA. - def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def intersect(arg0: Sequence, argN: Sequence*)(implicit sourceInfo: SourceInfo): Sequence
Form the conjunction of two sequences, where the start and end times of both sequences must be identical.
Form the conjunction of two sequences, where the start and end times of both sequences must be identical. Equivalent to
arg0 intersect arg1 intersect ... intersect argN
in SVA. - final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonConsecutiveRepeat(seq: Sequence, min: Int, max: Int)(implicit sourceInfo: SourceInfo): Sequence
Repeat a sequence a fixed number of non-consecutive times, where the final evaluation of the sequence does not have to hold, e.g.
Repeat a sequence a fixed number of non-consecutive times, where the final evaluation of the sequence does not have to hold, e.g. both a !b b b !b !b b c and a !b b b !b !b b !b c represent matching observations of
nonConsecutiveRepeat(b, 1, 3)
. Equivalent tos[=min:max]
in SVA. - final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def or(arg0: Sequence, argN: Sequence*)(implicit sourceInfo: SourceInfo): Sequence
Form the disjunction of two sequences.
Form the disjunction of two sequences. Equivalent to
arg0 or arg1 or ... or argN
in SVA. - def repeat(seq: Sequence, n: Int = 1)(implicit sourceInfo: SourceInfo): Sequence
Repeat a sequence a fixed number of consecutive times.
Repeat a sequence a fixed number of consecutive times. Equivalent to
s[n]
in SVA. - def repeatAtLeast(seq: Sequence, n: Int)(implicit sourceInfo: SourceInfo): Sequence
Repeat a sequence by an unbounded range of consecutive times.
Repeat a sequence by an unbounded range of consecutive times. Equivalent to
s[n:$]
in SVA. - def repeatRange(seq: Sequence, min: Int, max: Int)(implicit sourceInfo: SourceInfo): Sequence
Repeat a sequence by a bounded range of consecutive times.
Repeat a sequence by a bounded range of consecutive times. Equivalent to
s[min:max]
in SVA. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def until(arg0: Sequence, arg1: Sequence)(implicit sourceInfo: SourceInfo): Sequence
Check that a sequence holds untile another sequence holds.
Check that a sequence holds untile another sequence holds. This operator is weak: the property will hold even if input always holds and condition never holds.
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
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.