ÄãºÃ£¬»¶Ó­À´µ½¾­¹ÜÖ®¼Ò [µÇ¼] [×¢²á]

ÉèΪÊ×Ò³ | ¾­¹ÜÖ®¼ÒÊ×Ò³ | Êղر¾Õ¾

»ùÓÚSOPC¼¼ÊõµÄ¶à¹¦ÄÜÐźŷ¢ÉúÆ÷Éè¼Æ_×Ô¶¯»¯×¨ÒµÂÛÎÄ·¶ÎÄ

·¢²¼Ê±¼ä£º2015-01-18 À´Ô´£ºÈË´ó¾­¼ÃÂÛ̳
×Ô¶¯»¯×¨ÒµÂÛÎÄ·¶ÎÄ Ä¿ ¼ ÕªÒª¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­....II 1 Ð÷ ÂÛ¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­...1 1.1 ¿ÎÌâ±³¾°¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­..1 1.2 ²¨Ðη¢ÉúÆ÷µÄ·¢Õ¹×´¿ö¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­..1 1.3 ¹úÄÚÍⲨÐη¢ÉúÆ÷²úÆ·±È½Ï¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­..3 1.4 Ñо¿²¨Ðη¢ÉúÆ÷µÄÄ¿µÄ¼°ÒâÒå¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­..3 1.5 ±¾Éè¼ÆÑо¿µÄÖ÷ÒªÄÚÈÝ¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­..4 2 Ö±½ÓƵÂʺϳɼ¼Êõ¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­..5 2.1 DDSµÄÔ­ÀíºÍ½á¹¹¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­5 2.2 DDSµÄÓŵãºÍȱµã¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­.8 2.2.1 DDSµÄÓŵ㡭¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­.8 2.2.2 DDSµÄȱµã¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­.9 3 SOPC¼¼ÊõÓëNios II´¦ÀíÆ÷¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­..10 3.1 SOPC¼¼Êõ½éÉÜ¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­.10 3.2 Nios II´¦ÀíÆ÷¼ò½é¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­....11 4 DDSÐźŷ¢ÉúÆ÷µÄÉè¼Æ»ù´¡¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­.13 4.1 Quartus II¿ª·¢Èí¼þ¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­...13 4.2 CycloneÆ÷¼þ¸ÅÊö¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­..13 4.3 VHDLÓ²¼þÃèÊöÓïÑÔ¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­13 4.5 Éè¼Æ·½·¨¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­14 5 DDSÐźŷ¢ÉúÆ÷µÄÈíÓ²¼þÉè¼Æ¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­15 5.1 Éè¼Æ·½°¸¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­15 5.2 ϵͳӲ¼þµç·Éè¼Æ¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­18 6 NIOS IIÈíºËÉè¼ÆÓëDDS×Óϵͳ¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­..27 6.1 NIOS IIÈíºËÉè¼Æ¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­..27 6.2 DDS×ÓϵͳÉè¼Æ¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­...32 7 ϵͳµ÷ÊÔ¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­.¡­.37 7.1 Ó²¼þµ÷ÊÔ¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­37 7.2 Èí¼þµ÷ÊÔ¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­38 7.3 ϵͳ²âÊÔ¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­....39 8 ×ܽᡭ¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­..42 8.1ÐÔÄÜÌص㡭¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­...42 8.2´ý¸Ä½øÖ®´¦¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­...42 ÖÂл¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­..44 ²Î¿¼ÎÄÏס­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­.........45 ¸½Â¼A VHDLÓïÑÔ³ÌÐò¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­46 ¸½Â¼ B ¹¤³Ì¶¥²ãÉè¼Æͼ¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­..49 Õª Òª º¯Êý·¢ÉúÆ÷×÷ΪһÖÖ³£ÓõÄÐźÅÔ´£¬ÊÇÏÖ´ú²âÊÔÁìÓòÄÚÓ¦ÓÃ×îΪ¹ã·ºµÄͨÓÃÒÇÆ÷Ö®Ò»¡£Ëü¿ÉÒÔ²úÉú¶àÖÖ²¨ÐÎÐźţ¬ÈçÕýÏÒ²¨£¬Èý½Ç²¨£¬·½²¨µÈ£¬Òò¶ø¹ã·ºÓÃÓÚͨÐÅ¡¢À×´ï¡¢µ¼º½¡¢ÓµÈÁìÓò¡£ ǶÈëʽϵͳÊǵ±½ñ×îÈÈÃŵĸÅÄîÖ®Ò»£¬Êǵ±Ç°µç×Ó¼¼Êõ·¢Õ¹µÄÓÖÒ»ÐÂÈȵ㡣ÂÛÎĽô¸úǶÈëʽϵͳ·¢Õ¹Ç÷ÊÆ£¬²ÉÓÃÒ»ÖÖеÄǶÈëʽϵͳÉè¼Æ¼¼Êõ-SOPC(¿É±à³ÌƬÉÏϵͳ)¼¼Êõ½øÐÐÈÎÒ⺯ÊýÐźŷ¢ÉúÆ÷µÄ¿ª·¢¡£SOPCÊǿɱà³Ì¼¼Êõ·¢Õ¹µ½Ò»¶¨½×¶ÎµÄ±ØÈ»²úÎAltera¹«Ë¾ÓÚ2000ÄêÊ×´ÎÌá³öSOPC¸ÅÄËæÖ®¿ª·¢³öÁËNiosϵÁÐǶÈëʽÈíºËCPU¡£ ±¾Éè¼ÆÊ×ÏȽéÉÜÁ˺¯Êý²¨Ðη¢ÉúÆ÷µÄÑо¿±³¾°ºÍDDSµÄÀíÂÛ¡£È»ºóÏ꾡µØÐðÊöÁËÓÃEP1C6T144Íê³ÉDDSÄ£¿éµÄÉè¼Æ¹ý³Ì£¬ÕâÊDZ¾Éè¼ÆµÄ»ù´¡¡£½Ó×Å·ÖÎöÁËÕû¸öÉè¼ÆÖÐÓ¦´¦ÀíµÄÎÊÌ⣬¸ù¾ÝÉè¼ÆÔ­Àí¾Í¹¦ÄÜÉϽøÐÐÁË»®·Ö£¬½«Õû¸öÒÇÆ÷¹¦ÄÜ»®·ÖΪ¿ØÖÆÄ£¿é¡¢ÍâΧӲ¼þ¡¢FPGAÆ÷¼þÈý¸ö²¿·ÖÀ´ÊµÏÖ¡£È»ºó¾ÍÕâÈý¸ö²¿·Ö·Ö±ðÏêϸµØ½øÐÐÁ˲ûÊö¡£×îºó£¬Í¨¹ýϵÁÐʵÑ飬ÏêϸµØ˵Ã÷Á˱¾Éè¼ÆµÄ¹¦ÄÜ¡¢ÐÔÄÜ¡¢ÊµÏÖºÍʵÑé½á¹û¡£²¢½áºÏÔÚÉè¼ÆÖеÄһЩÐĵÃÌå»á£¬Ìá³öÁ˱¾Éè¼ÆÖеÄһЩ²»×ãºÍ¸Ä½øÒâ¼û¡£Í¨¹ýʵÑé˵Ã÷£¬±¾Éè¼Æ´ïµ½ÁËÔ¤¶¨µÄÒªÇ󣬲¢Ö¤Ã÷Á˲ÉÓÃÈíÓ²¼þ½áºÏ£¬ÀûÓÃDDS¼¼ÊõʵÏÖº¯Êý²¨Ðη¢ÉúÆ÷µÄ·½·¨ÊÇ¿ÉÐеġ£ ¹Ø¼ü´Ê£ºSOPC£¬DDS£¬Ðźŷ¢ÉúÆ÷£¬NIOS II ABSTRACT The general signal source, represented by function generator, is wildly used in the modern testing field. Given the abilities of generating all kinds of wave signals ,such as sine wave , triangle wave,square wave and so on.Therefore, it has been widely used in the domains of communication ,radar ,navigation ,etc. Embedded system is one of the poppest concept£¬and also another hot spot in the development of today's electronical technology£®The thesis follows on the heels of the trend of embedded system development ,and employs a new technology of embedded system design¡ªSOPC technology, which is applied to the research of a signal generator£®SOPC is an inevitable result of programmable technique developing. Altera Corporation first refered to the concept of SOPC in 2000.Afterwards,it developed Nios soft-wore processor£® In this paper ,the principle of DDS and basis of EDA technology is introduced firstly. Then the master chips are introduced .They are the base of the design. The problems met in the design are analyzed and the whole function is partitioned into three parts: master chip, FPGA device and peripheral hardware. The three parts are described in detail independently. Finally the function, performance, realization, and experiment results are introduced in detail through some experiments. The disadvantage and things need to advance are also listed. Through an experiment , it is testified that the design meets the requirement planed and the way to use software and hardware programming method and DDS technology to realize Functional Waveform Generator is available. Keywords£ºSOPC£¬DDS£¬signal generator£¬FPGA
¾­¹ÜÖ®¼Ò¡°Ñ§µÀ»á¡±Ð¡³ÌÐò
  • ɨÂë¼ÓÈë¡°¿¼ÑÐѧϰ±Ê¼ÇȺ¡±
ÍƼöÔĶÁ
¾­¼ÃѧÏà¹ØÎÄÕÂ
±êÇ©ÔÆ
¾­¹ÜÖ®¼Ò¾«²ÊÎÄÕÂÍƼö