CN109542840A - A kind of SoC system - Google Patents
A kind of SoC system Download PDFInfo
- Publication number
- CN109542840A CN109542840A CN201910068704.5A CN201910068704A CN109542840A CN 109542840 A CN109542840 A CN 109542840A CN 201910068704 A CN201910068704 A CN 201910068704A CN 109542840 A CN109542840 A CN 109542840A
- Authority
- CN
- China
- Prior art keywords
- sfr
- mcu
- fpga
- unit
- data
- 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
Links
- 230000006870 function Effects 0.000 description 15
- 238000000034 method Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 238000013507 mapping Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- PBGKNXWGYQPUJK-UHFFFAOYSA-N 4-chloro-2-nitroaniline Chemical compound NC1=CC=C(Cl)C=C1[N+]([O-])=O PBGKNXWGYQPUJK-UHFFFAOYSA-N 0.000 description 1
- 101000597770 Homo sapiens Tropomodulin-1 Proteins 0.000 description 1
- 102100035291 Tropomodulin-1 Human genes 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/76—Architectures of general purpose stored program computers
- G06F15/78—Architectures of general purpose stored program computers comprising a single central processing unit
- G06F15/7807—System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
Abstract
This application provides a kind of SoC system, including: on-site programmable gate array FPGA, micro-control unit MCU, the MCU include: special function register SFR unit;MCU is connect with FPGA, for the vacant address of cache in SFR unit into FPGA, to be expanded SFR in FPGA.The application is by increasing FPGA, utilize the programmable principle of FPGA, the hollow leeway location of SFR unit is mapped in FPGA, a new available SFR is constituted in FPGA, extend the number and function of SFR in MCU system, it realizes SoC system and extends SFR according to practical application request, while keeping the programming of SoC system and control function stronger, more flexible.
Description
Technical field
The present invention relates to computer memory technical more particularly to a kind of SoC systems.
Background technique
With the development of computer technology, micro-control unit (Microcontroller Unit, MCU) has obtained swift and violent
Development.In MCU system, special function register (Special Function Register, SFR) is each function in MCU system
The corresponding register of energy component, for dynamically storing some status informations of computer operational process, and is used according to status information
In the functions such as control and arithmetic and logical unit (ALU), I/O mouthfuls of parallel series, the Timer/counter interruption system of management MCU system.Such as
In the port P0-P3, Timer/Counter T0, T1, TMOD, TCON, PCON, SCON, PSW, IE, A, B, IP etc. are SFR.
SFR is part most special in MCU system, existing system on chip (System on Chip, SoC) function
Increase and extension is manufactured almost exclusively by and increases SFR to realize.So SFR is more, programming and control function are stronger, more flexible,
But with increasing for SFR, required hardware resources are also more, and which adds costs.
For general SoC, when design, can determine the number of SFR as needed, in this way SFR in MCU system
Number and function are fixed up, and SFR cannot be flexibly extended according to practical application request, therefore cannot realize other function
Energy.
Summary of the invention
To solve the above-mentioned problems, the present invention provides a kind of SoC systems.
A kind of SoC system, including on-site programmable gate array FPGA, micro-control unit MCU, the MCU include: special function
It can register SFR unit;The MCU is connect with the FPGA, for by the vacant address of cache in the SFR unit to described
In FPGA, SFR is expanded in the FPGA.
In a kind of possible embodiment, the MCU is connected by dedicated bus with the SFR, and the MCU is to described
SFR carries out write operation.
In a kind of possible embodiment, the MCU is connected by dedicated bus with the SFR, and the MCU is to described
SFR carries out read operation.
In a kind of possible embodiment, the dedicated bus includes address bus and data/address bus, and the address is total
Line is used to for the address information of the MCU data for being stored or being read being sent to the SFR, and the data/address bus is used for will
The data stored in the MCU are sent to the SFR or the data read in the SFR are sent to the MCU.
The hollow leeway location of SFR unit is mapped to by increasing FPGA using the programmable principle of FPGA by the application
In FPGA, a new available SFR is constituted in FPGA, the number and function of SFR in MCU system is extended, realizes SoC
System extends SFR according to practical application request, while keeping the programming of SoC system and control function stronger, more flexible.
Detailed description of the invention
The attached drawing used required in embodiment or description of the prior art is briefly described below.
Fig. 1 is a kind of structural schematic diagram of SoC system provided by the embodiments of the present application;
Fig. 2 is the schematic diagram that MCU provided by the embodiments of the present application carries out read/write operation.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application is described.
It should be noted that the embodiment of the present invention is by taking 8051 single-chip microcontrollers as an example, but it is not limited only to 8051 single-chip microcontrollers, Ke Yiwei
The MCU being arbitrarily applicable in.
Existing 8051 single-chip microcontroller has the program storage unit (PSU) of 4KB, address 0000H-0FFFH.Wherein from 80H-FFH
Address location (and 128 bytes) is SFR unit, and 128 SFR are at most stored in internal data store area.And 8051 single-chip microcontrollers
In available 21 SFR be discontinuously to be distributed in the SFR unit of 128 bytes, for the SFR in other vacant addresses
User cannot be written and read.
The application proposes as shown in Figure 1 to extend the hollow remaining address of the SFR unit in existing 8051 single-chip microcontroller
A kind of SoC system comprising: micro-control unit MCU and on-site programmable gate array FPGA, wherein micro-control unit MCU packet
SFR unit is included, the MCU is connected with FPGA.
Field programmable gate array FPGA is patrolled in programmable logic array, Universal Array Logic, complex programmable
Collect the product further developed on the basis of the programming devices such as device.It is as one in application-specific integrated circuit ASIC field
It plants semi-custom circuit and occurs, not only solved the deficiency of custom circuit, but also overcome original programming device gate circuit number to have
The shortcomings that limit.FPGA has regular internal logic array and interconnection resources abundant, and programmability and height, can around the general character
Very flexibly and easily user is helped to distribute peripheral hardware pin, farthest adapts to the different application scenarios of different user.
SFR unit is working method, condition, the state for controlling, selecting, manage, storing each section inside single-chip microcontroller
With the register cell of result.For SFR in SFR unit, different SFR manages different hardware modules, is responsible for difference
Function.
The hollow leeway location of SFR unit is mapped to by increasing FPGA using the programmable principle of FPGA by the application
In FPGA, a new available SFR is constituted.Wherein this new SFR is the vacant address mapped by SFR unit and FPGA structure
At.The vacant address can carry out read/write operation in SFR unit in this way.
Thus the number and function for extending SFR in MCU system realize SoC system according to practical application request to expand
SFR is opened up, while keeping the programming of SoC system and control function stronger, more flexible.
Fig. 2 is the schematic diagram that MCU provided by the embodiments of the present application carries out read/write operation.As shown in Fig. 2, in the application SoC
In system, MCU is carried out in the detailed process of write operation:
Firstly, vacant address can be used according in SFR unit when MCU will carry out data storage, for the data that will be stored
Storage address is configured, the address information of the data of storage is then sent to by FPGA by address bus, while MCU passes through data
Bus sends the data to FPGA.
Then, after the data that FPGA receives address information and MCU is sent, the data that MCU is sent are stored into FPGA
In the new SFR that corresponding mapping address is constituted.
Finally, sending ACK information to MCU, to inform that write operation is completed after to FPGA storage.
Wherein, ACK information includes the address information that data are stored in FPGA, to be read out for MCU.
In the application SoC system, MCU is carried out in the detailed process of read operation:
Firstly, being stored in the address information in FPGA when MCU will be read out data according to data in ACK, passing through address
Bus sends the address information of data/program to FPGA, while sending reading instruction to FPGA.
It then,, will be corresponding in FPGA according to address information after FPGA receives the address information of data and reads instruction
The data that MCU to be read are stored in the new SFR that mapping address is constituted, and MCU is sent to by data/address bus.
Finally, sending ACK information to MCU, to inform that read operation is completed after reading to FPGA.
Wherein, ACK information includes the ground for the new SFR that corresponding mapping address is constituted in the FPGA of corresponding storing data
Location is blank, can be used for the storage of data.
The application constitutes a new available SFR by increasing FPGA in FPGA, and MCU can pass through new SFR pairs
Additional data are stored and are read, and to realize execution additional functionality, keep the programming of SoC system and control function stronger, more
Flexibly.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects
It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention
Protection scope, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include
Within protection scope of the present invention.
Claims (4)
1. a kind of SoC system characterized by comprising
On-site programmable gate array FPGA,
Micro-control unit MCU, the MCU include: special function register SFR unit;
The MCU is connect with the FPGA, for by the vacant address of cache in the SFR unit into the FPGA, in institute
It states and expands SFR in FPGA.
2. SoC system according to claim 1, which is characterized in that the MCU is connected by dedicated bus with the SFR,
The MCU carries out write operation to the SFR.
3. SoC system according to claim 1, which is characterized in that the MCU is connected by dedicated bus with the SFR,
The MCU carries out read operation to the SFR.
4. SoC system according to claim 2 or 3, which is characterized in that the dedicated bus includes address bus and data
Bus, the address bus are used to the address information of the MCU data for being stored or being read being sent to the SFR, institute
Data/address bus is stated for the data stored in the MCU to be sent to the SFR or are sent to the data read in the SFR
The MCU.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910068704.5A CN109542840A (en) | 2019-01-24 | 2019-01-24 | A kind of SoC system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910068704.5A CN109542840A (en) | 2019-01-24 | 2019-01-24 | A kind of SoC system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109542840A true CN109542840A (en) | 2019-03-29 |
Family
ID=65838518
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910068704.5A Pending CN109542840A (en) | 2019-01-24 | 2019-01-24 | A kind of SoC system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109542840A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110008172A (en) * | 2019-04-02 | 2019-07-12 | 广东高云半导体科技股份有限公司 | A kind of system on chip |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010005015A (en) * | 1999-06-30 | 2001-01-15 | 김영환 | Special function register map increasing method of micro controller |
KR20080028064A (en) * | 2006-09-26 | 2008-03-31 | 삼성전자주식회사 | Apparatus for extending memory in communication system |
CN104156333A (en) * | 2014-08-12 | 2014-11-19 | 成都联星微电子有限公司 | FPGA-based UART multi-interface extension system and method |
CN106371357A (en) * | 2016-08-31 | 2017-02-01 | 中国船舶重工集团公司第七〇二研究所 | Multi-chip controller based on SoC-FPGA and large-power variable flow control device |
CN209168104U (en) * | 2019-01-24 | 2019-07-26 | 京微齐力(深圳)科技有限公司 | A kind of SoC system |
-
2019
- 2019-01-24 CN CN201910068704.5A patent/CN109542840A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010005015A (en) * | 1999-06-30 | 2001-01-15 | 김영환 | Special function register map increasing method of micro controller |
KR20080028064A (en) * | 2006-09-26 | 2008-03-31 | 삼성전자주식회사 | Apparatus for extending memory in communication system |
CN104156333A (en) * | 2014-08-12 | 2014-11-19 | 成都联星微电子有限公司 | FPGA-based UART multi-interface extension system and method |
CN106371357A (en) * | 2016-08-31 | 2017-02-01 | 中国船舶重工集团公司第七〇二研究所 | Multi-chip controller based on SoC-FPGA and large-power variable flow control device |
CN209168104U (en) * | 2019-01-24 | 2019-07-26 | 京微齐力(深圳)科技有限公司 | A kind of SoC system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110008172A (en) * | 2019-04-02 | 2019-07-12 | 广东高云半导体科技股份有限公司 | A kind of system on chip |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9098402B2 (en) | Techniques to configure a solid state drive to operate in a storage mode or a memory mode | |
CN103988183B (en) | The dynamic part power-off of the memory side cache in 2 grades of hierarchy of memory | |
CN104781794B (en) | The temporary transient original place between permanent state for the data structure in nonvolatile memory changes | |
CN103150279B (en) | Method allowing host and baseboard management controller to share device | |
CN103034454B (en) | Flexible flash command | |
CN104346290A (en) | Storage device, computer system and methods of operating same | |
CN103946811A (en) | Apparatus and method for implementing a multi-level memory hierarchy having different operating modes | |
CN102184365A (en) | External data security memory architecture based on system on chip (SoC) and access control method | |
US10346345B2 (en) | Core mapping | |
CN109582605A (en) | Pass through the consistency memory devices of PCIe | |
TWI719494B (en) | Method and apparatus for controlling different types of storage units | |
TW201721356A (en) | Techniques for entry to a lower power state for a memory device | |
CN209690904U (en) | A kind of storage medium realizing BMC and being interacted with BIOS information | |
CN103927276A (en) | PCM FMC expansion board based on Zynq-7000 and working method of PCM FMC expansion board | |
CN103309626A (en) | Method for realizing multi-read-write port memorizer of network chip and corresponding memorizer | |
CN209168104U (en) | A kind of SoC system | |
CN207008602U (en) | A kind of storage array control device based on Nand Flash memorizer multichannel | |
CN109542840A (en) | A kind of SoC system | |
US11698862B2 (en) | Three tiered hierarchical memory systems | |
CN202102449U (en) | SoC (System on Chip) chip-based external program security access framework | |
CN202102448U (en) | SoC (System on Chip)-based external-data safe-storing framework | |
CN110489051A (en) | The programmed method of data memory device and system information | |
US20230176966A1 (en) | Methods and apparatus for persistent data structures | |
CN102855162B (en) | A kind of data-updating method, data update system and memorizer | |
CN106919343A (en) | Perimeter interface circuit and Perimeter memory system |
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 |