PlusArg

svsim.PlusArg
final class PlusArg(val name: String, val value: Option[String] = ...)

A key/value pair representing a Verilog plusarg

When value is a Some, this acts like a $value$plusargs. When value is None, this acts like a $test$plusargs. I.e., when None, the plusarg is simply set. When Some, the plusarg has a value.

Value parameters

name

the name of the plusarg

value

an optional value for the plusarg

Attributes

Source
Backend.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def simulatorFlags: String

Return Verilator-compliant or VCS-compliant simulator options to set this plusarg.

Return Verilator-compliant or VCS-compliant simulator options to set this plusarg.

Attributes

Source
Backend.scala

Concrete fields

val name: String

Attributes

Source
Backend.scala
val value: Option[String]

Attributes

Source
Backend.scala