That did work (I'm guessing it's correct because it stopped). The purpose of this research is to develop a digital true random number generator using linear feedback shift register (LFSR) that can be synthesized using. I looked at the wikipedia page, and changed the rightmost term from + 1 to + lfsr per the wiki. A random number generator is a computational or physical device (or software) designed to generate a sequence of numbers or symbols that lack any pattern 4. ![]() I did the polynomial in your comment, but it did not work (seemed to loop infinitely). Random Number Generators, Linear Feedback Shift Register (LFSR), Unique Random Number Generators. This way seems to assume the lsb left and the msb right, so that we shift everything onto the msb's positon and xor it. I want the polynomial in my comment, which seems to be the one pointed out. ![]() ![]() I have used uint32_t for all my data types and lfsr is set to start_state when the function is called. I want to implement a Linear-feedback shift register for the following polynomial x^24 + x^23 + x^22 + x^20 + x^19 + x^18 + x^17 + x^16 + x^15 + x^13 + x^12 + x^8 + x^7 + x^6 + 1, relying on what can be found here with the associated C code:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |