FACTOID # 124: Teachers make up 7.8 percent of Iceland’s labor force - and they only have to teach 38 weeks per year.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

FACTS & STATISTICS    Simple view

  1. Select countries to view: (hold down Control key and click to select several)

     

     

    Compare:

     

     

  1. Select fact or statistic: (* = graphable)

     

     

     

  2. (OPTIONAL) Compare to statistic: (both need to be graphable)

     

     

     

  3. View result as:

     

       
(OR) SEARCH ALL encyclopedia, stats & forums:   

Encyclopedia > Shift register

In digital circuits a shift register is a group of flip flops set up in a linear fashion which have their inputs and outputs connected together in such a way that the data is shifted down the line when the circuit is activated. Digital circuits are electric circuits based on a number of discrete voltage levels. ... In digital circuits, flip-flop is an onomatopoeic term that refers a kind of bistable multivibrator, an electronic circuit which has two stable states and thereby is capable of serving as one bit of memory. ...

Contents

Types of shift register

Shift registers can have a combination of serial and parallel inputs and outputs, including serial-in, parallel-out (SIPO) and parallel-in, serial-out (PISO) types. There are also types that have both serial and parallel input and types with serial and parallel output. There are also bi-directional shift registers which allow you to vary the direction of the shift register. The serial input and outputs of a register can also be connected together to create a circular shift register. One could also create multi-dimensional shift registers, which can perform more complex computation. In telecommunications and computer science, serial communications is the process of sending data one bit at one time, sequentially, over a communications channel or computer bus. ... This article is about the Centronics style port. ...


Serial-in, serial-out

Destructive readout

These are the simplest kind of shift register. The data string is presented at 'Data In', and is shifted right one stage each time 'Data Advance' is brought high. At each advance, the bit on the far left (i.e. 'Data In') is shifted into the first flip-flop's output. The bit on the far right (i.e. 'Data Out') is shifted out and lost. In digital circuits, flip-flop is an onomatopoeic term that refers a kind of bistable multivibrator, an electronic circuit which has two stable states and thereby is capable of serving as one bit of memory. ...

0 0 0 0
1 0 0 0
1 1 0 0
0 1 1 0
1 0 1 1
0 1 0 1
0 0 1 0
0 0 0 1
0 0 0 0

The data are stored after each flip-flop on the 'Q' output, so there are four storage 'slots' available in this arrangement, hence it is a 4-Bit Register. To give an idea of the shifting pattern, imagine that the register holds 0000 (so all storage slots are empty). As 'Data In' presents 1,1,0,1,0,0,0,0 (in that order, with a pulse at 'Data Advance' each time. This is called clocking or strobing) to the register, this is the result. The left hand column corresponds to the left-most flip-flop's output pin, and so on. In digital circuits, flip-flop is an onomatopoeic term that refers a kind of bistable multivibrator, an electronic circuit which has two stable states and thereby is capable of serving as one bit of memory. ...


So the serial output of the entire register is 11010000 (). As you can see if we were to continue to input data, we would get exactly what was put in, but offset by four 'Data Advance' cycles. This arrangement is the hardware equivalent of a queue. Also, at any time, the whole register can be set to zero by bringing the reset (R) pins high. A queue (pronounced /kuː/) is a particular kind of collection in which the entities in the collection are kept in order and the principal (or only) operations on the collection are the addition of entities to the rear terminal position and removal of entities from the front terminal position. ...


This arrangement performs destructive readout - each datum is lost once it been shifted out of the right-most bit.


Non-destructive readout

Non-destructive readout can be achieved using the configuration shown below. Another input line is added - the Read/Write Control. When this is high (i.e. write) then the shift register behaves as normal, advancing the input data one place for every clock cycle, and data can be lost from the end of the register. However, when the R/W control is set low (i.e. read), any data shifted out of the register at the right becomes the next input at the left, and is kept in the system. Therefore, as long as the R/W control is set low, no data can be lost from the system.


Serial-in, parallel-out

This configuration allows conversion from serial to parallel format. Data are input serially, as described in the SISO section above. Once the data has been input, it may be either read off at each output simultaneously, or it can be shifted out and replaced.

4-Bit SIPO Shift Register
4-Bit SIPO Shift Register


Image File history File links 4-Bit_SIPO_Shift_Register. ...


