IT254 COMPUTER ARCHITECTURE AND MICROPROCESSOR INTERFACING



Course Related Materials
Online Free Courses:
Udacity https://www.udacity.com/course/high-performance-computing--ud281 (It’s a free 😊)
Topic 1: Course Outline and Introduction

- Content for Reading from the Book: Page Nos. 02 to 28 and Page Nos. 40 to 54

- Lecture notes:
https://drive.google.com/file/d/18pzVIjcYQ-iL0Jz4MnnLkuSHnuRRcAWq/view?usp=sharing

- Video Lectures:
https://www.youtube.com/watch?v=4TzMyXmzL8M (Introduction to Computer Architecture) https://www.youtube.com/watch?v=TS2odp6rQHU (History of Computer)

- Learn How CPU works in 20 minutes:
https://drive.google.com/file/d/1gGpP4juWJWktUJ4ufT_pbf4x3i9bqPcb/view?usp=sharing

Know more about your intel processor:
https://www.intel.in/content/www/in/en/support/articles/000006059/processors.html

Know more about your intel processor:
https://www.cpuid.com/softwares/cpu-z.html
Topic 2: Measuring a Computer Performance

- Content for Reading from the Book: Page Nos. 29 to 39

- Lecture notes:
https://drive.google.com/file/d/1bqGQ4CEgv_LcQji9rrGcZXBUp9g3AdjK/view?usp=sharing

- Video Lectures:
https://www.youtube.com/watch?v=bkm_8oNwXAc https://www.youtube.com/watch?v=ALX-UPE6fF8

- To use benchmark to measure the performance of your processor:
https://www.geekbench.com/download/

Check out comparison of two similar processors:
http://cpuboss.com/cpus/Intel-Core-i5-6200U-vs-Intel-Core-i5-430M

How to compare different processors:
https://www.arrowcomputers.com.au/page/how-do-i-compare-different-processors-dual-core-i3
Topic 3: Instruction Set Architecture

- Content for Reading from the Book: Page Nos. 60 to 144

- Lecture notes:
https://drive.google.com/file/d/1cTkROaiLB2FrCM5w0C_cA9l6sGrCHPAe/view?usp=sharing

- Video Lectures:
https://www.youtube.com/watch?v=HbsuwpJgKao https://www.youtube.com/watch?v=EpzhCP0r11U https://www.youtube.com/watch?v=R726I9_xuvI https://www.youtube.com/watch?v=YRgOPvXhrHE https://www.youtube.com/watch?v=Um0v5t8jjcQ https://www.youtube.com/watch?v=wj6HoSvFszU

- Another interesting video link:
https://www.youtube.com/watch?v=PlavjNH_RRU&list=PLylNWPMX1lPlmEeeMdbEFQo20eHAJL8hx https://www.youtube.com/watch?v=qzSdglU0SBc&list=PLylNWPMX1lPnipZzKdCWRj2-un5xvLLdK

Use following command to install GCC MIPS compiler on ubuntu:

sudo apt-get install gcc-mipsel-linux-gnu

run mipsel-linux-gnu-gcc -g -c myprog.c to produce an object file myprog.o that contains debugging information. Then view the disassembly of the object file using mipsel-linux-gnu-objdump -d -S myprog.o.

Online programming IDE for the MIPS:
https://godbolt.org/

Offline programming IDE for the MIPS:
MIPS MARS Tutorial:
https://www.youtube.com/watch?v=u5Foo6mmW0I&list=PL5b07qlmA3P6zUdDf-o97ddfpvPFuNa5A

Download MARS
https://www.softpedia.com/get/Programming/Coding-languages-Compilers/Vollmar-MARS.shtml

MIPS SPIM Tutorial:
http://www.egr.unlv.edu/~ed/MIPStextSMv11.pdf

Gate Questions:
https://questions.examside.com/past-years/gate/question/the-most-appropriate-matching-for-the-following-pairsx-indir-gate-cse-2000-marks-1-nh8iglmi82lzenxo.htm https://questions.examside.com/past-years/gate/question/which-is-the-most-appropriate-match-for-the-items-in-the-fir-gate-cse-2001-marks-2-1y0uqnye2newpbdp.htm
Topic 4: Arithmetic for Computer

- Content for Reading from the Book: Page Nos. 178 to 195

- Lecture notes:
https://drive.google.com/file/d/1bqGQ4CEgv_LcQji9rrGcZXBUp9g3AdjK/view?usp=sharing

- Video Lectures:
https://www.youtube.com/watch?v=RkAE4zE4uSE https://www.youtube.com/watch?v=kpzx5U0CKqs https://www.youtube.com/watch?v=pJg0OTAFecA https://www.youtube.com/watch?v=EPRs_d2U3NE https://www.youtube.com/watch?v=Kn5ipjXJvpQ

