Simulator

chisel3.simulator.scalatest.Cli.Simulator
trait Simulator

Adds -Dsimulator to choose the simulator at runtime.

This trait adds an option for controlling the simulator at runtime.

If a user wants to add more simulators or simulators with different options, they should override the cliSimulatorMap with their chosen simulators.

If a user wants to change the default simulator, they should override defaultCliSimulator. Making this a None will require the user to always specify a simulator, i.e., there is no default.

Attributes

Source
Cli.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

protected def cliSimulatorMap: Map[String, HasSimulator]

A mapping of simulator names to simulators.

A mapping of simulator names to simulators.

Attributes

Source
Cli.scala
protected def defaultCliSimulator: Option[HasSimulator]

An optional default simulator to use if the user does not provide a simulator.

An optional default simulator to use if the user does not provide a simulator.

If Some then the provided default will be used. If None, then a simulator must be provided.

Attributes

Source
Cli.scala

Implicits

Implicits

implicit def cliSimulator: HasSimulator

Attributes

Source
Cli.scala