Packages

sealed trait MS extends AnyRef

Declare a port as master or slave

There are 4 available syntaxes, which are all equivalent:

val braces = master(Flow(Bool))

val short = master Flow (Bool)

val spaceful = master port Flow(Bool)

val variadic = Flow(Bool)
master(variadic)

The "braces" syntax is short and generic, but it uses braces.

The "short" syntax is short, but it is formatted with a space between the type and its parameters, and it can be used only with:

  • Flow
  • Stream

The "spaceful" syntax is generic and beatiful, but more verbose.

The "variadic" syntax can be used with any number of interfaces, but can be used only if the interfaces are already declared.

See also

master slave

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MS
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def applyIt[T <: IMasterSlave](i: T): T

    Override it to define how to apply port specification on a non-null IMasterSlave

    Override it to define how to apply port specification on a non-null IMasterSlave

    Attributes
    protected

Concrete 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. def apply(is: IMasterSlave*): Unit

    Declare existing interfaces as ports, variadic syntax

  5. def apply[T <: Data with IMasterSlave](data: HardType[T]): T
  6. def apply[T <: IMasterSlave](i: T): T

    Declare a port with braces

    Declare a port with braces

    See MS for other syntaxes.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. def port[T <: Data with IMasterSlave](i: HardType[T]): T

    Declare a port without braces, spaceful syntax

    Declare a port without braces, spaceful syntax

    See MS for other syntax.

  18. def port[T <: IMasterSlave](i: T): T

    Declare a port without braces, spaceful syntax

    Declare a port without braces, spaceful syntax

    See MS for other syntax.

  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. object Flow extends FlowFactory
  25. object Stream extends StreamFactory

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped