We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.vustudents.ning.com

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + Link For Past Papers, Solved MCQs, Short Notes & More

# Assignment No. 3 (Due date: January 21, 2016.)

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

Views: 6843

Attachments:

### Replies to This Discussion

koi solution upload kr dy plz

upload hai yaha pg num 3 par dhaikhn

Thank;s

cs501 assignment solution 2016

Idea For Question similar example : 1
Consider the following sequence of the instructions giving through the pipelined version of SRC?
200:shl r6,r3,5
204:str r7,30
208:sub r2,r4,r5
216:id r7,48
Answer:- (Page 216) There is a data hazard between instruction three and four that can be resolved by using pipeline stalls or bubbles When using pipeline stalls, nop instructions are placed in between dependent instructions. The logic behind this scheme is that if opcode in stage 2 and 3 are both alu, and if ra in stage 3 is the same as rb or rc in stage 2, then a pause signal is issued to insert a bubble between stage 3 and 2. Similar logic is used for detecting hazards between stage 2 and 4 and stage 4 and 5.

idea for Second Question Similar Example:
Example # 1 Problem statement: Consider an I/O bus that can transfer 4 bytes of data in one bus cycle. Suppose that a designer is considering to attach the following two components to this bus:
Hard drive, with a transfer rate of 40 Mbytes/sec
Video card, with a transfer rate of 128 Mbytes/sec.
What will be the implications? Solution: The maximum frequency of the bus is 30 MHz10.
This means that the maximum bandwidth of this bus is 30 x 4 = 120 Mbytes/sec.
Now, the demand for bandwidth from these two components will be 128 + 40 =168 Mbytes/sec
which is more than the 120 10 These numbers correspond to an I/O bus that is relatively old.
Modern systems use much faster buses than this.
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.

## Latest Activity

51 minutes ago

### CS605 GDB Fall 2020 Solution / Discussion Due Date: 10-dec-2020

3 hours ago
shifa arshad joined +M.Tariq Malik's group

### CS605 Software Engineering-II

3 hours ago
иαвєєℓ αнмє∂ and Ali Fahad joined +M.Tariq Malik's group

### MGT503 Principles of Management

5 hours ago
6 hours ago
shifa arshad joined +M.Tariq Malik's group

### MGT502 Organizational Behavior

6 hours ago
7 hours ago
+ ᴄᴏғғᴇᴇ updated their profile
7 hours ago
Rizwan Mushtaq joined +M.Tariq Malik's group

### HRM626 Recruitment and selection

7 hours ago
Arooj Shahid liked 乇ﾒ-丂ｲひり3刀ｲ.'s discussion *** My Drawing ***
7 hours ago
Arooj Shahid liked 乇ﾒ-丂ｲひり3刀ｲ.'s discussion *** الوداع اردو ***
7 hours ago
Arooj Shahid liked Miss. Churhail's discussion LOVE YOUR LIFE!!!!!
7 hours ago
7 hours ago
Arooj Shahid liked Omar's discussion Dua
7 hours ago
+!!! ❤️ Shadow Girl❤️!!! liked 乇ﾒ-丂ｲひり3刀ｲ.'s discussion *** الوداع اردو ***
8 hours ago
8 hours ago
8 hours ago
8 hours ago
Saba Shahzadi, waqar, Hammad Syed and 12 more joined Virtual University of Pakistan
8 hours ago
8 hours ago