Difference between revisions of "CSC270 Homework 10 Solution 2012"
(Created page with "--~~~~ ---- =Sketch of the Solution for Homework 10= ==Question 1== * Just write the code we derived in class. Notice that it has two loops, one for waiting for Ack to go low (...") |
|||
Line 1: | Line 1: | ||
--[[User:Thiebaut|D. Thiebaut]] 14:50, 1 May 2012 (EDT) | --[[User:Thiebaut|D. Thiebaut]] 14:50, 1 May 2012 (EDT) | ||
---- | ---- | ||
+ | <onlydft> | ||
=Sketch of the Solution for Homework 10= | =Sketch of the Solution for Homework 10= | ||
Line 42: | Line 43: | ||
* You should '''always''' compare values that you get and comment on them. If you are asked what a quantity is in one case, and what it becomes in another case, even you are not asked, volunteer to comment on what it means. Here it means that you have added some hardware to your design and you are getting better performance. The hardware you added reduced the software in your program. Because you reduced your instruction count, you have the ability, assuming that your peripheral is very fast, to double your throughput: twice as many bytes sent as before. | * You should '''always''' compare values that you get and comment on them. If you are asked what a quantity is in one case, and what it becomes in another case, even you are not asked, volunteer to comment on what it means. Here it means that you have added some hardware to your design and you are getting better performance. The hardware you added reduced the software in your program. Because you reduced your instruction count, you have the ability, assuming that your peripheral is very fast, to double your throughput: twice as many bytes sent as before. | ||
* In computer architecture, this is one of the major lessons: the trade-off between hardware an software... Here you had an example of it. | * In computer architecture, this is one of the major lessons: the trade-off between hardware an software... Here you had an example of it. | ||
− | + | </onlydft> | |
<br /> | <br /> | ||
<br /> | <br /> |