printf

chisel3.printf
object printf

Prints a message in simulation

See apply methods for use

Attributes

Source
Printf.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
printf.type

Members list

Type members

Classlikes

final class Printf extends VerificationStatement

Named class for printfs.

Named class for printfs.

Attributes

Source
Printf.scala
Supertypes
trait InstanceId
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(pable: Printable)(implicit sourceInfo: SourceInfo): Printf

Prints a message in simulation

Prints a message in simulation

Prints a message every cycle. If defined within the scope of a when block, the message will only be printed on cycles that the when condition is true.

Does not fire when in reset (defined as the encapsulating Module's reset). If your definition of reset is not the encapsulating Module's reset, you will need to gate this externally.

May be called outside of a Module (like defined in a function), uses the current default clock and reset. These can be overriden with withClockAndReset.

Value parameters

pable

Printable to print

Attributes

See also

Printable documentation

Source
Printf.scala

Inherited methods

def apply(fmt: String, data: Bits*)(implicit sourceInfo: SourceInfo): Printf

Attributes

Inherited from:
PrintfIntf (hidden)
Source
PrintfIntf.scala