CN110110355A - A kind of Prototype Verification Platform based on FPGA - Google Patents

A kind of Prototype Verification Platform based on FPGA Download PDF

Info

Publication number
CN110110355A
CN110110355A CN201910225854.2A CN201910225854A CN110110355A CN 110110355 A CN110110355 A CN 110110355A CN 201910225854 A CN201910225854 A CN 201910225854A CN 110110355 A CN110110355 A CN 110110355A
Authority
CN
China
Prior art keywords
fpga
design
software
verification platform
soc
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910225854.2A
Other languages
Chinese (zh)
Inventor
王忆文
郭少成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN201910225854.2A priority Critical patent/CN110110355A/en
Publication of CN110110355A publication Critical patent/CN110110355A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/32Circuit design at the digital level
    • G06F30/33Design verification, e.g. functional simulation or model checking
    • G06F30/3308Design verification, e.g. functional simulation or model checking using simulation
    • G06F30/331Design verification, e.g. functional simulation or model checking using simulation with hardware acceleration, e.g. by using field programmable gate array [FPGA] or emulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/34Circuit design for reconfigurable circuits, e.g. field programmable gate arrays [FPGA] or programmable logic devices [PLD]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • G06F8/447Target code generation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Quality & Reliability (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

The invention belongs to SoC chip verification technique field, specially a kind of Prototype Verification Platform device based on FPGA.FPGA is existing frequently-used Design of Digital System platform, and maximum advantage is that FPGA can not have to change hardware circuit, carries out dynamic configuration to fpga chip using software by user completely, realize specific function, and can repeat erasable use.Using FPGA as the hardware platform of Digital Design, user can combine hardware design and software design, the mistake in design can timely be modified, it is compared to the trial and error cost that ASIC design is greatly reduced chip design, the flexibility of design is provided, to greatly shorten the design cycle.Using FPGA as the hardware carrier of MC-SoC system, can achieve with the comparable operating rate of actual chips, greatly improve simulation velocity, the speed shortcomings of simple software emulation work can be made up, designer is helped find to design mistake present in circuit as early as possible.

Description

A kind of Prototype Verification Platform based on FPGA
Technical field
The invention belongs to SoC chip verification technique field, specially a kind of Prototype Verification Platform device based on FPGA.
Background technique
In the design process of SoC chip, for the coverage rate of raising chip checking as big as possible, it is necessary to using a variety of The mode that verifying means combine.Wherein, it is designed as a kind of important verifying means in chip based on the prototype verification of FPGA Functional verification in play very important effect.
Based on pure software and Dynamic Simulation Technology and formal verification technology there are its intrinsic limitation, this has just been determined The mistake of some chip designs will not be found by dynamic functional simulation, because the speed of emulation cannot work with actual chips Speed mention in the same breath, as soon as and the operating rate of FPGA system can be similar with true chip system, therefore It is possible that find some simple emulation not detectable chip design mistake.
SoC chip designs compared with legacy chip designs, and design scale becomes larger, and traditional chip design is often only wrapped The design of hardware circuit containing chip, and the design of a SoC chip not only includes the design of hardware circuit, but also includes very The work of the software design of big specific gravity, it is therefore desirable to the design of SoC system support software will be carried out simultaneously in the design process And verified, so needing to carry out software-hardware co-designing.Software-hardware co-designing is very crucial in SoC verifying process A link, the software-hardware co-designing for only having passed through SoC just can guarantee the matched software of design on SoC hardware platform It works normally.
Summary of the invention
The purpose of the present invention is to provide a kind of SoC chip Prototype Verification Platform based on FPGA, the verification platform include Hardware components and software section can carry out software-hardware co-designing to SoC chip,
The hardware components of verification platform include FPGA prototype verification development board, Vivado software, Xilinx in the present invention FPGA downloader hardware device relevant with other.
In hardware components, the RTL design of SoC chip carries out logic synthesis, a system such as placement-and-routing in Vivado software Column process, and ultimately generate bit stream file, then by the JTAG download interface on FPGA plate by the bit stream file of generation FPGA is downloaded to, by SoC system configuration into fpga chip.
The software section of verification platform includes Keil software and ULink emulator in the present invention, and wherein Keil is for compiling Assembler and C language test program, ULink emulator are used to connect the Keil software and FPGA witness plate at the end PC.
The workflow of software section is about, by the assembler write and C test program by compiling in Keil The sequence of operations such as link obtain the binary file that chip core can be read, and download to SoC core by ULink emulator In piece.
SoC chip Prototype Verification Platform provided by the invention can make up the deficiency of software analog simulation, when reducing verifying Between, examine whether the design of SoC realizes the function that design specification determines, so as to improve the flow success rate of SoC chip.
Detailed description of the invention
Fig. 1 is the architecture diagram of Prototype Verification Platform of the invention;
Fig. 2 is Prototype Verification Platform work overview flow chart;
Fig. 3 is the specific work step of Prototype Verification Platform hardware components of the invention;
Fig. 4 is the specific work step of Prototype Verification Platform software section of the invention;
Specific embodiment
Method of the invention is described further below in conjunction with attached drawing:
Fig. 1 show the general frame figure for the Prototype Verification Platform based on FPGA that the present invention designs, wherein mainly including Following two part.
At the end PC, it is mounted with Keil software, Vivado software and AccessPort software, passes through ULink emulator respectively, Xilinx downloading wire and UART turn USB line and are connected with FPGA witness plate.
At FPGA witness plate end, main includes that the fpga chip of an Xilinx Kintex-7 series and JTAG downloading connect Mouthful, the hardware adaptors such as UART interface.
It is the groundwork process of Prototype Verification Platform of the invention shown in Fig. 2, specifically includes that
The RTL code of SoC design to be verified is passed through into logic synthesis in Vivado, the generation of the processes such as placement-and-routing can The bit stream file for configuring FPGA, SoC design is realized in FPGA.
Then the assembler write and C language test program are passed through to the processes such as compiling link in Keil software, it is raw At can be by the binary file or hex file of the memory reading in SoC system.
After SoC system reads in the test program of binary format and execution, debugging letter is printed by using UART module The waveform of breath or crawl signal, judges whether system correctly executes the instruction in c program.
It is the specific work steps of Prototype Verification Platform hardware components of the invention shown in Fig. 3:
1) RTL design of SoC chip to be verified is converted to the RTL design that can be realized in FPGA, mainly includes Clock resets, memory and IO Pad.
2) corresponding temporal constraint and pin constraint are write.Temporal constraint is similar with the temporal constraint in ASIC design, Final purpose is provided to guarantee that there is no setup/hold to break rules in design.Pin constraint is called physical constraint, is used for SoC The pin in port assignment to FPGA development board in design.
3) logic synthesis and cloth then are carried out by the RTL code and unbound document reading Vivado software after modification Office's wiring operations, then will be generated to bit stream file programming into fpga chip.
It is the specific work steps of Prototype Verification Platform software section of the invention shown in Fig. 4:
Software section includes the starting code write using assembler language and the test for making the modules shown a C language Code.
Assembly code and C code are compiled respectively using different compilers first, then linked using armlink All program chains are image file by device, are then reflected the ELF that ARM linker generates by format converter fromelf As being converted to the binary system or hexadecimal format that suitable ROM is read, and they are loaded directly into memory.
The above described is only a preferred embodiment of the present invention, being not intended to limit the present invention in any form.Appoint What those skilled in the art, without departing from the scope of the technical proposal of the invention, all using the side of the disclosure above Method and technology contents make many possible changes and modifications to technical solution of the present invention, or are revised as the equivalent reality of equivalent variations Apply example.Therefore, anything that does not depart from the technical scheme of the invention according to the technical essence of the invention do above embodiments Any simple modifications, equivalents, and modifications, all of which are still within the scope of protection of the technical scheme of the invention.

Claims (4)

1. a kind of Prototype Verification Platform based on FPGA, including FPGA witness plate (1), which is characterized in that the FPGA witness plate (1) JTAG download interface is connected with Xilinx downloader (2), the Xilinx downloader (2) and installation Vivado software (3) The USB interface at the end PC be connected, the JTAG of the FPGA witness plate (1) debugging port is connected with ULink emulator (4), described ULink emulator (4) is connected with the USB interface at the end PC of installation Keil software (5), the UART mould of the FPGA witness plate (1) Block pin turns USB connecting line (6) with UART and is connected, and the UART turns USB connecting line (6) and installs AccessPort software (7) The USB port at the end PC is connected.
2. a kind of Prototype Verification Platform based on FPGA as described in claim 1, which is characterized in that RTL form to be verified SoC design logic synthesis is carried out in the Vivado software (3), placement-and-routing generates the processes such as bit stream file, then It is downloaded in the FPGA witness plate (1) by the Xilinx downloader (2).
3. a kind of Prototype Verification Platform based on FPGA as described in claim 1, which is characterized in that the assembler write and For C test program by compiling in the Keil (4), the sequence of operations such as link obtain the binary system that chip core can be read Then file is downloaded in SoC chip by the ULink emulator (4).
4. a kind of Prototype Verification Platform based on FPGA as described in claim 1, which is characterized in that the ULink emulator (4) status information that can be run SoC system is transmitted to the debugging window of the Keil software (5) at the end PC.
CN201910225854.2A 2019-03-25 2019-03-25 A kind of Prototype Verification Platform based on FPGA Pending CN110110355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910225854.2A CN110110355A (en) 2019-03-25 2019-03-25 A kind of Prototype Verification Platform based on FPGA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910225854.2A CN110110355A (en) 2019-03-25 2019-03-25 A kind of Prototype Verification Platform based on FPGA

