Background technology
In recent years, single FPGA realizes that circuit scale constantly enlarges, and the deviser can realize a complete system on single FPGA.The design that appears as SOPC of IP module provides very big facility.The deviser accomplishes the IP design, needs corresponding protection mechanism to prevent to design by bootlegging, steal or distort.
(structure of the also weighing) technology of reshuffling of FPGA is divided into full weight structure and local reconstruct, and the full weight structure is that configured in one piece bit stream file is downloaded among the FPGA; Local reconstruct relative complex does not influence the work of system's remainder when it can change the components of system as directed function.And the dynamic local configuration is in program operation process, to carry out, and the configuration of ability real time altering hardware has the advantage of economize on hardware resource and enhanced system dirigibility.
Dynamic local is reshuffled the modular design based on FPGA, and global design is divided into plurality of modules, and some is a restructural not, and some is reconfigurable, and each module is implemented in the zone separately.In the dynamic local configuration; There is a fixing structure (bus is grand) to stride according on the border of two modules; Each module is linked to each other respectively at this fixing structure in zone separately, and each module not only can but also can communicate with proximity modules in realization in regulation regional like this.
The utility model content
The technical matters that the utility model will solve provides a kind of data processing card of the IP of having module multiple protective mechanism.
The utility model adopts following technical scheme to realize goal of the invention:
A kind of data processing card with IP module multiple protective mechanism; Comprise fpga chip; Said fpga chip connects SDRAM storer and Flash storer, and the PLB bus is set on the said fpga chip, it is characterized in that: connect microprocessor, ICAP internal configurations access path, PCI Express EBI, IPIF interface and dma controller on the said PLB bus respectively; Said IPIF interface connects the user program module, on the said user program module part is set and reshuffles the zone.
As further qualification, store module in the said Flash storer through ciphered data Processing Algorithm IP to the present technique scheme.
As the further qualification to the present technique scheme, said fpga chip is provided with the physical erase button.
Compared with prior art; The advantage and the good effect of the utility model are: store data encrypted Processing Algorithm IP module in the Flash storer of the utility model; Under the control of the embedded soft nuclear of MicroBlaze of fpga chip; Read the IP module and decipher, write the part through ICAP internal configurations access path again and reshuffle the zone, accomplish processing different pieces of information.PCI Express can realize two duplex, serial, differential data high-speed transfer of equipment room as the communication interface of data processing card and host computer, and the SDRAM storer is mainly used in the metadata cache in the program operation process; The user program module, wherein has the part and reshuffles the zone on the PLB bus through IPIF interface carry.The configuration of zone ability real time altering hardware is reshuffled in the part, has practiced thrift hardware resource, has strengthened the dirigibility of system.To leave data processing IP module among the Flash in order further protecting, also to increase physical erase button and timing erase feature on the fpga chip.
Embodiment
Below in conjunction with accompanying drawing and preferred embodiment the utility model is made detailed description further.
Referring to Fig. 1, the utility model comprises that fpga chip, SDRAM storer, Flash storer, PLB bus, microprocessor, ICAP internal configurations access path, PCI Express EBI, IPIF interface, user program module, part reshuffle zone, dma controller, local bus memory (LMB), MDM microprocessor debugging module and UART communication module.
Said fpga chip connects SDRAM storer and Flash storer; The PLB bus is set on the said fpga chip; Connect microprocessor, ICAP internal configurations access path, PCI Express EBI, IPIF interface on the said PLB bus respectively, said IPIF interface connects the part and reshuffles zone and dma controller.DMA is a kind of high-speed data transmission pattern, allows direct read data between external apparatus and the storer, neither through CPU, does not also need CPU to intervene.
Said PLB bus also is connected with local bus memory (LMB), MDM microprocessor debugging module and UART communication module, and said microprocessor is the soft nuclear of MicroBlaze.
Said fpga chip is provided with physical erase button (not shown).
Store module in the Flash storer through ciphered data Processing Algorithm IP; Under the control of the embedded soft nuclear of MicroBlaze of fpga chip; Read the IP module and decipher, write the part through ICAP internal configurations access path again and reshuffle the zone, accomplish processing different pieces of information.For further protected data Processing Algorithm IP module, increase physical erase button and timing erase feature on the fpga chip
PCI Express can realize two duplex, serial, differential data high-speed transfer of equipment room as the communication interface of data processing card and host computer, and the SDRAM storer is mainly used in the metadata cache in the program operation process; The user program module, wherein has the part and reshuffles the zone on the PLB bus through IPIF interface carry.
After system powered on, fpga chip at first carried out global configuration, and this part mainly accomplishes soft nuclear of MicroBlaze and Peripheral Interface modules configured.Global configuration adopts initiatively parallel (Master BPI) configuration mode; The guiding user program was carried out after global configuration was accomplished; User program reads the data processing algorithm IP module that is stored among the FLASH; The configuration of the part being reshuffled the zone is accomplished through ICAP internal configurations access path in its deciphering back, accomplish building of total system hardware logic this moment.
The software systems of whole design are made up of PC control software and fpga chip system software.PC control software mainly comprises driver and user application software, and fpga chip software comprises that mainly peripheral hardware drives and user program.
PC control software mainly realize with pending data according to certain requirement packing after, be delivered to data processing card through PCI Express EBI, the data after accepting simultaneously to have handled.Can realize control through the PC control terminal, clock on the integrated circuit board etc. for example can be set various peripheral hardwares on the fpga chip.
User program in the soft nuclear of MicroBlaze is at first accomplished the local configuration of data processing algorithm IP module, and the control command that receives host computer then starts each peripheral hardware.After for example host computer was ready to pending data, the soft nuclear of MicroBlaze started the dma controller reading of data and starts the IP module and carries out data processing.After the user program module receives regularly destruction instruction, start regularly destruction program, the time of treating is then wiped the data processing algorithm IP module that is stored among the FLASH, or when the physical erase button is pressed, carries out erasing move.
Certainly; Above-mentioned explanation is not the restriction to the utility model; The utility model also be not limited only to above-mentioned for example, variation, remodeling, interpolation or replacement that those skilled in the art are made in the essential scope of the utility model also belong to the protection domain of the utility model.