Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Shift register
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Destructive readout === {| class="wikitable floatright" style="text-align:center" |+ Sample usage of a 4-bit shift register. Data input is 10110000. ! {{vert header|Time}} ! {{vert header|Clock }} ! {{vert header|Output 1}} ! {{vert header|Output 2}} ! {{vert header|Output 3}} ! {{vert header|Output 4}} |- ! 0 | 0 || 0 || 0 || 0 || 0 |- ! 1 | 1 || 1 || 0 || 0 || 0 |- ! 2 | 0 || 0 || 1 || 0 || 0 |- ! 3 | 1 || 1 || 0 || 1 || 0 |- ! 4 | 0 || 1 || 1 || 0 || 1 |- ! 5 | 1 || 0 || 1 || 1 || 0 |- ! 6 | 0 || 0 || 0 || 1 || 1 |- ! 7 | 1 || 0 || 0 || 0 || 1 |- ! 8 | 0 || 0 || 0 || 0 |} These are the simplest kind of shift registers. The data string is presented at "data in" and is shifted right one stage each time "data advance" is brought [[Logic level|high]]. At each advance, the bit on the far left (i.e. "data in") is shifted into the first [[flip-flop (electronics)|flip-flop]]'s output. The bit on the far right (i.e. "data out") is shifted out and lost. The data is stored after each 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,0,1,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 right hand column corresponds to the right-most flip-flop's output pin, and so on. So the serial output of the entire value is 00010110. It can be seen that if data were to be continued to input, it would get exactly what was put in (10110000), but offset by four "data advance" cycles. This arrangement is the hardware equivalent of a [[Queue (data structure)|queue]]. Also, at any time, the whole register can be set to zero by bringing the reset (R) pins high. This arrangement performs ''destructive readout''{{snd}} each datum is lost once it has been shifted out of the right-most bit.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Shift register
(section)
Add topic