‫Welcome to the linear feedback shift register or demonstration on the bases 3 board if you know the
‫basic storyboard board has the four digit seven segment display.
‫So just like the binary code decimal display We're going to be using the four digit seven segment display
‫located on the bases three board.
‫We'll also be using the center button to generate the clock which is going to generate the next random
‫number in our linear feedback shift register or literally of action for tester.
‫We're implementing the Fibonacci sequence which was a 16 bit random number.
‫So every time we press this button we should see a pseudo random number appear on the 7th segment display.
‫Now the first number we see is 0 0 0 or 1 which is the seed value.
‫This is the initial value of the 7th segment display for our linear feeback shift register.
‫So when I press the center button you'll notice we now have 8 000 and these values are in hex just an
‫F Y.
‫So I press again and we get 4 0 0 2 0 0 1 0 0 0 8 0 0.
‫And I can keep pressing this and I'll keep generating random numbers.
‫I won't actually get 0 0 1 again until I go through sixty five thousand five hundred and thirty five
‫different values.
‫So I have a lot of different combinations that I can go through before our.
‫And I can just keep pressing this to get all kinds of different random numbers.
‫Now at any point in time if I were to reset this I can slide my switch 0 to high which now has it in
‫the reset state which just means I load my C value back into the linear feedback shift register and
‫if I press the center button and nothing happens that's because I have it in a reset state.
‫So if I pull it out to reset press my center button I'm now generating.
‫And if you'll notice the same pattern again I'm wearing the same exact pattern because I had the same
‫seed value.
‫So if you wanted to create something that was truly random you would have it.
‫So it feeds it a random seed value but something has to generate that number.
‫And this is just a way a demonstration of a way that computers or digital systems can generate random
‫numbers and that this is the example of the linear feedback shift register running on the basis three
‫board.