CliOption

chisel3.simulator.scalatest.HasCliOptions.CliOption
See theCliOption companion object
case class CliOption[A]

A ScalaTest command line option of the form -D<name>=<value>.

Type parameters

the

internal type of the option. This is what the <value> will be converted to.

Value parameters

convert

conver the <value> to the internal type A

name

the name of the option

updateBackendSettings

a function to update the backend-specific compilation settings

updateCommonSettings

a function to update the common compilation settings

Attributes

Companion
object
Source
HasCliOptions.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Constructors

def this(name: String, help: String, convert: String => A, updateChiselOptions: (A, Array[String]) => Array[String], updateFirtoolOptions: (A, Array[String]) => Array[String], updateCommonSettings: (A, CommonCompilationSettings) => CommonCompilationSettings, updateBackendSettings: (A, Settings) => Settings)

Attributes

Source
HasCliOptions.scala

Deprecated methods

def copy[A](name: String = ..., help: String = ..., convert: String => A = ..., updateChiselOptions: (A, Array[String]) => Array[String] = ..., updateFirtoolOptions: (A, Array[String]) => Array[String] = ..., updateCommonSettings: (A, CommonCompilationSettings) => CommonCompilationSettings = ..., updateBackendSettings: (A, Settings) => Settings = ...): CliOption[A]

Attributes

Deprecated
[Since version Chisel 7.1.0] avoid use of copy
Source
HasCliOptions.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product