Design and Implement of Configuration System of High Density FPGA
- Author
- LiZhengJie
- Advisor
- LiWei , WangLianYou
- School
- University of Electronic Science and Technology
- Major
- Electronics and Communication Engineering
- Classification
- TN791 Logic circuits
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 42
- Citations
- 0
Abstract
At present, FPGA is100%factory tested. Designers can avoid the risk ofproducing ASIC. FPGA can be repeatedly programmed and be used easily, whichreduce designer’s development time. So the range of application of FPGA isincreasingly wider, including: communication, industry control, medical device andsome divice of our military equipment. High density FPGA is the most importantdevelop and research project of our company.As we all know, FPGA can be programmed repeatedly, as long as the FPGAresource is enough, it can achieve any user specified function. In order to achieve userfunction by FPGA, you need to write configuration bitstream which is generated by theuser design to the FPGA, after loading bitstream; it is a chip with specific function.Readback operation can be carried out after the configuration, that is, the user cancompare the readback data with the data which is used to configurate the FPGA. Thiscan verify that whether the bitstream is correctly written to the FPGA. The user can alsodo DES encryption of the bitstream, so encrypted bitstream is loaded into the FPGA. Inthis way, it can prevent others from stealing bitstream maliciously; the stealed datawithout kesy is completely useless. The configuration system has a decryption circuit inthe FPGA, which can decrypt the encrypted bitstream, the user only need to ensure thesecurity of the key, which can guarantee the security of bitstream.The configuration system of high desity FPGA described in the paper is designedby our company itself, which also designed on the basis of the original succeccedconfiguration system circuit, the configuration system use five methods to completeconfiguration, can do readback operation, and also decrypt the bitstream which isencrypted by software. This thesis describes the configuration, readback and bitstreamdecryption of FPGA configuration system, the specific content of the study are asfollows:1. Configuration researching aspect includes: the high desity FPGA architecture,the five configuration modes, the pin of configuration, configuration column stractureand configuration process. When loading the bitstream to the FPGA, researching how configuration circuit works step by step, i.e. how to write the bitstream to the FPGAinternal from from the configuration port, then how to form a frame configuration data,and finally writes a frame data into the FPGA internal SRAM array. Configurationresearching aspect also includes: the meaning of each line of the bitstream, the registersof configuration circuit, the packet type of configuration data, the frame buffer and soon.2. Readback researching aspect includes: two readback modes of the high desityFPGA, how to read the data in SRAM array through the frame buffer to FDRO framedata output register, and finally read out of the configuration port. Readback researchingaspect also includes: the setting of PC software when do readback operation, and the useof readback files which are generated by software, as well as how to compare thereadback data with the configuration bitstream, how the frame buffer is working,andhow signal changes in frame buffer during readback operation.3DES encryption/decryption aspect includes: triple DES encryption anddecryption algorithms, decryption circuit in the FPGA use three key to do"decryption-encryption–decryption” process to decrypt bitstream. I design the specific decryptioncircuit, which includes: the Key programming circuit, iterative calculation circuit,SubKey generating circuit. I also simulate and verify the correlation circuits.
Table of contents
Summary 5-7
ABSTRACT 7-11
first chapter News 11-14
1.1 and abroad 11
1.2 based on topics and necessity development 11-12
1.3 configuration system main work and structure of 12-13
1.4 herein arrangements 13 the second chapter analyzes -14
system configuration mechanism 14-37
2.1 high density FPGA architecture 14-20
2.1.1 CLB module 15-16
2.1.2 IOB module 16-17
2.1.3 BRAM module 17-18
2.1.4 multiplier module 18
2.1.5 DCM module 18-19
2.1.6 interconnect wiring module 19
2.1.7 configuration module 19-20
2.2 configuration mode 20-25
2.2.1 from string configuration mode 20-21
2.2.2 master Serial configuration mode 21-22
2.2.3 master SelectMAP configuration mode 22-23
2.2.4 nbsp from SelectMAP configuration mode ; 23
2.2.5 boundary-Scan configuration mode 23 - 24
2.2.6 configuration pins 24-25
2.3 configuration process 25-30
2.3.1 loaded bitstream data 27 - 29
2.3.2 boundary Scan configuration process 29-30
2.4 readback 30-35
set 2.4.1 readback needed 30
2.4.2 SelectMAP mode by reading the configuration register (FPGA still work ) 30-31
2.4.3 SelectMAP mode by reading SRAM array (FPGA \) 31-32
2.4.4 via boundary-scan interface to access configuration registers 32-33
2.4.5 by reading the internal SRAM array boundary scan interface 33-35
2.5 DES encryption 35-36
2.6 Summary 36-37
Chapter III configuration and read back circuit design and simulation 37-67
3.1 configuration design and simulation of circuits 37-56
3.1.1 sync word 39-40
3.1.2 CRC register 40-41
3.1.3 FLR frame length register 41-43
3.1.4 COR configuration option register 43-45
3.1.5 device ID register 45-46
3.1.6 MASK mask registers and control registers CTL 46
3.1.7 SWITCH command 46-47
3.1.8 FAR frame address register 47-50
3.1.9 WCFG commands and configuration data is written to the FDRI 50-55
3.1.10 after loading the configuration SRAM array data after command 55-56
3.2 read back circuit design and simulation 56-66
3.2.1 readback operation principle analysis 56-57 <br / > 3.2.2 readback data validation 57-59
3.2.3 back to read circuit design and simulation 59-66
3.3 Summary 66 -67
Chapter IV DES decryption circuit design and simulation 67-85
4.1 algorithm analysis 67-73
4.2 circuit Analysis 73-84
4.3 Summary 84-85
Chapter V Conclusion 85-86
5.1 the main contribution of this paper 85
5.2 Next Looking to work 85-86
Thanks 86-87
References 87-88
Related dissertations
- Research on the Economic Capital Management of A Commercial Bank
- The transformation and upgrading of enterprises in the human resources allocation of -YT twelve. Analysis of five human resource planning
- Calderon Technique Based Integral Equation Methods in Computational Electromagnetics
- Research on Surface Defects Visual Inspection System for Metal Components
- A Tension Control Technique and System for JLB Winding
- Design and Realization of Distributed Control System Based on Industrial Ethernet
- The Design for the Lower Part of Railway Rescue Crane Control System Based on SHCAN2000System
- The Design and Implementation oF Process Control Functions of DCS
- Configuration Synthesis and Perforance Analysis of a6-dof Master Robot
- Modeling and Extracting of ROI in Visual Inspection of Industrial Products
- Research on the Deployment of ERP Financial Management System for Construction Machinery Industry
- Design of supervisory control configuration software based on XML document
- 32Channel,16Bit,Current-input AD Converter
- A Study on the Educational Resources and Opportunities of Party Members in Rural Areas
- A Arrangement and Research about the Inscriptions on Bronze of Jin System
- The County General Hospital of Chongqing Health Human Resource Allocation
- The Optimization of Dosage Control System in Water Plants
- Studies on the Conception and the Methodology of Aldo Van Eyck
- Development of the Data Acquisition System for the Equipment Operation in Engine Room
- Design of Railway Rescue Crane Upperstructure Control System Based on SHCAN2000