Docsity

FALCONA, Input Output Bus-Computer Architecture and Assembly Language-Assignment Solution, Exercises of Computer Architecture and Organization

Toggle sidebar
bg1
Assignment No. 03
Solution File
Due Date:
Your assignment must be uploaded/submitted before or on 7Th June 2012.
Uploading instructions:
Please view the Assignment Submission Process document provided to you by the
Virtual University for uploading assignments.
Assignment should be in .doc format.
Save your assignment with your ID (e.g. bx020200786.doc).
Assignment submission through email is highly discouraged.
Rules for Marking:
It should be clear that your assignment will not get any credit if:
The assignment is submitted after due date.
The submitted assignment file is corrupted.
The assignment is copied.
Note:
Your answer must follow the below given specifications. You will be assigned zero
marks if you do not follow these instructions.
Font style: “Times New Roman”
Font color: “Black”
Font size: “12”
Bold for heading only.
Font in Italic is not allowed at all.
No formatting or bullets are allowed to use.
docsity.com
pf2

Partial preview of the text

Download FALCONA, Input Output Bus-Computer Architecture and Assembly Language-Assignment Solution and more Exercises Computer Architecture and Organization in PDF only on Docsity!

Assignment No. 03

Solution File

Due Date:

Your assignment must be uploaded/submitted before or on 7 Th^ June 2012.

Uploading instructions:

Please view the Assignment Submission Process document provided to you by the Virtual University for uploading assignments.

 Assignment should be in .doc format.  Save your assignment with your ID (e.g. bx020200786.doc).  Assignment submission through email is highly discouraged.

Rules for Marking:

It should be clear that your assignment will not get any credit if:  The assignment is submitted after due date.  The submitted assignment file is corrupted.  The assignment is copied.

Note:

Your answer must follow the below given specifications. You will be assigned zero marks if you do not follow these instructions.  Font style: “Times New Roman”  Font color: “Black”  Font size: “12”  Bold for heading only.  Font in Italic is not allowed at all.  No formatting or bullets are allowed to use.

docsity.com

Q1. 10 marks

Consider an I/O bus that can transfer 5 bytes of data in one bus cycle and keeping in mind that the maximum frequency of the bus is 40 MHz. Suppose that a designer is considering to attach the following two components to this bus:

Hard drive, with a transfer rate of 80 Mbytes/sec and Video card, with a transfer rate of 140 Mbytes/sec. What will be the implications?

Solution:

The maximum frequency of the bus is 40 MHz10. This means that the maximum bandwidth of this bus is 40 x 5 = 200 Mbytes/sec.

Now, the demand for bandwidth from these two components will be

140 + 80 =220 Mbytes/sec

which is more than the 200 Mbytes/sec that the bus can provide. Thus, if the designer uses these two components with this bus, one or both of these components will be operating at reduced bandwidth.

Q2. 10 marks

Assume that the FALCONA is operating at a clock frequency of 1 GHz. Also, assume

that the subi and the jnz instructions take 5 and 6 clock periods, respectively, to execute.

Since these two instructions execute 65,535 times each, so you need to compute the execution

time of this loop.

Solution:

ET = CPI x IC x T = CPI x IC / f

where CPI = clocks per instruction IC = instruction count T = time period of the clock, f = frequency of the clock.

Using the assumed values, we get

ET = (5+6) x 65535 / (1x10^9 ) = 0.000721 sec

docsity.com