TW554288B - Method of single CPU simulator kernel frame technique and its device thereof - Google Patents

Method of single CPU simulator kernel frame technique and its device thereof Download PDF

Info

Publication number
TW554288B
TW554288B TW089107136A TW89107136A TW554288B TW 554288 B TW554288 B TW 554288B TW 089107136 A TW089107136 A TW 089107136A TW 89107136 A TW89107136 A TW 89107136A TW 554288 B TW554288 B TW 554288B
Authority
TW
Taiwan
Prior art keywords
instruction
module
control module
processing
interrupt
Prior art date
Application number
TW089107136A
Other languages
Chinese (zh)
Inventor
Ming-Lin Kao
Shiun-Pyng Ferng
Shang-Wen Li
Original Assignee
Shinewave Int Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shinewave Int Inc filed Critical Shinewave Int Inc
Priority to TW089107136A priority Critical patent/TW554288B/en
Application granted granted Critical
Publication of TW554288B publication Critical patent/TW554288B/en

Links

Abstract

The present invention provides a simulating device for simulating the operation of any single CPU kernel. The simulating device includes: a register set device having a register set for storing and updating various status values; a decode unit device having a decide unit for analyzing instructions to generate instruction codes based on those status values; an instruction set device having an instruction set for executing corresponding instruction functions based on the instruction codes; a flow control device having a flow control module for controlling the operation flow of the register set, the decode unit and the instruction set. In addition, the present invention also provides a method for simulating the operation of any single CPU kernel. The method comprises: a pre-processing step using the flow control module to execute the processing task before executing the actual task, and if there is an interrupt, checking whether it is a power-off; a fetching instruction step using the flow control module to fetch an instruction for decoding from the memory; a decoding step using the decode unit to decode the instruction fetched from the memory and generate am instruction code; an illegal instruction processing for triggering an illegal instruction interrupt processing if the flow control module decodes the instruction code and determines a failure in decoding; an executing instruction step using the instruction set to execute the instruction function corresponding to the instruction code if the flow control module decodes the instruction code and determines a success in decoding; an interrupt processing step in which the flow control module performs an interrupt service processing based on a predefined interrupt service routine if an interrupt is occurred in executing an instruction; a subsequent process in which the flow control module performs a reset process after completing the execution of the instruction if no interrupt is occurred in executing an instruction.

Description

554288 五、發明說明(1) 發明背景 本發明係有關於一種用於模擬任何單一中央處理哭 (single CPU)核心運作狀況之方法及其裴置,|係使用°通 用組織架構及通用工作流程架樽兩項技術’配合具有跨平 台能力各J(ava電腦語言,架構可作為任何單一cpu模榨哭 的核心框架。 、、时 在開發新電腦的0?0或組合語言應用程式時,由於 的CPU尚未開發完成或取得不易等原目,在開發階段盔法 =證新產品的正碟性’此時往往必須先在現有 計-套模擬程則稱為模擬器),暫作為新CPU的替先 代,用以協助測試及驗證新產品工作狀況.。 擬f應用程式時’需針對被模湖的 4寸性’重新设計核心架構及周邊的除錯工具,如此 程,不但況日費時,不符合經濟效益,且 複雜度相當高,不易正確的實作出模 二 十貝上的 因此,本發明之一目的;應!程式。 犀元(single CPU)核心運作狀況之方擬中央處理 處理ί發广之m為提供-種用以模擬任何單-中央 處理早兀(Single _核心運作狀況之 ^ 是一系列類似的CPU模擬器。 及褒置特別 本發明係一種用以模擬任何i (Single cm核心運作狀k 央處理單元 暫存器模組(RegisterSet)裝置,由、軍。該裝置包括: 負責保存及更新各種狀態值;解含暫存器模組’用以 值,解蝎器模組(Decodeunit)襞 554288 五、發明說明(2) 置’内含解碼器模組,用以根據該些狀態值,解析指令, 產生指令碼;指令集模組(instructi〇n)裝置,内含指令 集模組’用以根據指令碼,執行對應之指令功能;流程控 制模組(FlowControl )裝置,内含流程控制模組,用以負 貝控制該暫存器模組(Regi sterSe t )、該解碼器模組 、 (DecodeUnit)、及該指令集模組(instructi〇nW)^操作流 程、。該方法包括下列步驟:前置處理(Prepr〇cess),利^ 該流程控制模組執行在進行真正開始執行指令前的處理工 作,此時,若有中斷發生,則直接進行後續處理步驟,·提 取指令,利用該流程控制模組從記憶體中提取解碼用之一 =令;解碼1用該解碼器模組解讀從記憶體中提取之指 :兮ί i:?令碼;非法指令處理,若該流程控制模組解 =該U碼判定為解碼失敗時會觸發非法指令中斷處理; 該流程控制模組解讀該指令碼判定為解碼成 处·中斷^ §亥指令集模組執行該指令碼所對應之指令功 :根二.若在指令執行時發生中斷,該流程控制模 二ϊ 斷服務常式作中斷處理;*續處理,若在 行ί置處ίί:斷’該流程控制模組在指令處理完成554288 V. Description of the invention (1) Background of the invention The present invention relates to a method for simulating the operation status of any single central processing core (single CPU) and its use. It uses a common organizational structure and a common workflow framework. The two technologies' cooperate with each cross-platform capability (ava computer language, the architecture can be used as the core framework of any single cpu molding cry.), When developing new computer 0 or 0 or combined language applications, due to the The CPU has not yet been developed or it is not easy to obtain the original project. During the development stage, the helmet method = prove the correctness of the new product. At this time, it is often necessary to first calculate the existing simulation process-the simulator is called the simulator. First generation to help test and verify new product performance. When the application is planned, the core architecture and peripheral debugging tools must be redesigned for the 4-inch nature of the model lake. This process is not only time consuming, economically inefficient, but also complicated, and it is not easy to be correct. Realize the model on the twenty-thousands of shells Therefore, one object of the present invention; should! Program. The core operating status of the single CPU is intended to be processed centrally. The FM is provided-a type to simulate any single-central processing early (Single _ core operating status ^ is a series of similar CPU simulators) The invention is particularly a device for simulating any i (Single cm core operating state k central processing unit register set) device, registered and military. The device includes: responsible for saving and updating various state values; Decode register module 'for value, Decodeunit (Decodeunit) 襞 554288 V. Description of the invention (2) Set' include decoder module, used to parse instructions based on these status values, generate Instruction code; instruction set module (instructioon) device, which contains an instruction set module 'for executing corresponding instruction functions according to the instruction code; flow control module (FlowControl) device, which contains a process control module, Control the register process (RegisterSet), the decoder module (DecodeUnit), and the instruction set module (instructioOnW) with negative shells. The method includes the following steps: Processing (Prepr cess), benefit ^ The process control module executes the processing work before the actual execution of the instruction is started. At this time, if an interruption occurs, the subsequent processing steps are directly performed. · The instruction is fetched and the process control module is used to remove the instruction from the memory. One for extraction and decoding = order; Decode 1 uses the decoder module to interpret the fingers extracted from the memory: Xi ί i :? order code; illegal instruction processing, if the process control module solution = the U code judgment Illegal instruction interrupt processing will be triggered when decoding fails; The flow control module interprets the instruction code and determines that it is decoded into a process interrupt. § HAI instruction set module executes the instruction function corresponding to the instruction code: root two. If the instruction When an interruption occurs during execution, the process control module executes the interrupt service routine for interrupt processing; * continuous processing, if it is in the line, it is broken: the process control module completes the instruction processing

Motorola 68 糸列、AMD Κ 李列犛,妗“ # 2 通用組織架構及通用工作、ίϋ 歸納其祷育特性後,以 整的Java類別(clase),成 貝作出糸列兀 部組成裝置及動能的工:、Λ M擬各種單一CPU靜態的内 置及動悲的工作流程’可 第6頁 五、發明說明(3) 式的核心通用框架 法,使用本發明!:“套二此核心框架之裝置及其操作方 擬器架構的困擾,i=va,’即可免除重新設計模 蒈,而六旦 即嚙¥間、人力、與金錢上重複的花Motorola 68, AMD, Kelly Li, 妗 "# 2 General organizational structure and general work, ϋ ϋ After summarizing their prayer characteristics, based on the entire Java category (clase), Cheng Bei made the unit components and the kinetic energy Work: Λ M proposed a variety of single CPU static built-in and tragic workflow 'can be on page 6 V. Invention description (3) type core universal framework method, using the present invention !: "Set two of this core framework Both the device and its operating device architecture are troubled, i = va, 'remove the redesign of the mold, and the repetition of six days, manpower, and money

' ^又快速地實作出任何單一CPU模擬器,特別S 一系列類似的模擬器。 1、狹w特別疋 圖示之簡單說明 而易ί讓述及其它目的、特徵、與優點能更顯 細說明如下:、+軼佳貫施例,並配合所附圖式,作詳 係一CPU内部與周邊裝置之示意圖; 弟圖係顯示本發明通用組織架構圖;. 間之:3意圖:根據本發明通用架構顯示與各裝置相關模組 較佳Ϊ4二匕顯示配合本發明組織架構之工作流程圖。 平乂住K轭例之詳細說明 不可ΪΪΓ元圖件在”ΐ處理機應用中,cpu與記憶體是 用ΛΓ如V 儲存所需的相M資訊以供cpu操作使 二硬碟:::部記憶體)的程式中有-條兩數相 會先被存 x y知作時,指令ADD與資料x、y 暫存哭;)r i )解讀並將相關結果置於 資料;,知此為加法指令後’⑶會從主記憶體中取出 貝仏、y父給ALU運算並將運算後暫 ; 554288 五、發明說明(4) 傳回主記憶體或經由主記憶體傳回硬碟中儲存。 本發明基於上述操作原理,進一步發 可用=開,CPU模擬器核心通用框架的裝置及方法。述’ 何單4考第2圖’本發明之通用組織架構可清楚的描述任 ::—cpu的組成。此通用組織架構依功能分成流程3 =、暫存器模組裝置、解碼器模組裝 二控二 =貝源及#作流程。暫存器模組裝 二 擬态核心的各種狀態值。解 ,夂更4杈 其擁有指令表可Μ所古:杈組裴置負責解析指令, 責執行指;;向所有合法的指令。指令集模組裝置負 多重ΐ : Γ而V由電腦語言不具指標。及 因而杈一般物件導向語言(oop)簡單,也‘ 此,在用;:C二種類無關,可跨平台工作,因 程式。利用心發;於本發明各裝置之模組 廡夂坡要〜“。。的抽象化(abstract class)機制,對 抽象類別、DecodeUnit抽象類別、 別。:iΪ:ί組:對應流程控制模組裝置,屬cpu抽象類 tfaCeC_and()r;n :—兩個成員及 員decoder指向艇Λ Γ^ Γ指向暫存器模組,成 解碼器模組並間接指向指令集模組,藉 554288 五、發明說明(5) 此,此類別掌控模擬哭 代表了整個模擬器核;;x =所有資源。對外’此類別即 範各模組間的行為。〇 對内,方法traceCommandO則規 組及指♦集模組的方:如:f程控制模組會呼叫解碼器模 組,使指令隼;^ β # w ;自己的參考值傳給指令集模 存器 ^组施使用流程控制模組的資源,例如,暫 暫存益模組:對應至暫存器模組裝置,係為 器核心的各# &能# 利用此類別來保存與與更新模擬 姦核。的各種狀態值,使cpu藉此 令集模組操控之目的。 每則對解碼為核組及指 夹成Γ馬ίί組::ecodeUnit抽象類別。此類別擁有指令 表成貝,指向所有合法的指令,方 ^ 將Code參數解碼,並傳回被解碼指令二-e Code)可 組即靠上述方法得到被解碼指令的;K考’流程控制模 指令集模組:Instruction抽象_ μ , L 令並執行各指令所代表…。類別。此類別定義各指 參考第4圖’此係根據本發明將各裝置結 產生之通用工作流程圖。該圖係歸納 、、'、^ 發明之通用工作流程,其中,將本發j =樣CPU而得本 畫成前置處理、提取指令、解碼、非 ^】工作流程規 令、中斷處理、及後續處理七部份,❸二::理、執行指 工作而形成如第4圖中所示之通用工作义口單元所應對之 述如下: 作流程。將各部份描 前置處理:實作上對應至程式中< 554288 五、發明說明(6) preProcess()。此部份負責真正開始執行指令前的必要處 理工作,例如,撿查外部中斷是否發生。 提取指令:實作上對應至程式中之方法f etch(Code)。 此部份負責從快取記憶體或主記憶體中提取一道指 令〇 %碼:貫作上對應方法decoder. do__decode(code)。此 部份負責解析指令。^ Quickly implement any single CPU simulator, especially S series of similar simulators. 1. The narrow and special illustration of the diagram is simple and easy to make. The other purposes, features, and advantages can be described in more detail as follows: Schematic diagram of the internal and peripheral devices of the CPU; The figure is a diagram showing the general organizational structure of the present invention; the time is: 3 Intent: According to the general architecture of the present invention, it is preferred to display the relevant modules of each device. work flow chart. The detailed description of the example of flat-clamping K-yoke is not possible. In the application of "processor", the CPU and memory use ΛΓ such as V to store the required phase M information for CPU operation. Two hard disks ::: 部In the program of the memory), there is a piece of two numbers meeting. When the xy is first known, the instruction ADD and the data x and y are temporarily crying;) ri) Interpret and place the relevant result in the data; know that this is an addition instruction After '⑶ will be taken out of the main memory, Beckham, y father to the ALU operation and post-operation; 554288 V. Description of the invention (4) Return to the main memory or back to the hard disk via the main memory for storage. The invention is based on the above-mentioned operating principle, and further develops the device and method of the common framework of the core of the CPU simulator. The description of 'He Dan 4 test Figure 2' The general organizational structure of the present invention can clearly describe any ::-cpu composition . This general organizational structure is divided into process 3 =, register module device, decoder module assembly two control two = Beiyuan and # as the process according to function. Register mode assembly various mimic core various state values. Solution, it has 4 instructions. It has the instruction list: the group Pei Zhi is responsible for parsing the instructions. To point to all legal instructions. Instruction set module device negative multiple ΐ: Γ and V by computer language has no index. And therefore the general object-oriented language (oop) is simple, and 'this, in use ;: C two Irrespective of the type, it can work across platforms due to programs. Use the heart to send; the module of each device of the present invention has a slope of ~ ". . Abstract class mechanism for abstract classes, DecodeUnit abstract classes, others. : IΪ: ί Group: Corresponds to the process control module device, which belongs to the cpu abstract class tfaCeC_and () r; n: —The two members and the decoder point to the boat Λ Γ ^ Γ to the register module, and become the decoder module and Directly pointing to the instruction set module, borrowing 554288 V. Description of the invention (5) Therefore, this category controls the simulated cry on behalf of the entire simulator core; x = all resources. External ’This category is the behavior between modules. 〇Inside, the method traceCommandO rules and refers to the set of modules: For example, the f-process control module will call the decoder module to make the instruction 隼; ^ β # w; its own reference value is passed to the instruction set module The register ^ group uses the resources of the process control module, for example, the temporary storage benefit module: corresponding to the register module device, each of which is the core of the device # & 能 # Use this category to save and update Simulate nuclear rape. The various status values of the CPU enable the CPU to control the module. Each pair is decoded into a core group and fingers are grouped into a Γ horse ί group :: ecodeUnit abstract category. This category has a list of instructions, pointing to all legal instructions, only to decode the Code parameter and return the decoded instruction (e-Code). The group can get the decoded instruction by the above method; K test 'process control module Instruction set module: Instruction abstract _ μ, L orders and executes each instruction represents ... category. Each category definition refers to Fig. 4 '. This is a general working flow chart for generating various devices according to the present invention. This diagram summarizes the general workflow of the inventions, where ',', and ^ inventions, in which the present j = sample CPU is drawn as preprocessing, fetching instructions, decoding, non- ^] workflow rules, interrupt processing, and There are seven parts of the follow-up process, and the second part: 2: management and execution refers to the work to form a general work unit as shown in Figure 4. Describe each part of the pre-processing: the implementation corresponds to the program < 554288 V. Invention description (6) preProcess (). This part is responsible for necessary processing before actually starting to execute the instruction, for example, checking whether an external interrupt occurs. Fetch instruction: Implement the method f etch (Code) corresponding to the program. This part is responsible for extracting an instruction from the cache memory or main memory. 0% code: implement the corresponding method decoder. Do__decode (code). This section is responsible for parsing the instructions.

非法指令處理:實作上對應至程式中之方法 i 1 legal Instructi〇Trap()。此部份負責在解碼單元 無法解碼時’觸發非法指令中斷。 執行指令:實作上對應至程式中之方法 ins t · exe cut ion (code,this)。此部份負責執行被解 析出之指令,並將流程控制模組所控制之資源參考值傳進 指令集模組裝置之指令集模組中。 中斷處理:實作上對應至程式中之方法 interruptHandler(intrNum)。此部份負責在中斷信 號發生時,將程式計數器設定至電腦系統本身所提供之中 斷服務常式(interrupt routine)起始位址。Illegal instruction processing: The method corresponding to the program in practice i 1 legal Instructi〇Trap (). This part is responsible for triggering an illegal instruction interrupt when the decoding unit cannot decode. Execution command: Implement the method corresponding to the program ins t · exe cut ion (code, this). This part is responsible for executing the resolved instructions and transmitting the resource reference value controlled by the process control module to the instruction set module of the instruction set module device. Interrupt handling: Implement the method corresponding to the program interruptHandler (intrNum). This part is responsible for setting the program counter to the start address of the interrupt routine provided by the computer system when the interrupt signal occurs.

,續處理:實作上對應至程式中之方法postPr〇cess()。此 部份負責在指令執行完畢後的必要處理工作,例如,重設 旗標暫存器。 參考第4圖之流程圖,步驟S41中,先由流程控制模組 ^置利用Java程式内建之流程控制模組(簡稱控制模組)作 指令前置處理動作,前置處理後之狀況(s42)可分成三Continue processing: The method corresponding to the program postPr〇cess () is implemented in practice. This part is responsible for necessary processing after the instruction is executed, for example, resetting the flag register. Referring to the flowchart in FIG. 4, in step S41, the process control module ^ first uses a process control module (referred to as a control module) built in a Java program to perform a pre-processing action of the instruction. s42) can be divided into three

第10頁 554288Page 10 554288

口上述通用工作流程係使用物件導向程式(〇〇p)語言中 不可&覆寫的技巧,使得流程控制模組中,用以控制整個 Cpu 〃1L程的方法traceCommand()無法被任何繼承者所覆 寫’強制規範了所有套用本發明的模擬器工作流程者。 上述將本發明裝置與工作流程結合,建立一完整的 CPU核心模組··包括靜態内部組織及動態執行程序。套用本 發明所設計的模擬器核心程式,統一的以框架程式作為模 擬器核心與周邊除錯工具間的介面,統一的介面可以增加The above-mentioned general workflow is based on the use of non-overridable techniques in the object-oriented program (〇〇p) language, which makes the method traceCommand () in the flow control module used to control the entire CPU 〃1L process cannot be inherited by any The override 'mandatoryly regulates all those who apply the simulator workflow of the present invention. The above-mentioned combination of the device of the present invention and the work flow creates a complete CPU core module ... including a static internal organization and a dynamic execution program. Applying the simulator core program designed by the present invention, a unified framework program is used as the interface between the simulator core and peripheral debugging tools. The unified interface can be increased.

第11頁 554288Page 11 554288

=擬器核心程式與除錯工且 S出一個新的核心程式時了 來;當升級除錯工具時,原 雖然本發明已以一較佳 以限定本發明’任何熟知此 之精神及範圍内,當可做更 範圍當視後附之申請專利範 間的相容性及再使用性。當開 舊有的除錯工具皆可一併掛上 來的核心程式也可直接使用。 實施例揭露如上,然其並非用 技術之人士,在不脫離本發明 動與潤飾,因此本發明之保護 圍所界定者為準。= Simulator core program and debugging work and a new core program came; when the debugging tool was upgraded, the original although the present invention has a better to limit the invention 'within the spirit and scope of any well-known , It can be regarded as more scope as the compatibility and reusability between the attached patent applications. When the old debugging tools can be linked together, the core programs can also be used directly. The embodiment is disclosed as above, but it is not a person who uses technology, and does not depart from the present invention. Therefore, what is defined by the protection scope of the present invention shall prevail.

第12頁Page 12

Claims (1)

554288 六、申請專利範圍 &、丨· 一種用以模擬任何單一中央處理單元(single CPU) 核心運作狀況之模擬裝置,包括: f ^器模組(RegisterSet)裝置,内含暫存器模組, 用以負貝保存及更新各種狀態值; 用 α态模組(DeC〇deUnit)裝置,内含解碼器模組 又^该些狀態值,解析指令,產生指令碼,· 用以組(InStrUCti〇n)裝置,内含指令集模組, 用以根據扣令碼,執行各指令功能; ’内含流程控制模 哭模該暫存器模組(Registerset)、該解碼 unit)、及該指令集模組⑴一⑽)之 控制2模圍= 模件擬裝用置,其中’該流程 ^ V匕祜暫存态物件,用以指向該暫存哭握 二iT碼裔物件’用以直接指向該解碼器模組,再經 間接指向該指令集模組,•此,利用C 擬裝置核心及其操作流程。 手拉该棋 器模項之模擬裝置,其中,該解竭 ,e a ^ ^括屯々表,用以指向所有合法指令,获 令集=w制模組可經由該解碼器模組而間接指向該』 4·如中請專利範圍第}項之模擬裝置,其中 係以物件導向程式扭士 r nnD、 谷极紅 守J枉式扣a (OOP)來撰寫之程式,該程式可利554288 6. Scope of patent application &, 丨 · A simulation device for simulating the core operating conditions of any single central processing unit (single CPU), including: f Register device (RegisterSet) device, including a register module To save and update various status values with negative shells; use an α-state module (DeCodeunit) device, which contains a decoder module and ^ these status values, parse the instructions, generate instruction codes, and use it to group (InStrUCti 〇n) The device contains an instruction set module to execute each instruction function according to the deduction order code; 'Includes the process control module, the register set, the decoding unit, and the instruction Control module ⑴ 一 ⑽) Control 2 mold circumference = the module is intended to be installed, where 'this process ^ V dagger temporary state object to point to the temporary cry grip two iT code object' is used directly Point to the decoder module, and then point to the instruction set module indirectly, so use the C device core and its operation flow. A simulation device that pulls the chess player model, in which the exhaustion is used to point to all legal instructions, and the order set = w system module can be pointed indirectly through the decoder module. The "4. Such as the patented item} of the simulation device, which is a program written with object-oriented program twister r nnD, Gu Ji Hongshou J 枉 style buckle a (OOP), the program can benefit 554288 六、申請專利範圍 用一電腦執行之。 5 · 一種用以模擬任何單一中央虛一 核心運作貼夕古、:t ^ 、 里早元(single CPU) 你免彳乍狀況之方法,包括下列步驟: s 前置處理,利用該流程控制模組執 執行指令前的處理工作,此時,若有進订真正開始 查是否為關機; 有外部中斷發生,則檢 提取指令,利用該流程控制模組 用之一指令; 代。己隐體中提取解碼 解碼,利用該解碼器模組解讀從記憶體中搵 令,產生一指令碼; 丨〜體中k取之指 非法指令處理,由該流程控制模組 為解碼失敗時會觸發非法指令中斷;指令碼判定 執行指令’由該流程控制模組解讀 …時,到用該指令集模組執行以;=定為解 功能; 7馬所對應之指令 中斷處理,若在指令執行時發生中, 組根據預設之中斷服務常式作中斷處理;以&程控制模 ’該流程控制 該記憶體係 後續處理,若在指令執行時未發生中 果、、且在指令處理完成後進行重置處理工作。 6·如申請專利範圍第5項之方法,其中, 旨電腦内之快閃記憶體(CACHE)或主記憶體。’ 該中斷來源 該方法進一 7·如申請專利範圍第5項之方法,其^, °卩輪入及在解碼失敗時之内部觸發。 8 ·如申請專利範圍第5項之方法,其申, 第14頁 554288 申請專利範圍 機列斷步驟,此步驟決定整個流程 關機,則U該;指令之處理’反之,若並非 被二::=:=:=:唯其:工制模組 (—1 ClaSSh藉此使复二〇= 一之終端類別 流程的方法不會被任何繼承者所 、甲控制整個cpu 發明模擬裝置架構下,具有一致^ ·、、、之功能’以達到在本 致性工作流程之目的。554288 6. Scope of patent application It is executed by a computer. 5 · A method for simulating the operation of any single central virtual core, such as: t ^, single CPU, to avoid the situation, including the following steps: s pre-processing, use this process to control the model The group executes the processing work before the execution of the instruction. At this time, if any order actually starts to check whether it is off; if an external interruption occurs, the instruction is fetched, and one of the instructions is used by the process control module; The decoding and decoding are extracted from the hidden body, and the decoder module is used to interpret the command from the memory to generate an instruction code; 丨 ~ k in the body refers to illegal instruction processing. When the decoding module fails, the process control module will Trigger an illegal instruction interrupt; when the instruction code determines that the execution instruction is interpreted by the process control module, it is necessary to use this instruction set module to execute; = is set as the solution function; the instruction interrupt processing corresponding to 7 horses, if the instruction execution When it happens, the group performs interrupt processing according to the preset interrupt service routine; the & process control module 'controls the subsequent processing of the memory system. If no intermediate results occur during the execution of the instruction, and after the instruction processing is completed, Perform reset processing. 6. The method of claim 5 in the scope of patent application, wherein the purpose is a flash memory (CACHE) or main memory in the computer. ’The source of the interruption This method is further advanced. • The method of item 5 in the scope of the patent application, its rotation, and internal triggering when decoding fails. 8 · If the method of applying for the scope of patent No. 5, its application, page 14, 554288 The scope of the process of applying for the scope of patenting, this step determines the shutdown of the entire process, then U; =: =: =: Weiqi: Industrial module (-1 ClaSSh takes this to make the method of the terminal category process of 20 = 1 will not be controlled by any successor, the whole cpu invention simulation device architecture, has Consistent ^ ,,,, and 'functions' to achieve the purpose of the consistent work flow. 第15頁Page 15
TW089107136A 2000-04-17 2000-04-17 Method of single CPU simulator kernel frame technique and its device thereof TW554288B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW089107136A TW554288B (en) 2000-04-17 2000-04-17 Method of single CPU simulator kernel frame technique and its device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW089107136A TW554288B (en) 2000-04-17 2000-04-17 Method of single CPU simulator kernel frame technique and its device thereof

Publications (1)

Publication Number Publication Date
TW554288B true TW554288B (en) 2003-09-21

Family

ID=31974668

Family Applications (1)

Application Number Title Priority Date Filing Date
TW089107136A TW554288B (en) 2000-04-17 2000-04-17 Method of single CPU simulator kernel frame technique and its device thereof

Country Status (1)

Country Link
TW (1) TW554288B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521011A (en) * 2011-11-18 2012-06-27 华为技术有限公司 Simulator generation method and simulator generation device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521011A (en) * 2011-11-18 2012-06-27 华为技术有限公司 Simulator generation method and simulator generation device
CN102521011B (en) * 2011-11-18 2014-08-06 华为技术有限公司 Simulator generation method and simulator generation device
US9753752B2 (en) 2011-11-18 2017-09-05 Huawei Technologies Co., Ltd. Simulator generation method and apparatus

Similar Documents

Publication Publication Date Title
CN106228069B (en) System and method for detecting malice executable file
Ryzhyk et al. Automatic device driver synthesis with Termite
CN102236621B (en) Computer interface information configuration system and method
EP2368189B1 (en) Debugging pipeline
US20120323553A1 (en) Mobile Emulator Integration
US10540262B2 (en) Using edit and continue to dynamically set and unset optimizations in source code while debugging
Ryzhyk et al. {User-Guided} Device Driver Synthesis
US20050240819A1 (en) Providing support for single stepping a virtual machine in a virtual machine environment
CN106897090B (en) Embedded equipment program upgrading method and system
US8296119B2 (en) Saving and restarting discrete event simulations
JP2006012170A5 (en)
CN101030241A (en) Method and system based on Keil C51 software protecting development
TW202138997A (en) Processor and system comprising mode-specific endbranch for control flow termination
CN111111201A (en) Skill creating method, skill creating device, skill creating server and skill creating medium based on game
US20240086310A1 (en) What-if analysis for notebooks
TW554288B (en) Method of single CPU simulator kernel frame technique and its device thereof
WO2023143020A1 (en) Generation method and apparatus for real-time operating system, use method and apparatus for real-time operating system, electronic device, and medium
CN112527457A (en) Virtual machine implementation method for universal Unicorn simulation instruction execution
US8141034B2 (en) System for automating the definition of application objects supporting compressing operations
JPH0810437B2 (en) Guest execution control method for virtual machine system
US20230101154A1 (en) Resumable instruction generation
US6772372B2 (en) System and method for monitoring unaligned memory accesses
JP2828590B2 (en) Microprogram verification method
Black Build an operating system from scratch: a project for an introductory operating systems course
JP2007004516A (en) Program debugging method of built-in system

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MM4A Annulment or lapse of patent due to non-payment of fees