1 / 37

Quote

Microprocessors CSE 341 Lecture 1 Md. Omar Faruqe faruqe@bracu.ac.bd http://faculty.bracu.ac.bd/~faruqe UB 1228. Quote. “I can’t teach anybody anything, I can only make them think. “ -Socrates. “I can’t teach anybody anything, I can only make them SLEEP. “ - ME.

alyn
Download Presentation

Quote

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MicroprocessorsCSE 341Lecture 1Md. Omar Faruqefaruqe@bracu.ac.bdhttp://faculty.bracu.ac.bd/~faruqeUB 1228 Lecture 1 7/31/2014

  2. Quote “I can’t teach anybody anything, I can only make them think. “-Socrates “I can’t teach anybody anything, I can only make them SLEEP. “- ME DO NOT fall asleep.Use references if you quote or copy anything  2 Lecture 1 7/31/2014

  3. Prerequisites CSE 260 (Digital Logic Design) Not really going to assume too much previous knowledge ! Basic Understanding and Good aptitude towards learning should be sufficient. So how much do you guys know about Microprocessors / Microcontrollers ? Lecture 1 7/31/2014

  4. Why learn about Microprocessors? • Interesting & Fun • They affect the advancements of almost all electronic devices. • Digital Cameras • Mobile Phones • Most Important hardware of a Computer System. • Essentially the brain of the Computers we use today. • Intel Pentium • AMD • Ability to analyze, design, implement, and test assembly language programs. Lecture 1 7/31/2014

  5. Lecture 1 7/31/2014

  6. Lecture Format: Two Lectures every week. TUE 08:00 – 09:20 UB 0222 THU 08:00 – 09:20 UB 0122 1 and half hour each lecture. • Start on time (Hopefully) • Normally let you go after 1 hour 20 minutes (NO Promises!) Lecture 1 7/31/2014

  7. Lab/Tutorial Format: Once each week. MON 09:00 – 10:50 UB1126 3 hours each lab. • Start on time (Hopefully) • 45 minutes of discussion on topics for the lab. • 5 minutes break • 115 minutes of practical work. Lecture 1 7/31/2014

  8. Assessment: Lecture 1 7/31/2014

  9. Quiz: • I will count 6 quizzes from the ones I take. • I will try and do at least 10. • The more the better so, we will try and do more if we get time. • I normally count Mock Exam as a quiz. Who wants to guess when these quizzes will be held ? • Yes Right ! • Anytime I feel like it  Lecture 1 7/31/2014

  10. Exam Format: • Mid Term • 1 Hour 20 Minutes • 8 Questions • You answer any 6 • All question carries equal marks of 10 each. • Finals • 3 Hours • 8 Questions • You answer any 6 • All question carries equal marks of 20 each. If you guys are interested we can schedule Mock Exams. 10 Lecture 1 7/31/2014

  11. Books: Core Text: • Barry B. Brey, “The Intel Microprocessors: 8086/8088, 80186/80188, 80286, 80386, 80486, Pentium, Pentium Pro Processor, Pentium II, Pentium III, and Pentium 4 - Architecture, Programming, and Interfacing”, Seventh Edition, Recommended Texts: • Douglas V. Hall, “Microprocessors and Interfacing: Programming and Hardware” 2nd ed., Gloence McGraw Hill, 1991. • M. Rafiquzzaman, “Microprocessors: Theory and Applications: Intel and Motorola”, Revised ed., Prentice Hall, 1992. • Y. Liu and G. A. Gibson, “Microcomputer Systems: The 8086/8088 Family Architecture, Programming Design”, 2nd ed., Prentice-Hall, 1986. Lecture 1 7/31/2014

  12. Course Materials: All Course Materials are available at: http://groups.google.com/group/bucse341/ http://faculty.bracu.ac.bd/~faruqe/ • You need • A Google Account • Register yourself onto the group. • The group will have • Announcements • Lecture Notes • Microprocessor Simulation Software • Lab Tasks. • Your Grades • Course Outline. • Discussions. 12 Lecture 1 7/31/2014

  13. Teaching Staff: Name: Md. Omar Faruqe Room: UB 1228 Telephone: 8824051 ext – 4025 Email : faruqe@bracu.ac.bd Consultation Hours: Please Email me if you would like to see me outside these hours ! • I do other things such as: • Teach CCNA • Supervise Thesis Students • Perform Administrative Tasks (Routine/Load balancing) • Student Adviser • Do research work • AND LAST but NOT LEAST try and maintain a personal & Social life. Lecture 1 7/31/2014

  14. Quiz 5 points for guessing what is shown in the picture………… 5 points for guessing why I put this picture here ………….. Please Switch Phones OFF or Put them on SILENT I Phone Lecture 1 7/31/2014

  15. Grades Fall ‘07 15 Lecture 1 7/31/2014

  16. To get a good Grade: • Don’t be late to Lectures and Labs. • Being more than 5 minutes late counts as a missed lecture / lab. • So thinking of not showing up if for some reason you are 5 minutes late? • BAD IDEA ! • Any hints for exams / quizzes / assignments I give are in the first 5 minutes of the lecture. • You also really need the 5% given for attendance to get an A. • Also failing to maintain 70% attendance means you fail the course. • Hand in assignments before the deadline. • Have excellent time management skills. • Don’t copy assignments from peers. • Follow instructions. • Attend all Quizzes / Mocks and Exams. • Work Hard / Study Hard. 16 Lecture 1 7/31/2014

  17. Official Evaluation • I actually teach 2 courses (µP & OS) • I personally take both labs. (Helps me feel in control) • I don’t remember the exact number and distribution but over the four separate classes that I teach, I averaged 70 out of 75. ≈ 93% ≈ A • The idea of this was not to boast but to show that: • If I can get an A teaching the course, you definitely can get an A by learning what is taught. • I care about what you guys think of the course, my teaching methods and your comments. • So, please feel free to let me know of any comments that you have. 17 Lecture 1 7/31/2014

  18. My Evaluation Statistics 18 Lecture 1 7/31/2014

  19. What did you like best about the class? I liked assembly language coding. Like logical parts Very friendly and helpful (I am guessing this was for me) MCQ Quizzes – Unfortunately we wont be having any more. Labs were challenging and fun Free and Frank attitude and the seriousness and dedication Lecture Quotes Everything is fine, love the concise parts Your teaching style Nothing Much 19 Lecture 1 7/31/2014

  20. In what ways could this class be improved? Decrease amount of stuff that needs to be memorized Hard to remember so many descriptions Sometimes class exercises are difficult so everyone isn't able to do them. It would be nice if the answers were given in the class. More multiple choice quizzes If we could actually build a system in the labs learning architecture would be simpler Decrease the syllabus and spend more time on topics The syllabus is huge. The teacher should be a little bit of fast ??????? Add two mock finals 20 Lecture 1 7/31/2014

  21. mock quiz more quiz Increase Syllabus, Decrease Depth In my opinion, it would be better if all "describing" topics are described a little bit slower Better practical 21 Lecture 1 7/31/2014

  22. Any additional comments or suggestions? Will we miss the treat ? Go slower during lectures. You really work hard for the course – Thank you. :P Sometimes you should give yourself a break – I have been saying that to myself for the past 4 years. Taking quizzes at the end of classes on class lecture is in fact a good idea. It really does ensure we learnt something in class. We were suppose to get a treat but I don’t know what takes your mind away from this topic. – Neither did I 22 Lecture 1 7/31/2014

  23. Sir, where is the treat? More math problems More quiz and assignments regardless of response Asking students more questions while teaching – Will do Two treats one before finals and one after Don’t we deserve a treat for your tremendous performance? Didn’t your result make you happy ? Confused :S 23 Lecture 1 7/31/2014

  24. Actions taken They got their treat but, they also worked very hard. I am going to spend more time on things. Accommodate more quizzes and Mocks. More challenging tasks in the labs. More quizzes. Do more problems and solutions in the class. MCQs however will have to go. Might take a couple Syllabus has unfortunately increased :S 24 Lecture 1 7/31/2014

  25. Introduction: What is a Microprocessor? A microprocessor (abbreviated as µP or uP) is an electronic computers central processing unit (CPU) made from miniaturized transistors and other circuit elements on a single semiconductor integrated circuit (IC). It performs arithmetic, logic and control operations. It contains a control unit, an arithmetic & logic unit, registers and links to store data and connect to peripherals. What is a Microcontroller? Dedicated to performing one task. Integrates the memory and other features of a microprocessor. Lecture 1 7/31/2014

  26. Intel Pentium Intel 8086 Lecture 1 7/31/2014

  27. Applications: Uses: • Control – Where the processor is used to control/perform actions. • Data Processing – Data Manipulation and Calculations. Application Types: • Low-end – Simple control use. (Traffic Lights.) • High-end – • Complicated Controllers .(Robotics, Avionics etc.) • Data Processing. (CPU) Most applications we use are high-end and use microprocessors for both Control and Data Processing. Lecture 1 7/31/2014

  28. Complexity Microelectronic Device Complexity: • SSI (Small Scale Integration) - Less than 10 gates • MSI (Medium Scale Integration) - Between 10 gates and 100 gates. • LSI (Large Scale Integration) - Between 100 and a 10000 gates • VLSI (Very Large Scale Integration) - Greater then 10000 gates Almost all current applications require VLSI. Lecture 1 7/31/2014

  29. Microcomputer System Interface Memory Module Timing Microprocessor (CPU) Bus Control logic Interface Mass Storage Device Interface I/O Devices Lecture 1 7/31/2014

  30. Components Hardware : • CPU – Microprocessor Unit (MPU) • Logical, Arithmetic computations and control operations • Timer –Produces evenly spaced clock pulses • Needed for synchronization. – Now Integrated • Memory Modules – Multiple • They hold both data and instructions. • I/O Subsystem – External Devices and mass storage. • Bus System – Communication lines • Interface – Allows connection of Bus to devices. Buffering and decoding are two major functions. Lecture 1 7/31/2014

  31. Software: • System Software • Collection of programs needed in the creation, preparation and execution of other programs ( Operating Systems – Windows XP) • User Software • Software which helps solve different problems and provides user level functionality. ( Applications – Microsoft Power Point) Programming: • Machine Language – Is understood and run by computer • Assembly Language – Closely linked to Machine language, more readable for humans, Usually 1-1 mapping, translated to machine language using Assembler • High-Level Language – Instructions that are closer to English and the mental model used by programmers to solve problems. Translated to machine language using Compiler or Interpreter. Lecture 1 7/31/2014

  32. Operations CPU/Microprocessor should support : • Assignment and Arithmetic expression • Unconditional Branches • Conditional Branches (Relational & Logical Expression) • Looping • Arrays and other Data Structures • Subroutines • I/O Operations Lecture 1 7/31/2014

  33. Typical Microprocessor Architecture Working Registers Control Unit Program Counter (PC ) Address Registers. . Instructions Register Processor Status Word (PSW) Arithmetic Registers. . Stack Pointer (SP) I/O Control Logic Arithmetic Logic Unit (ALU) Lecture 1 7/31/2014

  34. Reasons for using Microprocessors • Cost • Flexibility • Development Time • Speed • Reliability Lecture 1 7/31/2014

  35. Future Topics.... Lecture 1 7/31/2014

  36. Feedback • Were you guys comfortable with the lecture ? • Is there anything you would like me to change ? • You are welcome to email me your suggestions and opinions. • Last time I tried this everybody said it was fine. I guess people were shy and didn’t want to speak up. • So, I brought in something where you can have your say anonymously ! Lecture 1 7/31/2014

  37. Discussion / Questions ? Lecture 1 7/31/2014

More Related