- Gate Questions:
https://questions.examside.com/past-years/gate/question/boths-algorithm-for-integer-multiplication-gives-worst-perfo-gate-cse-1996-marks-1-pnbqh2aztoiidnz5.htm https://questions.examside.com/past-years/gate/question/consider-the-following-floating-point-number-representation-gate-cse-1996-marks-2-bwru7eb4jpjvawdh.htm https://questions.examside.com/past-years/gate/question/state-the-boths-algorithm-for-multiplication-of-two-numbers-gate-cse-1990-marks-5-go3cgjql4a0nfk9k.htm
Topic 5: IEEE 754 Floating Point data representation

- Content for Reading from the Book: Page Nos. 196 to 221

- Lecture notes:
https://drive.google.com/file/d/13BWiDjzjepkCmft5Ahx7NVYYVPJ-UB-V/view?usp=sharing

- Tutorial on Floating point binary representation with examples:
http://pages.cs.wisc.edu/~markhill/cs354/Fall2008/notes/flpt.apprec.html

- Video link:
https://www.youtube.com/watch?v=03fhijH6e2w

Tools to convert floating point to binary and vice versa:
https://www.binaryconvert.com/convert_float.html

Gate Questions:
https://www.gatepaper.in/2014/11/previous-gate-questions-on-number.html
Topic 6: Cache Memory

- Content for Reading from the Book: Page Nos. 374 to 417

- Lecture notes:
https://drive.google.com/file/d/1sPV6FTBrtw6mDhsbA4ADKfReqmou4ooh/view?usp=sharing

- Video Lectures:
https://www.youtube.com/watch?v=_eAL-v5oNOw https://www.youtube.com/watch?v=6F6NP1lrRpc https://www.youtube.com/watch?v=dBeyFiabVIk

- Simulator of the Cache Memory:
http://www.ecs.umass.edu/ece/koren/architecture/Cache/frame0.htm

Gate Questions:

https://questions.examside.com/past-years/gate/question/a-rom-is-used-to-store-a-truth-table-for-a-binary-multiplier-gate-cse-1995-marks-1-mahxigptdcgbodw2.htm https://questions.examside.com/past-years/gate/question/a-block-set-associative-cache-memory-consists-of-128-blocks-gate-cse-1990-marks-2-3qaf9vfr0z4y3vtv.htm https://questions.examside.com/past-years/gate/question/a-computer-system-has-a-three-level-memory-hierarchy-with-ac-gate-cse-1996-marks-5-z7ifs7pyf1tfckk1.htm
Topic 7: Processor Design

- Content for Reading from the Book: Page Nos. 242 to 271

- Lecture notes:
https://drive.google.com/file/d/1T3l8rcfsq_8jDQ3FK0NhISNvR8yTo8ST/view?usp=sharing

- Video Lectures:
https://www.youtube.com/watch?v=0B-y1RPDXjs https://www.youtube.com/watch?v=Ngu1UbRAeqQ https://www.youtube.com/watch?v=kW_OuCEq_Iw https://www.youtube.com/watch?v=d1DG-wHrlCs https://www.youtube.com/watch?v=yhVLhoN5_vE https://www.youtube.com/watch?v=TWI19UruijI https://www.youtube.com/watch?v=-4mLOLHSnMw

- Simulator:
https://www3.ntu.edu.sg/home/smitha/FYP_Gerald/sltInstruction.html http://jamesgart.com/procsim/

Gate Questions:

https://questions.examside.com/past-years/gate/question/the-main-difference-s-between-a-cisc-and-a-risc-processor-is-gate-cse-1999-marks-2-nyxm9siebdmxw4tl.htm

How to compare different processors:
https://www.arrowcomputers.com.au/page/how-do-i-compare-different-processors-dual-core-i3
Topic 8: Pipelining

- Content for Reading from the Book: Page Nos. 272 to 324

- Lecture notes:
https://drive.google.com/file/d/1Sd4c4NGjAs3ALLzrKVg7l7uzCCXZwkZE/view?usp=sharing

- Video Lectures:
https://www.youtube.com/watch?v=pIBwr7Rx-1M https://www.youtube.com/watch?v=SL_djmTegqc https://www.youtube.com/watch?v=RlQYb3FZtQ8 https://www.youtube.com/watch?v=AyXCjyUluHE

- Gate Questions:
https://questions.examside.com/past-years/gate/question/comparing-the-time-t1-taken-for-a-single-instruction-on-a-pi-gate-cse-2000-marks-1-kbnd2d29g7jvmys0.htm https://questions.examside.com/past-years/gate/question/the-performance-of-a-pipelined-processor-suffers-if-gate-cse-2002-marks-2-qmgeshbxcjnk5kzt.htm https://questions.examside.com/past-years/gate/question/an-instruction-pipeline-consists-of-4-stages-fetch-f-decode-gate-cse-1999-marks-5-v5wbawwui7szocue.htm
Topic 9: Virtual Memory

- Video Lectures:
https://www.youtube.com/watch?v=qcBIvnQt0Bw&list=PLiwt1iVUib9s2Uo5BeYmwkDFUh70fJPxX