Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
An-Najah National University Faculty of Engineering Department of Computer Engineering “Digital lab.” Experiment No. (9) " Shift Registers(2)"" Prepared by: Ahmad Daraghmeh Mohammad Anan Osayed Mos’ab Submitted to: Dr:Ashraf Armoush Monday (2-5) Submission Date 2012-4-2 Introduction: Simple combinational logic chips do not have the ability to remember or store a value from one time to the next . However, this can be accomplished by a sequential device , such as a flip flop, counter or register. These devices have more complicated logic in which the output depends not only on the current input, but also on one or more past value. As an example , in this experiment we will work with a shift register . A shift register stores a specific number of bits . when the voltage applied at the clock input to the chip goes from low to high , each bit is shifted one bit either left or right. Objectives : To become familiar with the operation of shift register , more specifically: 1- To learn about the functions and properties of the universal shift register . 2- To gain the experience in using shift registers for performing : data insertion, feedback operation and register transfer operation. Equipments ,apparatus and IC's required : In this experiment we used different apparatus like: 123456- Power supply. Cables and wires. Breadboard. Resistors & Capacitors. LEDS. 555. 2 7- 74194. Fig(1):cutter Fig(2):cables 3 Fig(5):Power supply. Fig(6): 74LS194A Part(1):Universal Shift Register used for data load and Transfer operation : In this part we will work specifically with 74LS194A. the 74LS194A is 4-bit bidirectional universal shift register with parallel load, shift left and shift right operations.(Look to data sheet and pin layout for this shift register). Using the information from the data sheet of the 74LS194A, fill the operation table of the 74LS194A. the operation table should show the four combination of the logical values of the mode control signals S0 and S1 on the lift side, and the description of the corresponding register operations on the right side. You will need this values to complete this experiment. 4 Operation code Register operation S0 S1 0 0 If any value be input the output will be no change 0 1 Shift input to left 1 0 Shift output to right 1 1 Load parallel input to output A B C D>QA QB QC QD Fig(7): Universal Shift Register used for data load and Transfer operation. 5 Figure(7) shows a sequential logic circuit in which two universal shift register 74LS194A are interconnected to perform parallel load, data transfer and shift left and right operations. PROCEDURE: 1). Build the two feedback shift register as shown in figure(7) and use switches S0 S1 to perform the following: a) In parallel load Register RL and RR with BCD and 9 respectively. What are the values of S0 S1? What Register operation is this called? S0=1&S1=1, and this operation called load. b) Keep the contents of both register unchanged as given in part a for 10 clock periods. What are the values of S0 and S1? What register operation is this called? S0=0 & S1=1,and this operation called shift left. c) Use the shift right operation to transfer the content of the register RL to while concurrently transferring the contents of the register RR to RL, What are the values of S0 and S1? S0=1 & S1=0. d)Use the shift left operation to transfer the content of register RL to RR while concurrently transferring the contents of the register RR to RL. What are the values of S0 and S1? S0=0 and S1=1. e)Use the shift left operation to transfer the contents of register RR to RL while concurrently transferring 1 into register RR. What are the values of S0 and S1? S0=1 and S1=1. 6 Results and Conclusions : In this experiment we designed 4-bit universal shift register. and we used different types of IC'S like 74LS194 , resistor and capacitors. and we used 555 clock generator to make pulse of the universal shift register. And in this experiment we designed new types of shift register that was learned it in digital course and we used different choices to shift the contents of registers left and right as shown previously in the procedure. References: 1. http://www.google.ps/imgres?q=power+supply+agilent&um=1&hl=ar&client=opera &rls=en&channel=suggest&biw=1333&bih=646&tbm=isch&tbnid=SUVCjedLpFG4M:&imgrefurl=http://www.agilent.com/find/u3400-u 2. http://www.google.ps/imgres?q=breadboard&um=1&hl=ar&client=opera&rls=en&ch annel=suggest&biw=1333&bih=646&tbm=isch&tbnid=_n0CsYctTQA34M:&imgref uG5gLDFYcWjM&imgurl=http://store.curiousinventor.com/media/catalog/product/c ache/1/image/9df78eab33525d08d6e5fb8d27136e95/b/r/bread_board_1.jpg&w=500 &h=320&ei=Y2glT_HtAsrF0QX4qo3OCg&zoom=1 3. http://www.google.ps/imgres?q=wire+case+breadboard&um=1&hl=ar&client=opera &rls=en&channel=suggest&biw=1333&bih=646&tbm=isch&tbnid=sRZV5CMLVhe Q7M:&imgrefurl=http://shop.chip45.com/Electronics- 7