FACTOID # 99: Thinking of becoming a teacher? Head to Switzerland. Teaching salaries there start at $US 33,000.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > Barrel shifter

A barrel shifter is a digital circuit that can shift a data word by any number of bits in a single cycle. It is implemented as a sequence of multiplexors: the output of one MUX is connected to the input of the next MUX in a way that depends on the shift distance. The number of multiplexors required is log2(n), where n is the computer's register size. Shift may refer to Look up shift in Wiktionary, the free dictionary. ... In computing, word is a term for the natural unit of data used by a particular computer design. ... BIT is an acronym for: Bangalore Institute of Technology Bilateral Investment Treaty Bhilai Institute of Technology - Durg Birla Institute of Technology - Mesra Battles in Time (Doctor Who magazine) Category: ... The term multiplexer has uses in several fields of application: Electronics In electronics, a multiplexer or mux is a device that combines several electrical signals into a single signal. ...


Take for example a four-bit barrel shifter, with inputs A, B, C and D. The shifter can cyclically alter the order of the bits ABCD. That is, it can 'shift' all of the outputs up to three positions to the right (and thus make any cyclic combination of A, B, C and D). The barrel shifter has a variety of applications, including being a vital component in microprocessors (alongside the ALU). Microprocessors, including an Intel 80486DX2 and an Intel 80386. ... ALU redirects here. ...


The barrel shifter is used in floating-point arithmetic hardware. For a floating-point add or subtract operation, the fractions of the numbers must be aligned, which requires shifting the smaller number (in magnitude) to the right, increasing its exponent, until it matches the exponent of the larger number. This is done by subtracting the exponents, and using the barrel shifter to shift the smaller number to the right by the difference, in one cycle. If a simple shifter were used, shifting by n bit positions would require n clock cycles.


External links

  • Google Answers has a good explanation, and collection of links
  • University of Hamburg for a useful Java Barrel shifter.

References

This article was originally based on material from the Free On-line Dictionary of Computing, which is licensed under the GFDL. The Free On-line Dictionary of Computing (FOLDOC) is an on-line, searchable encyclopedic dictionary of computing subjects. ... GNU logo (similar in appearance to a gnu) The GNU Free Documentation License (GNU FDL or simply GFDL) is a copyleft license for free content, designed by the Free Software Foundation (FSF) for the GNU project. ...


  Results from FactBites:
 
Project Overview (436 words)
The Barrel Shift block is made up of a 16 x 16 array of NMOS transistors, 16-bits for the data input length and 16-bits for the shift width.
The Logarithmic Shifter Block uses several stages to shift the input data rather than a transistor array as is done in the Barrel Shifter Block.
While the barrel shifter has the advantage of each input bit having to only go through one pass transistor, the design required much more wiring than the logarithmic shifter design.
  More results at FactBites »


 
 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms, 1022, m