| With the continuous enrichment of the application scenarios of embedded systems and the increasing complexity of their internal interconnection structures,there are usually multiple protocol interfaces inside the embedded system,and the interaction between devices of different protocols requires efficient multi-protocol conversion,which poses a challenge to the design of the embedded system switching architecture.Unlike general-purpose computer systems,which are interconnected by a network,the interconnection of embedded systems often requires a tightly coupled,real-time bus.The Rapid IO bus protocol supports DMA and address mapping,as well as messaging,with the characteristics of peer-to-peer transmission,making it one of the preferred solutions for interconnection within embedded systems.The research on real-time switching technology and multi-protocol conversion technology based on SRIO has good application value for the implementation of embedded system interconnection architecture.Aiming at the needs of tightly coupled,real-time bus technology and high-efficiency multi-protocol conversion technology in embedded systems,this thesis designs and completes a multi-protocol real-time switching architecture based on SRIO for FPGA implementation.According to the system’s buffer and bandwidth requirements,the implementation scheme of crossbar switching structure based on SRIO protocol is proposed;for the quality of service requirements,the implementation scheme of priority-based output port scheduling algorithm is implemented to ensure that high-priority packets can be forwarded;for the system extensibility requirements,a routing table module that supports multiple protocols is designed,and the extension ID is reserved for multi-protocol devices;according to the characteristics of different high-speed protocols,a customized data frame conversion structure is completed,which realizes the efficient conversion between the SRIO protocol to the Aurora protocol interface and the high-speed serial transceiver chip interface;according to the software and hardware interface requirements,a master module based on the soft-core processor is implemented,which can support ID allocation,routing table configuration and system status monitoring.In this thesis,a hardware test is performed on the multi-protocol real-time switching architecture based on SRIO,and the correctness of the multi-protocol conversion and real-time switching scheme in this thesis is verified.The test results show that the proposed scheme can realize the full switching between 20 SRIO links,as well as the conversion of SIRO protocol to the Aurora protocol interface and the high-speed serial transceiver chip protocol.The single packet exchange delay can be as short as 1.77 μ s,and the high-speed serial transceiver chip interface conversion delay can be as short as 2.51 μ s. |