Professional Documents
Culture Documents
System Hardware SOEN228
System Hardware SOEN228
SOEN228
Lab Report #
Student Name Student ID Lab section Lecture section
Vlad Tita 40209853 I SS
Hichem Sehabi 40212336 I SS
Winter 2022
1. Objectives
The objectives for this experiment are to wire the two data registers (A and B) to the timing signal
generator and to the instruction decoder so the functions stored in the address register get executed.
The remaining timing pulses of the computer (T4 to T7,), previously left unused, will help perform
this task. The goal of this experiment is to finalize the computer by implementing the necessary
combinational logic to perform the basic functions decoded from memory.
2. Introduction
Control Signal Generator:
The control signal generator is the combinational logic required to perform the task stored
in memory after they’ve been decoder by the decoder. The CSG takes the decoder output to control
the behavior of the registers.
Question 1: Assume that the ability to invert a register is wanted. How could this be
implemented? Provide a detailed explanation.
To implement this, we would have to add a new Invert Register. This would be made with a 7404
Inverter that takes the input from the bus and outputs it into a 74574 register. We would also need
to add two new instruction signals and update the EPROM OP-Codes to include (InvA) and (InvB).
Here is how it would function in our circuit :
1- A register will output its contents onto the bus
2- The IR will store the contents of the bus and gets inverted through a 7404 IC
3- The IR will output its contents onto the bus
4- A register stores the content of the bus which is now inverted!
Overall, this project allowed us to learn a lot about the inner workings of a computer and let us get
some hands-on experience of making a very basic computer.
5. Conclusions
In this section, a full summary about activities and results should be stated. (5-10 sentences)
In this lab experiment we had to make the final piece of our computer which was the control
signal generator. After some careful tinkering, we managed to make it as described and attach it
to the rest of the project. There was no real way to test if our project was working but everything
that we built so far worked just fine and there did not seem to be any problems. The computer we
made currently executes a series of 6 instructions loaded to the EPROM. These instructions
consist of a combination of incrementing registers and moving data from one register to another.
It would have been interesting to see how our computer would execute different commands and
what we could have added to it if we had more time.
Sample of documented simulation file: