A hybrid transmission queue design implementation method and system based on high-level modeling

By designing the microprocessor's hybrid launch queue based on high-level modeling methods, the problems of complex design and long verification and debugging cycles in the existing technology are solved, and a flexible, versatile, and efficient hybrid launch queue design is achieved to adapt to diverse design needs. .

CN114519319BActive Publication Date: 2024-09-10NAT UNIV OF DEFENSE TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111666242.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-30
Publication Date
2024-09-10
Estimated Expiration
2041-12-30

AI Technical Summary

Technical Problem

The existing microprocessor launch queue design is difficult to meet the rapidly updated market demand. The design and implementation are complex and the verification and debugging cycle is long. It is difficult to adapt to the diverse design requirements of the hybrid launch queue.

Method used

Adopt a method based on high-level modeling to determine the instruction types and operand types that the hybrid issue queue needs to support, establish a life cycle model and a hybrid issue queue model, use high-level languages ​​for modeling and implementation, and use back-end physical design tools Perform evaluation and optimization to generate register transfer level design models.

Benefits of technology

It effectively reduces the complexity and design implementation cost of hybrid launch queue design, supports the diverse design requirements of hybrid launch queues, and is flexible, versatile, and efficient.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114519319B
    Figure CN114519319B
Patent Text Reader

Abstract

The present invention discloses a method and system for implementing a hybrid emission queue design based on high-level modeling. The method includes determining the instruction types and operand types that the designed hybrid emission queue needs to support; establishing a life cycle model of instructions from entering to flowing out of the emission queue; establishing a hybrid emission queue model that is suitable for a variety of instruction types and operand types; using a high-level language to model and implement the hybrid emission queue model, and generating a register transfer level design model; using a back-end physical design tool to evaluate the register transfer level design model; judging whether the evaluation result meets expectations, if it meets expectations, then terminating and exiting, otherwise giving optimization suggestions based on the evaluation results, and returning for continuous optimization. The present invention can effectively support the needs of hybrid emission queue design, and effectively reduces the complexity and design implementation cost of the hybrid emission queue design by performing high-level modeling and description on the hybrid emission queue.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a microprocessor design technology, and in particular to a hybrid emission queue design implementation method and system based on high-level modeling, which is used for the design of an instruction emission queue in a microprocessor core. Background Art

[0002] Microprocessor design technology plays an important role in improving the performance, reliability, and availability of microprocessors. Microprocessor design technology includes front-end logic design and back-end physical design. The former determines the function, performance, area, and power consumption of the microprocessor, and the latter optimizes and physically implements physical layout design, device selection, timing, area, and power consumption based on the former. The launch queue is an important component used to implement out-of-order instruction launch in the current out-of-order superscalar microprocessor. The mainstream launch queue mainly includes centralized and distributed launch queues. The centralized launch queue refers to maintaining only a unified launch queue to support the launch of all types of instructions, and the distributed launch queue refers to setting an independent launch queue for each type of instruction. The hybrid launch queue is between the centralized and distributed launch queues, and has the advantages of both centralized and distributed launch queues. In order to achieve precise tuning, the current launch queue design is mainly based on the register transfer level, but the design and implementation are difficult, the verification and debugging cycle is long, and it is difficult to meet the market demand for rapid updates. The hybrid launch queue method varies according to the hybrid method and granularity, and it is difficult to meet the demand using traditional design methods. In order to meet the design needs of various types of mixed transmission queues, new design methodology breakthroughs are urgently needed. Summary of the invention

[0003] Technical problem to be solved by the present invention: In view of the above-mentioned problems in the prior art, a method and system for designing and implementing a hybrid transmission queue based on high-level modeling are provided. The present invention can effectively support the needs of hybrid transmission queue design, and effectively reduce the complexity and design implementation cost of the hybrid transmission queue design by performing high-level modeling and description of the hybrid transmission queue.

[0004] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0005] A method for designing and implementing a hybrid transmission queue based on high-level modeling, characterized by comprising:

[0006] 1) Determine the instruction types and operand types that the designed hybrid emission queue needs to support; establish a life cycle model of instructions from entering to leaving the emission queue; establish a hybrid emission queue model that is suitable for multiple instruction types and operand types;

[0007] 2) Modeling and implementing the hybrid transmit queue model using a high-level language, and generating a register transfer level design model;

[0008] 3) Use the back-end physical design tool to evaluate the register transfer level design model; determine whether the evaluation result meets expectations. If so, end and exit; otherwise, give optimization suggestions based on the evaluation result and return to step 2) for continuous optimization.

[0009] Optionally, when determining the instruction types and operand types that the designed mixed transmission queue needs to support in step 1), the instruction types that the mixed transmission queue needs to support are divided into instruction sets according to the instruction sets supported by the microprocessor, and then instructions suitable for mixed transmission queue transmission are selected from the instruction set division results as the instruction types that the designed mixed transmission queue needs to support.

[0010] Optionally, when determining the instruction types and operand types that the designed hybrid transmit queue needs to support in step 1), the operand types that the hybrid transmit queue needs to support include some or all types of fixed point, floating point, flag, scalar, and vector.

[0011] Optionally, in step 1), a life cycle model of instructions from entering to flowing out of the transmission queue is established, including various process models including entering the transmission queue, being stored in a transmission queue item, flowing out of the transmission queue, and releasing the transmission queue item; the process model for entering the transmission queue includes determining entry access conditions and a maximum number of instructions that enter per clock cycle; the process model for storing in the transmission queue item selects an idle transmission queue item to maintain instruction status information; the process model for flowing out of the transmission queue determines a maximum number of instructions that flow out each clock cycle; and the process model for releasing the transmission queue item determines when to release the transmission queue item corresponding to what type of instruction.

[0012] Optionally, when a hybrid transmission queue model adapted to a variety of instruction types and operand types is established in step 1), the hybrid transmission queue model is composed of a plurality of transmission queue items, whose main function is to receive the dispatched instructions to be executed, allocate corresponding transmission queue items for storage, and the transmission queue maintains the status information of all instructions to be executed. For instructions that meet the transmission execution conditions, they are selected to be transmitted for execution, and the corresponding transmission queue items are released after the transmission is completed; the plurality of transmission queue items of the hybrid transmission queue model are used to store various types of execution instructions; the transmission queue items are divided into entry items and ordinary items according to whether they can accept the instructions from the dispatch, and the entry items are specifically used to receive the dispatched instructions and send the instructions to the ordinary items in the next beat; the transmission queue items are divided into busy items and idle items according to whether they are allocated for use, and the busy items indicate that the items store valid instructions and their information, and the idle items indicate that the items do not store valid instructions and their information; the transmission queue items are used to carry the instructions to be transmitted, and the maintenance status of the instructions includes not ready, ready, transmitting, transmitted, transmission canceled, and released queue item status, all of which must be maintained and updated in real time; the ready means All operands, control signals and other information required for the execution of the corresponding instruction are available, or can be obtained at a certain time in the future; the "not ready" means that at least one of the information required for the execution of the corresponding instruction is not available, or was available before but becomes unavailable later; the "is being emitted" means that the corresponding instruction is ready and is the oldest among the same instruction types in the emission queue, and begins to flow out of the emission queue for execution; the "has been emitted" means that the corresponding instruction has flowed out of the emission queue and started to be executed; the "cancelled emission" means that due to some reasons, the information required by the corresponding instruction is incorrect, or allowing it to be executed will cause errors or losses, etc., and it is necessary to stop continuing to emit or execute; the "release queue item" means that the corresponding instruction is executed after normal emission or is determined not to be canceled, or after a forced release signal is detected, the operation of releasing the queue item corresponding to the current instruction needs to be released; for all emission queue items, the relative newness and oldness between them is maintained, which is used to select the oldest instruction that is ready when emitting; all emission queue items define an age vector, which is used to record which items are older than themselves and which items are younger than themselves, and this age vector must be maintained and updated in each clock cycle.

[0013] Optionally, step 2) includes: 2.1) performing high-level modeling and implementation of the hybrid transmission queue model, and using a high-level description language or an object-oriented modeling method to perform high-level modeling and implementation of all components of the hybrid transmission queue model; 2.2) using a high-level synthesis tool to process the high-level modeling model, and generate a design description of the register transfer level hybrid transmission queue as a register transfer level design model output.

[0014] Optionally, when the register transfer level design model is evaluated using the back-end physical design tool in step 3), the indicators for evaluating the register transfer level design model include part or all of performance, power consumption and area.

[0015] Optionally, in step 3), optimization suggestions are given based on the evaluation results, including: analyzing the timing information of the register transfer level model, paying attention to the paths where the timing is not met or the timing is tight, and giving timing optimization or adjustment suggestions; analyzing the area information of the register transfer level model, paying attention to the number of registers, and giving area optimization and adjustment suggestions; analyzing the power consumption information of the register transfer level model, paying attention to static and dynamic power consumption, and if the power consumption exceeds the budget, giving power consumption and adjustment suggestions.

[0016] In addition, the present invention also provides a hybrid transmission queue design and implementation system based on high-level modeling, including an interconnected microprocessor and a memory, wherein the microprocessor is programmed or configured to execute the steps of the hybrid transmission queue design and implementation method based on high-level modeling.

[0017] In addition, the present invention also provides a computer-readable storage medium, in which a computer program is stored. The computer program is used to be programmed or configured by a computer device to execute the steps of the hybrid transmission queue design implementation method based on high-level modeling.

[0018] Compared with the prior art, the present invention has the following advantages: the method of the present invention includes determining the instruction types and operand types that the designed hybrid emission queue needs to support; establishing a life cycle model of instructions from entering to flowing out of the emission queue; establishing a hybrid emission queue model that is suitable for a variety of instruction types and operand types; using a high-level language to model and implement the hybrid emission queue model, and generating a register transfer level design model; using a back-end physical design tool to evaluate the register transfer level design model; judging whether the evaluation result meets expectations, if it meets expectations, then terminating and exiting, otherwise giving optimization suggestions based on the evaluation results, and returning for continuous optimization. The present invention can effectively support the needs of hybrid emission queue design, and by high-level modeling and description of the hybrid emission queue, effectively reduces the complexity of the hybrid emission queue design and the design implementation cost, can effectively adapt to the diversified design requirements of the hybrid emission queue, and has the characteristics of flexibility, generality, and efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 Schematic diagram of the basic flow of the method of the embodiment of the present invention.

[0020] Figure 2 The diagram is a schematic diagram of the life cycle of an instruction from entering to leaving a transmission queue in an embodiment of the present invention.

[0021] Figure 3 It is a schematic diagram of the emission entry items and common items in the embodiment of the present invention.

[0022] Figure 4 Schematic diagram of the state change of the transmission queue item in an embodiment of the present invention. DETAILED DESCRIPTION

[0023] like Figure 1 As shown, the hybrid transmission queue design and implementation method based on high-level modeling in this embodiment includes:

[0024] 1) Determine the instruction types and operand types that the designed hybrid emission queue needs to support; establish a life cycle model of instructions from entering to leaving the emission queue; establish a hybrid emission queue model that is suitable for multiple instruction types and operand types;

[0025] 2) Modeling and implementing the aforementioned hybrid transmission queue model using a high-level language, and generating a register transfer level design model;

[0026] 3) Use the back-end physical design tool to evaluate the register transfer level design model; determine whether the evaluation result meets expectations. If so, end and exit; otherwise, give optimization suggestions based on the evaluation result and return to step 2) for continuous optimization.

[0027] In this embodiment, when determining the instruction type and operand type that the designed hybrid transmission queue needs to support in step 1), the instruction type that the hybrid transmission queue needs to support is divided according to the instruction set supported by the microprocessor, and then the instruction suitable for the hybrid transmission queue to transmit is selected from the instruction set division result as the instruction type that the designed hybrid transmission queue needs to support. Among them, when selecting the instruction suitable for the hybrid transmission queue to transmit as the instruction type that the designed hybrid transmission queue needs to support, demonstration and analysis are required.

[0028] In this embodiment, when determining the instruction types and operand types that the designed hybrid transmit queue needs to support in step 1), the operand types that the hybrid transmit queue needs to support include some or all types of fixed point, floating point, flag, scalar, and vector.

[0029] Figure 2 FIG. 1 is a schematic diagram of the life cycle of an instruction from entering to leaving the emission queue in this embodiment. Figure 2As shown, in step 1) of this embodiment, a life cycle model of an instruction from entering to flowing out of the emission queue is established, including various process models including entering the emission queue, being stored in the emission queue item, flowing out of the emission queue, and releasing the emission queue item; the aforementioned process model for entering the emission queue includes determining entry access conditions and a maximum number of instructions that enter per clock cycle; the aforementioned process model for storing in the emission queue item selects an idle emission queue item to maintain instruction status information; the aforementioned process model for flowing out of the emission queue determines a maximum number of instructions that flow out each clock cycle; the aforementioned process model for releasing the emission queue item determines when to release the emission queue item corresponding to what type of instruction.

[0030] In this embodiment, when a hybrid emission queue model suitable for multiple instruction types and operand types is established in step 1), the aforementioned hybrid emission queue model is composed of multiple emission queue items, whose main function is to receive the dispatched instructions to be executed, allocate corresponding emission queue items for storage, and the emission queue maintains the status information of all instructions to be executed. For instructions that meet the emission execution conditions, they are selected to be emitted for execution, and the corresponding emission queue items are released after the emission is completed; the multiple emission queue items of the aforementioned hybrid emission queue model are used to store multiple types of execution instructions; the aforementioned emission queue items are divided into entry items and ordinary items according to whether they can accept the dispatched instructions, Figure 3 Schematic diagram of the emission entry item and the common item in this embodiment. The entry item is specifically used to receive the dispatched instruction and send the instruction to the common item in the next beat. The emission queue item is divided into busy item and idle item according to whether it is allocated for use. The busy item indicates that the item stores valid instructions and their information, and the idle item indicates that the item does not store valid instructions and their information. The aforementioned emission queue item is used to carry the instruction to be emitted, and the status of the maintenance instruction includes not ready, ready, emitting, emitted, emission canceled, and released queue item status, such as Figure 4 As shown, all these states need to be maintained and updated in real time;

[0031] Ready means that all operands, control signals and other information required for the execution of the corresponding instruction are available or can be obtained at a certain time in the future;

[0032] Not ready means that at least one of the information required for the execution of the corresponding instruction is not available, or was available once but becomes unavailable later;

[0033] Issuing means that the corresponding instruction is ready and is the oldest among the same instruction types in the emission queue, and begins to flow out of the emission queue for execution;

[0034] Emitted means that the corresponding instruction has flowed out of the emission queue and started to be executed;

[0035] Launch cancellation means that due to some reasons, the information required by the corresponding instruction is incorrect, or the execution will cause errors or loss of results, so it is necessary to stop launching or executing;

[0036] Releasing a queue item means that after the corresponding instruction is normally transmitted and executed, or it is determined that it will not be cancelled, or after a forced release signal is detected, the operation of releasing the queue item corresponding to the current instruction needs to be performed;

[0037] For all transmit queue items, the relative newness and oldness between them is maintained, which is used to select the oldest instruction ready when transmitting; all transmit queue items define an age vector to record which items are older than themselves and which items are younger than themselves. This age vector must be maintained and updated in each clock cycle.

[0038] In this embodiment, step 2) includes: 2.1) high-level modeling and implementation of the aforementioned hybrid transmission queue model, using a high-level description language or an object-oriented modeling method to perform high-level modeling and implementation of all components of the aforementioned hybrid transmission queue model; 2.2) using a high-level synthesis tool to process the high-level modeling model to generate a design description of the register transfer level hybrid transmission queue as a register transfer level design model output. Among them, high-level description language modeling refers to a method that is different from the traditional register transfer level modeling method based on hardware description language. It uses languages ​​similar to high-level computer programming languages ​​such as C, C++, SystemC, python, etc. to model circuit functions at a high level; the aforementioned object-oriented modeling refers to a method that is different from the process-oriented modeling method. It treats each circuit component and module as an object, and can perform parameterized configuration and behavioral modeling, such as using the hardware construction language Chisel for circuit modeling; for high-level modeling, commercial or open source high-level synthesis tools can be used to convert high-level descriptions into register transfer level descriptions; for object-oriented modeling, open source compilers or code conversion tools can be used to generate register transfer level descriptions; the processing process can go through one or more levels of intermediate representation conversions. For example, for a circuit described in Chisel language, an open source compiler tool can be used to first convert it into an intermediate representation called FIRRTL, and then convert it into a register transfer level description.

[0039] In this embodiment, when the back-end physical design tool is used to evaluate the register transfer level design model in step 3), the indicators for evaluating the register transfer level design model include some or all of the three indicators of performance, power consumption and area (Performance, Power, Area, PPA for short). In this embodiment, all of performance, power consumption and area are specifically used to analyze the performance, area and power consumption evaluation results. If the analysis results meet expectations, then the end is completed, otherwise the evaluation results are fed back to the high-level modeling, and return to step 2) for continuous optimization. The back-end physical design tool is used to conduct a comprehensive evaluation of the register transfer level model. The performance aspect mainly focuses on the timing information of the design, the area aspect mainly focuses on the number of registers, and the power consumption aspect mainly focuses on dynamic and static power consumption. Undoubtedly, the evaluation indicators are not limited to the three indicators of performance, power consumption and area listed above, and other indicators that are conducive to the continuous optimization of the register transfer level design model can also be used.

[0040] In this embodiment, the optimization suggestions given in step 3) according to the evaluation results include: analyzing the timing information of the register transfer level model, paying attention to the paths where the timing is not met or the timing is tight, and giving timing optimization or adjustment suggestions; analyzing the area information of the register transfer level model, paying attention to the number of registers, and giving area optimization and adjustment suggestions; analyzing the power consumption information of the register transfer level model, paying attention to static and dynamic power consumption, and if the power consumption exceeds the budget, giving power consumption and adjustment suggestions. For example, assuming that the timing requirement is within 400ps, the corresponding operating frequency is 2.5GHz, then for the path where the timing does not meet 400ps, the synthesis tool will give the start and end register signal names of the path and the delay details of the intermediate key part, telling the designer which paths do not meet the timing, and the designer decides whether to optimize. For example, the synthesis tool lists the number of registers used by each module, as well as the bit width of each register, etc. If the module design has a minimum number of registers and a maximum number of registers, then it can be fed back to the designer for optimization or adjustment based on whether the number of registers meets the target requirements. For example, the power consumption assessment tool will give the static and dynamic power consumption reference values ​​of each module and conduct comparative analysis. If the power consumption is found to exceed the design expectations, or is higher than other similar modules, it needs to be fed back to the designer for analysis and optimization. For aspects that do not meet expectations, optimization and adjustment suggestions need to be fed back to the high-level modeling for improvement until expectations are met; for example, for modules that do not meet the timing, power consumption, and area expectations, the corresponding high-level modeling module name and the design line number that may need to be adjusted are given, so that designers can achieve the optimization of the performance, power consumption, and area of ​​the underlying register transfer level model by only modifying the high-level modeling method.

[0041] In summary, the method of this embodiment includes determining the instruction types and operand types supported by the mixed emission queue; establishing a life cycle model of the instruction from entering to flowing out of the emission queue; establishing a mixed emission queue model that is suitable for various types of instruction operand types; high-level modeling and implementation of the mixed emission queue, and generating a register transfer level design description; using the back-end physical design tool to evaluate the performance, power consumption, and area (PPA) of the register transfer level model, and feeding back the evaluation results to the high-level modeling, providing continuous optimization capabilities until a register transfer level design description that meets the design goals is generated. The method of this embodiment can effectively support the needs of mixed emission queue design. By performing high-level modeling and description of the mixed emission queue, the complexity of the mixed emission queue design and the design implementation cost are effectively reduced, and it can effectively adapt to the diversified design requirements of the mixed emission queue, and has the characteristics of flexibility, generality, and efficiency.

[0042] In addition, this embodiment also provides a hybrid transmission queue design implementation system based on high-level modeling, including an interconnected microprocessor and a memory, wherein the microprocessor is programmed or configured to execute the steps of the aforementioned hybrid transmission queue design implementation method based on high-level modeling.

[0043] In addition, this embodiment also provides a computer-readable storage medium, in which a computer program is stored. The computer program is used to be programmed or configured by a computer device to execute the steps of the aforementioned hybrid transmission queue design implementation method based on high-level modeling.

[0044] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, may be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the functions in the process. Figure 1 A process or multiple processes and / or boxes Figure 1These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0045] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.

Claims

1. A hybrid transmission queue design and implementation method based on high-level modeling, It is characterized in that include: 1) Determine the instruction types and operand types that the designed hybrid issue queue needs to support; Establish a life cycle model of instructions from entering to leaving the emission queue; establish a mixed emission queue model that is suitable for multiple instruction types and operand types; 2) Modeling and implementing the hybrid transmission queue model using a high-level language, and generating a register transfer level design model; 3) Use the back-end physical design tool to evaluate the register transfer level design model; determine whether the evaluation result meets expectations. If so, end and exit; otherwise, give optimization suggestions based on the evaluation result and return to step 2) for continuous optimization; When a mixed emission queue model adapted to multiple instruction types and operand types is established in step 1), the mixed emission queue model is composed of multiple emission queue items, and its main function is to receive the dispatched instructions to be executed, allocate corresponding emission queue items for storage, and the emission queue maintains the status information of all instructions to be executed. For instructions that meet the emission execution conditions, the instructions are selected to be emitted for execution, and the corresponding emission queue items are released after the emission is completed; The multiple transmit queue items of the hybrid transmit queue model are used to store multiple types of execution instructions; the transmit queue items are divided into entry items and common items according to whether they can accept instructions from dispatch, and the entry items are specifically used to receive dispatched instructions and send the instructions to the common items in the next beat; The transmit queue items are divided into busy items and idle items according to whether they are allocated for use. A busy item means that there are valid instructions and their information stored in the item, and an idle item means that there are no valid instructions and their information stored in the item. The emission queue item is used to carry instructions to be emitted, and the maintenance status of the instruction includes not ready, ready, emitting, emitted, emission canceled, and released queue item status, all of which are subject to real-time maintenance and update; the ready means that all operands and control signal information required for the execution of the corresponding instruction are available, or can be obtained at a certain time in the future; the not ready means that at least one of the information required for the execution of the corresponding instruction is not available, or was available before but later becomes unavailable; the emitting means that the corresponding instruction is ready and is the oldest among the same instruction types in the emission queue, and begins to flow out of the emission queue for execution; the emitted means that the corresponding instruction has been Execution starts after outflowing from the emission queue; the emission cancellation means that due to some reason the information required by the corresponding instruction is incorrect, or allowing its execution will cause errors or losses in the results, and it is necessary to stop the emission or execution; the release of the queue item means that after the corresponding instruction is normally emitted and executed, it is completed or determined that it will not be canceled, or after a forced release signal is detected, it is necessary to release the operation of the queue item corresponding to the current instruction; for all emission queue items, the relative newness and oldness relationship between them is maintained, so as to select the oldest instruction that is ready when transmitting; all emission queue items define an age vector, which is used to record which items are older than themselves and which items are younger than themselves. This age vector must be maintained and updated in each clock cycle.

2. The method for designing and implementing a hybrid transmission queue based on high-level modeling according to claim 1, It is characterized in that When determining the instruction types and operand types that the designed mixed transmission queue needs to support in step 1), the instruction types that the mixed transmission queue needs to support are divided into instruction sets according to the instruction sets supported by the microprocessor, and then the instructions suitable for the mixed transmission queue to be transmitted are selected from the instruction set division results as the instruction types that the designed mixed transmission queue needs to support.

3. The method for designing and implementing a hybrid transmission queue based on high-level modeling according to claim 2, It is characterized in that When determining the instruction types and operand types that the designed hybrid issue queue needs to support in step 1), the operand types that the hybrid issue queue needs to support include some or all types of fixed point, floating point, flag, scalar, and vector.

4. The method for designing and implementing a hybrid transmission queue based on high-level modeling according to claim 3, It is characterized in that In step 1), a life cycle model of an instruction from entering to leaving the emission queue is established, including various process models including entering the emission queue, being stored in the emission queue item, flowing out of the emission queue, and releasing the emission queue item; the process model of entering the emission queue includes determining the entry admission conditions and the maximum number of instructions that can enter per clock cycle; the process model of storing in the emission queue item selects an idle emission queue item to maintain the status information of the instruction; The process model of outflowing the issue queue determines how many instructions flow out at most each clock cycle; the process model of releasing the issue queue items determines when to release the issue queue items corresponding to which types of instructions.

5. The method for designing and implementing a hybrid transmission queue based on high-level modeling according to claim 4, It is characterized in that Step 2) includes: 2.1) performing high-level modeling and implementation of the hybrid transmission queue model, and using a high-level description language or an object-oriented modeling method to perform high-level modeling and implementation of all components of the hybrid transmission queue model; 2.2) using a high-level synthesis tool to process the high-level modeling model, and generate a design description of the register transfer level hybrid transmission queue as a register transfer level design model output.

6. The method for designing and implementing a hybrid transmission queue based on high-level modeling according to claim 5, It is characterized in that In step 3), when the register transfer level design model is evaluated using the back-end physical design tool, the indicators for evaluating the register transfer level design model include part or all of the three factors: performance, power consumption, and area.

7. The method for designing and implementing a hybrid transmission queue based on high-level modeling according to claim 6, It is characterized in that In step 3), optimization suggestions are given based on the evaluation results, including: analyzing the timing information of the register transfer level model, paying attention to the paths where the timing is not met or the timing is tight, and giving timing optimization or adjustment suggestions; analyzing the area information of the register transfer level model, paying attention to the number of registers, and giving area optimization and adjustment suggestions; analyzing the power consumption information of the register transfer level model, paying attention to static and dynamic power consumption, and giving power consumption and adjustment suggestions if the power consumption exceeds the budget.

8. A hybrid transmission queue design and implementation system based on high-level modeling, including interconnected microprocessors and memories, It is characterized in that The microprocessor is programmed or configured to execute the steps of the method for designing and implementing a hybrid transmission queue based on high-level modeling as described in any one of claims 1 to 7.

9. A computer-readable storage medium having a computer program stored therein. It is characterized in that The computer program is used to be programmed or configured by a computer device to execute the steps of the method for designing and implementing a hybrid transmission queue based on high-level modeling as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • A design environment and a method for generating an implementable description of a digital system

    EP0867820A2

  • System, Apparatus And Method For Program Order Queue (POQ) To Manage Data Dependencies In Processor Having Multiple Instruction Queues

    US20200310815A1

  • Instruction withering-based multi-instruction out-of-order transmission method and processor

    WO2021203560A1