¼ÆËã»ú×é³ÉÔ­ÀíÊÔÌâ¿â¼¯¼°´ð°¸

wordÎĵµ ¿É×ÔÓɸ´ÖƱ༭

cpÂö³åABC×ÜÏßbusTÈý̬ÃÅTcp

ͼ£¨1£©

D£¨2£©Èý̬ÃÅ1ÊÜT0£«T1¿ØÖÆ£¬ÒÔÈ·±£T0ʱ¿ÌD¡ú×ÜÏߣ¬ÒÔ¼°T1ʱ¿Ì×ÜÏß¡ú½ÓÊÕÃÅ1¡úA¡£Èý̬ÃÅ2ÊÜT2£«T3¿ØÖÆ£¬ÒÔÈ·±£T2ʱ¿ÌA¡ú×ÜÏߣ¬ÒÔ¼°T3ʱ¿Ì×ÜÏß¡ú½ÓÊÕÃÅ2¡úB¡£T0¡¢T1¡¢T2¡¢T3²¨ÐÎͼÈçͼ£¨2£©Ëùʾ¡£

ͼ(2)

µÚ ËÄ ÕÂ

3. ´æ´¢Æ÷µÄ²ã´Î½á¹¹Ö÷ÒªÌåÏÖÔÚʲôµØ·½£¿ÎªÊ²Ã´Òª·ÖÕâЩ²ã´Î£¿¼ÆËã»úÈçºÎ¹ÜÀíÕâЩ²ã´Î£¿ ´ð£º´æ´¢Æ÷µÄ²ã´Î½á¹¹Ö÷ÒªÌåÏÖÔÚCache-Ö÷´æºÍÖ÷´æ-¸¨´æÕâÁ½¸ö´æ´¢²ã´ÎÉÏ¡£

Cache-Ö÷´æ²ã´ÎÔڴ洢ϵͳÖÐÖ÷Òª¶ÔCPU·Ã´æÆð¼ÓËÙ×÷Ó㬼´´ÓÕûÌåÔËÐеÄЧ¹û·ÖÎö£¬CPU·Ã´æËٶȼӿ죬½Ó½üÓÚCacheµÄËٶȣ¬¶øÑ°Ö·¿Õ¼äºÍλ¼ÛÈ´½Ó½üÓÚÖ÷´æ¡£

Ö÷´æ-¸¨´æ²ã´ÎÔڴ洢ϵͳÖÐÖ÷ÒªÆðÀ©ÈÝ×÷Ó㬼´´Ó³ÌÐòÔ±µÄ½Ç¶È¿´£¬ËûËùʹÓõĴ洢Æ÷ÆäÈÝÁ¿ºÍλ¼Û½Ó½üÓÚ¸¨´æ£¬¶øËٶȽӽüÓÚÖ÷´æ¡£

×ÛºÏÉÏÊöÁ½¸ö´æ´¢²ã´ÎµÄ×÷Ó㬴ÓÕû¸ö´æ´¢ÏµÍ³À´¿´£¬¾Í´ïµ½ÁËËٶȿ졢ÈÝÁ¿´ó¡¢Î»¼ÛµÍµÄÓÅ»¯Ð§¹û¡£

Ö÷´æÓëCACHEÖ®¼äµÄÐÅÏ¢µ÷¶È¹¦ÄÜÈ«²¿ÓÉÓ²¼þ×Ô¶¯Íê³É¡£¶øÖ÷´æÓ븨´æ²ã´ÎµÄµ÷¶ÈÄ¿Ç°¹ã·º

wordÎĵµ ¿É×ÔÓɸ´ÖƱ༭

²ÉÓÃÐéÄâ´æ´¢¼¼ÊõʵÏÖ£¬¼´½«Ö÷´æÓ븨´æµÄÒ»²¿·Öͨ¹ýÈíÓ²½áºÏµÄ¼¼Êõ×é³ÉÐéÄâ´æ´¢Æ÷£¬³ÌÐòÔ±¿ÉʹÓÃÕâ¸ö±ÈÖ÷´æʵ¼Ê¿Õ¼ä£¨ÎïÀíµØÖ·¿Õ¼ä£©´óµÃ¶àµÄÐéÄâµØÖ·¿Õ¼ä£¨Âß¼­µØÖ·¿Õ¼ä£©±à³Ì£¬µ±³ÌÐòÔËÐÐʱ£¬ÔÙÓÉÈí¡¢Ó²¼þ×Ô¶¯ÅäºÏÍê³ÉÐéÄâµØÖ·¿Õ¼äÓëÖ÷´æʵ¼ÊÎïÀí¿Õ¼äµÄת»»¡£Òò´Ë£¬ÕâÁ½¸ö²ã´ÎÉϵĵ÷¶È»òת»»²Ù×÷¶ÔÓÚ³ÌÐòÔ±À´Ëµ¶¼ÊÇ͸Ã÷µÄ¡£

4. ˵Ã÷´æÈ¡ÖÜÆںʹæȡʱ¼äµÄÇø±ð¡£

½â£º´æÈ¡ÖÜÆںʹæȡʱ¼äµÄÖ÷ÒªÇø±ðÊÇ£º´æȡʱ¼ä½öΪÍê³ÉÒ»´Î²Ù×÷µÄʱ¼ä£¬¶ø´æÈ¡ÖÜÆÚ²»½ö°üº¬²Ù×÷ʱ¼ä£¬»¹°üº¬²Ù×÷ºóÏß·µÄ»Ö¸´Ê±¼ä¡£¼´£º

´æÈ¡ÖÜÆÚ = ´æȡʱ¼ä + »Ö¸´Ê±¼ä

5. ʲôÊÇ´æ´¢Æ÷µÄ´ø¿í£¿Èô´æ´¢Æ÷µÄÊý¾Ý×ÜÏß¿í¶ÈΪ32룬´æÈ¡ÖÜÆÚΪ200ns£¬Ôò´æ´¢Æ÷µÄ´ø¿íÊǶàÉÙ£¿

½â£º´æ´¢Æ÷µÄ´ø¿íÖ¸µ¥Î»Ê±¼äÄÚ´Ó´æ´¢Æ÷½ø³öÐÅÏ¢µÄ×î´óÊýÁ¿¡£

´æ´¢Æ÷´ø¿í = 1/200ns ¡Á32λ = 160Mλ/Ãë = 20MB/Ãë = 5M×Ö/Ãë ×¢Ò⣺×Ö³¤32룬²»ÊÇ16λ¡££¨×¢£º1ns=10s£©

6. ij»ú×Ö³¤Îª32룬Æä´æ´¢ÈÝÁ¿ÊÇ64KB£¬°´×Ö±àÖ·ËüµÄÑ°Ö··¶Î§ÊǶàÉÙ£¿ÈôÖ÷´æÒÔ×Ö½Ú±àÖ·£¬ÊÔ»­³öÖ÷´æ×ÖµØÖ·ºÍ×Ö½ÚµØÖ·µÄ·ÖÅäÇé¿ö¡£

½â£º´æ´¢ÈÝÁ¿ÊÇ64KBʱ£¬°´×Ö½Ú±àÖ·µÄÑ°Ö··¶Î§¾ÍÊÇ64K£¬Èç°´×Ö±àÖ·£¬ÆäÑ°Ö··¶Î§Îª£º

64K / £¨32/8£©= 16K

Ö÷´æ×ÖµØÖ·ºÍ×Ö½ÚµØÖ·µÄ·ÖÅäÇé¿ö£º£¨ÂÔ£©¡£

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·Ã´æËÀʱ¼ä¡£

-9

wordÎĵµ ¿É×ÔÓɸ´ÖƱ༭

Ò첽ʽ£ºÊǼ¯ÖÐʽºÍ·ÖɢʽµÄÕÛÖÔ¡£

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λ = 2λ£»

˼·£ºÈçÒªÂú×ãµØÖ·ÏߺÍÊý¾ÝÏß×ܺÍ×îС£¬Ó¦¾¡Á¿°Ñ´æ´¢Ôª°²ÅÅÔÚ×ÖÏò£¬ÒòΪµØַλÊýºÍ×ÖÊý³É2µÄÃݵĹØϵ£¬¿É½ÏºÃµØѹËõÏßÊý¡£

½â£ºÉèµØÖ·Ï߸ùÊýΪa£¬Êý¾ÝÏ߸ùÊýΪb£¬ÔòƬÈÝÁ¿Îª£º2¡Áb = 2£»b = 2

Èôa = 19£¬b = 1£¬×ÜºÍ = 19+1 = 20£» a = 18£¬b = 2£¬×ÜºÍ = 18+2 = 20£» a = 17£¬b = 4£¬×ÜºÍ = 17+4 = 21£» a = 16£¬b = 8£¬×ÜºÍ = 16+8 = 24£» ¡­¡­ ¡­¡­

ÓÉÉÏ¿É¿´³ö£ºÆ¬×ÖÊýÔ½ÉÙ£¬Æ¬×Ö³¤Ô½³¤£¬Òý½ÅÊýÔ½¶à¡£Æ¬×ÖÊý¼õ1¡¢Æ¬Î»Êý¾ù°´2µÄÃݱ仯¡£

½áÂÛ£ºÈç¹ûÂú×ãµØÖ·ÏߺÍÊý¾ÝÏßµÄ×ܺÍΪ×îС£¬ÕâÖÖоƬµÄÒý½Å·ÖÅä·½°¸ÓÐÁ½ÖÖ£ºµØÖ·Ïß = 19¸ù£¬Êý¾ÝÏß = 1¸ù£»»òµØÖ·Ïß = 18¸ù£¬Êý¾ÝÏß = 2¸ù¡£

a

19

19-a

19

£»

wordÎĵµ ¿É×ÔÓɸ´ÖƱ༭

14. ij8λ΢ÐÍ»úµØÖ·ÂëΪ18룬ÈôʹÓÃ4K¡Á4λµÄRAMоƬ×é³ÉÄ£¿é°å½á¹¹µÄ´æ´¢Æ÷£¬ÊÔÎÊ£º

£¨1£©¸Ã»úËùÔÊÐíµÄ×î´óÖ÷´æ¿Õ¼äÊǶàÉÙ£¿

£¨2£©Èôÿ¸öÄ£¿é°åΪ32K¡Á8룬¹²Ð輸¸öÄ£¿é°å£¿ £¨3£©Ã¿¸öÄ£¿é°åÄÚ¹²Óм¸Æ¬RAMоƬ£¿ £¨4£©¹²ÓжàÉÙƬRAM£¿ £¨5£©CPUÈçºÎÑ¡Ôñ¸÷Ä£¿é°å£¿

½â£º£¨1£©¸Ã»úËùÔÊÐíµÄ×î´óÖ÷´æ¿Õ¼äÊÇ£º2 ¡Á 8λ = 256K¡Á8λ = 256KB

£¨2£©Ä£¿é°å×ÜÊý = 256K¡Á8 / 32K¡Á8 = 8¿é

£¨3£©°åÄÚƬÊý = 32K¡Á8λ / 4K¡Á4λ = 8¡Á2 = 16Ƭ £¨4£©×ÜƬÊý = 16Ƭ¡Á8 = 128Ƭ

£¨5£©CPUͨ¹ý×î¸ß3λµØÖ·ÒëÂëÊä³öÑ¡ÔñÄ£°å£¬´Î¸ß3λµØÖ·ÒëÂëÊä³öÑ¡ÔñоƬ¡£µØÖ·¸ñʽ·ÖÅäÈçÏ£º

Ä£°åºÅ£¨3룩 оƬºÅ £¨3룩 ƬÄÚµØÖ·£¨12룩18

15. ÉèCPU¹²ÓÐ16¸ùµØÖ·Ïߣ¬8¸ùÊý¾ÝÏߣ¬²¢ÓÃMREQ£¨µÍµçƽÓÐЧ£©×÷·Ã´æ¿ØÖÆÐźţ¬R/W×÷¶ÁдÃüÁîÐźţ¨¸ßµçƽΪ¶Á£¬µÍµçƽΪд£©¡£ÏÖÓÐÏÂÁд洢оƬ£ºROM£¨2K¡Á8룬4K¡Á4룬8K¡Á8룩£¬RAM£¨1K¡Á4룬2K¡Á8룬4K¡Á8룩£¬¼°74138ÒëÂëÆ÷ºÍÆäËûÃŵç·£¨Ãŵç·×Ô¶¨£©¡£ÊÔ´ÓÉÏÊö¹æ¸ñÖÐÑ¡ÓúÏÊÊоƬ£¬»­³öCPUºÍ´æ´¢Ð¾Æ¬µÄÁ¬½Óͼ¡£ÒªÇó£º

£¨1£©×îС4KµØַΪϵͳ³ÌÐòÇø£¬4096~16383µØÖ··¶Î§ÎªÓû§³ÌÐòÇø£» £¨2£©Ö¸³öÑ¡ÓõĴ洢оƬÀàÐͼ°ÊýÁ¿£» £¨3£©Ïêϸ»­³öƬѡÂß¼­¡£ ½â£º£¨1£©µØÖ·¿Õ¼ä·ÖÅäͼ£º

ϵͳ³ÌÐòÇø£¨ROM¹²4KB£©£º0000H-0FFFH Óû§³ÌÐòÇø£¨RAM¹²12KB£©£º1000H-FFFFH £¨2£©Ñ¡Æ¬£ºROM£ºÑ¡Ôñ4K¡Á4λоƬ2Ƭ£¬Î»²¢Áª

RAM£ºÑ¡Ôñ4K¡Á8λоƬ3Ƭ£¬×Ö´®Áª(RAM1µØÖ··¶Î§Îª:1000H-1FFFH,RAM2µØÖ··¶Î§Îª2000H-2FFFH, RAM3µØÖ··¶Î§Îª:3000H-3FFFH) £¨3£©¸÷оƬ¶þ½øÖƵØÖ··ÖÅäÈçÏ£º A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 RAM1 RAM2 RAM3 0 0 0 0 0 0 ROM1,2 0 CPUºÍ´æ´¢Æ÷Á¬½ÓÂß¼­Í¼¼°Æ¬Ñ¡Âß¼­ÈçÏÂͼ(3)Ëùʾ£º

ÁªÏµ¿Í·þ£º779662525#qq.com(#Ì滻Ϊ@) ËÕICP±¸20003344ºÅ-4