The utility model content
The utility model provides a kind of gateway based on the MVB network, is used to realize the conversion of MVB data and PCIExpress data, thereby makes things convenient for the technical staff through PCI Express bus the MVB network to be tested.
The utility model provides a kind of gateway based on the MVB network, comprising:
Be used for to be sent to from the MVB data of MVB bus the MVB protocol controller, and will be sent to the MVB network standard interface of said MVB bus from the MVB data behind the said MVB protocol controller coding;
Be used for decoding from the MVB data of said MVB network standard interface and decoded M VB data being sent to primary processor and the MVB data after encoding and will encode from the MVB data of said primary processor being sent to the MVB protocol controller of said MVB network standard interface;
Be used for and be the PCIExpress data and said PCI Express data are sent to PCI Express protocol controller, and will will be MVB data and the primary processor that said MVB data is sent to said MVB protocol controller from the decoded PCI Express of said PCI Express protocol controller data transaction from said MVB protocol controller decoded M VB data transaction;
Be used for the PCI Express data after encoding and will encode from the PCI Express data of said primary processor are sent to PCI Express standard interface and to decoding from the PCI Express data of said PCI Express standard interface and decoded PCI Express data being sent to the PCI Express protocol controller of said primary processor;
Be used for to be sent to from the PCI Express data behind the said PCI Express protocol controller coding PCI Express bus, and will be sent to the PCI Express standard interface of said PCI Express protocol controller from the PCI Express data of said PCI Express bus;
Wherein, said MVB bus is connected with said PCI Express bus through said MVB network standard interface, MVB protocol controller, primary processor, PCI Express protocol controller and PCI Express standard interface successively.
Aforesaid gateway, said MVB protocol controller is field programmable gate array circuit or application-specific integrated circuit (ASIC).
Aforesaid gateway, said PCI Express protocol controller is the field programmable gate array circuit.
Can know by technique scheme; The gateway based on the MVB network that the utility model provides through receiving the MVB data from the MVB network, is PCI Express data with said MVB data transaction; And these PCI Express data are sent to PCI Express bus; In addition, can also be the MVB data with PCI Express data transaction and be sent to the MVB bus, thereby can make things convenient for the technical staff MVB network to be tested through PCI Express bus from PCI Express bus.
Embodiment
For the purpose, technical scheme and the advantage that make the utility model embodiment is clearer, will combine the utility model embodiment below, to the technical scheme among the utility model embodiment carry out clear, intactly describe.Need to prove that in accompanying drawing or specification, similar or components identical is all used identical Reference numeral.
At first with reference to figure 1, Fig. 1 is the structural representation based on the gateway of MVB network of the utility model.As shown in Figure 1, comprise MVB network standard interface 1, MVB protocol controller 2, primary processor 3, PCI Express protocol controller 4 and PCI Express standard interface 5 based on the gateway of MVB network.Wherein, the MVB bus is connected with PCI Express bus with PCI Express standard interface 5 through said MVB network standard interface 1, MVB protocol controller 2, primary processor 3, PCI Express protocol controller 4 successively.
In the present embodiment, said gateway can become the MVB data transaction from said MVB bus PCI Express data and be sent to said PCI Express bus.
Particularly,
MVB network standard interface 1 is used for the MVB data from the MVB bus are sent to MVB protocol controller 2.
MVB protocol controller 2 is used for decoding from the MVB data of MVB network standard interface 1, and decoded M VB data is sent to primary processor 3.
In the present embodiment, be generally serial data, therefore, need this serial data is decoded as the parallel data that primary processor 3 can be handled from the MVB data of MVB network standard interface 1.In addition, in decode procedure, MVB protocol controller 2 also carries out CRC to said MVB data, to guarantee the accuracy of data.
In the present embodiment,, be convenient to the technical staff simultaneously and debug, can adopt field programmable gate array circuit or application-specific integrated circuit (ASIC) to realize MVB protocol controller 2 in order to improve the reliability of said gateway.
Primary processor 3 is used for being PCI Express data from MVB protocol controller 2 decoded M VB data transaction, and said PCI Express data is sent to PCI Express protocol controller 4.
In the present embodiment; After said gateway powered on, primary processor 3 all carried out initialization operation, particularly; Primary processor 3 with the technical staff in advance the communication stored parameter send to MVB protocol controller 2, for example MVB port address, MVB device address, refresh time, communication frequency etc.In addition, the technical staff also can reset the said parameter of communication stored in advance through the terminal equipment that is connected with primary processor 3.
PCI Express protocol controller 4 be used for the PCI Express data from primary processor 3 are encoded, and the PCI Express data after will encoding is sent to PCI Express standard interface 5.
In the present embodiment, be parallel data from the PCI Express data of primary processor 3, need it be encoded to serial data and be sent to PCI Express standard interface 5.In addition, in cataloged procedure, PCI Express protocol controller 4 also carries out CRC to said PCI Express data, to guarantee the accuracy of data.
In the present embodiment,, be convenient to the technical staff simultaneously and debug, can adopt the field programmable gate array circuit to realize PCI Express protocol controller 4 in order to improve the reliability of said gateway.
PCI Express standard interface 5 is used for being sent to PCI Express bus from the PCI Express data behind PCI Express protocol controller 4 codings.
In the present embodiment, said gateway can also become the MVB data with the PCI Express data transaction from said PCI Express bus and be sent to said MVB bus.
Particularly,
PCI Express standard interface 5 also is used for the PCI Express data from said PCI Express bus are sent to PCI Express protocol controller 4.
PCI Express protocol controller 4 also is used for the PCI Express data from PCI Express standard interface 5 are decoded, and decoded PCI Express data is sent to primary processor 3.
In the present embodiment, be generally serial data, therefore, need this serial data is decoded as the parallel data that primary processor 3 can be handled from the PCI Express data of PCI Express standard interface 5.In addition, in decode procedure, PCI Express protocol controller 4 also carries out CRC to said PCI Express data, to guarantee the accuracy of data.
Primary processor 3 also is used for being the MVB data from PCI Express protocol controller 4 decoded PCI Express data transaction, and said MVB data is sent to MVB protocol controller 2.
In the present embodiment; After said gateway powers on; Primary processor 3 all carries out initialization operation; Particularly, primary processor 3 with the technical staff in advance the communication stored parameter send to PCI Express protocol controller 4, for example PCI Express port address, PCI Express device address, refresh time, communication frequency etc.In addition, the technical staff also can reset the said parameter of communication stored in advance through the terminal equipment that is connected with primary processor 3.
MVB protocol controller 2 also be used for the MVB data from primary processor 3 are encoded, and the MVB data after will encoding is sent to MVB network standard interface 1.
In the present embodiment, be parallel data from the MVB data of primary processor 3, need it be encoded to serial data and be sent to MVB network standard interface 1.In addition, in cataloged procedure, MVB protocol controller 2 also carries out CRC to said MVB data, to guarantee the accuracy of data.
MVB network standard interface 1 also is used for being sent to said MVB bus from the MVB data behind MVB protocol controller 2 codings.
From the above; Gateway through the utility model based on the MVB network; Can be that PCI Express data also finally are sent to PCI Express bus with MVB data transaction from the MVB bus; Realized PCI Express bus is inserted in the MVB network, after the access, the PCI Express bus test equipment of feature richness and technology maturation can have been used by the MVB network.
More than be to the detailed description of the utility model, next combine Fig. 2-3 to describe the workflow of the utility model based on the gateway of MVB network based on the structure of the gateway of MVB network.
Fig. 2 is first embodiment of the utility model based on the workflow of the gateway of MVB network.In the present embodiment, the utility model will be PCI Express data from the MVB data transaction of MVB bus based on the gateway of MVB network, and its workflow comprises the steps:
S10, MVB network standard interface 1 will be sent to MVB protocol controller 2 from the MVB data of MVB bus.
S11,2 pairs of MVB data from MVB network standard interface 1 of MVB protocol controller are decoded, and decoded M VB data are sent to primary processor 3.
S12, primary processor 3 will be PCI Express data from MVB protocol controller 2 decoded M VB data transaction, and said PCI Express data are sent to PCI Express protocol controller 4.
S13,4 pairs of PCI Express data from primary processor 3 of PCI Express protocol controller are encoded, and the PCI Express data after will encoding are sent to PCI Express standard interface 5.
S14, PCI Express standard interface 5 will be sent to PCI Express bus from the PCI Express data behind PCI Express protocol controller 4 codings.
Fig. 3 is second embodiment of the utility model based on the workflow of the gateway of MVB network.In the present embodiment, the utility model will be the MVB data from the PCI Express data transaction of PCI Express bus based on the gateway of MVB network, and its workflow comprises the steps:
S20, PCI Express network standard interface 5 will be sent to PCI Express protocol controller 4 from the PCI Express data of PCI Express bus.
S21,4 pairs of PCI Express data from PCI Express network standard interface 5 of PCI Express protocol controller are decoded, and decoded PCI Express data are sent to primary processor 3.
S22, primary processor 3 will be the MVB data from PCI Express protocol controller 4 decoded PCI Express data transaction, and said MVB data are sent to MVB protocol controller 2.
S23,2 pairs of MVB data from primary processor 3 of MVB protocol controller are encoded, and the MVB data after will encoding are sent to MVB standard interface 1.
S24, MVB standard interface 1 will be sent to the MVB bus from the MVB data behind MVB protocol controller 2 codings.
In sum; The gateway that the utility model provides based on the MVB network; Through receiving MVB data, be PCI Express data with said MVB data transaction, and these PCI Express data are sent to PCI Express bus from the MVB network; In addition; Can also be the MVB data with PCI Express data transaction and be sent to the MVB bus, realize the interconnected of PCI Express network and MVB network, the PCI Express bus test equipment of feature richness and technology maturation can be used by the MVB network from PCI Express bus; Thereby make the data that the technical staff can be through PCI Express monitoring bus MVB network, and the MVB network is tested.
What should explain at last is: above embodiment is only in order to the technical scheme of explanation the utility model, but not to its restriction; Although the utility model has been carried out detailed explanation with reference to previous embodiment; Those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that previous embodiment is put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of each embodiment technical scheme of essence disengaging the utility model of relevant art scheme.