Public String toString() // return a string representation of the LFSR ![]() Public int generate(int k) // simulate k steps and return k-bit integer Public int step() // simulate one step and return the new bit as 0 or 1 Public LFSR(String seed, int tap) // constructor to create LFSR with the given initial seed and tap ![]() Your first task is to write a data type that simulates the operation of a Of an 11-bit LFSR with initial seed 01101000010 and tap position 8. (the sequence of bits that initializes the register), and theĪs in the example in Lecture 1, the following illustrates one step Produces: the number of bits N, the initial seed
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |