NIOS IIµÄSOPCÖд洢Æ÷ÐÍÍâÉè½Ó¿ÚµÄÉè¼Æ

0 ÒýÑÔ

Ëæ×Å΢µç×ÓÉè¼Æ¼¼ÊõÓ빤Òյķ¢Õ¹£¬Êý×Ö¼¯³Éµç·ÓÉ×î³õµÄµç×ӹܡ¢¾§Ìå¹ÜÖð²½·¢Õ¹³ÉרÓü¯³Éµç·(ASIC£¬Application Specific IntegratedCircuit)£¬Í¬Ê±¿É±à³ÌÂß¼­Æ÷¼þҲȡµÃÁ˳¤×ã½ø²½¡£

Èç½ñ£¬¿ÉÍê³É³¬´ó¹æÄ£µÄ¸´ÔÓ×éºÏÂß¼­ÓëʱÐòÂß¼­µÄFPGAÆ÷¼þ²»¶ÏÍƳ³öУ¬´Ó¶øΪʵÏÖƬÉϿɱà³Ìϵͳ(SOPC)ÌṩÁËÇ¿´óµÄÓ²¼þÖ§³Ö¡£SOPCÊÇAhera¹«Ë¾Ìá³öµÄÒ»ÖÖÁé»î¡¢¸ßЧµÄƬÉÏϵͳ(SOC)½â¾ö·½°¸£¬Ëü½«´¦ÀíÆ÷¡¢´æ´¢Æ÷¡¢I£¯O¿ÚµÈϵͳÉè¼ÆËùÐèÒªµÄ¹¦ÄÜÄ£¿é¼¯³Éµ½Ò»¸ö¿É±à³ÌÆ÷¼þÉÏ£¬´Ó¶ø¹¹³ÉÒ»¸ö¿É±à³ÌµÄƬÉÏϵͳ¡£

ͬʱ£¬Altera¹«Ë¾Ò²ÌṩÁËÍêÕûµÄ¿ª·¢Ì×¼þ(QuaItus II¡¢SOPC Builder¡¢Nios II IDE)ºÍ·ÂÕ湤¾ßµÈÈí¼þ£¬²¢½«ÆäÎÞ·ìµØ¼¯³ÉÔÚÒ»Æð¡£

ÀûÓÃQuartus IIµÄSOPC BuilderÄܹ»·½±ãµÄ¹¹½¨Ò»¸ö»ùÓÚFPGAµÄSOPCϵͳ£¬SOPC BuilderµÄϵͳ¿âÖаüº¬ÁËһЩ³£ÓõÄNios IIÍâΧÉ豸£¬¿ÉÒÔ×Ô¶¯Éú³ÉAvalon×ÜÏߣ¬ÒÔÓÃÓÚÁ¬½Ó¸÷¸öÄ£¿é£¬´Ó¶øÐγÉSOPCϵͳ¡£µ«ÏµÍ³¿âÖÐûÓÐÌṩµÄÆ÷¼þ£¬¶øÐèÒªÓû§¸ù¾ÝÆ÷¼þµÄ¾ßÌåÇé¿öÉè¼ÆAvalon½Ó¿Ú¡£ÁíÍ⣬¶ÔÓÚһЩûÓÐÂß¼­¹¦ÄܵĽӿڿÉÒÔÖ±½ÓÓë×ÜÏßÏàÁ¬£¬µ«ÐèÒª¸ù¾ÝAvalon×ÜÏ߹淶ºÍÍâÉèµÄ¿ØÖÆʱÐòÀ´¶¨Öƽӿڡ£

ÔÚʵ¼Ê¹¤³ÌÖУ¬Í¨³£¿ÉÒÔʹÓõĴ洢Æ÷ÓÐƬÉÏ´æ´¢Æ÷ºÍƬÍâ´æ´¢Æ÷£¬ÆäÖÐÇ°ÕßÖ¸µÄÊÇFPGAÄÚǶµÄ´æ´¢Æ÷£¬ÈçƬÉÏRAM¡¢FIFO¡¢½ôñîºÏ´æ´¢Æ÷µÈ£»ºóÕßΪFPGAƬÍâ´æ´¢Æ÷£¬ÈçSRAM¡¢SDRAMµÈ¡£±¾ÎĽéÉÜÁ˽«Æ¬ÄÚ´æ´¢Æ÷FIFO¡¢½ôñîºÏ´æ´¢Æ÷¼°16λµÄSRAM¼¯³ÉÔÚSOPCϵͳÖУ¬²¢ÔÚFPGA¿ª·¢°åÉÏʵÏֵķ½·¨£¬ÆäÄÚÈÝ°üÀ¨ÍâÉèµÄ½ÓÈë·½·¨£¬ÒÔ¼°½ôñîºÏ´æ´¢Æ÷ÈçºÎͨ¹ý½ôñîºÏ´Ó¶Ë¿ÚÖ±½ÓÓë´¦ÀíÆ÷µÄ½ôñîºÏÊý¾Ý£¯Ö¸ÁîÖ÷¶Ë¿ÚÏàÁ¬µÈ¡£

1 SOPCÖеÄAvalon×ÜÏß

Avalon½»»»Ê½×ÜÏßÊÇÓÉAltera¹«Ë¾¿ª·¢µÄÒ»ÖÖרÓõÄÄÚ²¿Á¬Ïß¼¼Êõ¡£Avalon½»»»Ê½×ÜÏßÓÉSOPCBuilder×Ô¶¯Éú³É£¬ÊÇÒ»ÖÖÀíÏëµÄ¡¢ÓÃÓÚϵͳ´¦ÀíÆ÷ºÍÍâÉèÖ®¼äµÄÄÚ²¿Á¬Ïß¡£SOPC Builder¿ÉÀûÓÃ×îÉÙµÄFPGA×ÊÔ´£¬²úÉú×î¼ÑµÄAvalon½»»»½á¹¹¡£ÔÚSOPC BuilderÖУ¬Ã¿µ±Ò»¸öеÄ×é¼þ±»Ìí¼Óµ½ÏµÍ³ÖлòÊÇij¸öÍâÉè½ÓÈËÓÅÏÈȨ±»¸Ä±äʱ£¬¾Í»áÓÐÒ»¸öеġ¢×î¼ÑµÄAvalon½»»»Ê½×ÜÏß±»Éú³É¡£Avalon½»»»Ê½×ÜÏßµÄÕû¸öÉú³É¹ý³Ì¶¼ÓÉSOPCBuilder×Ô¶¯Íê³É¡£SOPC Builder×Ô¶¯Éú³ÉµÄAvalon½»»»Ê½×ÜÏß¿ÉʹÓÃ×îÉÙµÄÂß¼­×ÊÔ´À´Ö§³ÖÊý¾Ý×ÜÏߵķþÓᢵØÖ·ÒëÂë¡¢µÈ´ýÖÜÆڵIJúÉú¡¢ÍâÉèµÄµØÖ·¶ÔÆë(°üÀ¨Ö§³Ö¾²Ì¬ºÍ¶¯Ì¬µØÖ·¶ÔÆë)¡¢ÖжÏÓÅÏȼ¶µÄÖ¸¶¨ÒÔ¼°¸ß¼¶µÄ½»»»Ê½×ÜÏß´«Êä¡£Avalon½»»»Ê½×ÜÏßËù¶¨ÒåµÄÄÚÁªÏß²ßÂÔʹµÃÈκÎÒ»¸öAvalon×ÜÏßÉϵÄÖ÷ÍâÉ趼¿ÉÒÔÓëÈκÎÒ»¸ö´ÓÍâÉè½øÐÐͨÐÅ¡£

Avalon×ÜÏ߽ṹ¹¹³ÉµÄ»ù±¾Ô­ÔòÊÇ£ºËùÓÐÍâÉèµÄ½Ó¿ÚÓëAvalon×ÜÏßµÄʱÖÓͬ²½£¬²¢ÓëAvalon×ÜÏßµÄÎÕÊÖ£¯Ó¦´ðÐźÅÒ»Ö£»Í¬Ê±ËùÓÐÐźžùΪ¸ßµçƽ»òµÍµçƽ£¬²¢Óɶà·ѡÔñÆ÷Íê³ÉÑ¡Ôñ¹¦ÄÜ£¬ËüûÓÐÈý̬Ðźţ¬µØÖ·¡¢Êý¾ÝºÍ¿ØÖÆÐźÅʹÓ÷ÖÀëµÄרÓö˿ڣ¬ÍâÉèÎÞÐèʶ±ð×ÜÏßµØÖ·ÖÜÆÚºÍÊý¾Ý×ÜÏßÖÜÆÚ¡£

1.1 Avalon´Ó¶Ë¿Ú

Avalon½Ó¿Ú¶¨ÒåÁËÒ»×éÐźÅÀàÐÍ(ÈçƬѡ¡¢¶ÁʹÄÜ¡¢Ð´Ê¹ÄÜ¡¢µØÖ·¡¢Êý¾ÝµÈ)£¬¿ÉÓÃÓÚÃèÊöÖ÷£¯´ÓÍâÉèÉÏ»ùÓÚµØÖ·µÄ¶Á£¯Ð´½Ó¿Ú¡£Avalon¶Ë¿Ú¾ÍÊÇÒ»×éAvalonÐźţ¬ÕâЩÐźÅÓÃ×÷Ò»¸öµ¥Ò»µÄ½Ó¿Ú¡£Avalon¶Ë¿Ú·ÖΪÖ÷¶Ë¿ÚºÍ´Ó¶Ë¿Ú¡£Ö÷¶Ë¿ÚΪ·¢Æð´«ÊäµÄAvalonÐźÅÀàÐ͵ļ¯ºÏ¡£´Ó¶Ë¿ÚΪÏìÓ¦´«ÊäÇëÇóµÄAvalonÐźÅÀàÐ͵ļ¯ºÏ¡£´Ó¶Ë¿ÚµÄ»ù±¾ÐźÅÓÐaddress¡¢readdata¡¢writedata¡¢read¡¢write¡¢chipselectµÈ¡£´Ó¶Ë¿ÚµÄ¶Á´«Êä¿ÉʹÓõȴýÖÜÆÚ¡¢½¨Á¢Ê±¼äµÈ´«ÊäÊôÐÔ£¬µ«Avalon´Ó¶Ë¿Ú¶Á´«Ê䲻ʹÓñ£³Öʱ¼äÊôÐÔ¡£¶ÔÓÚÓÐЩÍâÉ裬ÔÚreadÐźÅÓÐЧ֮ǰ£¬ÆäaddressºÍchipselectÐźÅÐèÒªÒ»¶¨ÖÜÆÚ²ÅÄÜ´ïµ½Îȶ¨£¬Òò´Ë¾ßÓн¨Á¢Ê±¼äµÄAvalon´«ÊäÓ¦Âú×ãÉÏÊö½¨Á¢Ê±¼äÒªÇó¡£¾ßÓн¨Á¢Ê±¼äµÄ¶Á´«ÊäʹÓõÄÐźÅÓë»ù±¾¶Á´«ÊäµÄÐźÅÏàͬ£¬²»Í¬Ö®´¦Ö»ÔÚÓÚÐźŵÄʱÐò¡£´Ó¶Ë¿ÚµÄд´«Êä³ýÁ˾ßÓÐÓë¶Á´«ÊäͬÑùµÄ´«ÊäÊôÐÔÍ⣬»¹¾ßÓб£³Öʱ¼ä£¬Æ佨Á¢±£³Öʱ¼äͨ³£ÓÃÓÚÐèÒªaddtess¡¢byteenable¡¢writedataºÍchipselectÐźÅÔÚwriteÂö³å֮ǰºÍ£¯»òÖ®ºóµÄ¼¸¸öÖÜÆÚÄÚ±£³ÖÎȶ¨µÄƬÍâÍâÉè¡£

1.2 µØÖ·¶ÔÆ뷽ʽ

µ±ÏµÍ³ÖдæÔÚÊý¾Ý¿í¶È²»Æ¥ÅäµÄÖ÷-´Ó¶Ë¿Ú¶Ôʱ£¬ÐèÒª¿¼ÂǵØÖ·¶ÔÆëÎÊÌâ¡£ÈôϵͳÖÐËùÓÐÖ÷¶Ë¿ÚºÍ´Ó¶Ë¿Ú¶¼¾ßÓÐͬÑùµÄÊý¾Ý¿í¶È£¬Ôò´Ó¶Ë¿ÚÊý¾ÝµÄËùÓе¥ÔªÓëÖ÷¶Ë¿ÚµØÖ·¿Õ¼äµÄ¾²Ì¬µØÖ·±ß½ç¶ÔÆë¡£¶ÔÓÚ´æ´¢Æ÷ÍâÉ裬һ°ãӦʹÓö¯Ì¬µØÖ·¶ÔÆë¡£ÈôAvalon´Ó¶Ë¿ÚÊÇÒ»¸ö¶Ô¼Ä´æÆ÷ÎļþµÄ½Ó¿Ú£¬ÔòӦʹÓþ²Ì¬µØÖ·¶ÔÆë¡£¼Ä´æÆ÷ÎļþÌṩÓжÔÄÚ²¿ÍâÉèÂß¼­µÄ·ÃÎʹ¦ÄÜ¡£

Ò»°ãÇé¿öÏ£¬¶¯Ì¬µØÖ·¶ÔÆ뷽ʽ¿ÉÒÔ×Ô¶¯ÊÊÓ¦ºÍAvalon master¶Ë¿Ú¿í¶È²»Í¬µÄÆ÷¼þ£¬¶øͬʱ±£³ÖµØÖ·Ôö³¤µÄ·½Ê½ÊÇÒÔ×Ö½ÚΪµ¥Î»Ôö³¤µÄ·½Ê½¡£Æ¥Å䲻ͬ¶Ë¿Ú¿í¶ÈµÄmaterºÍslaveʱ£¬¿ÉʹÓö¯Ì¬µØÖ·¶ÔÆ뷽ʽÀ´µÃµ½Ò»¸öÁ¬ÐøµÄ´æ´¢Æ÷¿Õ¼ä¡£¶ø²ÉÓö¯Ì¬µØÖ·¶ÔÆ뷽ʽÐèÒªÁ¬½Ó×Ö½ÚʹÄÜÐźš£

¾²Ì¬µØÖ·¶ÔÆëµÄµØÖ·Ôö³¤µ¥Î»ÊÇAvalon masterµÄ¶Ë¿Ú¿í¶È£¬Ã¿´Î¶Áд¶¼Ö»¶ÔÓ¦Ò»´Î²Ù×÷£¬µ«ÔÚÆ¥Å䲻ͬ¶Ë¿Ú¿í¶ÈµÄmaterºÍslaveʱ£¬µØÖ·²»ÄÜ×Ô¶¯µ÷Õû¡£Ä³Ð©µØÖ·¿ÉÄÜûÓÐÏàÓ¦µÄÎïÀíʵÌåºÍËü¶ÔÓ¦¡£

2 Nios IIϵͳÖеĽôñîºÏ´æ´¢Æ÷

Nios IIϵͳÖеĽôñîºÏ´æ´¢Æ÷ÊÇÅÔ·»º´æµÄƬÉÏ´æ´¢Æ÷£¬¸Ã´æ´¢Æ÷¾ßÓÐ×îºÃµÄ´æ´¢Æ÷·ÃÎÊÐÔÄÜ£¬ÄܲÉÓÃÓëÆäËü´æ´¢Æ÷Ò»ÑùµÄ·½·¨ÎªÖ®·ÖÅä´úÂëºÍÊý¾Ý¡£Í¼1ÊÇ°üÀ¨½ôñîºÏ´æ´¢Æ÷ºÍÆäËûÍâÉèµÄNios IIϵͳͼ¡£

SOPC BuilderÖеÄƬÉÏ´æ´¢Æ÷ÊÇΨһÄܹ»ÓëNios IIÄÚºËÉϵĽôñîºÏÖ÷¶Ë¿ÚÏàÁ¬½ÓµÄ´æ´¢Æ÷£¬¶øÇÒ£¬¸ÃƬÉÏ´æ´¢Æ÷±ØÐëÅäÖÃΪRAM£¬Í¬Ê±´¦ÀíÆ÷ÉϵĽôñîºÏÖ÷¶Ë¿ÚÒ²±ØÐëÖ»ÓëÒ»¸öƬÉÏ´æ´¢Æ÷´Ó¶Ë¿ÚÏàÁ¬½Ó¡£Ã¿¸ö½ôñîºÏÖ÷¶Ë¿Ú¶¼¿ÉÒÔͨ¹ý½ôñîºÏ½Ó¿ÚÓë½ôñîºÏ´Ó¶Ë¿Ú½øÐÐÁ¬½Ó£¬Òò´Ë£¬ÐèҪ˫¶Ë¿Ú´æ´¢Æ÷Óë½ôñîºÏÖ¸ÁîÖ÷¶Ë¿Ú½øÐÐÁ¬½Ó¡£ÓÉÓÚ½ôñîºÏÖ¸ÁîÖ÷¶Ë¿ÚÖ»ÄÜ·ÃÎÊ¿ÉÖ´ÐдúÂ룬Òò´Ë£¬Ë«¶Ë¿Ú´æ´¢Æ÷µÄµÚ¶þ¸ö´æ´¢Æ÷¶Ë¿ÚÓ¦µ±Óë´¦ÀíÆ÷µÄÊý¾Ý¶Ë¿ÚÏàÁ¬£¬ÕâÑù±ãÓÚ¶ÔÊý¾ÝµÄ¶Á£¯Ð´²Ù×÷¡£

×÷ÕߣºÂÀÓΣ¬³ÂÎÄÒÕ Î÷°²ÓʵçѧԺÐÅÏ¢Óë¿ØÖÆϵ À´Ô´£º21ICµç×ÓÍø


΢ÐÅɨÃè·ÖÏí±¾Îĵ½ÅóÓÑȦ
ɨÂë¹Ø×¢5GͨÐŹٷ½¹«ÖÚºÅ,Ãâ·ÑÁìÈ¡ÒÔÏÂ5G¾«Æ·×ÊÁÏ
  • 1¡¢»Ø¸´¡°YD5GAI¡±Ãâ·ÑÁìÈ¡¡¶ÖйúÒƶ¯£º5GÍøÂçAIÓ¦ÓõäÐͳ¡¾°¼¼Êõ½â¾ö·½°¸°×ƤÊé¡·
  • 2¡¢»Ø¸´¡°5G6G¡±Ãâ·ÑÁìÈ¡¡¶5G_6GºÁÃײ¨²âÊÔ¼¼Êõ°×ƤÊé-2022_03-21¡·
  • 3¡¢»Ø¸´¡°YD6G¡±Ãâ·ÑÁìÈ¡¡¶ÖйúÒƶ¯£º6GÖÁ¼òÎÞÏß½ÓÈëÍø°×ƤÊé¡·
  • 4¡¢»Ø¸´¡°LTBPS¡±Ãâ·ÑÁìÈ¡¡¶¡¶ÖйúÁªÍ¨5GÖն˰×ƤÊé¡·¡·
  • 5¡¢»Ø¸´¡°ZGDX¡±Ãâ·ÑÁìÈ¡¡¶ÖйúµçÐÅ5GNTN¼¼Êõ°×ƤÊé¡·
  • 6¡¢»Ø¸´¡°TXSB¡±Ãâ·ÑÁìÈ¡¡¶Í¨ÐÅÉ豸°²×°¹¤³ÌÊ©¹¤¹¤ÒÕͼ½â¡·
  • 7¡¢»Ø¸´¡°YDSL¡±Ãâ·ÑÁìÈ¡¡¶ÖйúÒƶ¯ËãÁ¦²¢Íø°×ƤÊé¡·
  • 8¡¢»Ø¸´¡°5GX3¡±Ãâ·ÑÁìÈ¡¡¶R1623501-g605GµÄϵͳ¼Ü¹¹1¡·
  • ±¾ÖÜÈȵ㱾ÔÂÈȵã

     

      ×îÈÈͨÐÅÕÐƸ

    Òµ½ç×îÐÂ×ÊѶ


      ×îÐÂÕÐƸÐÅÏ¢

    ×îм¼ÊõÎÄÕÂ

    ×îÐÂÂÛ̳Ìù×Ó