1¡¢ Éè´æ´¢Æ÷ÈÝÁ¿Îª64M×Ö£¬×Ö³¤Îª64λ£¬Ä£¿éÊým=8£¬·Ö±ðÓÃ˳ÐòºÍ½»²æ·½Ê½½øÐÐ×éÖ¯¡£´æ´¢ÖÜÆÚT=100ns£¬Êý¾Ý×ÜÏß¿í¶ÈΪ64룬×ÜÏß´«ËÍÖÜÆÚ50ns¡£ Çó£ºË³Ðò´æ´¢Æ÷ºÍ½»²æ´æ´¢Æ÷µÄ´ø¿í¸÷ÊǶàÉÙ£¿
´ð°¸£º´ð£ºË³Ðò´æ´¢Æ÷ºÍ½»²æ´æ´¢Æ÷Á¬Ðø¶Á³öM£½8¸ö×ÖµÄÐÅÏ¢×ÜÁ¿¶¼ÊÇ£º Q£½64b*8=512b
˳Ðò´æ´¢Æ÷ºÍ½»²æ´æ´¢Æ÷Á¬Ðø¶Á³ö4¸ö×ÖËùÐèµÄʱ¼ä·Ö±ðÊÇ£º T2=Mt=8*100ns=800ns
T1=T+(m-1)t=100+7*50=450ns
˳Ðò´æ´¢Æ÷ºÍ½»²æ´æ´¢Æ÷µÄ´ø¿í·Ö±ðÊÇ£º W2£½Q/T2=512/800*109=640Mb/s W1=Q/T1=512/450*109=1138Mb/s
2¡¢ ij¼ÆËã»úϵͳµÄÄÚ´æϵͳÖУ¬ÒÑÖªcache´æÈ¡ÖÜÆÚΪ45ns£¬Ö÷´æ´æÈ¡ÖÜÆÚΪ200ns¡£ CPUÖ´ÐÐÒ»¶Î³ÌÐòʱ£¬CPU·ÃÎÊÄÚ´æϵͳ¹²4500´Î£¬ÆäÖзÃÎÊÖ÷´æµÄ´ÎÊýΪ340´Î£¬ÎÊ£º 1£®Cache ÃüÖÐÂÊHÊǶàÉÙ£¿£¬
2£®CPU·ÃÎÊÄÚ´æµÄƽ¾ù·ÃÎÊʱ¼äTaÊǶàÉÙ£¿ 3£®Cache/Ö÷´æϵͳµÄ·ÃÎÊЧÂÊeÊǶàÉÙ£¿ ´ð°¸£º½â£º 1¡¢Cache ÃüÖÐÂÊH
H=Nc/(Nc+Nm)=(4500-340)/4500=0.92 2¡¢CPU·Ã´æµÄƽ¾ùʱ¼ä Ta = H*Tc+(1-H)£¨Tm+Tc£©
= 0.92*45+(1-0.92)*£¨200+45£©= 61 ns 3¡¢Cache/Ö÷´æϵͳµÄ·ÃÎÊЧÂÊ
e=Tc/Ta*100%=45/61*100%=0.74*100%=74%
3¡¢ Ö÷´æÈÝÁ¿Îª4MB£¬Ðé´æÈÝÁ¿Îª1GB£¬ÔòÐéÄâµØÖ·ºÍÎïÀíµØÖ·¸÷Ϊ¶àÉÙλ£¿ÈçÒ³Ãæ´óСΪ4KB£¬Ò³±í³¤¶ÈÊǶàÉÙ£¿
´ð°¸£ºÐéÄâµØַΪ30λ ÎïÀíµØַΪ22λ Ò³±í³¤¶ÈΪ218
4¡¢ ij´¦ÀíÆ÷°üº¬Ò»¸öƬÄÚcache£¬ÈÝÁ¿Îª8KB,ÇÒ²ÉÓÃ4·×éÏàÁª½á¹¹£¬¿éµÄ´óСΪ4¸ö32λ×Ö¡£µ±CacheδÃüÖÐʱ£¬ÒÔ·Ö×鷽ʽ´ÓÖ÷´æ¶ÁÈ¡4¸ö×Öµ½Cache£¬¼Ù¶¨Ö÷´æÈÝÁ¿Îª16MB£¬ÊÔ˵Ã÷£º
£¨1£©Cache¹²·ÖΪ¶àÉÙ×é¡£ £¨2£©¸ù¾ÝÏÂÃæµÄÖ÷´æµØÖ·¸ñʽÇë·Ö±ð¼ÆËã³öÖ÷´æ±ê¼Çt µÄλÊý£¬×éµØÖ·£¨c-r£©µÄλÊý£¬ÒÔ¼°¿éÄÚµØÖ·bµÄλÊý
£¨3£©¼ÙÉèµØÖ·1356a8µÄ´æ´¢µ¥Ôª»áÓ³Éäµ½CacheÖеÄÄÄÒ»×飿
£¨4£©¼ÙÉèÏàÁª´æ´¢Æ÷µÄ±íµÄ×ֶΰüº¬Ö÷´æ±ê¼ÇλºÍÒ»¸ö¿ØÖÆ룬Çë¼ÆËã³ö¸ÃÏàÁª´æ´¢Æ÷µÄ´óС¡£
½â£º¿éÄÚµØÖ·4*32/8=16×Ö½Ú CacheÈÝÁ¿ 8KB=213×Ö½Ú b=4 c=9 r=2 £¨1£©¿ÉÒÔ»®·ÖΪ128×é ÄÚ´æÈÝÁ¿Îª16MB =224×Ö½Ú
T=13
£¨2£© Ö÷´æ±ê¼Ç ×éµØÖ· ¿é ÄÚµØÖ· 13λ 7λ 4λ £¨3£©µÚ106×飨6AH£©£¨2·Ö£© £¨4£©128*14£¨2·Ö£©
1¡¢ ÏÂÊö˵·¨ÖÐ______ÊÇÕýÈ·µÄ¡£
A:EPROMÊǿɸÄдµÄ£¬Òò¶øÒ²ÊÇËæ»ú´æ´¢Æ÷µÄÒ»ÖÖ£» B:EPROMÊǿɸÄдµÄ£¬µ«Ëü²»ÄÜÓÃ×÷ΪËæ»ú´æ´¢Æ÷Óã» C:EPROMÖ»ÄܸÄдһ´Î£¬¹Ê²»ÄÜ×÷ΪËæ»ú´æ´¢Æ÷Óã» D:EPROMÊǿɸÄдµÄ£¬µ«ËüÄÜÓÃ×÷ΪËæ»ú´æ´¢Æ÷Óᣠ´ð°¸£ºB
2¡¢ ÈÝÁ¿Îª4KBµÄ´æ´¢Æ÷µÄ×îÉÙµØַλÊýΪ£¨ £© A:14 B:13 C:12 D:11 ´ð°¸£ºC
3¡¢ ÏÂÊöÓйش洢Æ÷µÄÃèÊöÖУ¬ÕýÈ·µÄÊÇ______¡£
A:Ë«¶Ë¿Ú´æ´¢Æ÷¾ßÓзÖÀëµÄ¶Á¶Ë¿ÚºÍд¶Ë¿Ú£¬Òò¶øCPU¿ÉÒÔͬʱ¶ÔÆä½øÐжÁ¡¢Ð´²Ù×÷ª¥B:¶àÌå½»²æ´æ´¢Æ÷Ö÷Òª½â¾öÀ©³äÈÝÁ¿ÎÊÌ⪥
C:ÔÚÐéÄâ´æ´¢Æ÷ÖУ¬Íâ´æºÍÖ÷´æÒÔÏàͬµÄ·½Ê½¹¤×÷£¬Òò´ËÔÊÐí³ÌÐòÔ±ÓñÈÖ÷´æ¿Õ¼ä´óµÃ¶àµÄÍâ´æ¿Õ¼ä±à³Ì
D:CPUÖÐͨ³£É豸ÓÐÈô¸É¸ö¼Ä´æÆ÷£¬ÕâЩ¼Ä´æÆ÷ÓëCacheͳһ±àÖ·£¬µ«·ÃÎÊËٶȸü¸ßª¥´ð°¸£ºC
4¡¢ Èôijµ¥Æ¬»úµÄϵͳ³ÌÐò²»ÔÊÐíÓû§ÔÚÖ´ÐÐʱ¸Ä±ä£¬Ôò¿ÉÒÔÑ¡ÓÃ______×÷Ϊ´æ´¢Ð¾Æ¬¡£ A:SRAM B:EEPROM C:Cache D:¸¨Öú´æ´¢Æ÷ª¥ £ºB
5¡¢ Ë«¶Ë¿Ú´æ´¢Æ÷ÔÚ_B____Çé¿öÏ»ᷢÉú¶Á/д³åÍ»¡£
A:×ó¶Ë¿ÚÓëÓҶ˿ڵĵØÖ·Â벻ͬ B:×ó¶Ë¿ÚÓëÓҶ˿ڵĵØÖ·ÂëÏàͬ C:×ó¶Ë¿ÚÓëÓҶ˿ڵÄÊý¾ÝÂ벻ͬ D:×ó¶Ë¿ÚÓëÓҶ˿ڵÄÊý¾ÝÂëÏàͬ ´ð°¸£ºB
6¡¢ ¼ÆËã»úϵͳÖеÄÖ÷´æ´¢Æ÷ÊÇÓÃÀ´´æ·Å(A)¡£¼ÆËã»úϵͳÖеĴ洢Æ÷¿É·ÖΪÖ÷´æºÍÍâ´æ£¬±ØÐ뽫ָÁî·ÅÔÚ£¨B£©
´ð°¸£ºA ³ÌÐòºÍÊý¾Ý B ÄÚ´æ
7¡¢ °´´æ´¢Æ÷µÄ¶Áд¹¦ÄÜ·Ö£¬¿ÉÒÔ°Ñ´æ´¢Æ÷·ÖΪ(A) ºÍ (B)Á½ÖÖÀàÐÍ¡£ ´ð°¸£ºA: ROM B: RAM
8¡¢ ÈôRAMоƬÄÚÓÐ1024¸öµ¥Ôª£¬Óõ¥ÒëÂ뷽ʽ£¬µØÖ·ÒëÂëÆ÷ÓÐ(A )ÌõÊä³öÏߣ»ÓÃË«ÒëÂ뷽ʽ£¬µØÖ·ÒëÂëÆ÷ÓÐ(B ) ÌõÊä³öÏß¡£ ´ð°¸£ºA 1024 B 64
9¡¢ Ìá¸ß·Ã´æËٶȿɲÉÈ¡ÈýÖÖ´ëÊ©£º²ÉÓøßËÙÆ÷¼þ£¬(A)£¬(B)¡£ ´ð°¸£ºA£º²ÉÓÃCACHE B£º²ÉÓöàÌå½»²æ´æ´¢Æ÷ 10¡¢ SRAM¿¿(A )´æ´¢ÐÅÏ¢£¬DRAM¿¿(B)´æ´¢ÐÅÏ¢¡£ ´ð°¸£ºA ´¥·¢Æ÷ B µçÈÝ
1¡¢ ¶¨µãÊýµÄ±íʾ·¶Î§£¬×¢ÒâËÄÖÖ»úÆ÷Êý±íÊý·¶Î§µÄÒìͬ¡£
Á·Ï°£ºÄ³»ú×Ö³¤16룬ÎÊÔÚÏÂÁм¸ÖÖÇé¿öÏÂËùÄܱíʾÊýÖµµÄ·¶Î§£º a) ÎÞ·ûºÅÕûÊý£»
b) ÔÂë±íʾ¶¨µãСÊý£» c) ²¹Âë±íʾ¶¨µãСÊý£» d) ÔÂë±íʾ¶¨µãÕûÊý£» e) ²¹Âë±íʾ¶¨µãÕûÊý¡£ ´ð°¸£º a) 0¡ÜX¡Ü(216-1)
b) ¨C(1-2 -15) ¡Ü X ¡Ü (1-2 -15) c) -1 ¡Ü X ¡Ü (1-2 -15)
d) ¨C(2 15-1) ¡Ü X ¡Ü (2 15-1) e) ¨C2 15¡Ü X ¡Ü (2 15-1)
2¡¢ ÊÔ½«ÏÂÁÐIEEE¶Ì¸¡µãÊýת»»ÎªÊ®½øÖÆÊý¡£
11000000 11110000 00000000 00000000
´ð°¸£º S=1 [E]ÒÆÂë=(129)D E= [E]ÒÆÂë-Æ«ÒÆÁ¿=129- 127=2 ËùÒÔ£º ½á¹û=-1.111¡Á22 =-7.5
1.Ë«×ÜÏ߽ṹµÄ»úÆ÷ÈçͼËùʾ£¬Í¼ÖÐIRΪָÁî¼Ä´æÆ÷£¬PCΪ³ÌÐò¼ÆÊýÆ÷£¬MARΪ´æ´¢Æ÷µØÖ·¼Ä´æÆ÷£¬MΪÖ÷´æ£¨ÊÜR/WÐźſØÖÆ£©£¬MDRΪ´æ´¢ Æ÷Êý¾Ý¼Ä´æÆ÷£¬R0 ¡¢R1¡¢R2¡¢R3¡¢X¡¢Y¾ùΪ¼Ä´æÆ÷£¬ALUÓÉ+¡¢£¿ØÖÆÐźžö¶¨Íê³ÉºÎÖÖ²Ù×÷£¬¿ØÖÆÐźÅG¿ØÖÆÒ»¸öÃŵç·¡£´ËÍ⣬ÏßÉϱê×¢ÓпØÖÆÐźţ¬ÈçYi±íʾ¼Ä´æ Æ÷YµÄÊäÈë ¿ØÖÆÐźţ¬R1o±íʾ¼Ä´æÆ÷R1µÄÊä³ö¿ØÖÆÐźţ¬Î´±ê×Ö·ûµÄÏßΪֱͨÏߣ¬²»ÊÜ¿ØÖÆ¡£
ÉèADD R2£¬R0Ö¸ÁîÍê³É£¨R2£©+£¨R0£©£¡µR2µÄ²Ù×÷£¬»³öÖ¸ÁîÖÜÆÚÐÅÏ¢Á÷³Ìͼ£¨ÉèÖ¸ÁîµÄµØÖ·ÒѾ·ÅÔÚPCÖУ©£¬ÁгöÏàÓ¦µÄ΢²Ù×÷¿ØÖÆÐźÅÐòÁС£
ÈçͼËùʾµÄÄ£ÐÍ»ú½á¹¹ºÍÊý¾Ýͨ·£¬Ö¸Áî¸ñʽÈçÏ£º