Parallel-in, serial-out

This configuration has the data input on lines D1 through D4 in parallel format. To write the data to the register, the Write/Shift control line must be held LOW. To shift the data, the W/S control line is brought HIGH and the registers are clocked. The arrangement now acts as a SISO shift register, with D1 as the Data Input. However, as long as the number of clock cycles is not more than the length of the data-string, the Data Output, Q, will be the parallel data read off in order.

4-Bit PISO Shift Register
4-Bit PISO Shift Register

The animation below shows the write/shift sequence, including the internal state of the shift register. Image File history File links Download high-resolution version (808x295, 22 KB) Other versions Image:4-Bit PISO SR.jpg Made in LiveWire v1. ...


Image File history File links 4-Bit_PISO_Shift_Register_Seq. ...


Uses

One of the most common uses of a shift register is to convert between serial and parallel interfaces. This is useful as many circuits work on groups of bits in parallel, but serial interfaces are simpler to construct. Shift registers can be used as simple delay circuits. Several bi-directional shift registers could also be connected in parallel for a hardware implementation of a stack. Simple representation of a stack In computer science, a stack is a temporary abstract data type and data structure based on the principle of Last In First Out (LIFO). ...


Shift registers can be used also as a pulse extenders. Compared to monostable multivibrators the timing has no dependency on component values, however requires external clock and the timing accuracy is limited by a granularity of this clock. Example - Ronja Twister, where five 74164 shift registers create the core of the timing logic this way (schematic). An editor has expressed a concern that the subject of the article does not satisfy the notability guideline or one of the following guidelines for inclusion on Wikipedia: Biographies, Books, Companies, Fiction, Music, Neologisms, Numbers, Web content, or several proposals for new guidelines. ...


In early computers, shift registers were used to handle data processing: two numbers to be added were stored in two shift registers and clocked out into an arithmetic and logic unit (ALU) with the result being fed back to the input of one of the shift registers (the Accumulator) which was one bit longer since binary addition can only result in an answer that is one bit longer.


Many computer languages include instructions to 'shift right' and 'shift left' the data in a register, effectively dividing by two or multiplying by two for each place shifted.


Very large serial-in serial-out shift registers (thousands of bits in size) were used in a similar manner to the earlier delay line memory in some devices built in the early 1970s. Mercury memory of UNIVAC I (1951) Delay line memory was a form of computer memory used on some of the earliest digital computers, such as the EDSAC and UNIVAC I. // The basic concept of the delay line originated with World War II radar research, as a system to reduce clutter...


History

One of the first known examples of a shift register was in the Colossus, a code-breaking machine of the 1940s. It was a five-stage device built of vacuum tubes and thyratrons. A Colossus Mark II computer. ... The 1940s decade ran from 1940 to 1949. ... Structure of a vacuum tube diode Structure of a vacuum tube triode In electronics, a vacuum tube, electron tube, or (outside North America) thermionic valve or just valve, is a device used to amplify, switch or modify a signal by controlling the movement of electrons in an evacuated space. ... A thyratron is a type of gas filled tube used as a high energy electrical switch. ...


External links

See also

A linear feedback shift register (LFSR) is a shift register whose input bit is a linear function of its previous state. ... A ring counter is a type of counter composed of a circular shift register. ... The Serial Peripheral Interface Bus or SPI (often pronounced es-pē-ī [IPA: ɛs pi aɪ] or spy [IPA: spaɪ]) bus is a synchronous serial data link standard named by Motorola that operates in full duplex mode. ...

  Results from FactBites:
 
Serial-to-Parallel Shift Register (368 words)
The term register can be used in a variety of specific applications, but in all cases it refers to a group of flip-flops operating as a coherent unit to hold data.
Therefore, this circuit is known as a serial-in, parallel-out shift register.
It is also known sometimes as a shift-in register, or as a serial-to-parallel shift register.
Shift register - Wikipedia, the free encyclopedia (854 words)
In digital circuits a shift register is a group of registers set up in a linear fashion which have their inputs and outputs connected together in such a way that the data is shifted down the line when the circuit is activated.
Several bi-directional shift registers could also be connected in parallel for a hardware implementation of a stack.
One of the first known examples of a shift register was in the Colossus, a code-breaking machine of the 1940s.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

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.