Publications (1)

Publication Number Publication Date
CN110110355A true CN110110355A (en) 2019-08-09

Family

ID=67484540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910225854.2A Pending CN110110355A (en) 2019-03-25 2019-03-25 A kind of Prototype Verification Platform based on FPGA

Country Status (1)

Country Link
CN (1) CN110110355A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110321292A (en) * 2019-08-12 2019-10-11 上海燧原智能科技有限公司 Chip detecting method, device, electronic equipment and computer readable storage medium
CN111737933A (en) * 2020-06-19 2020-10-02 浪潮(北京)电子信息产业有限公司 SOC prototype verification method, system, equipment and medium
CN111898328A (en) * 2020-07-15 2020-11-06 中国电子科技集团公司第五十八研究所 SoC prototype verification system based on FPGA
CN112580295A (en) * 2020-11-24 2021-03-30 北京智芯微电子科技有限公司 Automatic verification method, system and device for multi-core SoC chip
CN112711439A (en) * 2021-01-19 2021-04-27 天津飞腾信息技术有限公司 Automatic updating method for converting ASIC codes into FPGA codes
CN112989758A (en) * 2021-05-17 2021-06-18 芯华章科技股份有限公司 Method for synchronously resetting multiple prototype verification boards, verification system and storage medium
CN117610472A (en) * 2024-01-24 2024-02-27 上海合见工业软件集团有限公司 Ultra-large scale cluster FPGA prototype verification system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1828617A (en) * 2006-03-31 2006-09-06 电子科技大学 Software and hardware synergistic simulation/ validation system and vector mode simulation/ validation method
CN1928877A (en) * 2006-08-17 2007-03-14 电子科技大学 Verification method for SOC software and hardware integration design
CN101174283A (en) * 2007-12-03 2008-05-07 电子科技大学 Software and hardware cooperating simulation platform based on network
CN102201267A (en) * 2010-03-26 2011-09-28 上海摩波彼克半导体有限公司 Platform system for realizing circuit verification of Nandflash flash memory controller based on FPGA (Field Programmable Gate Array) and method thereof
CN105205249A (en) * 2015-09-17 2015-12-30 深圳国微技术有限公司 SOC (System on Chip) debugging validation system and software/hardware collaboration method thereof
CN106599343A (en) * 2016-11-01 2017-04-26 深圳国微技术有限公司 SOC system verification method and apparatus for improving simulation efficiency

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1828617A (en) * 2006-03-31 2006-09-06 电子科技大学 Software and hardware synergistic simulation/ validation system and vector mode simulation/ validation method
CN1928877A (en) * 2006-08-17 2007-03-14 电子科技大学 Verification method for SOC software and hardware integration design
CN101174283A (en) * 2007-12-03 2008-05-07 电子科技大学 Software and hardware cooperating simulation platform based on network
CN102201267A (en) * 2010-03-26 2011-09-28 上海摩波彼克半导体有限公司 Platform system for realizing circuit verification of Nandflash flash memory controller based on FPGA (Field Programmable Gate Array) and method thereof
CN105205249A (en) * 2015-09-17 2015-12-30 深圳国微技术有限公司 SOC (System on Chip) debugging validation system and software/hardware collaboration method thereof
CN106599343A (en) * 2016-11-01 2017-04-26 深圳国微技术有限公司 SOC system verification method and apparatus for improving simulation efficiency

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
冯博凌 等: "基于混合建模的SOC软硬件协同验证平台研究", 《单片机与嵌入式***应用》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110321292A (en) * 2019-08-12 2019-10-11 上海燧原智能科技有限公司 Chip detecting method, device, electronic equipment and computer readable storage medium
CN111737933A (en) * 2020-06-19 2020-10-02 浪潮(北京)电子信息产业有限公司 SOC prototype verification method, system, equipment and medium
CN111898328A (en) * 2020-07-15 2020-11-06 中国电子科技集团公司第五十八研究所 SoC prototype verification system based on FPGA
CN111898328B (en) * 2020-07-15 2022-08-02 中国电子科技集团公司第五十八研究所 SoC prototype verification system based on FPGA
CN112580295A (en) * 2020-11-24 2021-03-30 北京智芯微电子科技有限公司 Automatic verification method, system and device for multi-core SoC chip
CN112711439A (en) * 2021-01-19 2021-04-27 天津飞腾信息技术有限公司 Automatic updating method for converting ASIC codes into FPGA codes
CN112989758A (en) * 2021-05-17 2021-06-18 芯华章科技股份有限公司 Method for synchronously resetting multiple prototype verification boards, verification system and storage medium
CN112989758B (en) * 2021-05-17 2021-09-28 芯华章科技股份有限公司 Method for synchronously resetting multiple prototype verification boards, verification system and storage medium
CN117610472A (en) * 2024-01-24 2024-02-27 上海合见工业软件集团有限公司 Ultra-large scale cluster FPGA prototype verification system
CN117610472B (en) * 2024-01-24 2024-03-29 上海合见工业软件集团有限公司 Ultra-large scale cluster FPGA prototype verification system

Similar Documents

Publication Publication Date Title
CN110110355A (en) A kind of Prototype Verification Platform based on FPGA
CN100573537C (en) A kind of SOC chip system grade verification system and method
US6658633B2 (en) Automated system-on-chip integrated circuit design verification system
TW494325B (en) Method and apparatus for SoC design validation
Grötker System Design with SystemC™
JP4112886B2 (en) Device bus protocol compliant test method and system
US7418681B2 (en) Simulation system, simulation method and simulation program for verifying logic behavior of a semiconductor integrated circuit
US20220292248A1 (en) Method, system and verifying platform for system on chip verification
CN102521444A (en) Cooperative simulation/verification method and device for software and hardware
CN108038294B (en) UVM environment building method and system
CN104657245B (en) The automatically generating device of module level UVM verification platform based on AMBA bus
US7584456B1 (en) Method and apparatus for debugging embedded systems having read only memory
Brown Discovering the STM32 microcontroller
US5974241A (en) Test bench interface generator for tester compatible simulations
CN115562982A (en) Reference model debugging method and device, electronic equipment and storage medium
CN105701011A (en) Debugging method, electronic product applying debugging method and debugging card
CN102565683B (en) Generation and verification method of test vector
CN110134561A (en) Method and device for outputting debugging information in software and hardware collaborative verification
CN116451617A (en) Information processing method, device and application based on simulation waveform in chip simulation
CN111338753A (en) System for realizing hardware simulation of electronic control unit based on computer
CN113496108B (en) CPU model applied to simulation
Ruiz et al. Using FPGA-Based AMC Carrier Boards for FMC to Implement Intelligent Data Acquisition Applications in MTCA Systems Using OpenCL
Johnson Implementing serial bus interfaces using general purpose digital instrumentation
CN116090372B (en) FPGA-based chip simulation acceleration method and system
CN113496107B (en) Comprehensive CPU model

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190809

WD01 Invention patent application deemed withdrawn after publication