Welcome to the base is three universal shift register lecture and I'm going to show you how the universal
shift British search should be implemented on your basis three board and what we have is that we have
eight inputs which are shown from our switch to zero to switch 7 and we have two selectors which indicate
the mode of operation for our universal shift register and there are the two left most switches at the
bottom of your bases three board.
And then we have a clock input and a ready set in our clock is the center button and a reset is a top
button.
So if we have both of our selector inputs as a one which are indicated by our two switches in the up
position we are going to perform a parallel load.
And what that will do is take the status of the input switches and load them onto the corresponding
Ltds.
So right now we have all them up as a 1.
So if I press the middle button which is our clock you'll see that we have loaded all of the outputs
with a one every every value in the shift register.
So now let's go ahead and move our selector switch down so we have it as a 1 0.
And what this will do is shift our inputs to the left.
Every time I push the clock so I'm going to push the clock once.
And you'll notice that all the inputs are still lit up except for the brightness output and that's indicated
that we have shifted everything to left.
So we have a zero there and if I press it again we'll notice that the same thing occurs except now we
have two zeros.
So we've tooken over outputs and shifted them to bits to the left.
So let's flip the the selector switches so we have it as a 0 1 which we now should shift everything
to the right.
So when I push the clock button we should see that all of the Ltds are lit up except for the rightmost
one and the leftmost.
So go ahead and press the clock button and you'll notice that they're all lit up except for the two
outside ladies.
Now if I just keep pressing the clock but never time I press that we will keep moving the output.
So if I press it enough times you notice that we have one I press that again we have zero.
So I want to go ahead and parallel load again let's move both of our selector switches to one and just
kind of change the status so he got some ones and some zeros and then let's press our clock button.
So now we've loaded our shift register and if we want to go ahead and clear that we can just move our
selector switches to the left or to the right and just clock all the way through.
However if we want to do it on one clock cycle we can use our reset which we know that occurs on a clock
cycle.
So if I just press my reset you'll notice that nothing resets.
Nothing actually happens.
And that's because you reset your clock.
Have to happen together.
So push or reset and then push the clock button while holding down the reset.
And that should reset our shift register.
So let's go ahead and hold the clock and hold down the reset press the clock and you notice that all
the ladies have been cleared out.
And that is how the universal shift register should work on your bases through board.