CN106485020B - Processor chips emulator with nonvolatile memory - Google Patents
Processor chips emulator with nonvolatile memory Download PDFInfo
- Publication number
- CN106485020B CN106485020B CN201610929709.9A CN201610929709A CN106485020B CN 106485020 B CN106485020 B CN 106485020B CN 201610929709 A CN201610929709 A CN 201610929709A CN 106485020 B CN106485020 B CN 106485020B
- Authority
- CN
- China
- Prior art keywords
- equivalent
- control logic
- memory
- performance
- logic module
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
Abstract
The processor chips emulator implementation method with nonvolatile memory that the invention discloses a kind of, when equivalent control logic module is in user mode, analog equivalent nonvolatile memory read-write operation timing control function and performance, cooperation SRAM memory together in equivalent product chip nonvolatile memory read-write operation timing, function and performance;When user program out of service, when user downloads code, filling or modification data to non-volatile memory by Integrated Development Environment software, monitoring module control equivalent control logic module is in monitoring mode, equivalent control logic module is equivalent to SRAM memory operation timing, function and the performance of standard together with SRAM memory, and the operation standard SRAM memory instruction that Integrated Development Environment software issues directly accesses and operate this block non-volatile memory.While the present invention can guarantee emulator functional performance authenticity, the ease for use and debugging performance of emulator are improved.
Description
Technical field
The present invention relates to emulator fields, emulate more particularly to a kind of processor chips with nonvolatile memory
Device.
Background technique
There is the user program of User Exploitation in processor chips, in the writing and debug of user program, used work
Tool is usually emulator.The emulation chip comprising product treatment device chip various functions is used in emulator, is used for analog equipment
The work behavior of processor chips, emulation chip and the other components of emulator (program storage, the storage number of storage user program
According to data storage and user computer on Integrated Development Environment etc.) cooperation realizes the simulation run of user program and each
Item debugging function.
Many processor chips have nonvolatile memory, such as EEPROM (Electrically Erasable
Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory) etc., it can be used as program storage or number
It is used according to memory, the functional characteristic that data are not lost after realization power down.Existing emulator is usually to use SRAM (Static
Random Access Memory, static random access memory) add memory equivalent control logic (to be equivalent to memory control
Device, such as EEPROM Control realize the analog equivalent on the memory read/write operation timing) come in equivalent substitution product chips
Nonvolatile memory, it is equivalent in function and performance with nonvolatile memory in real chip to accomplish as far as possible.
But the matching used Integrated Development Environment of emulator is all the debugging software of standard, such as KEIL, MDK, IAR etc..User is logical
Cross memory downloading code of the Integrated Development Environment interface into emulator, by the window memory of Integrated Development Environment to imitative
It is all directly to issue destination address and data, not nationwide examination for graduation qualification by operation SRAM mode when the memory of true device fills, rewrites data
If considering target memory is nonvolatile memory, need according to corresponding mode of operation and sequential operation, so existing imitative
Usually there are two types of implementations for true device, and it is special that nonvolatile memory is made into pure SRAM directly in emulator by the first
Property, to ensure that the Integrated Development Environment by standard can be operated directly, but it will cause nonvolatile memory in emulator and exist
It is inconsistent with product chips in function, performance;Second is that SRAM adds equivalent control logic to substitute nonvolatile memory
Mode, it is ensured that the consistency of functional performance, but need to ask Integrated Development Environment manufacturer or voluntarily increase in Integrated Development Environment
Storage operation patch is customized for the memory location, size, characteristic of the chip of oneself.But emulator debugs user's journey
The consistency for only just paying close attention to memory function performance and product chips when sequence when full speed executes user program is stopping executing
User program, when by Integrated Development Environment downloading, modification and filling memory content, be not concerned with the functional performance of memory with
The consistency of product chips, and more concerned with performances such as speed of download, filling response speeds, using the second way due to increasing
One layer of patch layer, when downloading, filling and modification require by, can make to debug performance decline, meanwhile, need for different chips
Different non-volatile memory characteristics remove production patch layer, also cumbersome.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of processor chips emulator with nonvolatile memory,
While guaranteeing emulator functional performance authenticity, the ease for use and debugging performance of emulator can be improved.
In order to solve the above technical problems, the processor chips emulator with nonvolatile memory of the invention, comprising:
Emulation chip, monitoring module, the Integrated Development Environment software being mounted on user computer;The emulation chip includes
Processor, equivalent control logic module and SRAM memory;The SRAM memory by the first normal data/address bus with
The connection of equivalent control logic module, the equivalent control logic module are connected by the second normal data/address bus and processor
It connects, the monitoring module is connect by mode control signal line with the equivalent control logic module in the emulation chip;It is described
Monitoring module carries out information transmission by debugging channel and Integrated Development Environment software;
When the equivalent control logic module is in user mode, analog equivalent nonvolatile memory read-write operation timing
Control function and performance, cooperation SRAM memory together the read-write operation timing of nonvolatile memory in equivalent product chip,
Function and performance;
When user program out of service, user downloads generation to non-volatile memory by Integrated Development Environment software
When code, filling or modification data, monitoring module control equivalent control logic module is in monitoring mode, equivalent control logic module
It is equivalent to transparent channel, SRAM memory operation timing, function and the performance of standard are equivalent to together with SRAM memory, is integrated
The operation standard SRAM memory instruction that exploitation environment software is issued in a manner of the addend evidence of address directly accesses and operates this block
Non-volatile memory.
Using emulator of the invention in full speed running user program, true equivalent product chip nonvolatile memory
Function and performance, user program out of service, by Integrated Development Environment software to non-volatile memory download generation
When code, filling or modification data, without make or using Integrated Development Environment software memory interface patch, standard is integrated to be opened
Hair environment software can normally and rapidly operate code and data in non-volatile memory.Guarantee emulator function
Can performance authenticity while, improve emulator ease for use and debugging performance, facilitate user program exploitation, debugging and
Test, helps to improve code development efficiency.
Detailed description of the invention
The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments:
Fig. 1 is the processor chips emulator structural schematic diagram with nonvolatile memory.
Specific embodiment
As shown in Figure 1, the processor chips emulator with nonvolatile memory, including emulation chip 2, monitoring
Module 3, the Integrated Development Environment software 7 being mounted on user computer.The emulation chip 2 includes processor 4, and equivalent control is patrolled
Collect module 5, SRAM memory 6.The SRAM memory 6 passes through the first normal data/address bus 9 and equivalent control logic mould
Block 5 connects, and the equivalent control logic module 5 is connect by the second normal data/address bus 8 with processor 4, the monitoring
Module 3 is connect by mode control signal line 11 with the equivalent control logic module 5 in the emulation chip 2.The monitoring mould
Block 3 carries out information transmission by debugging channel 10 and Integrated Development Environment software 7.
The Integrated Development Environment software 7 issues debugging instruction to monitoring module 3 by debugging channel 10, receives return
Response.The monitoring module 3 controls equivalent control logic module 5 by mode control signal line 11 and is in user mode or monitoring
Mode.When the equivalent control logic module 5 is in user mode, analog equivalent nonvolatile memory read-write operation timing control
Function and performance processed, cooperation SRAM memory 6 the read-write operation timing of nonvolatile memory, function in equivalent product chip together
Energy and performance;It is transparent channel function when the equivalent control logic module 5 is in monitoring mode, in function and performance quite
In the second normal data being connect with processor 4/address bus 8 and the first normal data being connect with SRAM memory 6/ground
Location bus 9 is directly connected.
In this way, the emulator realized, in full speed running user program, monitoring module 3 controls equivalent control logic module
5 are in user mode, equivalent control logic module 5 and the SRAM memory 6 together equivalent implementation behaviour of nonvolatile memory
Make timing, function and performance, when ensure that user program executes at full speed, real simulation product chips nonvolatile memories
Function and performance.When user program out of service, user is by Integrated Development Environment software 7 under non-volatile memory
When carrying code, filling or modification data, monitoring module 3 controls equivalent control logic module 5 and is in monitoring mode, and equivalent control is patrolled
Volume module 5 is equivalent to transparent channel, with SRAM memory 6 be equivalent to together SRAM memory operation timing of standard, function and
Performance, the operation standard SRAM memory instruction that Integrated Development Environment software 7 is issued in a manner of the addend evidence of address can be direct
This block non-volatile memory is accessed and operated, the memory interface of Integrated Development Environment is made or used without specific aim
Patch, simultaneously as without patch layer, and with the simple SRAM memory operational order operation of most standard, standard Integrated Development
Environment can very efficiently, rapidly operate code and data in non-volatile memory.
Above by specific embodiment, invention is explained in detail, but these are not constituted to of the invention
Limitation.Without departing from the principles of the present invention, those skilled in the art can also make many modification and improvement, these
It should be regarded as protection scope of the present invention.
Claims (3)
1. a kind of processor chips emulator with nonvolatile memory characterized by comprising emulation chip, monitoring
Module, the Integrated Development Environment software being mounted on user computer;The emulation chip includes processor, equivalent control logic mould
Block and SRAM memory;The SRAM memory is connect by the first normal data/address bus with equivalent control logic module,
The equivalent control logic module is connect by the second normal data/address bus with processor, and the monitoring module passes through mould
Formula control signal wire is connect with the equivalent control logic module in the emulation chip;The monitoring module by debugging channel with
Integrated Development Environment software carries out information transmission;
When the equivalent control logic module is in user mode, analog equivalent nonvolatile memory read-write operation timing control
Function and performance, cooperation SRAM memory together in equivalent product chip nonvolatile memory read-write operation timing, function
And performance;
When user program out of service, user by Integrated Development Environment software to non-volatile memory download code,
When filling or modification data, monitoring module control equivalent control logic module is in monitoring mode, equivalent control logic module phase
It is integrated to open when SRAM memory operation timing, function and the performance in transparent channel, being equivalent to standard together with SRAM memory
It is non-that the operation standard SRAM memory instruction that hair environment software is issued in a manner of the addend evidence of address directly accesses and operate this block
Volatile memory area.
2. processor chips emulator as described in claim 1, it is characterised in that: the equivalent control logic module is in prison
It is transparent channel function when control mode, is equivalent in function and performance the second normal data connected to the processor/address is total
Line and the first normal data connecting with SRAM memory/address bus are directly connected.
3. processor chips emulator as claimed in claim 1 or 2, it is characterised in that: the Integrated Development Environment software is logical
Toning pings to monitoring module and issues debugging instruction, receives the response of return;The monitoring module passes through mode control signal
Line traffic control equivalent control logic module is in user mode or monitoring mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610929709.9A CN106485020B (en) | 2016-10-31 | 2016-10-31 | Processor chips emulator with nonvolatile memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610929709.9A CN106485020B (en) | 2016-10-31 | 2016-10-31 | Processor chips emulator with nonvolatile memory |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106485020A CN106485020A (en) | 2017-03-08 |
CN106485020B true CN106485020B (en) | 2019-10-01 |
Family
ID=58271241
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610929709.9A Active CN106485020B (en) | 2016-10-31 | 2016-10-31 | Processor chips emulator with nonvolatile memory |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106485020B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107577520A (en) * | 2017-09-26 | 2018-01-12 | 上海市信息网络有限公司 | Processor chips emulator with nonvolatile memory |
CN109977024A (en) * | 2019-04-03 | 2019-07-05 | 北京智芯微电子科技有限公司 | The cpu chip emulator for supporting NVM to download in real time |
CN114442506A (en) * | 2021-12-06 | 2022-05-06 | 埃夫特智能装备股份有限公司 | Simulation debugging platform based on virtual robot controller and debugging method thereof |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101114241A (en) * | 2006-07-25 | 2008-01-30 | 上海华虹集成电路有限责任公司 | Non-contacting intelligent card emluator |
JP2011076295A (en) * | 2009-09-30 | 2011-04-14 | Hitachi Ltd | Built-in controller |
CN102467444A (en) * | 2010-11-11 | 2012-05-23 | 上海华虹集成电路有限责任公司 | Simulation debugging system for special function register |
CN103207824A (en) * | 2012-01-13 | 2013-07-17 | 上海华虹集成电路有限责任公司 | Simulator free from interference of resetting in monitor mode |
CN103677954A (en) * | 2012-09-25 | 2014-03-26 | 上海华虹集成电路有限责任公司 | Emulator |
CN104346207A (en) * | 2013-07-31 | 2015-02-11 | 上海华虹集成电路有限责任公司 | Simulator |
CN105487968A (en) * | 2014-10-09 | 2016-04-13 | 上海华虹集成电路有限责任公司 | Simulator capable of equivalently realizing EEPROM (Electrically Erasable Programmable Read-Only Memory) |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4001088B2 (en) * | 2002-10-25 | 2007-10-31 | 株式会社デンソー | Electronic control unit |
-
2016
- 2016-10-31 CN CN201610929709.9A patent/CN106485020B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101114241A (en) * | 2006-07-25 | 2008-01-30 | 上海华虹集成电路有限责任公司 | Non-contacting intelligent card emluator |
JP2011076295A (en) * | 2009-09-30 | 2011-04-14 | Hitachi Ltd | Built-in controller |
CN102467444A (en) * | 2010-11-11 | 2012-05-23 | 上海华虹集成电路有限责任公司 | Simulation debugging system for special function register |
CN103207824A (en) * | 2012-01-13 | 2013-07-17 | 上海华虹集成电路有限责任公司 | Simulator free from interference of resetting in monitor mode |
CN103677954A (en) * | 2012-09-25 | 2014-03-26 | 上海华虹集成电路有限责任公司 | Emulator |
CN104346207A (en) * | 2013-07-31 | 2015-02-11 | 上海华虹集成电路有限责任公司 | Simulator |
CN105487968A (en) * | 2014-10-09 | 2016-04-13 | 上海华虹集成电路有限责任公司 | Simulator capable of equivalently realizing EEPROM (Electrically Erasable Programmable Read-Only Memory) |
Non-Patent Citations (1)
Title |
---|
非易失性铁电存储器芯片FM1808原理及其应用;刘德赞等;《电子设计》;20050131;第21卷(第1期);第143-144页 * |
Also Published As
Publication number | Publication date |
---|---|
CN106485020A (en) | 2017-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104541242B (en) | The flexible acceleration that code executes | |
CN106485020B (en) | Processor chips emulator with nonvolatile memory | |
CN101344899B (en) | Simulation test method and system of on-chip system | |
CN105204393A (en) | Single-chip microcomputer production research and development tool based on virtual nucleus single-chip microcomputer and realization method thereof | |
CN104461859B (en) | A kind of emulator and method for supporting the soft debugging breakpoints of NVM | |
CN102622257A (en) | On-line meter self-updating method and device | |
US20100280817A1 (en) | Direct pointer access and xip redirector for emulation of memory-mapped devices | |
CN104035757A (en) | MIPS-based (microprocessor without interlocked piped stages-based) U-boot (universal boot loader) transplantation implementing method | |
CN103207824B (en) | Not by the emulator of the interference that resets under monitoring mode | |
CN109416667A (en) | With dynamic and configurable response, serial device emulator using two storage levels | |
CN102193860B (en) | Microcontroller online debugging circuit and method as well as microcontroller | |
CN106018993A (en) | Wave recording realization method of channel dynamic configuration | |
CN103678751B (en) | Processor chips emulation debugging system | |
CN211878599U (en) | Simulation verification system applied to field editable gate array FPGA | |
CN103324589A (en) | SD (secure digital memory card) control system | |
CN105573924B (en) | Analogue system | |
CN207281743U (en) | Processor chips emulator with nonvolatile memory | |
CN109542484A (en) | A kind of method and system of online updating FPGA configuration chip | |
CN104346207A (en) | Simulator | |
CN108334313A (en) | Continuous integrating method, apparatus and code management system for large-scale SOC research and development | |
CN103678073A (en) | Simulation system | |
CN208384555U (en) | Processor chips emulator | |
US10585615B1 (en) | Virtual flash system | |
CN112885403A (en) | Function test method, device and equipment of Flash controller | |
JP2013020425A (en) | Hardware and software cooperative verification method using open source software |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |