{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

270L16Notes

# 270L16Notes - CLK 270 Fall 2009 Lecture 16 CLK EECS X X...

This preview shows pages 1–7. Sign up to view the full content.

CLK X State Z CLK X State Z EECS 270, Fall 2009, Lecture 16 Page 1 of 9 Let’s say we use the following datapath: Now we need a state machine to control this…

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

View Full Document

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

View Full Document

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

View Full Document
I. Datapath and control Let’s jump to the next obvious thing: designing a datapath. Let’s start fairly simple with the following problem (this is variation on a problem in our text) We want to measure distance with a laser-based measurement device (you can buy these fairly cheaply by the way). The idea is you shoot a laser at a target and you measure how long it took for the light to get back to you. We’ve got two inputs: Start_button (B) and Laser_sensor (S). We’ve got two outputs: Laser_on(L) and Display(D). Each of these are 1 bit values other than Display which is to output a 16-bit value indicating how far away the target is. Assume our clock runs at 1GHz and that light travels at 3x10 8 m/s. Our display value will be in terms of clockticks that occur before the light returns. (How far would 1 tick be?) At a high-level what’s the plan?
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern