People are paying more and more attention to information secrecy nowadays. In the transmission process of video signals, how to do encryption has been a pop topic. SOC system has obvious advantages on treating with digital video signal in view of its unexampled ascendancy. This paper is a design of both hardware and software of a digital video signal encryption/decryption system based on SOC.This design makes the best use of Actel's latest solution of SOC-taking ARM7 embed softcore processor-CoreMP7 as a core to carry out such functions as collection-input, encryption/decryption and display-output of digital video signals. The article introduces digital video and SOC system detailedly first, then expatiates hardware design and software design of the whole system respectively. To carry out the structure of hardware environment by describing configuration and function of each hardware part of system, especially three main function modules and VHDL hardware interface between the target board and the CoreMP7 system in spiritual. The principle of encryption and decryption to video signal stored in system memorizer is also given out as well as the programme code of actualizing concretely multiple encryptions based on knight's patrol and Arnold transform.In addition, the article also figures out the bootloader of CoreMP7 processor and some drivers of peripherals. Finally, I had done some improvements to make speed of processing a BMP ,such as making a mapping list rather than the former way.As a result,the speed of processing a BMP is 30-time faster than before.Lots of encryption and decryption experiments have been done for the secrecy and consistency in the Demo board,including Arnold transformation,Knight's tour,compound algorithem based on the Arnold transformation and Knight's tour.The design can prevent some decryption on purpose as the algorithem has a key;Finally some anti-noise and anti-coruption experiments have been done for the safety of the digital video.As a result,the design has a good performance of encryption with good safty and consistency. |