Packages

p

chisel3

simulator

package simulator

Source
package.scala
Linear Supertypes
AnyRef, Any
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. simulator
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package scalatest
  2. package stimulus

Type Members

  1. sealed class AnySimulatedModule extends AnyRef
  2. sealed trait AnyTestableData[T <: Data] extends AnyRef
  3. trait ChiselOptionsModifications extends (Array[String]) => Array[String]

    Changes that ChiselSim should make to Chisel command line options

    Changes that ChiselSim should make to Chisel command line options

    This follows a type class pattern with a low-priority default of identity.

  4. trait ChiselSim extends ControlAPI with PeekPokeAPI with SimulatorAPI

    A trait that provides the minimal set of ChiselSim APIs.

    A trait that provides the minimal set of ChiselSim APIs.

    Example usage:

    import chisel3.simulator.ChiselSim
    
    class Foo extends ChiselSim {
      /** This has access to all ChiselSim APIs like `simulate`, `peek`, and `poke`. */
    }
    See also

    chisel3.simulator.scalatest.ChiselSim

  5. implicit class ChiselSimulation extends AnyRef
  6. implicit class ChiselWorkspace extends AnyRef
  7. trait ControlAPI extends AnyRef
  8. final class ElaboratedModule[T] extends AnyRef

    An opaque class that can be passed to Simulation.run to get access to a SimulatedModule in the simulation body.

  9. case class FailedExpectationException[T <: Serializable](observed: T, expected: T, message: String) extends RuntimeException with PeekPokeApiException with Product with Serializable

    Exception thrown when an expectation fails.

    Exception thrown when an expectation fails.

    observed

    the observed value

    expected

    the expected value

    message

    the message to display

  10. trait FirtoolOptionsModifications extends (Array[String]) => Array[String]

    Changes that ChiselSim should make to firtool command line options

    Changes that ChiselSim should make to firtool command line options

    This follows a type class pattern with a low-priority default of identity.

  11. trait HasSimulator extends AnyRef

    Type class for providing a simulator.

  12. trait PeekPokable[T <: Data] extends Peekable[T] with Pokable[T] with AnyTestableData[T]
  13. trait PeekPokeAPI extends AnyRef
  14. trait PeekPokeApiException extends Throwable with NoStackTrace
  15. trait Peekable[T <: Data] extends AnyRef
  16. trait Pokable[T <: Data] extends AnyRef
  17. final class Randomization extends AnyRef

    A description of how a Chisel circuit should be randomized

    A description of how a Chisel circuit should be randomized

    Exceptions thrown

    IllegalArgumentException if register and memory randomization are both disabled and delay or randomValue are non-empty

  18. final class Settings[A <: RawModule] extends AnyRef

    Settings for controlling ChiselSim simulations

    Settings for controlling ChiselSim simulations

    These setings are only intended to be associated with Chisel, FIRRTL, and FIRRTL's Verilog ABI and not to do with lower-level control of the FIRRTL compilation itself or the Verilog compilation and simulation.

  19. final class SimulatedModule[T] extends AnySimulatedModule

    A class that enables using a Chisel module to control an svsim.Simulation.

  20. trait Simulator[T <: Backend] extends AnyRef
  21. trait SimulatorAPI extends AnyRef
  22. sealed trait TestableAggregate[T <: Aggregate] extends PeekPokable[T]
  23. sealed trait TestableElement[T <: Element] extends PeekPokable[T]
  24. case class UninitializedElementException(message: String)(implicit sourceInfo: SourceInfo) extends RuntimeException with PeekPokeApiException with Product with Serializable

Value Members

  1. object ChiselOptionsModifications
  2. object EphemeralSimulator extends PeekPokeAPI

    Provides a simple API for "ephemeral" invocations (where you don't care about the artifacts after the invocation completes) to simulate Chisel modules.

    Provides a simple API for "ephemeral" invocations (where you don't care about the artifacts after the invocation completes) to simulate Chisel modules. To keep things really simple, EphemeralSimulator simulations can only be controlled using the peek/poke API, which provides enough control while hiding some of the lower-level svsim complexity.

    Example:
    1. import chisel3.simulator.EphemeralSimulator._
      ...
      simulate(new MyChiselModule()) { module => ... }
  3. object Exceptions
  4. object FailedExpectationException extends Serializable
  5. object FirtoolOptionsModifications
  6. object HasSimulator

    Type class implementations of HasSimulator.

  7. object LayerControl

    Utilities for enabling and disabling Chisel layers

  8. object MacroText

    This object implements an enumeration of classes that can be used to generate macros for use in Settings.

  9. object PeekPokeAPI
  10. object Randomization
  11. object Settings

    This object contains factories of Settings.

  12. object SimulationOutcome
  13. object Simulator

Inherited from AnyRef

Inherited from Any

Ungrouped