Otherwise, perform the function using only the current data in the FFs, ignoring whatever the input data may be. What I hope to achieve with my enable input is for the input data to be fed into the LFSR and also perform the function in the image above. Here's something to give everyone a better idea on what I am trying to achieve. Any assistance on this would be appreciated. I'd hope to keep the enable input because it will be useful in other modules that will be based on the LFSR. If CLK = '1' and CLK'event and EN = '1' then I was wondering if there is a way to access the current contents of the D flip flops? I have defined my D flip flop as follows: library IEEE ![]() The issue that I'm having is that every subsequent key is going to be a shifted version of the current contents of the D flip flops. ![]() Hence, I'd have an initial value (8 bits) fed in as my input and then a new key would be generated every time a "push" signal is sent. My overall goal is to create a unique key for every input using a LFSR (linear feedback shift register). ![]() Obviously, an important component in the design of the encryption is the key. I have been attempting to design a data encryption circuit using D flip flops. I am fairly new to the VHDL language and I will admit that I primarily use it for educational purposes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |