CN111078288A - RISC core storage access instruction circuit in command processor - Google Patents
RISC core storage access instruction circuit in command processor Download PDFInfo
- Publication number
- CN111078288A CN111078288A CN201911147447.0A CN201911147447A CN111078288A CN 111078288 A CN111078288 A CN 111078288A CN 201911147447 A CN201911147447 A CN 201911147447A CN 111078288 A CN111078288 A CN 111078288A
- Authority
- CN
- China
- Prior art keywords
- lsu
- unit
- risc core
- command processor
- instruction circuit
- 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
- 230000015654 memory Effects 0.000 claims abstract description 17
- 238000010586 diagram Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/30003—Arrangements for executing specific machine instructions
- G06F9/3004—Arrangements for executing specific machine instructions to perform operations on memory
- G06F9/30043—LOAD or STORE instructions; Clear instruction
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Executing Machine-Instructions (AREA)
Abstract
The invention belongs to the technical field of integrated circuits, and relates to a RISC core memory access instruction circuit in a command processor (CMD). The invention includes LSU _ R (access interface register Unit), LSU _ G (access GSU Unit), LSU _ D (access Dcache Unit). The LSU unit is used for realizing data exchange between the RISC core and different memories, and the LSU unit can be used for accessing and storing: interface registers, GSU units, Dcache units. The present LSU is capable of supporting pipelining while being able to handle data exchanges for different memories.
Description
Technical Field
The invention belongs to the technical field of integrated circuits, and relates to a RISC core memory access instruction circuit in a command processor (CMD).
Background
In a RISC core in a command processor (CMD), an LSU unit is used to implement data exchange between the RISC core and an external memory. Data exchange between the RISC core and the memory occurs frequently, and the performance of the LSU also substantially affects the operating speed of the entire RISC core. This requires the LSU to support pipelining while handling data exchanges for different memories.
Disclosure of Invention
The purpose of the invention is:
the present invention provides a RISC core memory access instruction circuit in a command processor (CMD) to enable data exchange between the RISC core and a memory.
The technical solution of the invention is as follows:
a RISC core memory access instruction circuit in a command processor (CMD), characterized by: LSU _ R, LSU _ G, LSU _ D has 3 cells in total.
The external instruction fetch decoding unit sends the received LD and ST instructions to the LSU _ R unit, and the LSU _ R unit converts the LD and ST instructions into loading or storage access to an interface register and replies a completion signal to instruction fetch decoding according to a fixed period;
the external instruction fetch decoding unit sends the received LD.G and ST.G instructions to the LSU _ G unit, the LSU _ G unit converts the instructions into loading or storage access to the GSU, 128 bits can be accessed once, and after the GSU loading or storage is finished, the LSU _ G unit replies a finishing signal of the GSU to the instruction fetch decoding unit;
the external instruction fetching decoding unit sends the received LD.D and ST.D instructions to the LSU _ D unit, the LSU _ D unit converts the instructions into load or storage access to Dcache, and after the load or storage is finished, the LSU _ G unit replies a finishing signal of Dcache to the instruction fetching decoding unit.
Drawings
FIG. 1 is a block diagram of the present invention;
wherein: 1. an LSU _ R unit; 2. an LSU _ G unit; 3. LSU _ D unit.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The technical scheme of the invention is further described in detail by combining the drawings and the specific embodiments in the specification.
The present invention provides a RISC core memory access instruction circuit in a command processor (CMD) to enable data exchange between the RISC core and a memory.
The technical solution of the invention is as follows:
in one embodiment of the present invention, as shown in fig. 1, a RISC core memory access instruction circuit in a command processor (CMD) is provided, which includes an LSU _ R unit 1, an LSU _ G unit 2, and an LSU _ D unit 3.
The external instruction fetch decoding unit sends the received LD and ST instructions to the LSU _ R unit 1, and the LSU _ R unit 1 converts the LD and ST instructions into loading or storage access to an interface register and replies a completion signal to instruction fetch decoding according to a fixed period;
the external instruction fetch decoding unit sends the received LD.G and ST.G instructions to the LSU _ G unit 2, the LSU _ G unit 2 converts the instructions into load or storage access to the GSU, 128 bits can be accessed once, and after the GSU load or storage is finished, the LSU _ G unit 2 replies a finishing signal of the GSU to the instruction fetch decoding unit;
the external instruction fetch decoding unit sends the received LD.D and ST.D instructions to the LSU _ D unit 3, the LSU _ D unit 3 converts the instructions into load or store access to Dcache, and after the load or store is completed, the LSU _ G unit 2 returns a completion signal of Dcache to the instruction fetch decoding unit.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (4)
1. A RISC core memory access instruction circuit in a command processor, comprising: the LSU _ R unit comprises an LSU _ R unit (1), an LSU _ G unit (2) and an LSU _ D unit (3).
2. A RISC core memory access instruction circuit in a command processor of claim 1, wherein: the LSU _ R unit (1) is provided with an access interface for an interface register, and the RISC core loads or stores the interface register through LD and ST instructions through the LSU _ R unit (1).
3. A RISC core memory access instruction circuit in a command processor of claim 1, wherein: the LSU _ G unit (2) is provided with an access interface for the GSU module, the RISC core loads or stores the GSU module through the LSU _ G unit (2) through LD.G and ST.G instructions, and the access bit width is 128 bits.
4. A RISC core memory access instruction circuit in a command processor of claim 1, wherein: the LSU _ D unit (3) has an access interface to Dcache, and the RISC core loads or stores Dcache through LD and ST instructions via the LSU _ R unit (1).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911147447.0A CN111078288A (en) | 2019-11-21 | 2019-11-21 | RISC core storage access instruction circuit in command processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911147447.0A CN111078288A (en) | 2019-11-21 | 2019-11-21 | RISC core storage access instruction circuit in command processor |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111078288A true CN111078288A (en) | 2020-04-28 |
Family
ID=70311573
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911147447.0A Pending CN111078288A (en) | 2019-11-21 | 2019-11-21 | RISC core storage access instruction circuit in command processor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111078288A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101615114A (en) * | 2009-07-31 | 2009-12-30 | 清华大学 | Finish the microprocessor realizing method of multiplication twice, addition twice and displacement twice |
CN101751244A (en) * | 2010-01-04 | 2010-06-23 | 清华大学 | Microprocessor |
-
2019
- 2019-11-21 CN CN201911147447.0A patent/CN111078288A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101615114A (en) * | 2009-07-31 | 2009-12-30 | 清华大学 | Finish the microprocessor realizing method of multiplication twice, addition twice and displacement twice |
CN101751244A (en) * | 2010-01-04 | 2010-06-23 | 清华大学 | Microprocessor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9063860B2 (en) | Method and system for optimizing prefetching of cache memory lines | |
KR101252744B1 (en) | Systems and methods for cache line replacement | |
US20150143045A1 (en) | Cache control apparatus and method | |
CN112631961B (en) | Memory management unit, address translation method and processor | |
CN105027213A (en) | Programmable address mapping and memory access operations | |
US11436146B2 (en) | Storage control apparatus, processing apparatus, computer system, and storage control method | |
CN108628638A (en) | Data processing method and device | |
CN113900974B (en) | Storage device, data storage method and related equipment | |
US8359433B2 (en) | Method and system of handling non-aligned memory accesses | |
US20230401060A1 (en) | Processing unit, computing device and instruction processing method | |
CN104216684A (en) | Multi-core parallel system and data processing method thereof | |
US8200900B2 (en) | Method and apparatus for controlling cache memory | |
US9727476B2 (en) | 2-D gather instruction and a 2-D cache | |
US7743184B2 (en) | Coherent access register data transfer device and methods thereof | |
CN115509959A (en) | Processing system, control method, chip, and computer-readable storage medium | |
CN111078288A (en) | RISC core storage access instruction circuit in command processor | |
US7111127B2 (en) | System for supporting unlimited consecutive data stores into a cache memory | |
US20020103977A1 (en) | Low power consumption cache memory structure | |
US10366049B2 (en) | Processor and method of controlling the same | |
US20120246407A1 (en) | Method and system to improve unaligned cache memory accesses | |
CN204965422U (en) | Multi -protocols cryptographic algorithm treater and system on chip/SOC | |
CN103853675A (en) | Method and equipment for accessing memory | |
CN106897021A (en) | A kind of method and apparatus for reading and writing data | |
US11762772B2 (en) | Data processing apparatus and data accessing circuit | |
CN112954525B (en) | TWS earphone and power-off restoration method and device thereof |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200428 |
|
RJ01 | Rejection of invention patent application after publication |