Simulation

svsim.Simulation
See theSimulation companion class
object Simulation

Attributes

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

Members list

Type members

Classlikes

object Command

Attributes

Companion
trait
Source
Simulation.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Command.type
sealed trait Command

Attributes

Companion
object
Source
Simulation.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Done
class GetBits
object Log
class Run
class SetBits
class Tick
class Trace
Show all
final class Controller

Attributes

Note

Methods in this class and Simulation.Port are somewhat lazy in their execution. Specifically, methods returning Unit neither flush the command buffer, nor do they actively read from the message buffer. Only commands which return a value will wait to return until the simulation has progressed to the point where the value is available. This can improve performance by essentially enabling batching of both commands and messages. If you want to ensure that all commands have been sent to the simulation executable, you can call completeInFlightCommands().

Source
Simulation.scala
Supertypes
class Object
trait Matchable
class Any
object Message

Attributes

Companion
trait
Source
Simulation.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Message.type
sealed trait Message

Attributes

Companion
object
Source
Simulation.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Ack
class Bits
class Error
class Log
object Ready
final case class Port

Attributes

Source
Simulation.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object UnexpectedEndOfMessages extends Exception

Attributes

Source
Simulation.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class Value(bitCount: Int, asBigInt: BigInt)

Attributes

Source
Simulation.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all