I'm having a bit of trouble creating a prng using the lfsr method. Here is my code: library IEEE; use …