7/18/2014
CSC B58 midterm and solutions, Summer 2014
Mid-term test and sample solutions
2 July 2014
Note: The sequence of questions on your test was randomized. The following is one possible sequence.
1. [5 marks]
Consider the following circuit:
a) Write
7/18/2014
CSC B58 assignment two sample solution
Assignment two sample solution
This is just a sample! There are other possible valid answers, at least for the circuit design questions.
Question 1
I've already written about analyzing the list of stable st
Reduced Instruction Set Computer (RISC)
0 People basically do not write in assembly language any more
How do we make CPUS
0 So make the instruction set geared towards the hardware,
re ally really fast? mepmgmmmen
0 People used to use complicated machi
Multi-word addition
To do multi-word addition, use the carry-out bit.
Add from lowest word to the left.
Example with four-bit words:
00110101 + 00011100 (53 + 28)
0 High word of X is 0011
O Low word of x is 0101
0 High word of y is 0001
0 Low word
Sequential Circuits SR Latch:
s _
0 Q
R . Q
vxv
SR Latch: SR Latch:
8 i a S , a
S R Q Q S R Q Q
0 1 0 I 0 1 0 I
1 0
WW} SR Latch:
SR Latch:
_Q
SR Latch:
SR Latch:
_Q Clocked SR Latch:
Why Clock?
' smooth transitions
Ideal: ft; l
Ogle I
7/18/2014
CSC B58 Assignment 1 solutions, Summer 2014
CSC B58 Assignment 1 solutions, Summer 2014
1.
1a.
1b.
1c. F(0,1,0,1)
1d.
2.
Note: you didn't have to include as much "justification" as I have put here, if it was obvious how you were getting from one
7/18/2014
CSC B58 tutorial two
CSC B58 tutorial two, week of May 19
There is a TA office hour leading up to the assignment due date; please see the course web page. And you can always send questions to ajr by e-mail.
Here are some administrative details r
Then went through the boolean algebra laws handout (see http:/mathlab.utsc.utoronto.ca/courses/cscb58s14/boollaws.pdf ).
Then proved the three absorption laws (see http:/mathlab.utsc.utoronto.ca/courses/cscb58s14/notes/absorption-proofs.html ).
7/18/2014
CSC B58 tutorial eight
CSC B58 tutorial eight, week of July 14
First, we went thorugh the "standard instruction fetch sequence" a bit:
0 P_u,MRi,Ra,Zr A StCryI,Ad Zi
. Cot A_n ed eo , e ar-n d, _n
1 Zot P_n Wi MC
. _u, Ci, at F
2 MRot I_n
. D_u,