Packages

  • package root

    This is the documentation for Chisel.

    This is the documentation for Chisel.

    Package structure

    The chisel3 package presents the public API of Chisel. It contains the concrete core types UInt, SInt, Bool, Clock, and Reg, the abstract types Bits, Aggregate, and Data, and the aggregate types Bundle and Vec.

    The Chisel package is a compatibility layer that attempts to provide chisel2 compatibility in chisel3.

    Utility objects and methods are found in the util package.

    The testers package defines the basic interface for chisel testers.

    Definition Classes
    root
  • package chisel3

    This package contains the main chisel3 API.

    This package contains the main chisel3 API.

    Definition Classes
    root
  • package simulator
    Definition Classes
    chisel3
  • package scalatest
    Definition Classes
    simulator
  • object HasCliOptions
    Definition Classes
    scalatest
  • CliOption

object CliOption extends Serializable

Source
HasCliOptions.scala
Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CliOption
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def double(name: String, help: String): CliOption[Double]

    Add a double option to a test.

    Add a double option to a test.

    name

    the name of the option

    help

    help text to show to tell the user how to use this option

    Exceptions thrown

    IllegalArgumentException if the value is not convertible to a double precision floating point number

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. def flag(name: String, help: String): CliOption[Unit]

    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.

    name

    the name of the option

    help

    help text to show to tell the user how to use this option

  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def int(name: String, help: String): CliOption[Int]

    Add an integer option to a test.

    Add an integer option to a test.

    name

    the name of the option

    help

    help text to show to tell the user how to use this option

    Exceptions thrown

    IllegalArgumentException if the value is not convertible to an integer

  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def simple[A](name: String, help: String, convert: (String) => A): CliOption[A]

    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.

    name

    the name of the option

    help

    help text to show to tell the user how to use this option

    convert

    convert the <value> to type A

  19. def string(name: String, help: String): CliOption[String]

    Add a string option to a test.

    Add a string option to a test.

    name

    the name of the option

    help

    help text to show to tell the user how to use this option

  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped