Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in assembly : Write a function to implement an 8 - bit LFSR - based pseudo - random number generator. The function should take the

in assembly : Write a function to implement an 8-bit LFSR-based pseudo-random
number generator. The function should take the feedback polynomial
and the seed as parameters in registers $a0 and $a1, respectively,
and it should generate a random number in register $v0.
Note: use the code on the right to test your function.
Two important characteristics of an LFSR are the Feedback
Polynomial, which determines the flip-flops (FFs) that are XORed to
compute the shifted bit, and the seed which determines the initial
content of the FFs. Depending on the Feedback polynomial, the LFSR
can generate a maximal-length sequence without repetition, or it
may not. The seed can be any number other than 0.
The Feedback polynomial for the LFSR shown can be represented as
Note that 1 indicates that there is feedback connection,
while 0 indicates that there is no feedback connection.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Management Systems

Authors: Patricia Ward, George A Dafoulas

1st Edition

1844804526, 978-1844804528

More Books

Students also viewed these Databases questions

Question

Elucidate the difference between data and information

Answered: 1 week ago