Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Latest commit

 

History

History
49 lines (40 loc) · 2.11 KB

Buffer.md

File metadata and controls

49 lines (40 loc) · 2.11 KB

Buffer for TileLink channels.


class TLBuffer

class TLBuffer(
  a: BufferParams,
  b: BufferParams,
  c: BufferParams,
  d: BufferParams,
  e: BufferParams)(implicit p: Parameters) extends LazyModule
  • a,b,c,d,e BufferParams (param) buffer parameters specific to each sub-channel.
  • this (ace:BufferParams, bd:BufferParams) => TLBuffer
    A constructor with separate parameters for A/C/E and B/D.
  • this (BufferParams) => TLBuffer A constructor with a parameter set to all channels.
  • this () => TLBuffer
    A constructor use the BufferParams.default parameter set to all channels (BufferParams(2, false, false)).
  • node TLAdapterNode the diplomacy object to record port connections for module generation.
  • module LazyModuleImp
    • io Bundle module I/O ports:
      in HeterogeneousBag[TLBundle] input ports.
      out HeterogeneousBag[TLBundle] output ports.

object TLBuffer

  • apply() () => TLBuffer
    Generate a buffer using BufferParams.default (BufferParams(2, false, false)).
  • apply (BufferParams) => TLBuffer generate a buffer using the same parameter.
  • apply (ace:BufferParams, bd:BufferParams) => TLBuffer
    Generate a buffer using separate parameters for A/C/E and B/D.
  • apply (BufferParams, BufferParams, BufferParams, BufferParams, BufferParams) => TLBuffer
    Generate a buffer using individual parameters.




Last updated: 19/07/2017
CC BY-NC-SA 4.0, © (2017) Wei Song
Apache 2.0, © (2016-2017) SiFive, Inc
BSD, © (2012-2014, 2016) The Regents of the University of California (Regents)