Attributes
- Companion
- class
- Source
- HasCliOptions.scala
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CliOption.type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The name of the type
Value members
Concrete methods
Attributes
- Source
- HasCliOptions.scala
Add a double option to a test.
Add a double option to a test.
Value parameters
- help
-
help text to show to tell the user how to use this option
- name
-
the name of the option
Attributes
- Throws
-
IllegalArgumentException
if the value is not convertible to a double precision floating point number
- Source
- HasCliOptions.scala
Add a flag option to a test.
Add a flag option to a test.
This is an option which can only take one of two "truthy" values: 1 or true. Any "falsey" values are not allowed. This option is a stand-in for any option which is supposed to be a flag to a test which has some effect if set.
This option exists because Scalatest forces options to have a value. It is illegal to pass an option like -Dfoo. This flag option exists to problem a single flag-style option as opposed to having users roll their own.
Value parameters
- help
-
help text to show to tell the user how to use this option
- name
-
the name of the option
Attributes
- Source
- HasCliOptions.scala
Add a flag option to a test.
Add a flag option to a test.
This is an option which can only take one of two "truthy" values: 1 or true. Any "falsey" values are not allowed. This option is a stand-in for any option which is supposed to be a flag to a test which has some effect if set.
This option exists because Scalatest forces options to have a value. It is illegal to pass an option like -Dfoo. This flag option exists to problem a single flag-style option as opposed to having users roll their own.
Value parameters
- help
-
help text to show to tell the user how to use this option
- name
-
the name of the option
Attributes
- Source
- HasCliOptions.scala
Add an integer option to a test.
Add an integer option to a test.
Value parameters
- help
-
help text to show to tell the user how to use this option
- name
-
the name of the option
Attributes
- Throws
-
IllegalArgumentException
if the value is not convertible to an integer
- Source
- HasCliOptions.scala
A simple command line option which does not affect common or backend settings.
A simple command line option which does not affect common or backend settings.
This is intended to be used to create options which are passed directly to tests as opposed to creating options which are used to affect compilation or simulation settings.
Value parameters
- convert
-
convert the
<value>to typeA - help
-
help text to show to tell the user how to use this option
- name
-
the name of the option
Attributes
- Source
- HasCliOptions.scala
Add a string option to a test.
Add a string option to a test.
Value parameters
- help
-
help text to show to tell the user how to use this option
- name
-
the name of the option
Attributes
- Source
- HasCliOptions.scala
Deprecated methods
Attributes
- Deprecated
-
[Since version Chisel 7.1.0]use newer CliOption case class apply - Source
- HasCliOptions.scala
Attributes
- Deprecated
-
[Since version Chisel 7.1.0]avoid use of unapply - Source
- HasCliOptions.scala