Your cart is currently empty!
Instructions 1. There are 10 questions with total 10 points. Each question carries 1 point. Please create electronic document with your answer. There is no need to include the question itself. However, you MUST include question number and sub-part index if any. Example: 9(b) Please create a PDF document hw1.pdf and upload that in Canvas…
Instructions 1. There are 10 questions with total 10 points. Each question carries 1 point.
Table 1.1: Result Table
Code Binary Hex Operation
muli r6, r3, 0x8FA7
add r3, r3, r1
nor r2, r3, r5
jal 0x34F832
Table 1.2: Calculation Table
Code Type RS RT RD SHAMT FUNCT IMM ADDR
muli r6, r3, 0x8FA7 I
add r3, r3, r1 R
nor r2, r3, r5 R
jal 0x34F832 J
Table 2.1: Machine code and execution result table
Code | Program
Address |
Content |
Data
Address |
Content |
addi r0, r0, 0x1008 sll r0, r0, 0xC addi r2, r2, 0x9
LOOP: beq r1, r2, END lw r3, r0, 0x0 |
0x0000 1000 | |||
0x0000 1001 | ||||
0x0000 1002 | ||||
0x0000 1003 |
lw r4, r0, 0x1 add r5, r3, r4 sw r5, r0, 0x0 addi r0, r0, 0x1 addi r1, r1, 0x1 j LOOP
END: sw r5, r0, 0x0 |
0x0000 1004 | |||
0x0000 1005 | ||||
0x0000 1006 | ||||
0x0000 1007 | ||||
0x0000 1008 | ||||
0x0000 1009 | ||||
0x0000 100A | ||||
0x0000 100B | ||||
0x0000 100C | ||||
0x0000 100D | ||||
0x0000 100E | ||||
0x0000 100F | ||||
0x0000 1010 | ||||
0x0000 1011 |
The memory supports read and write operation and uses common data bus for taking in data for write operation and giving out data for read operation. If ‘read’ and ‘write’ are OFF or ON at the same time, the data bus goes in
circuit isolation state or HighZ state. It performs read operation if ‘read’ is ON (logic high or 1) and ‘write’ is OFF
(logic low or 0). Similarly it performs write operation if ‘write’ is ON (logic high or 1) and ‘read’ is OFF (logic low or 0). All the memory operations are done in positive edge of the clock and both read and write takes 2 clock cycle to complete.
Draw complete schematic diagram of the input-output connection of the proposed computer involving memory, ALU, register file and control unit.
(a) What is the Time period of this clock in picosecond unit?
(b) How much time in picosecond unit the clock signal is at logic low?
Binary Hex Octal Unsigned Decimal Signed Decimal
1101 0011
213
AF
-83
(a) Convert numbers a = 610 and b = -410 into 4‐bit two’s compliment binaries.
(b) Find product of a and b using “paper and pencil” method, i.e. first calculating partial products and then performing summation of partial products. Assume that a and b are 4‐bit two’s compliment binaries. Show all
necessary steps.
(c) Perform (i) zero‐extension and (ii) sign‐extension of numbers a and b to get 8‐bit binaries. You should report 4 numbers.
(b) F(x, y, z) = (xyz’) + (x’y’z)
(b) w’.(wxyz)’ = w’
f (A, B, C, D) = ΠM(1, 3, 12, 13)
Show all the “prime-implicants” and “Essential prime implicants” (b) Find a minimum SOP expression for:
f (w, x, y, z) = ∑ m (5, 7, 12, 14) + d(0, 2, 13, 15)
Show all the “prime-implicants” and “Essential prime implicants”