Packages

  • package root
    Definition Classes
    root
  • package chisel3

    This package contains the main chisel3 API.

    This package contains the main chisel3 API.

    Definition Classes
    root
  • package aop
    Definition Classes
    chisel3
  • package choice

    This package contains Chisel language definitions for describing configuration options and their accepted values.

    This package contains Chisel language definitions for describing configuration options and their accepted values.

    Definition Classes
    chisel3
  • package connectable
    Definition Classes
    chisel3
  • package experimental

    Package for experimental features, which may have their API changed, be removed, etc.

    Package for experimental features, which may have their API changed, be removed, etc.

    Because its contents won't necessarily have the same level of stability and support as non-experimental, you must explicitly import this package to use its contents.

    Definition Classes
    chisel3
  • package interface
    Definition Classes
    chisel3
  • package ltl
    Definition Classes
    chisel3
  • package naming
    Definition Classes
    chisel3
  • package probe
    Definition Classes
    chisel3
  • package properties

    The properties package includes functionality related to non-hardware data.

    The properties package includes functionality related to non-hardware data.

    This entire package is currently very experimental, so expect some rough edges and rapid API evolution.

    Definition Classes
    chisel3
  • package reflect
    Definition Classes
    chisel3
  • package simulator
    Definition Classes
    chisel3
  • package stage
    Definition Classes
    chisel3
  • package std
    Definition Classes
    chisel3
  • BarrelShifter
  • package testers

    The testers package provides the basic interface for chisel testers.

    The testers package provides the basic interface for chisel testers.

    Definition Classes
    chisel3
  • package util

    The util package provides extensions to core chisel for common hardware components and utility functions

    The util package provides extensions to core chisel for common hardware components and utility functions

    Definition Classes
    chisel3

package std

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Value Members

  1. object BarrelShifter

    A Barrel Shifter implementation for Vec type.

    A Barrel Shifter implementation for Vec type.

    Example:
    1. val input = 0xAABBCCDD.U(32.W)
      val bytes = VecInit(input.asBools.grouped(8).map(VecInit(_).asUInt).toSeq)
      val shamt = 1.U(2.W)
      val output = BarrelShifter.leftRotate(bytes, shamt).asUInt // big endian
      // output = 0xDDAABBCC.U(32.W)
      // The depth of Mux is 2, whereas originally
      // the depth of Mux is log(32) = 5
      val output = BarrelShifter.leftRotate(bytes, shamt, 2).asUInt // depth is 1 now

Ungrouped