Packages

p

tensil

util

package util

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

Type Members

  1. class ChiselShiftRegisterModule extends Module
  2. class Compiler extends AnyRef
  3. implicit class DecoupledHelper[T <: Data] extends AnyRef
  4. class ShiftRegister[T <: Data] extends AnyRef
  5. class WithLast[T <: Data] extends Bundle

Value Members

  1. def allReady(ports: DecoupledIO[Data]*): Bool
  2. def bigIntToBytes(i: BigInt, width: Int): Array[Byte]
  3. def bitMask(from: Int, to: Int): BigInt
    Annotations
    @tailrec()
  4. def cat(v: Seq[Bits]): Bits
  5. def combineWords(words: Array[BigInt], inputWordSize: Int): BigInt

    combineWords takes an array of words of the specified size and concatenates them into a single word of size N*wordSize, where N is the number of words in the array

  6. def connectDecoupledProcessor[T <: Data, S <: Data](op: DecoupledIO[T], in: DecoupledIO[S], out: DecoupledIO[S]): Unit
  7. def decoupledLit[T <: Data](lit: T): DecoupledIO[T]
  8. def divCeil(a: BigInt, b: BigInt): BigInt
  9. def divCeil(a: Int, b: Int): Int
  10. def doubleToFixedPoint(x: Double, bp: Int): BigInt
  11. def emitTo[T <: RawModule](dut: ⇒ T, dir: String): Unit
  12. def emitToBuildDir[T <: RawModule](dut: ⇒ T): Unit
  13. def enqueue[S <: Data](port: DecoupledIO[S], value: S): Bool
  14. def extractBitField(b: BigInt, from: Int, to: Int): BigInt
    Annotations
    @tailrec()
  15. def fixedPointToDouble(x: BigInt, bp: Int): Double
  16. def floatToFixedPointBytes(f: Float, width: Int, binaryPoint: Int): Array[Byte]
  17. def greatestCommonDivisor(a: Int, b: Int): Int
  18. def isMaxValue(x: UInt): Bool
  19. def isOutput(x: Data): Boolean
  20. def minus[T <: Data with Num[T]](gen: T, x: T, y: T): T
  21. def one[T <: Data](gen: T): T
  22. def plus[T <: Data with Num[T]](gen: T, x: T, y: T): T
  23. def plusFixedPoint(gen: FixedPoint, x: SInt, y: SInt): FixedPoint
  24. def printVec[T <: Data](v: Vec[T]): Unit
  25. def repeat[T](n: Int)(arr: Array[T])(implicit arg0: ClassTag[T]): Array[T]

    Returns a new array consisting of the original array repeated n times.

    Returns a new array consisting of the original array repeated n times.

    n

    the number of times to repeat the array

    arr

    the array to be repeated

    returns

    a new array

  26. def reportThroughput(requestBus: DecoupledIO[Data], reportingPeriod: Int, moduleName: String): Unit
  27. def signedMod(x: SInt, mod: Int): SInt
  28. def splitWord(word: BigInt, outputWordSize: Int): Array[BigInt]

    splitWord takes a word and splits into an array of words of the specified size.

  29. def streamTransmission(in: Iterable[BigInt], inputWidth: Int, outputWidth: Int): Iterable[BigInt]
  30. def sufficientBytes(width: Int): Int
  31. def times[T <: Data with Num[T]](gen: T, x: T, y: T): T
  32. def timesFixedPoint(gen: FixedPoint, x: SInt, y: SInt): FixedPoint

    timesFixedPoint returns the product of two fixed point values with a "round-to-nearest-even" rounding policy.

    timesFixedPoint returns the product of two fixed point values with a "round-to-nearest-even" rounding policy.

    See: https://docs.google.com/spreadsheets/d/14U3z-yJsnC1whWWuBmbnL9ZggzcdP-VvrKsp4Y4ztPg/edit#gid=0

  33. def vecToPrintable[T <: Bits](v: Vec[T]): Printable
  34. def widthOf(x: Long): Width
  35. def widthOf(x: Int): Width
  36. def zero[T <: Data](gen: T): T
  37. object Compiler
  38. object Delay
  39. object Demux
  40. object Driver
  41. object Environment extends Enumeration
  42. object High extends Compiler
  43. object Low extends Compiler
  44. object Middle extends Compiler
  45. object ShiftRegister
  46. object SystemVerilog extends Compiler
  47. object Verilog extends Compiler

Inherited from AnyRef

Inherited from Any

Ungrouped