Package

spinal

lib

Permalink

package lib

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

Type Members

  1. class AnyPimped[T] extends AnyRef

    Permalink
  2. implicit class BigIntRicher extends LiteralRicher

    Permalink
  3. implicit class BinIntsRicher extends AnyRef

    Permalink
  4. implicit class BinaryBuilder extends AnyRef

    Permalink
  5. implicit class BinaryBuilder2 extends AnyRef

    Permalink
  6. class BitAggregator extends AnyRef

    Permalink
  7. class BoolPimped extends AnyRef

    Permalink
  8. class BufferCC[T <: Data] extends Component

    Permalink
  9. implicit class ByteRicher extends LiteralRicher

    Permalink
  10. class ClockDomainPimped extends AnyRef

    Permalink
  11. class Counter extends ImplicitArea[UInt]

    Permalink
  12. class CounterUpDown extends ImplicitArea[UInt]

    Permalink
  13. trait DataCarrier[T <: Data] extends AnyRef

    Permalink
  14. class DataCarrierFragmentBitsPimped extends AnyRef

    Permalink
  15. class DataCarrierFragmentPimped[T <: Data] extends AnyRef

    Permalink
  16. case class DataOr[T <: Data](dataType: HardType[T]) extends Area with Product with Serializable

    Permalink
  17. type Event = Stream[NoData]

    Permalink
  18. case class EventEmitter(on: Event) extends Product with Serializable

    Permalink
  19. class EventFactory extends MSFactory

    Permalink
  20. class Flow[T <: Data] extends Bundle with IMasterSlave with DataCarrier[T]

    Permalink
  21. class FlowBitsPimped extends AnyRef

    Permalink
  22. class FlowCCByToggle[T <: Data] extends Component

    Permalink
  23. class FlowCmdRsp[T <: Data, T2 <: Data] extends Bundle with IMasterSlave

    Permalink
  24. class FlowFactory extends MSFactory

    Permalink
  25. class FlowFragmentBitsRouter extends AnyRef

    Permalink
  26. class FlowFragmentFactory extends MSFactory

    Permalink
  27. class FlowFragmentPimped[T <: Data] extends AnyRef

    Permalink
  28. class Fragment[T <: Data] extends Bundle

    Permalink
  29. class FragmentFactory extends AnyRef

    Permalink
  30. class GrowableAnyPimped[T] extends AnyRef

    Permalink
  31. class HistoryModifyable[T <: Data] extends Component

    Permalink
  32. trait IMasterSlave extends AnyRef

    Permalink

    Master/slave interface

  33. implicit class IntRicher extends LiteralRicher

    Permalink
  34. trait LiteralRicher extends AnyRef

    Permalink
  35. implicit class LongRicher extends LiteralRicher

    Permalink
  36. sealed trait MS extends AnyRef

    Permalink

    Declare a port as master or slave

    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

  37. trait MSFactory extends AnyRef

    Permalink

    Something which can create master/slave interfaces

  38. class MemPimped[T <: Data] extends AnyRef

    Permalink
  39. case class MemReadPort[T <: Data](dataType: T, addressWidth: Int) extends Bundle with IMasterSlave with Product with Serializable

    Permalink
  40. case class MemReadPortAsync[T <: Data](dataType: T, addressWidth: Int) extends Bundle with IMasterSlave with Product with Serializable

    Permalink
  41. case class MemReadWritePort[T <: Data](dataType: T, addressWidth: Int, maskWidth: Int = 1) extends Bundle with IMasterSlave with Product with Serializable

    Permalink
  42. case class MemWriteCmd[T <: Data](mem: Mem[T], maskWidth: Int = 1) extends Bundle with Product with Serializable

    Permalink
  43. case class MemWriteCmdWithMask[T <: Data](mem: Mem[T], maskWidth: Int) extends Bundle with Product with Serializable

    Permalink
  44. class MuxOHImpl extends AnyRef

    Permalink
  45. class NoData extends Bundle

    Permalink
  46. class PackedBundle extends Bundle

    Permalink

    Similar to Bundle but with bit packing capabilities.

    Similar to Bundle but with bit packing capabilities. Use pack implicit functions to assign fields to bit locations - pack(Range, [Endianness]) - Packs the data into Range aligning to bit Endianness if too wide - packFrom(Position) - Packs the data starting (LSB) at Position. Uses full data length - packTo(Position) - Packs the data ending (MSB) at Position. Uses full data length

    Providing no location tag will place the next data value immediately after the last.

    Example:
    1. val regWord = new PackedBundle {
        val init = Bool().packFrom(0) // Bit 0
        val stop = Bool() // Bit 1
        val result = Bits(16 bit).packTo(31) // Bits 16 to 31
      }
  47. class PackedWordBundle extends PackedBundle

    Permalink

    An enhanced form of PackedBundle with Word-centric packing.

    An enhanced form of PackedBundle with Word-centric packing. Offers all the same implicit packing assignment functions, but applies packing to an assigned word. - inWord(WordIndex) - Indicates which word to pack into. Must be used after a pack assigment. If no pack range was given then the entire data length will be assumed. Ranges that exceed the word will wrap into subsequent words.

    Like PackedBundle, providing no pack or word assignments will place data immediately after the last.

    Example:
    1. val wordPacked = PackedWordBundle(8 bits) {
        val aNumber = UInt(8 bits).word(0) // Bits 7 downto 0
        val bNumber = UInt(8 bits).pack(0 to 7).word(1) // Bits 8 to 15
        val large   = Bits(18 bits).word(2) // Bits 33 downto 16
        val flag    = Bool() // Bit 34
  48. class PulseCCByToggle extends Component

    Permalink
  49. case class ReadRetLinked[T <: Data, T2 <: Data](readType: HardType[T], linkedType: HardType[T2]) extends Bundle with Product with Serializable

    Permalink
  50. type ScalaStream[T] = scala.collection.immutable.Stream[T]

    Permalink
  51. sealed trait SlicesOrder extends AnyRef

    Permalink

    Enumeration to present order of slices.

  52. class Stream[T <: Data] extends Bundle with IMasterSlave with DataCarrier[T]

    Permalink
  53. class StreamArbiter[T <: Data] extends Component

    Permalink

    A StreamArbiter is like a StreamMux, but with built-in complex selection logic that can arbitrate input streams based on a schedule or handle fragmented streams.

    A StreamArbiter is like a StreamMux, but with built-in complex selection logic that can arbitrate input streams based on a schedule or handle fragmented streams. Use a StreamArbiterFactory to create instances of this class.

  54. class StreamArbiterFactory extends AnyRef

    Permalink
  55. class StreamBitsPimped extends AnyRef

    Permalink
  56. class StreamBundlePimped[T <: Bundle] extends AnyRef

    Permalink
  57. class StreamCCByToggle[T <: Data] extends Component

    Permalink
  58. class StreamDemux[T <: Data] extends Component

    Permalink
  59. class StreamFactory extends MSFactory

    Permalink
  60. class StreamFifo[T <: Data] extends Component

    Permalink

    Fully redesigned in release 1.8.2 allowing improved timing closure.

    Fully redesigned in release 1.8.2 allowing improved timing closure. - latency of 0, 1, 2 cycles

  61. class StreamFifoCC[T <: Data] extends Component

    Permalink
  62. trait StreamFifoInterface[T <: Data] extends AnyRef

    Permalink
  63. class StreamFifoLowLatency[T <: Data] extends Component

    Permalink
  64. case class StreamFifoMultiChannelPop[T <: Data](payloadType: HardType[T], channelCount: Int) extends Bundle with IMasterSlave with Product with Serializable

    Permalink
  65. case class StreamFifoMultiChannelPush[T <: Data](payloadType: HardType[T], channelCount: Int) extends Bundle with IMasterSlave with Product with Serializable

    Permalink
  66. case class StreamFifoMultiChannelSharedSpace[T <: Data](payloadType: HardType[T], channelCount: Int, depth: Int, withAllocationFifo: Boolean = false) extends Component with Product with Serializable

    Permalink
  67. class StreamFlowArbiter[T <: Data] extends Area

    Permalink
  68. class StreamFork[T <: Data] extends Component

    Permalink

    A StreamFork will clone each incoming data to all its output streams.

    A StreamFork will clone each incoming data to all its output streams. If synchronous is true, all output streams will always fire together, which means that the stream will halt until all output streams are ready. If synchronous is false, output streams may be ready one at a time, at the cost of an additional flip flop (1 bit per output). The input stream will block until all output streams have processed each item regardlessly.

    Note that this means that when synchronous is true, the valid signal of the outputs depends on their inputs, which may lead to dead locks when used in combination with systems that have it the other way around. It also violates the handshake of the AXI specification (section A3.3.1).

  69. class StreamForkArea[T <: Data] extends Area

    Permalink
  70. class StreamFragmentBitsDispatcher extends Area

    Permalink
  71. case class StreamFragmentBitsDispatcherElement(sink: Stream[Bits], header: Int) extends Product with Serializable

    Permalink
  72. class StreamFragmentBitsPimped extends AnyRef

    Permalink
  73. class StreamFragmentFactory extends MSFactory

    Permalink
  74. class StreamFragmentPimped[T <: Data] extends AnyRef

    Permalink
  75. class StreamMux[T <: Data] extends Component

    Permalink
  76. class StreamPacker[T <: Data] extends Area

    Permalink

    Packs layout's Data into the given stream

    Packs layout's Data into the given stream

    stream is directly driven by this area.

    layout Data is read directly

    io.start indicates when to start packing. All layout's Data is registered before packing.

    io.done indicates when the last word has been packed.

    Use the companion object StreamPapcker to create an instance.

  77. trait StreamPipe extends AnyRef

    Permalink
  78. class StreamToStreamFragmentBits[T <: Data] extends Component

    Permalink
  79. class StreamTransactionCounter extends Component

    Permalink
  80. class StreamTransactionExtender[T <: Data, T2 <: Data] extends Component

    Permalink
  81. class StreamUnpacker[T <: Data] extends Area

    Permalink

    Unpacks stream's words into the given layout's Data.

    Unpacks stream's words into the given layout's Data. stream is directly driven by this area. layout Data are driven through a register.

    io.start starts unpacking io.dones is set of bits indicating when the associated Data in layout is unpacked. io.allDone indicates when the last word has been unpacked.

    Use the companion object StreamUnpacker to create an instance.

  82. class StringPimped extends AnyRef

    Permalink
  83. class Timeout extends ImplicitArea[Bool]

    Permalink
  84. class TraversableOnceAddressTransformerPimped extends AnyRef

    Permalink
  85. class TraversableOnceAnyPimped[T] extends AnyRef

    Permalink
  86. class TraversableOnceAnyTuplePimped[T, T2] extends AnyRef

    Permalink
  87. class TraversableOnceBoolPimped extends AnyRef

    Permalink
  88. class TraversableOncePimped[T <: Data] extends AnyRef

    Permalink
  89. implicit class UIntPimper extends AnyRef

    Permalink
  90. case class WhenBuilder() extends Product with Serializable

    Permalink
  91. class StreamDispatcherSequencial[T <: Data] extends Component

    Permalink

    Deprecated

    Do not use. Use the companion object or a normal regular StreamMux instead.

Value Members

  1. object AddWithCarry

    Permalink
  2. object AnalysisUtils

    Permalink
  3. implicit def AnyPimpedDef[T](that: T): AnyPimped[T]

    Permalink
  4. object BufferCC

    Permalink
  5. object Callable

    Permalink
  6. object ClearCount

    Permalink
  7. object CountOne

    Permalink
  8. object CountOneOnEach

    Permalink
  9. object Counter

    Permalink

    Creates a counter

  10. object CounterFreeRun

    Permalink

    Creates an always running counter

  11. object CounterMultiRequest

    Permalink
  12. object CounterUpDown

    Permalink
  13. object DataCarrier

    Permalink
  14. object Delay

    Permalink
  15. object DelayEvent

    Permalink
  16. object DelayWithInit

    Permalink
  17. object DoCmd

    Permalink

    Run command

  18. object EndiannessSwap

    Permalink

    **************************************************************************** Big-Endian <-> Little-Endian

  19. def Event: Stream[NoData]

    Permalink
  20. object Flow extends FlowFactory

    Permalink
  21. object FlowCCByToggle

    Permalink
  22. object FlowCmdRsp

    Permalink
  23. object FlowFragmentBitsRouter

    Permalink
  24. object Fragment extends FragmentFactory

    Permalink
  25. object FragmentToBitsStates extends SpinalEnum

    Permalink
  26. object GrayCounter

    Permalink
  27. object HIGHER_FIRST extends SlicesOrder

    Permalink

    Slice with higher bits process first

  28. object History

    Permalink
  29. object HistoryModifyable

    Permalink
  30. object KeepAttribute

    Permalink
  31. object LOWER_FIRST extends SlicesOrder

    Permalink

    Slice with lower bits process first

  32. object LatencyAnalysis

    Permalink
  33. object LeastSignificantBitSet

    Permalink
  34. object MajorityVote

    Permalink
  35. object Max

    Permalink
  36. object Min

    Permalink
  37. object MuxOH extends MuxOHImpl

    Permalink
  38. def NoData(): NoData

    Permalink
  39. object OHMasking

    Permalink
  40. val OHMux: MuxOHImpl

    Permalink
  41. object OHToUInt

    Permalink
  42. object OhMux extends MuxOHImpl

    Permalink
  43. object PriorityMux

    Permalink
  44. object PulseCCByToggle

    Permalink
  45. object RegFlow

    Permalink
  46. object Repeat

    Permalink
  47. object ResetCtrl

    Permalink
  48. object Reverse

    Permalink
  49. def ScalaStream: scala.collection.immutable.Stream.type

    Permalink
  50. object SetCount

    Permalink
  51. object SetFromFirstOne

    Permalink
  52. object Shift

    Permalink
  53. object Stream extends StreamFactory

    Permalink
  54. object StreamArbiter

    Permalink
  55. def StreamArbiterFactory(): StreamArbiterFactory

    Permalink
  56. object StreamCCByToggle

    Permalink
  57. object StreamCombinerSequential

    Permalink

    This is equivalent to a StreamMux, but with a counter attached to the port selector.

  58. object StreamDemux

    Permalink

    Demultiplex one stream into multiple output streams, always selecting only one at a time.

  59. object StreamDemuxOh

    Permalink
  60. object StreamDispatcherSequential

    Permalink

    This is equivalent to a StreamDemux, but with a counter attached to the port selector.

  61. object StreamFifo

    Permalink
  62. object StreamFifoCC

    Permalink
  63. object StreamFifoLowLatency

    Permalink
  64. object StreamFifoMultiChannelBench extends App

    Permalink
  65. object StreamFlowArbiter

    Permalink

    Combine a stream and a flow to a new stream.

    Combine a stream and a flow to a new stream. If both input sources fire, the flow will be preferred.

  66. object StreamFork

    Permalink
  67. object StreamFork2

    Permalink
  68. object StreamFork3

    Permalink
  69. object StreamFragmentArbiter

    Permalink
  70. object StreamFragmentArbiterAndHeaderAdder

    Permalink
  71. object StreamFragmentGenerator

    Permalink
  72. object StreamFragmentWidthAdapter

    Permalink
  73. object StreamJoin

    Permalink

    Join multiple streams into one.

    Join multiple streams into one. The resulting stream will only fire if all of them fire, so you may want to buffer the inputs.

  74. object StreamMux

    Permalink

    Multiplex multiple streams into a single one, always only processing one at a time.

  75. object StreamPacker

    Permalink
  76. object StreamPipe

    Permalink
  77. object StreamTransactionCounter

    Permalink
  78. object StreamTransactionExtender

    Permalink
  79. object StreamUnpacker

    Permalink
  80. object StreamWidthAdapter

    Permalink
  81. object Timeout

    Permalink
  82. object UIntToOh

    Permalink
  83. object ValidFlow

    Permalink

    Create a new Flow that is always valid, with a given payload

  84. object WrapWithReg

    Permalink
  85. package blackbox

    Permalink
  86. implicit def boolPimped(that: Bool): BoolPimped

    Permalink
  87. package bus

    Permalink
  88. implicit def clockDomainPimped(cd: ClockDomain): ClockDomainPimped

    Permalink
  89. package com

    Permalink
  90. package cpu

    Permalink
  91. implicit def dataCarrierFragmentBitsPimped(that: DataCarrier[Fragment[Bits]]): DataCarrierFragmentBitsPimped

    Permalink
  92. implicit def dataCarrierFragmentPimped[T <: Data](that: DataCarrier[Fragment[T]]): DataCarrierFragmentPimped[T]

    Permalink
  93. package dsptool

    Permalink
  94. implicit def easyFragment[T <: Data](that: Fragment[T]): T

    Permalink
  95. package eda

    Permalink
  96. package experimental

    Permalink
  97. implicit def flowBitsPimped(that: Flow[Bits]): FlowBitsPimped

    Permalink
  98. implicit def flowFragmentPimped[T <: Data](that: Flow[Fragment[T]]): FlowFragmentPimped[T]

    Permalink
  99. package formal

    Permalink
  100. object fromGray

    Permalink
  101. package fsm

    Permalink
  102. package generator

    Permalink
  103. package generator_backup

    Permalink
  104. package graphic

    Permalink
  105. implicit def growableAnyPimped[T](that: Growable[T]): GrowableAnyPimped[T]

    Permalink
  106. package io

    Permalink
  107. package logic

    Permalink
  108. object master extends MS

    Permalink

    Declare a master port

    Declare a master port

    See MS for syntax help.

  109. package math

    Permalink
  110. implicit def memPimped[T <: Data](mem: Mem[T]): MemPimped[T]

    Permalink
  111. package memory

    Permalink
  112. package misc

    Permalink
  113. package pipeline

    Permalink
  114. def sexport[T <: SpinalTag](h: T): T

    Permalink
  115. def sexport[T](name: String, value: Any): ArrayBuffer[() ⇒ Unit]

    Permalink
  116. def sexport[T](h: Handle[T]): Handle[T]

    Permalink
  117. def sexport[T](named: Handle[T], value: ⇒ Any): ArrayBuffer[() ⇒ Unit]

    Permalink
  118. package sim

    Permalink
  119. object slave extends MS

    Permalink

    Declare a slave port

    Declare a slave port

    See MS for syntax help.

  120. package soc

    Permalink
  121. implicit def streamBitsPimped(that: Stream[Bits]): StreamBitsPimped

    Permalink
  122. implicit def streamBundlePimped[T <: Bundle](that: Stream[T]): StreamBundlePimped[T]

    Permalink
  123. implicit def streamFragmentBitsPimped(that: Stream[Fragment[Bits]]): StreamFragmentBitsPimped

    Permalink
  124. implicit def streamFragmentPimped[T <: Data](that: Stream[Fragment[T]]): StreamFragmentPimped[T]

    Permalink
  125. implicit def stringPimped(that: String): StringPimped

    Permalink
  126. package system

    Permalink
  127. object toGray

    Permalink
  128. package tools

    Permalink
  129. implicit def traversableOnceAddressTransformerPimped(that: TraversableOnce[AddressTransformer]): TraversableOnceAddressTransformerPimped

    Permalink
  130. implicit def traversableOnceAnyPimped[T](that: TraversableOnce[T]): TraversableOnceAnyPimped[T]

    Permalink
  131. implicit def traversableOnceAnyTuplePimped[T, T2](that: TraversableOnce[(T, T2)]): TraversableOnceAnyTuplePimped[T, T2]

    Permalink
  132. implicit def traversableOnceBoolPimped(that: TraversableOnce[Bool]): TraversableOnceBoolPimped

    Permalink
  133. implicit def traversableOncePimped[T <: Data](that: TraversableOnce[T]): TraversableOncePimped[T]

    Permalink
  134. object whenIndexed

    Permalink
  135. object whenMasked

    Permalink
  136. package wishbone

    Permalink

Deprecated Value Members

  1. object StreamDispatcherSequencial

    Permalink

    Deprecated

    Do not use

  2. object masterWithNull extends MS

    Permalink
    Annotations
    @deprecated
    Deprecated

    Use apply or port instead: 'val b = master(maybeNull)' or 'val rgb = master port maybeNull'

  3. object slaveWithNull extends MS

    Permalink
    Annotations
    @deprecated
    Deprecated

    Use apply or port instead: 'val b = slave(maybeNull)' or 'val rgb = slave port maybeNull'

Inherited from AnyRef

Inherited from Any

Ungrouped