StageUtils

firrtl.options.StageUtils
object StageUtils

Utilities related to working with a Stage

Attributes

Deprecated
[Since version Chisel 7.0.0] All APIs in package firrtl are deprecated.
Source
StageUtils.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
StageUtils.type

Members list

Value members

Concrete methods

def dramaticError(message: String): Unit

Print an error message (in red)

Print an error message (in red)

Value parameters

message

error message

Attributes

Note

This does not stop the Driver.

Source
StageUtils.scala
def dramaticMessage(header: Option[String], body: String): String

Construct a message with an optional header and body. Demarcate the body with separators appropriate for most terminals.

Construct a message with an optional header and body. Demarcate the body with separators appropriate for most terminals.

Value parameters

body

the body of the message

header

an optional header to include before the separatot

Attributes

Returns

a string containing the complete message

Source
StageUtils.scala
def dramaticUsageError(message: String): Unit

Generate a message suggesting that the user look at the usage text.

Generate a message suggesting that the user look at the usage text.

Value parameters

message

the error message

Attributes

Source
StageUtils.scala
def dramaticWarning(message: String): Unit

Print a warning message (in yellow)

Print a warning message (in yellow)

Value parameters

message

error message

Attributes

Source
StageUtils.scala