• Accurate arithmetic - Chapter 0: Instructor infomations, reference books and grading rulesAccurate arithmetic - Chapter 0: Instructor infomations, reference books and grading rules

    Book references: Required: Computer Organization and Design: The Hardware/Software Interface, Patterson, D. A., and J. L. Hennessy, Morgan Kaufman, Revised Fourth Edition, 2011. Optional: 1. Giáo trình kiến trúc máy tính, Vũ Đức Lung, Nhà xuất bản Đại học quốc gia Tp Hồ Chí Minh, 2009. 2. Fundamentals of Computer Organization and Archit...

    pdf5 trang | Chia sẻ: nguyenlam99 | Ngày: 09/01/2019 | Lượt xem: 849 | Lượt tải: 0

  • Accurate arithmetic - Chapter 1: Computer abstractions and technologyAccurate arithmetic - Chapter 1: Computer abstractions and technology

    Example 2. Suppose we have two implementations of the same instruction set architecture. Computer A has a clock cycle time of 250 ps and a CPI of 2.0 for some program, and computer B has a clock cycle time of 500 ps and a CPI of 1.2 for the same program. Which computer is faster for this program and by how much?

    pdf45 trang | Chia sẻ: nguyenlam99 | Ngày: 09/01/2019 | Lượt xem: 780 | Lượt tải: 0

  • Accurate arithmetic - Chapter 2: Instructions: language of the computerAccurate arithmetic - Chapter 2: Instructions: language of the computer

    1. Introduction 2. Operations of the Computer Hardware 3. Operands of the Computer Hardware 4. Signed and Unsigned number 5. Representing Instructions in the Computer 6. Logical Operations 7. Instructions for Making Decisions 8. Supporting Procedures in Computer Hardware 9. Communicating with People 10. MIPS Addressing for 32-Bit Immediate...

    pdf62 trang | Chia sẻ: nguyenlam99 | Ngày: 09/01/2019 | Lượt xem: 813 | Lượt tải: 0

  • Accurate arithmetic - Chapter 3: arithmetic for computersAccurate arithmetic - Chapter 3: arithmetic for computers

    Accurate Arithmetic  Unlike integers, which can represent exactly every number between the smallest and largest number, floating-point numbers are normally approximations for a number they can’t really represent.  The reason is that an infinite variety of real numbers exists between, say, 0 and 1, but no more than 253 can be represented exac...

    pdf54 trang | Chia sẻ: nguyenlam99 | Ngày: 09/01/2019 | Lượt xem: 786 | Lượt tải: 0

  • Computer architecture - Chapter 4: Chapter 4Computer architecture - Chapter 4: Chapter 4

    With five instructions active in any clock cycle, we will be confront with many challenges - First, the challenge is to associate an exception with the appropriate instruction. - Second, multiple exceptions can occur simultaneously in a single clock cycle.  The solution is to prioritize the exceptions so that it is easy to determine which is ...

    pdf122 trang | Chia sẻ: nguyenlam99 | Ngày: 09/01/2019 | Lượt xem: 763 | Lượt tải: 0

  • Kiến trúc máy tính - Chương 0: Tổng quan nhập môn mạch sốKiến trúc máy tính - Chương 0: Tổng quan nhập môn mạch số

    Demultiplexer (DEMUX) lấy ngõ vào duy nhất và phân phối nó ra một ngõ ra. – Mã ngõ vào SELECT sẽ xác định ngõ ra nào mà ngõ vào DATA sẽ truyền qua

    pdf74 trang | Chia sẻ: nguyenlam99 | Ngày: 09/01/2019 | Lượt xem: 783 | Lượt tải: 0

  • Kiến trúc máy tính - Chương 1: Máy tính – Các khái niệm và công nghệKiến trúc máy tính - Chương 1: Máy tính – Các khái niệm và công nghệ

    Giả sử có hai cách hiện thực cho cùng một kiến trúc tập lệnh trên máy tính A và máy tính B. Máy tính A có chu kỳ clock 250ps và CPI là 2.0 khi chạy một chương trình, và máy tính B có chu kỳ clock 500ps và CPI 1.2 khi chạy cùng chương trình trên. Máy tính nào chạy chương trình trên nhanh hơn và nhanh hơn bao nhiêu?

    pdf59 trang | Chia sẻ: nguyenlam99 | Ngày: 09/01/2019 | Lượt xem: 976 | Lượt tải: 0

  • Kiến trúc máy tính - Chương 02: Kiến trúc bộ lệnhKiến trúc máy tính - Chương 02: Kiến trúc bộ lệnh

    Giới thiệu 2. Các phép tính 3. Toán hạng 4. Số có dấu và không dấu 5. Biểu diễn lệnh 6. Các phép tính Logic 7. Các lệnh điều kiện và nhảy

    pdf53 trang | Chia sẻ: nguyenlam99 | Ngày: 09/01/2019 | Lượt xem: 2019 | Lượt tải: 1

  • Kiến trúc máy tính - Chương 3: Phép toán số học trên máy tínhKiến trúc máy tính - Chương 3: Phép toán số học trên máy tính

    Phép chia trong MIPS  Trong cấu trúc phần cứng cho phép nhân có cải tiến, hai thanh ghi Hi và Lo được ghép lại để hoạt động như thanh ghi 64 bit của Product/Multiplier Quan sát cấu trúc phần cứng cho phép nhân có cải tiến và phép chia có cải tiến, rõ ràng hai cấu trúc này tương tự nhau. Từ đó, MIPS cũng sử dụng hai thanh ghi Hi và Lo cho cả p...

    pdf44 trang | Chia sẻ: nguyenlam99 | Ngày: 09/01/2019 | Lượt xem: 5753 | Lượt tải: 0

  • Phép toán số học trên máy tính - Số thực dấu chấm độngPhép toán số học trên máy tính - Số thực dấu chấm động

    Thực hiện cộng các số thực dấu chấm động chuẩn trong hệ thập phân (Giả sử số thực dấu chấm động lưu trữ phần lẻ 5 chữ số, số mũ lưu trữ 2 chữ số). 10,5 + 32,25 10 + 0.125 1987 + 2001  Thực hiện nhân số thực dấu chấm động chuẩn trong hệ thập phân (Giả sử số thực dấu chấm động lưu trữ phần lẻ 5 chữ số, số mũ lưu trữ 2 chữ số). 10,5 x 32,25 ...

    pdf32 trang | Chia sẻ: nguyenlam99 | Ngày: 09/01/2019 | Lượt xem: 4199 | Lượt tải: 0