ËùÒÔ£º×ÜÏß´ø¿í=16/£¨1/8M£© = 128Mbps
15. ÔÚÒ»¸ö32λµÄ×ÜÏßϵͳÖУ¬×ÜÏßµÄʱÖÓƵÂÊΪ66MHZ£¬¼ÙÉè×ÜÏß×î¶Ì´«ÊäÖÜÆÚΪ4¸öʱÖÓÖÜÆÚ£¬ÊÔ¼ÆËã×ÜÏßµÄ×î´óÊý¾Ý´«ÊäÂÊ¡£ÈôÏëÌá¸ßÊý¾Ý´«ÊäÂÊ£¬¿É²Éȡʲô´ëÊ©£¿
½â£º×ÜÏß´«ÊäÖÜÆÚ=4*1/66MÃë
×ÜÏßµÄ×î´óÊý¾Ý´«ÊäÂÊ=32/(4/66M)=528Mbps
ÈôÏëÌá¸ßÊý¾Ý´«ÊäÂÊ£¬¿ÉÒÔÌá¸ß×ÜÏßʱÖÓƵÂÊ¡¢Ôö´ó×ÜÏß¿í¶È»òÕß¼õÉÙ×ÜÏß´«ÊäÖÜÆÚ°üº¬µÄʱÖÓÖÜÆÚ¸öÊý¡£
16. ÔÚÒì²½´®Ðд«ËÍϵͳÖУ¬×Ö·û¸ñʽΪ£º1¸öÆðʼλ¡¢8¸öÊý¾Ýλ¡¢1¸öУÑéλ¡¢2¸öÖÕֹλ¡£ÈôÒªÇóÿÃë´«ËÍ120¸ö×Ö·û£¬ÊÔÇó´«Ë͵IJ¨ÌØÂʺͱÈÌØÂÊ¡£ ½â£ºÒ»Ö¡°üº¬£º1+8+1+2=12λ ¹Ê²¨ÌØÂÊΪ£º£¨1+8+1+2£©*120=1440bps ±ÈÌØÂÊΪ£º8*120=960bps
µÚ4Õ ´æ´¢Æ÷
1. ½âÊ͸ÅÄÖ÷´æ¡¢¸¨´æ¡¢Cache¡¢RAM¡¢SRAM¡¢DRAM¡¢ROM¡¢PROM¡¢EPROM¡¢EEPROM¡¢CDROM¡¢Flash Memory¡£
´ð£ºÖ÷´æ£ºÖ÷´æ´¢Æ÷£¬ÓÃÓÚ´æ·ÅÕýÔÚÖ´ÐеijÌÐòºÍÊý¾Ý¡£CPU¿ÉÒÔÖ±½Ó½øÐÐËæ»ú¶Áд£¬·ÃÎÊËٶȽϸߡ£
¸¨´æ£º¸¨Öú´æ´¢Æ÷£¬ÓÃÓÚ´æ·Åµ±Ç°Ôݲ»Ö´ÐеijÌÐòºÍÊý¾Ý£¬ÒÔ¼°Ò»Ð©ÐèÒªÓÀ¾Ã±£´æµÄÐÅÏ¢¡£
Cache£º¸ßËÙ»º³å´æ´¢Æ÷£¬½éÓÚCPUºÍÖ÷´æÖ®¼ä£¬ÓÃÓÚ½â¾öCPUºÍÖ÷´æÖ®¼äËٶȲ»Æ¥ÅäÎÊÌâ¡£
RAM£º°ëµ¼ÌåËæ»ú´æÈ¡´æ´¢Æ÷£¬Ö÷ÒªÓÃ×÷¼ÆËã»úÖеÄÖ÷´æ¡£ SRAM£º¾²Ì¬°ëµ¼ÌåËæ»ú´æÈ¡´æ´¢Æ÷¡£ DRAM£º¶¯Ì¬°ëµ¼ÌåËæ»ú´æÈ¡´æ´¢Æ÷¡£
ROM£ºÑÚĤʽ°ëµ¼ÌåÖ»¶Á´æ´¢Æ÷¡£ÓÉоƬÖÆÔìÉÌÔÚÖÆÔìʱдÈëÄÚÈÝ£¬ÒÔºóÖ»ÄܶÁ³ö¶ø²»ÄÜдÈë¡£
PROM£º¿É±à³ÌÖ»¶Á´æ´¢Æ÷£¬ÓÉÓû§¸ù¾ÝÐèҪȷ¶¨Ð´ÈëÄÚÈÝ£¬Ö»ÄÜдÈëÒ»´Î¡£ EPROM£º×ÏÍâÏß²Áд¿É±à³ÌÖ»¶Á´æ´¢Æ÷¡£ÐèÒªÐÞ¸ÄÄÚÈÝʱ£¬ÏÖ½«ÆäÈ«²¿ÄÚÈݲÁ³ý£¬È»ºóÔÙ±à³Ì¡£²Á³ýÒÀ¿¿×ÏÍâÏßʹ¸¡¶¯Õ¤¼«ÉϵĵçºÉ鶶øʵÏÖ¡£
EEPROM£ºµç²Áд¿É±à³ÌÖ»¶Á´æ´¢Æ÷¡£ CDROM£ºÖ»¶ÁÐ͹âÅÌ¡£
Flash Memory£ºÉÁËÙ´æ´¢Æ÷¡£»ò³Æ¿ì²ÁÐÍ´æ´¢Æ÷¡£
2. ¼ÆËã»úÖÐÄÄЩ²¿¼þ¿ÉÒÔÓÃÓÚ´æ´¢ÐÅÏ¢£¿°´Ëٶȡ¢ÈÝÁ¿ºÍ¼Û¸ñ/λÅÅÐò˵Ã÷¡£ ´ð£º¼ÆËã»úÖмĴæÆ÷¡¢Cache¡¢Ö÷´æ¡¢Ó²ÅÌ¿ÉÒÔÓÃÓÚ´æ´¢ÐÅÏ¢¡£
°´ËÙ¶ÈÓɸßÖÁµÍÅÅÐòΪ£º¼Ä´æÆ÷¡¢Cache¡¢Ö÷´æ¡¢Ó²ÅÌ£» °´ÈÝÁ¿ÓÉСÖÁ´óÅÅÐòΪ£º¼Ä´æÆ÷¡¢Cache¡¢Ö÷´æ¡¢Ó²ÅÌ£» °´¼Û¸ñ/λÓɸßÖÁµÍÅÅÐòΪ£º¼Ä´æÆ÷¡¢Cache¡¢Ö÷´æ¡¢Ó²ÅÌ¡£
3. ´æ´¢Æ÷µÄ²ã´Î½á¹¹Ö÷ÒªÌåÏÖÔÚʲôµØ·½£¿ÎªÊ²Ã´Òª·ÖÕâЩ²ã´Î£¿¼ÆËã»úÈçºÎ¹ÜÀíÕâЩ²ã´Î£¿
´ð£º´æ´¢Æ÷µÄ²ã´Î½á¹¹Ö÷ÒªÌåÏÖÔÚCache-Ö÷´æºÍÖ÷´æ-¸¨´æÕâÁ½¸ö´æ´¢²ã´ÎÉÏ¡£
Cache-Ö÷´æ²ã´ÎÔڴ洢ϵͳÖÐÖ÷Òª¶ÔCPU·Ã´æÆð¼ÓËÙ×÷Ó㬼´´ÓÕûÌåÔËÐеÄЧ¹û·ÖÎö£¬CPU·Ã´æËٶȼӿ죬½Ó½üÓÚCacheµÄËٶȣ¬¶øÑ°Ö·¿Õ¼äºÍλ¼ÛÈ´½Ó½üÓÚÖ÷´æ¡£
Ö÷´æ-¸¨´æ²ã´ÎÔڴ洢ϵͳÖÐÖ÷ÒªÆðÀ©ÈÝ×÷Ó㬼´´Ó³ÌÐòÔ±µÄ½Ç¶È¿´£¬ËûËùʹÓõĴ洢Æ÷ÆäÈÝÁ¿ºÍλ¼Û½Ó½üÓÚ¸¨´æ£¬¶øËٶȽӽüÓÚÖ÷´æ¡£
×ÛºÏÉÏÊöÁ½¸ö´æ´¢²ã´ÎµÄ×÷Ó㬴ÓÕû¸ö´æ´¢ÏµÍ³À´¿´£¬¾Í´ïµ½ÁËËٶȿ졢ÈÝÁ¿´ó¡¢Î»¼ÛµÍµÄÓÅ»¯Ð§¹û¡£
Ö÷´æÓëCACHEÖ®¼äµÄÐÅÏ¢µ÷¶È¹¦ÄÜÈ«²¿ÓÉÓ²¼þ×Ô¶¯Íê³É¡£¶øÖ÷´æÓ븨´æ²ã´ÎµÄµ÷¶ÈÄ¿Ç°¹ã·º²ÉÓÃÐéÄâ´æ´¢¼¼ÊõʵÏÖ£¬¼´½«Ö÷´æÓ븨´æµÄÒ»²¿·Öͨ¹ýÈíÓ²½áºÏµÄ¼¼Êõ×é³ÉÐéÄâ´æ´¢Æ÷£¬³ÌÐòÔ±¿ÉʹÓÃÕâ¸ö±ÈÖ÷´æʵ¼Ê¿Õ¼ä£¨ÎïÀíµØÖ·¿Õ¼ä£©´óµÃ¶àµÄÐéÄâµØÖ·¿Õ¼ä£¨Âß¼µØÖ·¿Õ¼ä£©±à³Ì£¬µ±³ÌÐòÔËÐÐʱ£¬ÔÙÓÉÈí¡¢Ó²¼þ×Ô¶¯ÅäºÏÍê³ÉÐéÄâµØÖ·¿Õ¼äÓëÖ÷´æʵ¼ÊÎïÀí¿Õ¼äµÄת»»¡£Òò´Ë£¬ÕâÁ½¸ö²ã´ÎÉϵĵ÷¶È»òת»»²Ù×÷¶ÔÓÚ³ÌÐòÔ±À´Ëµ¶¼ÊÇ͸Ã÷µÄ¡£
4. ˵Ã÷´æÈ¡ÖÜÆںʹæȡʱ¼äµÄÇø±ð¡£
½â£º´æÈ¡ÖÜÆںʹæȡʱ¼äµÄÖ÷ÒªÇø±ðÊÇ£º´æȡʱ¼ä½öΪÍê³ÉÒ»´Î²Ù×÷µÄʱ¼ä£¬¶ø´æÈ¡ÖÜÆÚ²»½ö°üº¬²Ù×÷ʱ¼ä£¬»¹°üº¬²Ù×÷ºóÏß·µÄ»Ö¸´Ê±¼ä¡£¼´£º
´æÈ¡ÖÜÆÚ = ´æȡʱ¼ä + »Ö¸´Ê±¼ä
5. ʲôÊÇ´æ´¢Æ÷µÄ´ø¿í£¿Èô´æ´¢Æ÷µÄÊý¾Ý×ÜÏß¿í¶ÈΪ32룬´æÈ¡ÖÜÆÚΪ200ns£¬Ôò´æ´¢Æ÷µÄ´ø¿íÊǶàÉÙ£¿
½â£º´æ´¢Æ÷µÄ´ø¿íÖ¸µ¥Î»Ê±¼äÄÚ´Ó´æ´¢Æ÷½ø³öÐÅÏ¢µÄ×î´óÊýÁ¿¡£
´æ´¢Æ÷´ø¿í = 1/200ns ¡Á32λ = 160Mλ/Ãë = 20MB/Ãë = 5M×Ö/Ãë ×¢Ò⣺×Ö³¤32룬²»ÊÇ16λ¡££¨×¢£º1ns=10-9s£©
6. ij»ú×Ö³¤Îª32룬Æä´æ´¢ÈÝÁ¿ÊÇ64KB£¬°´×Ö±àÖ·ËüµÄÑ°Ö··¶Î§ÊǶàÉÙ£¿ÈôÖ÷´æÒÔ×Ö½Ú±àÖ·£¬ÊÔ»³öÖ÷´æ×ÖµØÖ·ºÍ×Ö½ÚµØÖ·µÄ·ÖÅäÇé¿ö¡£ ½â£º´æ´¢ÈÝÁ¿ÊÇ64KBʱ£¬°´×Ö½Ú±àÖ·µÄÑ°Ö··¶Î§¾ÍÊÇ64K£¬
Èç°´×Ö±àÖ·£¬ÆäÑ°Ö··¶Î§Îª£º64K / £¨32/8£©= 16K
×Ö½ÚµØÖ·×ÖµØÖ·0000H0001H0002H0003H0004H0005H0006H0007H0008H0009H0000H 0001H0002HÖ÷´æ×ÖµØÖ·ºÍ×Ö½ÚµØÖ·µÄ·ÖÅäÇé¿ö£ºÈçͼ
7. Ò»¸öÈÝÁ¿Îª16K¡Á32λµÄ´æ´¢Æ÷£¬ÆäµØÖ·ÏߺÍÊý¾ÝÏßµÄ×ܺÍÊǶàÉÙ£¿µ±Ñ¡ÓÃÏÂÁв»Í¬¹æ¸ñµÄ´æ´¢Ð¾Æ¬Ê±£¬¸÷ÐèÒª¶àÉÙƬ£¿
1K¡Á4룬2K¡Á8룬4K¡Á4룬16K¡Á1룬4K¡Á8룬8K¡Á8λ ½â£ºµØÖ·ÏߺÍÊý¾ÝÏßµÄ×ÜºÍ = 14 + 32 = 46¸ù£»
Ñ¡Ôñ²»Í¬µÄоƬʱ£¬¸÷ÐèÒªµÄƬÊýΪ£º 1K¡Á4£º£¨16K¡Á32£© / £¨1K¡Á4£© = 16¡Á8 = 128Ƭ 2K¡Á8£º£¨16K¡Á32£© / £¨2K¡Á8£© = 8¡Á4 = 32Ƭ 4K¡Á4£º£¨16K¡Á32£© / £¨4K¡Á4£© = 4¡Á8 = 32Ƭ 16K¡Á1£º£¨16K¡Á32£©/ £¨16K¡Á1£© = 1¡Á32 = 32Ƭ 4K¡Á8£º£¨16K¡Á32£©/ £¨4K¡Á8£© = 4¡Á4 = 16Ƭ 8K¡Á8£º£¨16K¡Á32£© / £¨8K¡Á8£© = 2¡Á4 = 8Ƭ
8. ÊԱȽϾ²Ì¬RAMºÍ¶¯Ì¬RAM¡£ ´ð£ºÂÔ¡££¨²Î¿´¿Î¼þ£©
9. ʲô½ÐˢУ¿ÎªÊ²Ã´ÒªË¢Ð£¿ËµÃ÷Ë¢ÐÂÓм¸ÖÖ·½·¨¡£ ½â£ºË¢Ð£º¶ÔDRAM¶¨ÆÚ½øÐеÄÈ«²¿ÖØд¹ý³Ì£»
Ë¢ÐÂÔÒò£ºÒòµçÈÝ驶øÒýÆðµÄDRAMËù´æÐÅÏ¢µÄË¥¼õÐèÒª¼°Ê±²¹³ä£¬Òò´Ë°²ÅÅÁ˶¨ÆÚˢвÙ×÷£»
³£ÓõÄˢз½·¨ÓÐÈýÖÖ£º¼¯ÖÐʽ¡¢·Öɢʽ¡¢Ò첽ʽ¡£
¼¯ÖÐʽ£ºÔÚ×î´óˢмä¸ôʱ¼äÄÚ£¬¼¯Öа²ÅÅÒ»¶Îʱ¼ä½øÐÐˢУ¬´æÔÚCPU·Ã´æËÀʱ¼ä¡£
·Öɢʽ£ºÔÚÿ¸ö¶Á/дÖÜÆÚÖ®ºó²åÈëÒ»¸öË¢ÐÂÖÜÆÚ£¬ÎÞCPU·Ã´æËÀʱ¼ä¡£ Ò첽ʽ£ºÊǼ¯ÖÐʽºÍ·ÖɢʽµÄÕÛÖÔ¡£
10. °ëµ¼Ìå´æ´¢Æ÷оƬµÄÒëÂëÇý¶¯·½Ê½Óм¸ÖÖ£¿
½â£º°ëµ¼Ìå´æ´¢Æ÷оƬµÄÒëÂëÇý¶¯·½Ê½ÓÐÁ½ÖÖ£ºÏßÑ¡·¨ºÍÖغϷ¨¡£
ÏßÑ¡·¨£ºµØÖ·ÒëÂëÐźÅֻѡÖÐͬһ¸ö×ÖµÄËùÓÐ룬½á¹¹¼òµ¥£¬·ÑÆ÷²Ä£» ÖغϷ¨£ºµØÖ··ÖÐС¢ÁÐÁ½²¿·ÖÒëÂ룬ÐС¢ÁÐÒëÂëÏߵĽ»²æµã¼´ÎªËùÑ¡µ¥Ôª¡£ÕâÖÖ·½·¨Í¨¹ýÐС¢ÁÐÒëÂëÐźŵÄÖغÏÀ´Ñ¡Ö·£¬Ò²³Æ¾ØÕóÒëÂë¡£¿É´ó´ó½ÚÊ¡Æ÷²ÄÓÃÁ¿£¬ÊÇ×î³£ÓõÄÒëÂëÇý¶¯·½Ê½¡£
11. Ò»¸ö8K¡Á8λµÄ¶¯Ì¬RAMоƬ£¬ÆäÄÚ²¿½á¹¹ÅÅÁгÉ256¡Á256ÐÎʽ£¬´æÈ¡ÖÜÆÚΪ0.1¦Ìs¡£ÊÔÎʲÉÓü¯ÖÐˢС¢·ÖɢˢкÍÒ첽ˢÐÂÈýÖÖ·½Ê½µÄˢмä¸ô¸÷Ϊ¶àÉÙ£¿
½â£º²ÉÓ÷Öɢˢз½Ê½Ë¢Ð¼ä¸ôΪ:2ms£¬ÆäÖÐË¢ÐÂËÀʱ¼äΪ£º256¡Á0.1¦Ìs=25.6¦Ìs
²ÉÓ÷Öɢˢз½Ê½Ë¢Ð¼ä¸ôΪ£º256¡Á£¨0.1¦Ìs+¡Á0.1¦Ìs£©=51.2¦Ìs ²ÉÓÃÒ첽ˢз½Ê½Ë¢Ð¼ä¸ôΪ:2ms
12. »³öÓÃ1024¡Á4λµÄ´æ´¢Ð¾Æ¬×é³ÉÒ»¸öÈÝÁ¿Îª64K¡Á8λµÄ´æ´¢Æ÷Âß¼¿òͼ¡£ÒªÇó½«64K·Ö³É4¸öÒ³Ã棬ÿ¸öÒ³Ãæ·Ö16×飬ָ³ö¹²Ðè¶àÉÙƬ´æ´¢Ð¾Æ¬¡£ ½â£ºÉè²ÉÓÃSRAMоƬ£¬Ôò£º
×ÜƬÊý = £¨64K¡Á8룩 / £¨1024¡Á4룩= 64¡Á2 = 128Ƭ
ÌâÒâ·ÖÎö£º±¾ÌâÉè¼ÆµÄ´æ´¢Æ÷½á¹¹ÉÏ·ÖΪ×ÜÌå¡¢Ò³Ãæ¡¢×éÈý¼¶£¬Òò´Ë»Í¼Ê±Ò²Ó¦·ÖÈý¼¶»¡£Ê×ÏÈӦȷ¶¨¸÷¼¶µÄÈÝÁ¿£º
Ò³ÃæÈÝÁ¿ = ×ÜÈÝÁ¿ / Ò³ÃæÊý = 64K¡Á8 / 4 = 16K¡Á8룬4Ƭ16K¡Á8×Ö´®Áª³É64K¡Á8λ
×éÈÝÁ¿ = Ò³ÃæÈÝÁ¿ / ×éÊý = 16K¡Á8λ / 16 = 1K¡Á8룬16Ƭ1K¡Á8λ×Ö´®Áª³É16K¡Á8λ
×éÄÚƬÊý = ×éÈÝÁ¿ / ƬÈÝÁ¿ = 1K¡Á8λ / 1K¡Á4λ = 2Ƭ£¬Á½Æ¬1K¡Á4λоƬλ²¢Áª³É1K¡Á8λ
´æ´¢Æ÷Âß¼¿òͼ£º£¨ÂÔ£©¡£
13. ÉèÓÐÒ»¸ö64K¡Á8λµÄRAMоƬ£¬ÊÔÎʸÃоƬ¹²ÓжàÉÙ¸ö»ù±¾µ¥Ôªµç·£¨¼ò³Æ´æ´¢»ùÔª£©£¿ÓûÉè¼ÆÒ»ÖÖ¾ßÓÐÉÏÊöͬÑù¶à´æ´¢»ùÔªµÄоƬ£¬ÒªÇó¶ÔоƬ×Ö³¤µÄÑ¡ÔñÓ¦Âú×ãµØÖ·ÏߺÍÊý¾ÝÏßµÄ×ܺÍΪ×îС£¬ÊÔÈ·¶¨ÕâÖÖоƬµÄµØÖ·ÏߺÍÊý¾ÝÏߣ¬²¢ËµÃ÷Óм¸ÖÖ½â´ð¡£
½â£º´æ´¢»ùÔª×ÜÊý = 64K¡Á8λ = 512Kλ = 219λ£»
˼·£ºÈçÒªÂú×ãµØÖ·ÏߺÍÊý¾ÝÏß×ܺÍ×îС£¬Ó¦¾¡Á¿°Ñ´æ´¢Ôª°²ÅÅÔÚ×ÖÏò£¬Òò