CN102955872A - Simulator with parameter transmission function - Google Patents
Simulator with parameter transmission function Download PDFInfo
- Publication number
- CN102955872A CN102955872A CN201110255447XA CN201110255447A CN102955872A CN 102955872 A CN102955872 A CN 102955872A CN 201110255447X A CN201110255447X A CN 201110255447XA CN 201110255447 A CN201110255447 A CN 201110255447A CN 102955872 A CN102955872 A CN 102955872A
- Authority
- CN
- China
- Prior art keywords
- parameter
- module
- chip
- emulator
- simulator
- 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.)
- Granted
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a simulator with a parameter transmission function, and relates to the technical field of chip simulation. The simulator comprises simulator software and simulator hardware, wherein the simulator hardware comprises a chip function module, a control module, a selection module, a register and a storage device; the simulator software writes parameters into the storage device through the control module; the register produces a parameter updating signal and triggers the chip function module to automatically read the parameters in the storage device; under the control of the simulator software, the chip function module can write chip parameters into the storage device; and the control module directly reads the parameters in the storage device. According to the simulator, the storage device is used for transmitting the parameters, so that the problem that a large number of registers are occupied during parameter transmission of the simulator software and the simulator hardware is solved; and a way for mutual transmission between the simulator software and the simulator hardware is supplied. According to the simulator implemented by using a parameter transmission method, a debugging function is enhanced, the chip development progress is accelerated, and chips can be facilitated to be quickly put into the market.
Description
Technical field
The present invention relates to a kind of chip emulator, particularly a kind of emulator of realizing the parameter propagation function based on storer.
Background technology
Chip emulator is realized difference in functionality and the performance of chip by parameter setting, for example open and close of each functional module in the chip, change of the setting of frequency of operation, memory read/write speed etc.; The duty of chip, internal data require can check by emulator simultaneously.This needs emulator software and emulator hardware to have the parameter propagation function.The simulator parameters propagation function typically uses chip register or the emulator register is realized, this implementation method has following two drawbacks:
1) take chip register, need to be thought of as emulator reservation register address during chip design, increase the chip design difficulty, these emulator special registers of the easy maloperation of user simultaneously, thereby cause chip emulation make mistakes or chip operation unusual; Because chip register address number is limited, can bring difficulty to chip design if realize a large amount of emulator special registers.
2) make up the emulator register, do not take chip address, but realize the tired rope of read-write capability design comparison of these registers, realize that a large amount of registers are more difficult.
For overcoming the above problems, the present invention proposes a kind of emulator of realizing the parameter propagation function based on storer.
Summary of the invention
Technical matters solved by the invention is how to use a kind of emulator with quantity of parameters propagation function of a small amount of register design.
Emulator of the present invention comprises emulator software and emulator hardware two parts: emulator software is used for setting and the demonstration of parameter, the control chip operation, and emulator hardware mainly is the emulation chip function, usually utilizes FPGA to realize.Emulator hardware comprises chip functions module, control module, selection module, register, storer, wherein the chip functions module is used for realizing chip functions, control module, selection module, RS are realized the parameter transmission jointly, to chip controls, monitoring function.
Utilize memory span large, storer is realized the characteristic of read-write capability easily in emulator, deposits parameter with storer and realizes the parameter propagation function.A parameter is deposited in each storage address unit, first with the parameter read-in storer, writes register by control module again and produces parameter update signal, parameter in the automatic read memory of flip chip functional module.Emulator software checks that simulator parameters has two kinds of situations: check the parameter of setting, only need read the memory data of appropriate address; Check the chip current state parameter, write register by control module first and produce the parameter read signal that the flip chip functional module is to storer appropriate address write parameters, again by the control module reading memory data.When user's operational simulation device carries out the parameter setting and checks, only need to send by emulator software the order of read and write storer, control module is finished the parameter transmission with the chip functions module automatically.
The present invention provides a kind of method for the transmission of chip emulator parameter, and chip design and design of Simulator are fully independent.Emulator of the present invention can conveniently carry out the setting of parameter and check, makes the emulator function more flexible, improves simulation efficiency, saves cost of development.
Description of drawings
Fig. 1 is the emulator structural representation that the present invention has the parameter propagation function.
Embodiment
Below in conjunction with accompanying drawing emulator of the present invention is elaborated.
Emulator 1 comprises emulator software 2 and emulator hardware 3 as shown in the figure, and wherein emulator hardware 3 comprises control module 4, register 5, chip functions module 6, selects module 7, storer 8.
Emulator software 2 passes to control module 4 with the parameter of user's setting or the information of control, also can read from control module 4 parameter of setting, perhaps reads the parameter that chip functions module 6 is returned.Control module 4 is write register 5 according to the setting of emulator software 2 and is produced access control signal 9, controls by access control signal 9 and selects module 7, selects control module 4 or chip functions module 6 operational stores 8; Parameter update signal 10, parameter read signal 11 that control module 4 is write register 5 generations pass to chip functions module 6.
All parameters all leave different address locations in the storer 8 in the emulator, emulator software 2 arranges control module 4 and writes register 5 generation access control signals 9, control selects module 7 to make control module 4 and storer 8 swap datas, and emulator software 2 can directly be read parameter in the storer 8 by control module 4.The method is for the parameter of checking setting.
Emulator software 2 passes to parameter the method for chip functions module 6:
Emulator software 2 is write register 5 by control module 4, produces access control signal 9 and makes control module 4 be connected to storer 8, and pass through control module 4 with parameter successively write store 8 assigned address unit.Write register 5 by control module 4 again, produce access control signal 9 and make chip functions module 6 be connected to storer 8, produce simultaneously parameter update signal 10, the parameter that writes in the flip chip functional module 6 automatic read memories 8.
Chip functions module 6 passes to parameter the method for emulator software 2:
Emulator software 2 is write register 5 by control module 4, produces access control signal 9 and makes chip functions module 6 be connected to storer 8, produces simultaneously parameter read signal 11, and flip chip functional module 6 is from trend storer assigned address write parameters.Write register 5 by control module 4 again, produce access control signal 9 and make control module 4 be connected to storer 8, emulator software 2 is by the parameter in control module 4 read memories 8.
Claims (4)
1. the emulator that has the parameter propagation function is characterized in that using storer to realize the transmission of simulator parameters, is used for the artificial debugging to chip, comprising:
Emulator software is used for setting and the demonstration of parameter;
The chip functions module arranges the emulation chip function by parameter;
Storer is for the parameter of depositing and transmit emulator;
Select module, be used for selecting reference-to storage;
Register produces chip functions module and the control signal of selecting module;
Control module, to carry out parameter mutual with emulator software, and register is carried out write operation, and control selects module that storer is carried out read-write operation;
Wherein:
Emulator software by control module with parameter elder generation write store, write register by control module again and produce the parameter update signal, the parameter of assigned address in the automatic read memory of flip chip functional module, emulator software shows by the parameter that arranges in the control module read memory;
Emulator software is write register by control module and is produced the parameter read signal, and the flip chip functional module is to storer assigned address write parameters, and emulator software shows by the parameter in the direct read memory of control module.
2. the emulator with parameter propagation function according to claim 1, when it is characterized in that by described memory transfer parameter, all parameters leave in the storer, and do not need to take register.
3. the emulator with parameter propagation function according to claim 1, it is characterized in that described control module is according to the setting of emulator software, write register and produce the access control signal, select module to select control module or chip functions module operation storer.
4. the emulator with parameter propagation function according to claim 1 is characterized in that described storer adopts general sram chip or the RAM in the fpga chip to realize.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110255447.XA CN102955872B (en) | 2011-08-31 | 2011-08-31 | There is the emulator of parameter propagation function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110255447.XA CN102955872B (en) | 2011-08-31 | 2011-08-31 | There is the emulator of parameter propagation function |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102955872A true CN102955872A (en) | 2013-03-06 |
CN102955872B CN102955872B (en) | 2016-05-04 |
Family
ID=47764676
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110255447.XA Active CN102955872B (en) | 2011-08-31 | 2011-08-31 | There is the emulator of parameter propagation function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102955872B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104680059A (en) * | 2013-12-03 | 2015-06-03 | 北京中电华大电子设计有限责任公司 | Emulator for protecting chip firmware program and method thereof |
CN105045647A (en) * | 2014-12-09 | 2015-11-11 | 北京中电华大电子设计有限责任公司 | Emulator supporting NVM rapid page programming |
CN107219839A (en) * | 2017-03-29 | 2017-09-29 | 北京广利核***工程有限公司 | I&C system parameter tuning method and device based on FPGA |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1217506A (en) * | 1997-11-07 | 1999-05-26 | 日本电气株式会社 | High-speed buffer storage system |
US20070162270A1 (en) * | 2006-01-12 | 2007-07-12 | International Business Machines Corporation | Concealment of external array accesses in a hardware simulation accelerator |
CN101084485A (en) * | 2004-04-29 | 2007-12-05 | 爱特梅尔股份有限公司 | Apparatus and method for improving emulation speed of high-level languages in on-chip emulation systems |
CN101329649A (en) * | 2007-06-20 | 2008-12-24 | 上海华虹集成电路有限责任公司 | Display apparatus of EEPROM in emulator |
CN102110045A (en) * | 2009-12-24 | 2011-06-29 | 上海华虹集成电路有限责任公司 | Simulator for displaying debugging information in real time |
-
2011
- 2011-08-31 CN CN201110255447.XA patent/CN102955872B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1217506A (en) * | 1997-11-07 | 1999-05-26 | 日本电气株式会社 | High-speed buffer storage system |
CN101084485A (en) * | 2004-04-29 | 2007-12-05 | 爱特梅尔股份有限公司 | Apparatus and method for improving emulation speed of high-level languages in on-chip emulation systems |
US20070162270A1 (en) * | 2006-01-12 | 2007-07-12 | International Business Machines Corporation | Concealment of external array accesses in a hardware simulation accelerator |
CN101329649A (en) * | 2007-06-20 | 2008-12-24 | 上海华虹集成电路有限责任公司 | Display apparatus of EEPROM in emulator |
CN102110045A (en) * | 2009-12-24 | 2011-06-29 | 上海华虹集成电路有限责任公司 | Simulator for displaying debugging information in real time |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104680059A (en) * | 2013-12-03 | 2015-06-03 | 北京中电华大电子设计有限责任公司 | Emulator for protecting chip firmware program and method thereof |
CN104680059B (en) * | 2013-12-03 | 2017-11-03 | 北京中电华大电子设计有限责任公司 | The emulator and method of a kind of protection chip firmware program |
CN105045647A (en) * | 2014-12-09 | 2015-11-11 | 北京中电华大电子设计有限责任公司 | Emulator supporting NVM rapid page programming |
CN105045647B (en) * | 2014-12-09 | 2020-08-04 | 北京中电华大电子设计有限责任公司 | Emulator supporting NVM rapid page programming |
CN107219839A (en) * | 2017-03-29 | 2017-09-29 | 北京广利核***工程有限公司 | I&C system parameter tuning method and device based on FPGA |
Also Published As
Publication number | Publication date |
---|---|
CN102955872B (en) | 2016-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102087606B (en) | FPGA configuration file update device | |
CN106940428A (en) | Chip verification method, apparatus and system | |
CN101295280B (en) | Automatic software debugging method and system | |
CN100461105C (en) | Update and repair method of intellectualized equipment and system thereof | |
CN100422953C (en) | On-line debugging method for SoC system using HDL to expand serial port | |
CN109313617A (en) | Load reduced non-volatile memory interface | |
CN101694512A (en) | Test circuit and on-chip system | |
CN103117797B (en) | High-speed load data analog source | |
CN103365701B (en) | Work method of analog card reader and analog communication system | |
CN103440111B (en) | The extended method in magnetic disk of virtual machine space, host and platform | |
CN103984240A (en) | Distributed real-time simulation method based on reflective memory network | |
CN111190855A (en) | FPGA multiple remote configuration system and method | |
CN103440200B (en) | A kind of height based on dual operating systems real-time big data quantity test back method | |
CN102955872B (en) | There is the emulator of parameter propagation function | |
CN201732160U (en) | Dual-interface radar data recorder | |
CN109117205A (en) | A kind of dual chip loading method based on MCU and FPGA | |
CN111176926A (en) | IP (Internet protocol) core simulation system and simulation method based on double-port SRAM (static random Access memory) | |
CN106024036A (en) | FPGA-based multi-channel audio data format conversion method | |
CN102708075A (en) | Secure digital (SD) memory card hardware control device and control method | |
CN105955919A (en) | Implementation method of reading-writing NANDFlash by multiple MCUs based on FPGA (Field Programmable Gate Array) | |
CN116560688B (en) | Software updating method for domain controller | |
Lu et al. | The reading/writing SD card system based on FPGA | |
CN103324589A (en) | SD (secure digital memory card) control system | |
CN109189404A (en) | Data programming device, programming method and computer storage medium | |
CN101866695B (en) | Method for Nandflash USB controller to read and write Norflash memory |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 102209 Beijing, Beiqijia, the future of science and technology in the south area of China electronic network security and information technology industry base C building, Applicant after: Beijing CEC Huada Electronic Design Co., Ltd. Address before: 100102 Beijing City, Chaoyang District Lize two Road No. 2, Wangjing science and Technology Park A block five layer Applicant before: Beijing CEC Huada Electronic Design Co., Ltd. |
|
COR | Change of bibliographic data | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |