ÐͬʽX86ϵͳ·ÂÕæÖеØÖ·Ó³ÉäÓëÖ¸ÁîÒëÂë¼¼ÊõÑо¿
·¢²¼Ê±¼ä£º2018-05-17 01:36
±¾ÎÄÑ¡Ì⣺ϵͳ·ÂÕæ + Ðͬʽ¡¡£» ²Î¿¼£º¡¶½â·Å¾üÐÅÏ¢¹¤³Ì´óѧ¡·2013Äê˶ʿÂÛÎÄ
¡¾ÕªÒª¡¿£ºËæ×Å΢µç×Ó¼¼ÊõµÄ¿ìËÙ·¢Õ¹£¬ÐÂÐÍÌåϵ¼Ü¹¹´¦ÀíÆ÷²»¶ÏÓ¿ÏÖ£¬Ó¦ÓÃÈí¼þ×ÊԴϡȱÎÊÌâ͹ÏÔ¡£½«Õ¼Êг¡Ö÷µ¼µØλµÄX86¼Ü¹¹Ó¦ÓÃÈí¼þ×ÊÔ´ÒÆÖ²µ½ÐÂÐÍ´¦ÀíÆ÷ÉÏ£¬ÊÇʵÏÖÐÂÐÍ´¦ÀíÆ÷Ó¦ÓÃÆÕ¼°µÄÓÐЧ;¾¶¡£ÈíÓ²¼þÐͬʽX86ϵͳ·ÂÕæ¼¼ÊõÄܹ»ÓÐЧ½â¾ö¡°´úÂëÒÆÖ²¡±ºÍÌåϵ½á¹¹¼æÈÝÐÔµÄÎÊÌ⣬ͨ¹ýÒýÈëÊʵ±Ó²¼þʵÏÖ²¿·Ö£¬Ê¹µÃÈí¼þ²¿·ÖºÍÓ²¼þ²¿·ÖÐͬ¹¤×÷£¬ÓÐЧÌáÉýX86ϵͳ·ÂÕæÐÔÄÜ£¬ÒѳÉΪÐÂÐÍ´¦ÀíÆ÷Ó¦ÓõÄÖØÒªÖ§³Å¼¼Êõ¡£ ±¾ÎÄÉîÈë·ÖÎöÖÆÔ¼X86ϵͳ·ÂÕæÐÔÄܵĹؼüÆ¿¾±£¬¶Ô¸÷·ÂÕ湦ÄÜÄ£¿é½øÐÐÁËÈíÓ²¼þ»®·Ö£¬Ìá³öÁËÈíÓ²¼þÐͬʽX86ϵͳ·ÂÕæÄ£ÐÍ£¬¹¹½¨ÁËÒÔ¿ªÔ´´¦ÀíÆ÷OpenRISCƽ̨ΪËÞÖ÷»úµÄX86ϵͳ·ÂÕæ¼Ü¹¹Co-AB¡£»ùÓÚFPGAºÍOpenRISC SoPCƽ̨£¬¶ÔCo-AB½øÐÐÁ˲âÊÔÓëÑéÖ¤£»Éè¼Æ²¢ÊµÏÖÁËHardTLB¼°Æä·ÃÎÊÀ©Õ¹Ö¸Áͨ¹ýǶÈëʽ»ã±àÖ¸ÁʹSoftMMUºÍHardTLBÐͬ¹¤×÷£¬ÌáÉýÁ˷ôæÖ¸ÁîÖÐÐéʵµØַת»»µÄ·ÂÕæЧÂÊ£»Ìá³öÁËÒ»ÖÖÁ÷ˮʽָÁîÒëÂë·ÂÕæ»úÖÆ£¬Éè¼Æ²¢ÊµÏÖÁËÁ÷ˮʽָÁîÒëÂë·ÂÕ沿¼þ£¬Ïà¶ÔÓÚÖ¸Áî´®ÐÐÒëÂë·ÂÕæ»úÖÆ£¬ÓÐЧ¼õÉÙÁËÖ¸ÁîÒëÂë·ÂÕæµÄʱ¼ä¿ªÏú¡£ ʵÑé²âÊÔ½á¹û±íÃ÷£¬£¬±¾ÎÄËùÉè¼ÆµÄÐͬʽVMMU²¿¼þºÍÁ÷ˮʽָÁîÒëÂë·ÂÕ沿¼þÄܹ»ÕýÈ·µØÍê³ÉµØÖ·Ó³ÉäºÍÖ¸ÁîÒëÂë·ÂÕ湤×÷¡£ÐͬʽVMMU²¿¼þÏà±ÈÓÚ´«Í³Èí¼þʵÏÖ·½Ê½¿É»ñµÃ36.7%µÄ·Ã´æÐÔÄÜÌáÉý£»Á÷ˮʽÒëÂë»úÖÆÏà¶ÔÓÚ´®ÐÐÒëÂë»úÖÆ¿ÉÒÔÓÐЧ½µµÍÖ¸ÁîÒëÂëʱ¼ä¿ªÏú´óÔ¼41.8%¡£
[Abstract]:With the rapid development of microelectronics, new architecture processors are emerging. It is an effective way to popularize the application of X86 architecture. Hardware / software co-X86 system simulation technology can effectively solve the problems of "code transplantation" and architecture compatibility. By introducing appropriate hardware implementation part, the software and hardware parts can work together. Improving the performance of X86 system simulation effectively has become an important supporting technology for new processor applications. In this paper, the key bottleneck that restricts the performance of X86 system simulation is deeply analyzed, the software and hardware of each simulation function module are divided, and the simulation model of hardware / software co-X86 system is proposed. An X86 system simulation architecture based on open source processor OpenRISC platform is constructed. Based on the platform of FPGA and OpenRISC SoPC, the Co-AB is tested and verified, and the HardTLB and its access extension instruction are designed and implemented. Through the embedded assembly instruction, SoftMMU and HardTLB work together, and the simulation efficiency of virtual address translation in memory access instruction is improved. A pipelined instruction decoding simulation mechanism is proposed. A pipelined instruction decoding simulation unit is designed and implemented. Compared with the instruction serial decoding simulation mechanism, the time cost of instruction decoding simulation is effectively reduced. The experimental results show that the cooperative VMMU part and the pipelined instruction decoding simulation unit designed in this paper can correctly accomplish the address mapping and instruction decoding simulation. Compared with the traditional software implementation, the cooperative VMMU module can achieve 36.7% memory access performance, and the pipelined decoding mechanism can effectively reduce the instruction decoding time cost about 41.8% compared with the serial decoding mechanism.
¡¾Ñ§Î»ÊÚÓ赥λ¡¿£º½â·Å¾üÐÅÏ¢¹¤³Ì´óѧ
¡¾Ñ§Î»¼¶±ð¡¿£ºË¶Ê¿
¡¾Ñ§Î»ÊÚÓèÄê·Ý¡¿£º2013
¡¾·ÖÀàºÅ¡¿£ºTP332;TP311.1
¡¾²Î¿¼ÎÄÏס¿
Ïà¹Ø˶ʿѧλÂÛÎÄ Ç°1Ìõ
1 Ò׺£·å;¸´ÔÓÖ¸Á¿ìËÙÒëÂëÉè¼Æ[D];Î÷±±¹¤Òµ´óѧ;2005Äê
±¾ÎıàºÅ£º1899346
×ÊÁÏÏÂÔØ
ÂÛÎÄ·¢±í
±¾ÎÄÁ´½Ó£ºhttps://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1899346.html
×î½ü¸üÐÂ
½Ì²ÄרÖø