Hw9 - CSE140 Spring 2010 Homework#9 CSE140 Homework#9 Due date You must SHOW ALL STEPS for obtaining the solution Reporting the correct answer

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE140 Spring 2010, Homework #9 CSE140 Homework #9 Due date: 06/01/2010 You must SHOW ALL STEPS for obtaining the solution. Reporting the correct answer, without showing the work performed at each step will result in getting 0 points for that problem. 1. Create a high-level state machine for a simple data encryption/decryption device. If a bit-input b is 1, the device stores the data from a 32-bit input I as what is known as an offset value. If b is 0 and another bit-input e is 1 , then the device “encrypts” its input I by adding the stored offset value to I, and outputs this encrypted value over a 32-bit output J. If instead another bit-input d is 1 , the device should “decrypt” the data on I by subtracting the offset value before outputting the decrypted value over J. Be sure to explicitly handle all possible combinations of the three input bits. 2. a) Create a high-level state machine that adds each register of one 128x8 register file to the corresponding registers of another 128x8 register file, storing the results
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/10/2010 for the course CSE 140 taught by Professor Rosing during the Spring '06 term at UCSD.

Page1 / 3

Hw9 - CSE140 Spring 2010 Homework#9 CSE140 Homework#9 Due date You must SHOW ALL STEPS for obtaining the solution Reporting the correct answer

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online