Uploaded by zouz-100

Project Report Template CMPE363 Fall 2023 - 2

advertisement
Qatar University
College of Engineering
Department of Computer Science and Engineering
CMPE 363 Computer Architecture and Organization II
Course Project Report
Fall 2023
PROJECT TITLE
HARDWIRED CONTROL CPU WITH SIMPLE INPUTOUTPUT INTERFACE MODULE
Submitted By:
1.
2.
3.
4.
<< Student1 Name – Student1 ID >>
<< Student2 Name – Student2 ID >>
<< Student3 Name – Student3 ID >>
<< Student4 Name – Student4 ID >>
1
Table of Contents
1
Introduction ......................................................................................................................................................2
2
RTL Description of the CPU...............................................................................................................................2
3
Project Testing Program ...................................................................................................................................3
4
Data Unit (DU) Design.......................................................................................................................................3
4.1
DU Circuit Diagram ...................................................................................................................................3
4.2
Description................................................................................................................................................3
5
Hardwired Control Unit (CU) Design ................................................................................................................3
5.1
CU Circuit Diagram ...................................................................................................................................3
5.2
CU Description ..........................................................................................................................................3
6
I/O System ........................................................................................................................................................4
6.1
I/O Interface Module Circuit Diagram ......................................................................................................4
6.2
CU Description ..........................................................................................................................................4
7
Running the Simulated PSC ..............................................................................................................................4
8
Contributions of Each Team Member ..............................................................................................................4
9
Reflection and Conclusion ................................................................................................................................4
1 Introduction
<< This part provides a brief high-level description of the project. >>
2 RTL Description of the CPU
<< This section presents a brief description of the CPU showing its data path, instruction format and
instruction set. It should also include the full RTL description of CPU by filling a table similar to the
one shown below (see the table below that has examples). >>
Descriptive label
Timing & control
Micro-operations
Active control signals
Fetch
…
AND
T0
AR ← PC
AR_ld, s2=1, s1=0, s0=0
T 4D 4
DR ← M[AR]
T 5D 4
AC ← AC Ʌ DR, SC ← 0
MEM_read, DR_ld, s2=1, s1=1,
s0=1
AC_ld, ALU_add, SC_clr , X=0
…
2
3 Project Testing Program
<< As a testing program, develop an assembly language program to read two 8-bit unsigned input
values from the input device (8 switches) and store them in memory locations 100 and 101, labeled
as A and B, respectively. The starting address of the data (100) is stored in location 102, labelled with
label C, which can be used to refer to the starting address of data using indirect addressing. The
reading of the values and storing them in memory must be implemented using a loop. Then, write
another loop to read the two values from the memory and sum them up. Then, finally display the
result on the output LEDs.
Provide the program as text in Assembly, Binary, Hexadecimal and Decimal. This program can be used
for testing your design. Examples showing the assembly language syntax for the computer system are
given in Appendix B of the project description. >>
Input/Output program program
Memory
Address
100
101
102
Assembly
Binary
Hexadecimal
Decimal
…
…
…
…
A, Dec 0
B, Dec 0
C, Dec 100
00 0000 0000 0000 0000
00 0000 0000 0000 0000
00 0000 0000 0110 0100
00000
00000
00064
0
0
100
4 Data Unit (DU) Design
4.1 DU Circuit Diagram
<< Insert a neat circuit diagram for the design of the data unit module >>
4.2 Description
<< Insert a brief description of the designed data unit, mentioning its components (such as registers,
flags, arithmetic and logic unit, etc.), and their characteristics (such as size of registers and type of
operations performed by the arithmetic and logic unit, etc.). >>
5 Hardwired Control Unit (CU) Design
5.1 CU Circuit Diagram
<< Insert a neat circuit diagram for the design of the control unit module >>
5.2 CU Description
<< Insert a brief description of the designed control unit, mentioning its components (such as
sequence counter, decoders, etc.), and their characteristics (such as size of sequence conter, size of
decoders, etc.). >>
3
6 I/O System
6.1 I/O Interface Module Circuit Diagram
<< Insert a neat circuit diagram for the design of the simple I/O Interface Module >>
6.2 I/O Interface Module Description
<< Insert a brief description of the designed simple I/O Interface Module, mentioning how it is
interfaced to both the CPU and the input/output devices, and explaining how it works based on the
values of FGI and FGO flags >>
7 Running the Simulated Computer
<<Provide instructions for running and testing your simulated computer system. Discuss testing your
design on the testing program described above.>>
8 Contributions of Each Team Member
<< For each team member, list the specific contributions of the team member to the efforts for
developing this project. >>
9 Reflection and Conclusion
<< You can reflect on this project, its difficulty, if and how it was useful, or any feedback you like to
give to the instructor. List any challenges you had faced as a team while working on this project. >>
4
Download