object EnsureProperty extends AssertPropertyLike
Ensure that a property holds as a post-condition of a contract. Behaves like
an AssertProperty if used outside of a contract. When used inside of a
contract, the behavior differs depending on how the contract is used in a
formal proof:
- During a proof that the contract is upheld by the surrounding circuit, the
property given to EnsureProperty is asserted to hold.
- During a larger proof where the contract is already assumed to be proven,
the property given to EnsureProperty is assumed to hold.
Use like EnsureProperty(p). See AssertPropertyLike.apply for optional
clock, disable_iff, and label parameters.
- Source
- LTL.scala
- Alphabetic
- By Inheritance
- EnsureProperty
- AssertPropertyLike
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 apply(cond: Bool, clock: Clock, disable: Disable, label: String)(implicit sourceInfo: SourceInfo): Unit
Assert, assume, or cover that a boolean predicate holds.
Assert, assume, or cover that a boolean predicate holds.
- Definition Classes
- AssertPropertyLike
- def apply(cond: Bool, label: String)(implicit sourceInfo: SourceInfo): Unit
Assert, assume, or cover that a boolean predicate holds.
Assert, assume, or cover that a boolean predicate holds.
- Definition Classes
- AssertPropertyLike
- def apply(cond: Bool)(implicit sourceInfo: SourceInfo): Unit
Assert, assume, or cover that a boolean predicate holds.
Assert, assume, or cover that a boolean predicate holds.
- Definition Classes
- AssertPropertyLike
- def apply(prop: => Property, clock: Option[Clock] = Module.clockOption, disable: Option[Disable] = Module.disableOption, label: Option[String] = None)(implicit sourceInfo: SourceInfo): Unit
Assert, assume, or cover that a property holds.
Assert, assume, or cover that a property holds.
- clock
[optional]: specifies a clock with respect to which all cycle delays in the property are expressed. This is a shorthand for
prop.clock(clock).- disable
[optional]: specifies a condition under which the evaluation of the property is disabled. This is a shorthand for
prop.disable(disable).- label
[optional]: is used to assign a name to the assert, assume, or cover construct in the output language. In SystemVerilog, this is emitted as
label: assert(...).
- Definition Classes
- AssertPropertyLike
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def createIntrinsic(label: Option[String])(implicit sourceInfo: SourceInfo): (Bool, Option[Bool]) => Unit
- Attributes
- protected
- Definition Classes
- EnsureProperty → AssertPropertyLike
- 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 hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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 typesBundleandVec.The Chisel package is a compatibility layer that attempts to provide chisel2 compatibility in chisel3.
Utility objects and methods are found in the
utilpackage.The
testerspackage defines the basic interface for chisel testers.