Question: E2) Design a simple data encryption/decryption device! If a bit-input B is 1, the device stores the data from a 16-bit input IN as what

 E2) Design a simple data encryption/decryption device! If a bit-input B

E2) Design a simple data encryption/decryption device! If a bit-input B is 1, the device stores the data from a 16-bit input IN as what is known as offset value. If B is O and another bit-input E is 1, then the device "encrypts its input IN by adding the stored offset value to IN and outputs this encrypted value over the 16-bit output OUT. If instead another bit-input D is 1, the device should "decrypt the data on IN by subtracting the stored offset value before outputting the decrypted value over OUT. Be sure to explicitly handle all possible combinations of the three control inputs! (15 points) a) Create a high-level state machine that describes the behavior of the device! (7 points) b) Draw up the datapath using as fewest number of components as possible! (5 points) c) Derive the controller FSM from the high-level state machine! (3 points)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!