TW424192B - Microcomputer - Google Patents

Microcomputer Download PDF

Info

Publication number
TW424192B
TW424192B TW084113247A TW84113247A TW424192B TW 424192 B TW424192 B TW 424192B TW 084113247 A TW084113247 A TW 084113247A TW 84113247 A TW84113247 A TW 84113247A TW 424192 B TW424192 B TW 424192B
Authority
TW
Taiwan
Prior art keywords
data
address
bus
mentioned
instruction
Prior art date
Application number
TW084113247A
Other languages
Chinese (zh)
Inventor
Hiroshi Osuga
Atsushi Kiuchi
Hironobu Hasegawa
Toru Baji
Yoshiki Noguchi
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority claimed from US09/229,147 external-priority patent/US6434690B1/en
Application granted granted Critical
Publication of TW424192B publication Critical patent/TW424192B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline, look ahead
    • G06F9/3877Concurrent instruction execution, e.g. pipeline, look ahead using a slave processor, e.g. coprocessor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7839Architectures of general purpose stored program computers comprising a single central processing unit with memory
    • G06F15/7842Architectures of general purpose stored program computers comprising a single central processing unit with memory on one IC chip (single chip microcontrollers)
    • G06F15/7857Architectures of general purpose stored program computers comprising a single central processing unit with memory on one IC chip (single chip microcontrollers) using interleaved memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30145Instruction analysis, e.g. decoding, instruction word fields
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30145Instruction analysis, e.g. decoding, instruction word fields
    • G06F9/3016Decoding the operand specifier, e.g. specifier format
    • G06F9/30167Decoding the operand specifier, e.g. specifier format of immediate specifier, e.g. constants
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline, look ahead
    • G06F9/3824Operand accessing

Abstract

A built-in memory is divided into the following two types: first memories 5 and 7 and second memories 4 and 6, and made accessible in parallel by third buses XAB and XDB and second buses YAB and YDB respectively. Therefore, a CPU core 2 can simultaneously transfer two data values from the built-in memory to a DSP engine 3. Moreover, the third buses XAB and XDB and the second buses YAB and YDB are also separate from first buses IAB and IDB to be externally interfaced and the CPU core 2 can access an external memory in parallel with the access to the second memories 4 and 6 and the first memories 5 and 7.

Description

A7 B7 424192 五、發明説明(1 ) 〔發明之技術領域〕 本發明係與具有中央處理機組及數字信號處理機組之· 半導體集成電路化之邏輯L S 1有關’即與適用於需當速 .運算處理之微電腦有效之技術有關。 〔先前之技術〕 例如記載於將乘法器與算術:邏輯運算器裝置於同一基 片之微電腦,有日本特願平4 — 2 9 6 7 7 8號或美國專 利申請第1 4 5 1 5 7號。依上述專利,如微電腦之邏輯 LS I基片具有中央處理機組’總線,存儲器,乘法器, 尤其具有在自存儲器讀出數攄時,自中央處理機組將關該 讀出..數據之乘算命令之指令轉送於乘法器之信號線。結果 ,由於在中央處理機組自存儲器讀出數據時,自中央處理 機組將關於讀出數據之乘算命令之指令轉送於乘法器,故 可直接將數據轉送存儲器與乘法器之間。 〔發明欲解決之課題〕 本發明人等曾tf將數#信號處理機與中央處理機組一 同裝於一雙LSI使數字信號處理高速化之問題加以硏討 。當時,先述先前之技術雖可自_存鑛器.直接收數據轉送給 乘法器以實現乘算處理高速化,惟並未考慮在擬以中央處 理機組寅行指令之管線處理時,中央處理機組應實行指令 之取週期與乘算處理用之存儲存取週期競合之事態。又, 亦未考慮以並聯自存儲器讀出加算或乘算用之複數操作數 表紙張尺度適用中國國家榡準(CNS ) A4規格(210X297公釐 -----------L II P! (請先閲讀背面之注意事項再填寫本頁) 訂 經濟部中央橾準局貝工消費合作社印製 4241921 * A7 _____B7 五、發明説明(2 ) 使運算處理高速化之問題。更看出此時若不考慮依中央處 理機組之與外部存取關係,則微電腦將有使用不良之情形 。又,發現將數字信號處理機組裝於一雙LS I時,在欲 極力抑制指令譯碼電路等邏輯規模增大上,亦必須考量 CPU 令與DSP指令之分配或DSP 令之格式。 本發明之目的在將數字信號處理機組與中央處理機組 —同裝於一雙LSI使數字信號處理高速化。本發明之另 一目的在將數字信號數字機組與中央處理機組一同裝於一 隻L S I時,極力抑制其物理規模之增大。 本發明之前述及其他目的及新式特徵,由本說明書之 記述及附圖應可了解。 〔解決問題之方法〕 茲簡單說明本Φ請揭示之發明中具代表性之概要如下 0 經濟部中央標準局員工消費合作社印裝 (請先閲讀背面之注意事項再填寫本頁) 即微電腦,係將:中央處理機組(2 ),及 自前述中央處理機組選擇傳遞地址之第1至第3地址 總線(IAB,YAB,XAB)及 連接於前述第1地址線線(I A B )及第2地址總線 YAB,由中央處理機組之地址存取之第1存儲器(5, 7 )及 連接於前述第1地址總線(I AB )及第3地址總線 (XAB),由中央處理機組之地址存取之第2存儲器( 4 , 6 )及 本紙張尺度適用中國國家標準(CNS ) A4規格(2I0X 297公釐) 424192, B7 經濟部中央標準局貝工消費合作社印製 五 、發明説明 ( 3 ) 1 1 連接於 前 述第 1 及 第 2 存 儲 器 及 前 述 γ|π 央 處 理 機 組 傳 1 遞 數據之第 1 數據 總 線 ( I D Β ) 及 1 連接於 前 述第 1 存 儲 器 傳 遞 數 據 之 第 2 數 據 總 線 ( 1 1 Y D B ), 及 請 先 閱 i 1 連接於 刖 述第 2 存 儲 器 傳 遞 數 據 之 第 3 數 據 總 線 ( 背 1 1 I Y D B ), 及 之 注 意 1 1 連接於 前 述第 1 地 址 總 線 及 第 1 數 據 總 線 之 外 部 接 □ 項 1 I 再 1 電 路 (12 ) ,及 填 寫 1 連接於前 述第 1 至 第 3之 數 據 總 線 同 於 中 央 處 理 機 頁 | 組 動 作之數 字 信號 處 理 捣 概 組 ( 3 ) 及 1 [ 自中央 處 理機 組 將 控 制 前 述 數 字 信 號 處 理 機 組 之 動 作 1 1 1 之 D S P控 制 信號 ( 2 0 ) 傳 遞 於 數 字 信 號 處 理 機 組 之 控 1 訂 制 信 號,會 於 1基 片 以 半 導 體 集 成 電 路 化 而 成 0 1 1 依上述 方 法, 內 藏 存 φ 器 係 考 慮 數 字 信 號 處 理 機 ( 3 1 1 ) 之 積和運 算 2面 於 第 1 存 儲 器 ( 5 i 7 ) 及 第 2 存 儲 器 1 | •( 4 ,6 ) 9 由第 3 總 線 ( X A B 5 X D Β ) 及 第 2 總 線 線: ( Y A B, Ύ D B ) 分 別 可 並 聯 存 取 〇 因 此 C P U 芯 2 1 1 [ 可 白 內藏存 儲 器同 時 將 2 個 數 據 轉 送 於 數 字 信 號 處 理 機 組 1 1 信 號 0又, 第 3之 總 線 ( X A B X D B ) 及 第 2 總 線 ( 1 1 Y A B,Y D B ) 與 外 部 接 α 之 第 1 總 線 ( I A B 3 1 1 I D B ) — 同 個別 化 9 故 中 央 處 理 機 組 係 平 行 於 第 2 存 儲 1 1 器 ( 4 ,6 ) 及第 1 存 儲 器 ( 5 ΐ 7 ) 之 存 取 亦 可 外 部 存 1 I 儲 器 存取。 如 上述 因 有 分 別 連 接 於 中 央 處 理 機 組 ( 2 ) 之 1 1 | 第 1 至第3 之 三種 地 址 總 線 ( I A B > X A B Y A B ) 1 1 1 本紙張尺度適用令國國家標準(CNS ) A4規格(21 OX 297公釐) 經濟部中央標準局員工消費合作社印製 4241 92 ,哟 A7 _B7__ 五、發明説明(4) 及數據總線(I DB,XDB,YDB),故使用該三種 內部總線,即可以同一時間週期實施不同之存儲存取動作 。故亦容易對應程序或數據存在於外部存儲器之情形而可 實現運算處理之高速化。 爲了提高微電腦之使用性以R AM及R Ο.Μ分別構成 前述第1存儲器及第2存儲器即可。 爲了前述中央處理機組之積和運算等之反覆運算用之 地址形高速化,中央處理機組具備模數地址輸出部( 2 0 Q )爲宜。此時,模數地祉輸出部彤成之地址以可選 擇輸出於前述第2或第3之址址總線爲佳_。 前述數字信號處理機係含與第1至第3數據總線( IDB,YDB,XDB )個別接口之第1至第3數據緩 衝裝置(MDB I,MDBY,MDBX)及經內部總線 可連接於各數據緩衝裝置之複數寄存裝置(3 0 5〜 3 0 8 ),及連接於前述內部總線之乘法器(304)及 算術邏輯運算器(302),及將前述DSP控制信號譯 碼以控制前述數據緩衝裝置,乘法器邏輯運算器,及寄存 裝置之動作之譯碼器(34)而成。 著眼於所謂指令代碼時微電腦,即將中央處理機組( 2),及由前述中央處理機組存取控制之存儲器(4〜7 ),及在前述存儲器與中央處理機組之間傳遞數據同步於 中央處理機組動作之數字信號處理機組(3 )會於1基片 予以半導體集成電路化。可由該微電腦寅行之指令系統, 含中央處理機組(2)應實行之CPU指令,及由中央處 本紙張尺度逋用中國國家標率(CNS ) A4規格(210X297公慶) — .1— HIIIP! {請先閲讀背面之注意事項再填寫本頁) 訂 經濟部中央標準局員工消費合作社印製 4 2 4 19 2 ~ - at ____B7_ 五、發明説明(5 ) 理機組負擔取數據用之地址運算等一部份處理,數字信號 處理機組(3)應實行之OSP指令。 前述中央處理機組係含經前述數據總線取出中央處理 機組用之16位固定長之CPU指令及數字信號處理機組 用之1 6.位或3 2位長之DSP指令之指令記錄器(2 5 ),及依據前述指令記錄器取出之指令之一部份之複數位 ,識別C P U指令及D S P指令,.隨識別結果形成前述數 字信號處理機組之動作控制用DS P控制信號(2 0 )及 中央處理機組之動作控制用C P U控制信號之譯碼器( 2 4 )而成。 例如C P U指令係將指令代碼之最上位4位分配於, 0 0 0 0" ~ 1 1 0"之範圍。DSP指令係將指令 代碼之最上位4位分配於"1 1 1 1'之範圍。更將指令 代碼之最上位6位分配於、1111〇〇 〃及" 1 1 1 1 0 1"範圍之指令,係亦將DSP指令成爲1 6 位長之指令代碼。指令代碼之最上位6位爲' 1 1 1 1 1 之指令,係成爲3 2位長之指令代碼。在 指令代碼之最上位6位爲1 1 1 1 之範圍並未分 配指令,將其範圍做爲未使用領域,如上述,由於在對最 大3 2位之指令之代碼分配設如上述之規則,將各指令代 碼之一部份例如最上位側6位譯碼,即可以小邏輯規模之 譯碼器判定該指令寬爲CPU指令^ 1 6位長之DSP指 令,或3 2位長之DSP指令,而無需經常將3 2位全部 以一次譯碼。 本紙張尺度適用中國國家標準(CNS ) A4規格(2丨0X297公釐) I — 1 — — lf (請先閲讀背面之注意事項再填寫本頁) -、Tr 42 4 1 9 2:^ A7 B7 五、發明説明(6) 前述譯碼器係含:將命記錄器之上位6位譯碼,形成 前述CPU譯碼信號(2 4 3 )及DSP譯碼信號( 244)之第1譯碼電路(240),及在第1譯碼電路 識別3 2位長之DSP指令時輸出將指令記錄器之下位 1 6位編碼之信號。而在識別其以外之指令時.,輸出意味 輸出無效之代碼之代碼更換電路(2 4 2 ),而將前述 D S P譯碼信號及代碼變換電路之输出做爲D S P控制信 號(2 0 )。 著眼於D S P指令之指令格式時微電腦係含中央處理 機組(2),及同步於前述中央處理機組動作之數字信號 處理機組(3)及共同連接前述中央處理機組及前述數字 信號處理機組之內部總線(IDB),予以半導體集成電 路化而·成之微電腦,其中 經濟部中央標準局負工消費合作社印製 (請先閲讀背面之注意事項再填寫本頁) 前述中央處理機組係具備,具有實施對該中央處理機 組規定數字信號處理機組間之數字轉送之第1代碼領域( 圖1 8所示之1 6位DSP指令之9位〜0位)之第1格 式指令,及具有與前述第1代碼領域同格式之第2代碼領 域,(圖20,圖21例示之32位DSP指令之A領域 )並對數字信號處理機組規定使用該第2代碼領域規定之 送數字之運算處理之第3代碼領域(圖2 0 ,圖2 1例示 之3 2位元DSP指令之B領域)之第2格式指令用之實 施控制裝置而成。 因此,實行控制裝置,在實施第1及第2格式之各指 令時可對第1之代碼領域及第2代碼領域採用具有共同譯 本紙張尺度適用中國國家標準(CNS > A4規格(210X297公釐) ^24192 A7 B7 經濟部令央標準局員工消費合作社印製 五、 發明説明 ( 7 ) -1 | 碼 邏 輯 之 譯 碼 裝 置 有 益 於 微 電 腦 之 邏 輯規 模 之 縮 小 0 1 ' | 前 述 第 1 格 式 指 令 及 第 2 格式 指 令 , 具 有 表 其 爲 第 1 1 I 1 格 式 或 第 2 格 式 用 之 第 4 領 域 ( 例 如 1 6 位 D S P 指 令 1 .之 1 5 位 1 0 位 3 2 位 D S P 指 令 之 3 2 位 2 6 位 ) 請 先 1 1 閲 1 0 讀 I 背 1 前 述 實 施 控 制 裝 置 係 含 共 用 於 刖 述 第 1 格 式 指 令 及 之 注 1 I 第 2 格 式指 令 之 指 令 寄 存 器 ( 2 5 ) 及 意 事 項 1 I 將 含 於 前 述 指 令 寄 存 器 取 出 之 指 令 之 前 述 第 1 代 碼 領 再 f I 域 及 第 4 代 碼 領 域 或 第 2 代 碼 領 域 及 第 4 代 碼 領 域 譯 碼 之 頁 1 | 譯 碼 裝 置 ( 2 4 0 ) J 及 I ] I 依 其 譯 碼 邡口 果 實 地 址 '運 算 實 施 刖 述 數 據 轉 送 控 制 之 實 1 1 施 裝 置 而成 0 1 訂 前述 指 令 寄 存 器 具 有 共 用 保 持 前 述 第 1 代 碼 領 域 [ 1 及 第 4 代 碼 領 域 或 第 2 代 碼 領 域 及 第 4 代 碼 領 域 之 上 位 領 1 1 域 ( U I R ) 及 利 用 於保 持 -·> f- 刖 述 第 3 代 碼 領 域 之 下 位 領 域 1 | ( L I R ) 而 前 述 譯 碼 裝 置 係依 據 前 述 第 4 領 域 之 譯 碼 結 果 輸 出 表 示 > 刖 述 指 令 寄 存 器 保 持 第 2 格 式 指 令 之 控 制 1 1 I 信 號 ( 2 4 8 ) 依 據 其 控 制 信 號 5 白 前 述 下 位 領 域 向 前 1 1 1 述 數 字 1W 號 處 理 機 組 供 給 第 3 代 碼 領 域 之 代 碼 數 據 之 裝 置 1 1 2 4 2 , 2 4 2 A 2 4 2 B 0 1 1 1 C 實 施 例 ) 1 1 [ 圖 1 表 示 本 發 明 之 —* 實 施 例 有 關 之 微 電 腦 1 全 部 方 塊 1 1 圖 0 同 圖 所 之 微 電 腦 係 以 半 導 體 集 成 電 路 製 造 技 術 形 成 1 1 本紙張尺度適用中國國家榡準(CNS) A4規格(2丨OX 297公釐)_ - 經濟部中央標準局員工消費合作社印製 4 2 4 19 2 : ^ J A7 B7 五、發明説明(8 ) 如單結晶矽之一個半導體基板。微電腦1係由中央處理機 組之CPU芯2 (CPU Core) 2 ,數字信號處理 機組之 DSP 引擎(DSP Engine ) 3 > X - R0M4 — R0M5 — RAM6 »Y — RAM7 ’分配控制器(Interrupt Controller) 8,總線控制器 (Bus state conttrol ler) ) 9,內藏周邊電路(A7 B7 424192 V. Description of the Invention (1) [Technical Field of the Invention] The present invention is related to the logic LS 1 of semiconductor integrated circuit with a central processing unit and a digital signal processing unit, that is, it is applicable to the current speed. Microcomputer processing technology is effective. [Previous technology] For example, it is described in a microcomputer in which a multiplier and an arithmetic: logic operation device are installed on the same substrate. There are Japanese Patent Application No. 4-2 9 6 7 7 8 or US Patent Application No. 1 4 5 1 5 7 number. According to the above patents, for example, the logic LS I chip of the microcomputer has a central processing unit's bus, memory, and multiplier, and especially when reading data from the memory, the readout from the central processing unit will multiply the data. The command instruction is transferred to the signal line of the multiplier. As a result, since the central processing unit reads the data from the memory, the central processing unit transfers the instruction about the multiplication command of the read data to the multiplier, so the data can be directly transferred between the memory and the multiplier. [Problems to be Solved by the Invention] The present inventors have discussed the problem of speeding up digital signal processing by installing a digital signal processor and a central processing unit on a dual LSI. At that time, although the previous technology mentioned above can be self-reserved. The data can be directly transferred to the multiplier to achieve high-speed multiplication. However, the central processing unit was not considered when the pipeline processing was planned by the central processing unit. A situation where the instruction fetch cycle and the storage access cycle used for multiplying processing should coincide should be implemented. Also, the paper size of the complex operand table for adding or multiplying by reading from memory in parallel is not considered. The paper size of China National Standard (CNS) A4 (210X297 mm ----------- L II) is applicable. P! (Please read the notes on the back before filling out this page) Order printed by the Central Laboratories of the Ministry of Economic Affairs and printed by the Shellfish Consumer Cooperatives 4242121 * A7 _____B7 V. Description of the invention (2) The problem of speeding up the processing of the operation. See more At this time, if the access relationship between the central processing unit and the external access is not considered, the microcomputer may be used poorly. Also, when the digital signal processor is assembled in a pair of LS I, it is found that when trying to suppress the instruction decoding circuit, etc. For increasing the logic scale, it is also necessary to consider the allocation of CPU instructions and DSP instructions or the format of the DSP instructions. The object of the present invention is to install the digital signal processing unit and the central processing unit in a dual LSI to speed up digital signal processing. Another object of the present invention is to suppress the increase of the physical scale when the digital signal digital unit and the central processing unit are installed in an LSI together. The foregoing and other objects and new features of the present invention are described by The description of the manual and the accompanying drawings should be understandable. [Methods to Solve the Problem] The following is a brief summary of the representative inventions disclosed in the following: 0 Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs (Please read the note on the back first) Please fill in this page again for details.) That is, the microcomputer will be: the central processing unit (2), and the first to third address buses (IAB, YAB, XAB) selected from the aforementioned central processing unit and connected to the aforementioned first address Line (IAB) and second address bus YAB, the first memory (5, 7) accessed by the address of the central processing unit, and connected to the aforementioned first address bus (I AB) and third address bus (XAB), The second memory (4, 6) accessed by the address of the central processing unit and the paper size are applicable to the Chinese National Standard (CNS) A4 specification (2I0X 297 mm) 424192, B7 Printed by the Shellfish Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs V. Description of the invention (3) 1 1 The first data bus (ID Β) connected to the first and second memories and the aforementioned γ | π central processing unit to transmit and transfer data and 1 Connected to the second data bus (1 1 YDB) of the first memory transfer data, and please read i 1 Connected to the third data bus (remember 1 1 IYDB) of the second memory transfer data, and note 1 1 External connection to the aforementioned first address bus and first data bus □ Item 1 I and 1 circuit (12), and fill in 1 Connect to the aforementioned first to third data buses Same as the CPU page | Group Action Digital Signal Processing Unit (3) and 1 [From the central processing unit, the DSP control signal (2 0) that controls the operation of the aforementioned digital signal processing unit 1 1 1 is transmitted to the control of the digital signal processing unit 1 Customized signal It will be converted into a semiconductor integrated circuit on 1 substrate. 0 1 1 According to the above method, the built-in φ device is considered a digital signal processor (3 1 1 The sum of product 2 operations on the first memory (5 i 7) and the second memory 1 | • (4, 6) 9 by the third bus (XAB 5 XD Β) and the second bus line: (YAB, Ύ DB ) Can be accessed in parallel respectively. Therefore, the CPU core 2 1 1 [can store 2 data at the same time to the digital signal processing unit 1 1 signal 0 and 3rd bus (XABXDB) and 2nd bus (1 1 YAB, YDB) and the first bus (IAB 3 1 1 IDB) connected externally to α — so the central processing unit is parallel to the second storage 1 1 (4, 6) and the first storage (5 ΐ 7 ) Access can also be accessed by external memory 1 I memory. As mentioned above, there are 1 1 | three kinds of address buses (IAB > XABYAB) 1 1 connected to the central processing unit (2). 1 1 1 This paper is applicable to the national standard (CNS) A4 specification (21 OX 297 mm) Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs 4241 92, yo A7 _B7__ V. Description of the invention (4) and data bus (I DB, XDB, YDB), so the three internal buses can be the same The time period implements different memory access operations. Therefore, it is easy to cope with the situation that the program or data exists in the external memory and speed up the arithmetic processing. In order to improve the usability of the microcomputer, the first memory and the second memory may be constituted by R AM and R 0.M, respectively. In order to speed up the address form for the repeated calculations of the product and operation of the central processing unit, it is preferable that the central processing unit be provided with an modulo address output unit (20Q). At this time, it is preferable that the address generated by the analogue land output unit is output on the second or third address bus optionally. The aforementioned digital signal processor includes first to third data buffer devices (MDB I, MDBY, MDBX) with individual interfaces to the first to third data buses (IDB, YDB, XDB) and can be connected to each data via an internal bus A complex register device (3 05 ~ 308) of the buffer device, a multiplier (304) and an arithmetic logic operator (302) connected to the internal bus, and decoding the DSP control signal to control the data buffer The device, the multiplier logic operator, and the decoder (34) registering the operation of the device. Focusing on the so-called instruction code microcomputer, that is, the central processing unit (2), and the memory (4-7) controlled by the aforementioned central processing unit, and transferring data between the aforementioned memory and the central processing unit to synchronize with the central processing unit The operating digital signal processing unit (3) will be integrated into a semiconductor integrated circuit on one substrate. The instruction system that can be used by the microcomputer includes the CPU instructions to be implemented by the central processing unit (2) and the paper size of the central office using the Chinese National Standard (CNS) A4 specification (210X297 public celebration) — .1— HIIIP (Please read the precautions on the back before filling this page) Order printed by the Consumers Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs 4 2 4 19 2 ~-at ____B7_ V. Description of the invention (5) Address calculation used by the management unit to take data Wait for a part of the processing, the OSP instruction that the digital signal processing unit (3) should implement. The aforementioned central processing unit is an instruction recorder (2 5) containing a 16-bit fixed-length CPU instruction for the central processing unit taken out via the aforementioned data bus and a 16-bit or 32-bit DSP instruction for the digital signal processing unit. According to the plural digits of a part of the instruction fetched by the foregoing instruction recorder, the CPU instruction and the DSP instruction are identified, and the DS P control signal (2 0) and central processing for the operation control of the digital signal processing unit are formed with the identification result. The unit's operation is controlled by the decoder (2 4) of the CPU control signal. For example, the C P U instruction allocates the upper 4 digits of the instruction code in the range of 0 0 0 0 " ~ 1 1 0 ". The DSP instruction allocates the top 4 digits of the instruction code in the range of "1 1 1 1 '. In addition, the uppermost 6 digits of the instruction code are allocated in the range of 1111 100 〃 and "1 1 1 1 0 1", and the DSP instruction is also a 16-bit long instruction code. The first 6 digits of the instruction code are '1 1 1 1 1', which is a 32-bit long instruction code. The uppermost 6 digits of the instruction code are in the range of 1 1 1 1 and the instruction is not allocated. The range is regarded as the unused area. As mentioned above, since the code allocation for the maximum 32 digits of instruction is set as the above rule, Decoding a part of each instruction code, such as the uppermost 6 bits, can determine that the instruction width is a CPU instruction ^ 1 6-bit DSP instruction, or a 32-bit DSP instruction. Without having to decode all 32 bits all at once. This paper size applies to Chinese National Standard (CNS) A4 specification (2 丨 0X297mm) I — 1 — — lf (Please read the notes on the back before filling this page)-, Tr 42 4 1 9 2: ^ A7 B7 5. Description of the invention (6) The aforementioned decoder includes: a first decoding circuit that decodes the upper 6 bits of the recorder to form the aforementioned CPU decoding signal (2 4 3) and DSP decoding signal (244). (240), and when the first decoding circuit recognizes a 32-bit long DSP instruction, it outputs a signal that encodes the lower 16 bits of the instruction recorder. When identifying other commands, the output means a code replacement circuit (2 4 2) that outputs an invalid code, and the output of the aforementioned DSP decoding signal and code conversion circuit is used as the DSP control signal (2 0). Focusing on the instruction format of the DSP instruction, the microcomputer includes a central processing unit (2), a digital signal processing unit (3) synchronized with the operation of the aforementioned central processing unit, and an internal bus that commonly connects the aforementioned central processing unit and the aforementioned digital signal processing unit (IDB), a microcomputer that is integrated into a semiconductor integrated circuit, printed by the Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs (please read the precautions on the back before filling this page). The aforementioned central processing unit is equipped with The central processing unit specifies the first format instruction of the first code field of the digital transfer between the digital signal processing units (9 to 0 bits of the 16-bit DSP instructions shown in FIG. 18), and has the same first code as the aforementioned first code. Field The second code field of the same format (the field A of the 32-bit DSP instruction illustrated in Figure 20 and Figure 21) and the digital signal processing unit specifies the third code field that uses the arithmetic processing of sending numbers specified in the second code field. (Fig. 20, Fig. 21 exemplifies the B area of a 32-bit DSP instruction) The second format instruction is implemented by a control device. Therefore, the implementation of the control device, when implementing the instructions of the first and second format, can adopt the common translation paper size applicable to the Chinese national standard (CNS > A4 specification (210X297 mm) for the first code area and the second code area. ) ^ 24192 A7 B7 Printed by the Consumers 'Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs V. Invention Description (7) -1 | The decoding device of code logic is beneficial to the reduction of the logic scale of microcomputers 0 1' | The second format instruction has the 4th field for the 1 1 I 1 format or the second format (for example, 16-bit DSP instructions 1. 15-bit 10-bit 3 2-bit DSP instructions 3 2-bit 2 (6 digits) Please read 1 1 Read 1 0 Read I back 1 The aforementioned implementation control device contains a command register (2 5) and a note 1 I that are commonly used to describe the first format instruction and the second format instruction Contained in the aforementioned instructions The first code collar of the instruction fetched from the register is f I field and 4th code field or 2nd code field and 4th code field. Page 1 | Decoding Device (2 4 0) J and I] I Decoding the mouth of the fruit address, the implementation of the implementation of the described data transfer control 1 1 implementation of the device 0 1 Order the aforementioned instruction register has the first code area [1 and 4 code area or the second code area and the second code area 4 Upper field of the code field 1 1 Field (UIR) and used to hold-· > f- Describe the lower field of the 3rd code field 1 | (LIR) and the aforementioned decoding device is based on the decoding of the fourth field Result output display> The description instruction register holds the control of the second format instruction 1 1 I signal (2 4 8) according to its control signal 5 white forward lower field forward 1 1 1 mentioned digital 1W processing unit Device 1 1 2 4 2 , 2 4 2 A 2 4 2 B 0 1 1 1 C Example 1 1 [Figure 1 shows the microcomputer 1 related to the embodiment of the present invention— * Box 1 1 Figure 0 The microcomputer in the same figure is formed by semiconductor integrated circuit manufacturing technology 1 1 This paper size is applicable to China National Standards (CNS) A4 specifications (2 丨 OX 297 mm) _-Staff Consumption of the Central Bureau of Standards, Ministry of Economic Affairs Cooperative printed 4 2 4 19 2: ^ J A7 B7 V. Description of the invention (8) A semiconductor substrate such as single crystal silicon. Microcomputer 1 is composed of CPU Core 2 of central processing unit, DSP Engine 3 of digital signal processing unit > X-R0M4 — R0M5 — RAM6 »Y — RAM7 'Interrupt Controller 8. Bus controller (Bus state conttrol ler) 9. Built-in peripheral circuits (

Peripheral circuit) 1 0,1 1_,外部存儲接□( Externa! Memory Interface ) 1 2,時鐘脈衝生成器( CPG) 1 3 構成。前述 X — R〇M4 ,γ — r〇M5 係 存儲指令或常數數據等用之讀出專用或可以電換寫之閱讀 儲存器’又—1^及以6,¥-1^八]\/17係做爲數據之一時 存儲或C PU芯2及D S Ρ引擎3之作業領域等利用之捷 進存儲器。前述X — R0M4及X— RAM6總稱爲內部 指令/數據用之X存儲器(丨n t e r n a 1 I n s t r m g c ΰ t丨ο η / 0&amp;(^又116111)而將丫 — 1^〇]^5及¥—尺八1^7總稱爲內 部指令/數據用之Υ存儲器(Internal instl^ction/ Data Y Mem)° 本實施例之微®腦1其總線構成具備:結合於外部存 儀接口 1 2之內部地址總線I AB及未結合於內部數'據總 線I DB,外部存儲接口 1 2之內部地址總線XAB及未 結合於內部數據總線XDB,外部存儲接口 1 2之內部地 址總線Y AB及內部數據總線YD B,而內藏周邊電路 1 〇,1 1用之周邊地址總線PAB及周邊數據總線 P D B °又,控制總線係省略其圖示係分別對應成對之地 本紙張尺度通用中國國家標準(CNS &gt; A4規格(210Χ297公釐) 11 (請先閱讀背面之注#事項再填寫本頁) b裝. 訂 經濟部中央標準局員工消費合作社印製 424192 ‘ A7 _____ B7 五、發明説明(9 ) 址總線及數據總線設置。 C PU芯2連接經過外部存儲接口 1 2可連接於基片 之數據總線I DB,自分控制器8供給分配信號8 0。 CPU芯2將控制DSP引擎3用之控制信號2 0供給 DSP引擎3。CPU芯2更將地址信號輸出於經外部存 儲接口12可連接於基片外部之地址總線IAB及未連接 於外部存儲接口 1 2之地址總線XAB,YAB。CPU 芯2係將時鐘脈衝生成器(CPG) 13輸出之非重#雙 相之時鐘信號C1 〇 ck l,Cl ock 2爲動作基準時 鐘信號動作。關於CPU芯2容後詳述,惟圖1之CPU 芯2,圖示代表性之寄存器堆2 1,算術邏輯運算器( 八乙1;)2 2,地址加算器(众&lt;3£3—人1^11)2 3譯碼 器2 4,指令寄存器(JR) 2 5。寄存器堆2 1係任意 利用爲地址寄存器或數據寄存器,又含程序計數器,以及 控制寄存器。譯碼器2 4係將指令寄存器2 5所取指令譯 碼形成內部控制信號(圖1中省略其圖示)及控制信號 2 0。指令寄存器(I R) 2 5,分別由1 6位之上位側 領域(UI R)及下位側領域(L I R)而成。詳情容後 述,惟下位側領域(L I R )之値可選擇移位於上位側領 域(UIR)。又省略控制中斷等例外發生時之指令實施 順序,或以硬體控制對例外發生之內部狀態之退避復歸用 之順序控制電路之圖示。 DSP引擎3係連接於前述數據總線I DB,XDB ,丫06,將時鐘信號(:1〇〇1〈1,(:1〇〇1^2爲動 本纸張尺度適用中國國家標準(CNS ) A4规格(2丨0 X 297公釐) (請先閲讀背面之注意事項再填寫本頁)Peripheral circuit) 1 0, 1 1_, external storage interface (Externa! Memory Interface) 1 2, clock pulse generator (CPG) 1 3. The aforementioned X-ROM4, γ-rOM5 are read memory dedicated for reading instructions or constant data, etc., or can be electrically rewritten. Also, 1 ^ and 6, ¥ -1 ^ eight] \ / The 17 is used as one of the data to store or use the memory of the CPU core 2 and the DSP engine 3 in the operating field. The aforementioned X-R0M4 and X-RAM6 are collectively referred to as X memory for internal instructions / data (丨 nterna 1 I nstrmgc ΰ t 丨 ο η / 0 &amp; (^ 116116111), and ^ — 1 ^ 〇] ^ 5 and ¥ — Shakuhachi 1 ^ 7 is collectively called Internal Instl ^ ction / Data Y Mem °. The micro-brain 1 of this embodiment has a bus structure including: an internal address combined with the external memory interface 12 Bus I AB and internal data bus X AB which is not combined with internal data 'Data bus I DB, external storage interface 12 and internal data bus X AB which is not integrated with internal data bus XDB, external storage interface 12 and internal data bus YD B, and the peripheral address bus PAB and peripheral data bus PDB for the built-in peripheral circuits 1 0, 11 and the control bus are omitted. The illustrations correspond to the Chinese paper standard (CNS &gt); A4 specification (210 × 297 mm) 11 (Please read the Note # on the back before filling out this page) b. Order. Printed by the Consumer Standards Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs 424192 'A7 _____ B7 V. Description of Invention (9) Bus and data bus design The C PU core 2 is connected to the data bus I DB of the chip via the external storage interface 12 and can be distributed to the sub-controller 8 to provide a distribution signal 80. The CPU core 2 supplies the control signal 20 for controlling the DSP engine 3 to the DSP engine. 3. The CPU core 2 also outputs the address signals to the address bus IAB which can be connected to the outside of the substrate via the external memory interface 12 and the address bus XAB and YAB which are not connected to the external memory interface 12. The CPU core 2 generates clock pulses (CPG) 13 output of the non-heavy # dual-phase clock signal C1 CK1, Clock 2 is the action reference clock signal action. Details on CPU core 2 will be described later, but CPU core 2 in Figure 1 Register register 2 1, arithmetic and logic operation unit (eight 1; 2), address adder (multiples &lt; 3 £ 3-person 1 ^ 11) 2 3 decoder 2 4, instruction register (JR) 2 5. Register file 2 1 is arbitrarily used as an address register or data register, and also contains a program counter and a control register. Decoder 2 4 decodes the instruction fetched by instruction register 25 to form an internal control signal (omitted in Figure 1) Its illustration) and control signal 2 0. Instruction register (IR) 2 5, respectively It is made up of 16 upper-side areas (UI R) and lower-side areas (LIR). Details will be described later, but the lower-side area (LIR) can be moved to the upper-side area (UIR). The control is omitted. The execution order of the instruction when an exception occurs, such as an interrupt, or the diagram of a sequence control circuit that uses hardware to control the avoidance and return of the internal status of the exception. The DSP engine 3 is connected to the aforementioned data buses I DB, XDB, and Y06. The clock signal (: 1001 <1, (: 1001 ^ 2) is the standard for the paper. The Chinese National Standard (CNS) is applied. A4 specification (2 丨 0 X 297 mm) (Please read the precautions on the back before filling in this page)

424 彳 92 經濟部中央標準局貝工消費合作社印製 A7 B7 五、發明説明(10) 作基準時鐘信號動作。關於D S P引擎3容後詳述惟圖1 之DSP引擎3,圖示代表性之數據寄存器堆3 1 ,算術 邏輯運算器及移位器(ALU/shifter) 3 2,乘算器 (MAC) 3 3,及譯碼器3 4。數據寄存器堆3 1係利 用於積和運算等。譯碼器3 4將C P + U芯2供給之控制信 號2 0譯碼,形成DSP引擎3之內部控制信號(圖1中 省略其圖示)。 X — ROM 4及X — RAM6係連接於地址總線 ΙΑΒ,XAB 與數據總線 IDB,XDB - ROM 5及Y_RAM7係連接於地址總線i AB,YAB與數 據總線IDB,YDB。內藏存儲器係考慮DSP引擎3 之積和運算,2面化於X存儲器4,6與Y存儲器5 , 7 ,可由內部總線XAB,XDB與YAB,YDB分別以 並聯存取。更因內部總線X A B,X D B與Y A B, YDB與在外部接口之線線IAB, IDB,均予個別化 ,故與X存儲器4,6與Y存儲器5,7之存取平行亦可 外部存儲之存取。X存儲器4,6及Y存儲器5 , 7做爲 DS P引擎3之積和運算用之數據時記憶領域,常數數據 之記憶領域等利用。又,X — R Α Μ,Y - r a Μ當亦可 做爲C Ρ U芯2之數據時記億頜域或工作領域。 前述中斷控制器8 ,輸入內藏周邊電路1 〇 ,1 1等 之中斷要求信號(Interrupts )8 1 ,依對各種中斷要求 之優先順位或對中斷要求之遮蔽用情報調受理中斷要求, 將隨受理之中斷要求之中斷向量(丨n'terrupt Vector) 本紙浪尺度適用中國國家標準(CNS)A4規格(2[0X297公釐)_ ---------ο裝-- (請先閲讀背面之注意事項再填寫本頁) 訂 424 1 92 A7 B7 經濟部中央標準局員工消費合作社印製 五 、發明説明 ( 11) 1 8 2 輸 出 於 地 址 總 線 I A B 更 將 中 斷 信 號 8 0 輸 出 於 1 C Ρ U 芯 2 〇 1 總 線 狀 態 控 制 器 9 係 連 接 於 地 址 總 線 I A Β 5 Ρ A B 1 1 | 與 數 據 總 線 I D Β y Ρ D B 9 控 制 連 接 於 地 址 總 線 Ρ A B 請 先 1 1 聞 I 及 數 據 總 線 之 內 藏 周 邊 電 路 1 0 » 1 1 與 C P U 芯 2 之 接 讀 背 | β I Ρ 控 制 〇 之 注 1 I 意 \ | 外 部 存 儲 接 □ 1 2 係 連 接 於地 址 總 線 I A Β 與 數 據 總 事 項 1 I 再 1 線 I D Β 連 接 微 電 腦 1 之 基 片 之 外部 之 省 略 圖 示 之 地 址 1 士 總 線 與 數 據 總 線 J 實 施 與 外部 之 接 □ 控 制 0 尽 頁 1 I 圖 2 表 示 微 電 腦 1 之 地 址 標 誌 之 一 例 〇 本 寅 施 例 之 微 1 I 電 腦 1 係 管 理 以 3 2 位 規 定 之 地 址 空 間 0 前 述 地 址 總 線 1 1 | I A B 之 位 幅 爲 3 2 位 〇 在 其 地 址 空 間 中 9 存 在 例 外 處 理 1 訂 同 昝 頜 域 » X — R 0 Μ 空 間 ( 分 配 於 X — R 0 Μ 4 之 地 址 1 1 空 間 ) 9 X 一 R A Μ 空 間 ( 分 配 X — R A Μ 7 地 址 空 間 ) I 1 Τ — R 〇 Μ 空 間 ( 分 配 於 Y — R 0 Μ 5 之 地 址 空 間 ) Y — 1 1 R A Μ 空 間 ( 分 配 於 Υ 一 R A Μ 7 之 地 址 空 間 ) » 內 藏 周 r I V. 邊 電 路 分 配 空 間 ( 內 藏 周 邊 電 路 1 0 9 1 1 分 配 之 地 址 空 1 1 I 間 ) 等 α 圖 2 之 例 之 分 配 情 形 各 爲 X — R 0 Μ 4 係 2 4 K 1 1 I Β &gt; X — R A Μ 6 係 4 K B 9 Υ 一 R 〇 Μ 5 係 2 4 Κ B 1 I Υ — R A Μ 7 係 4 Κ Β 0 1 1 依 圖 2 9 1 6 進 數 表 中 在 Η 〆 0 0 0 0 0 0 0 0 1 i Η 0 0 0 0 0 3 F F 之 空 間 之 2 5 6 Β 領 域 分 配 例 外 處 1 理 向 量 頜 域 0 在 Η 〆 0 0 0 0 0 4 0 0 1 1 Η 0 1 F F F F F F 分 配 可 使 用 之 通 常 空 間 0 通 常 空 間 \ 1 1 本紙張尺度適用中國國家標準(CNS)A4規格(210X297公釐)_ κ 424 192^ A7 B7 經濟部中央標準局員工消費合作社印製 五 、發明説明( 12) - 1 I 保做爲可連接微電腦 1 外部之存儲領域 0 在 1 Η ~ 0 2 0 0 0 0 0 0 Η ^ 0 2 0 0 5 F F F 1 分配X 1 — R 0 Μ空間 0 在 Η 〆 0 2 0 0 6 0 0 0 1 I Η ~ 0 2 0 0 6 F F F , 分配X _ R A Μ 空 間 0 請 先 1 閲 I Η ^ 0 2 0 0 7 0 0 0 Η ^ 0 2 0 0 7 F F F成爲X — 讀 背 1 | R Α Μ - Μ i r r or空間 1 存取此處時實際上即存取 注 意 1 | Η ^ 0 2 0 0 6 0 0 0 Η ^ 0 2 0 0 6 F F F 之 X — 事 項 1 1 R Α Μ空間 0 H 0 2 0 0 8 0 0 0 再 填 寫 本 ί 1 Η &quot;0 2 0 0 F F F F成爲X - R A Μ R A M 一 頁 1 1 Mi r r ο r空間 9 存取此處 3 實際上即存取 1 1 Η ~ 0 2 0 0 0 0 0 0 Η ^ 0 2 0 0 7 F F F F 之 X - 1 I R A Μ ~ R 〇M空間及X —R A Μ空間 1 訂 I Η &quot;020 1 0 .0 0 0 Η &gt; 2 0 1 5 F F F 分配Y — 1 1 R 0 M空間 0 在 Η 〆 0 2 0 1 6 0 0 0 1 Η ^020 1 6 F F F 分配Υ 一 R Α Μ空間 0 1 1 Η &quot;020 1 7 0 0 Η ^ 0 2 0 1 7 F F F係成爲Y — 線, R A M — Mi r r o r空間 &gt; 存取此處 實際上即存取 1 1 Η ^020 1 6 0 0 0 Η ^ 0 2 0 1 6 F F F 之 Υ — 1 1 I R A M空間 o Η - 0 2 0 1 8 0 0 0 1 [ Η ^020 1 F F F F係成爲Y — R 〇 Μ ί R A Μ 一 1 1 Μ i r r o r空間 9 存取此處 9 實際上即存取 1 1 Η ^020 1 0 0 0 0 Η ^ 0 2 0 1 7 F F F 之 Υ — f I R 0 M空間及γ — R A M空間。 Η 0 2 0 2 0 0 0 0〜 1 I Η ^ 0 7 F F F F F F F分配通常空間 Ο 在 1 1 1 15 本紙張尺度適用肀國國家標準(CjsjS ) A4規格(210X297公釐} 424 1 92 A7 B7 五、發明説明(13) 08000000 〜1FFFFFF.FF,分配 約領域。該予約頜域,在用戶基片(實基片)時即無法存 取,評價基片(利用於仿效等之評價用基片)時,分配爲 A S E空間(仿效用之控制空間)領域。在 Η 一 2 0 0 0 0 0 〇 〇 〜Η 一 2 7FFFFFFF,分配 通常空間。在Η 一 28000000〜 H/FFFFFOFF,份配予約領域。在 H^FFFFFFO 0 〜H&gt;FFFF'FFFF,分配分 配內藏周邊電路之寄存器地址値之內藏周邊電路分配領卞 Ο 經濟部中央標率局員工消費合作社印製 圖3表示詳細表示模數地址輸出部之C P U芯2之方 塊圖,。圖3中,以虛線包圍之部份爲模數地址輸出部 2 0 0。模數地址輸出部2 0 0係將由模數地址寄存器( 例如A〇X :)輸出之値終緩衝器(例如M A B X )輸出於 地址總線(例如X A B ),同時以加算裝置(例如A L U )加算由模數地址寄存器(AOX)輸出之値實施再存儲 於模數地址寄存器(AOX)之地址更新輸出動作等之電 路方塊,依序更新形成如積和運算反覆運算用之數據存取 地址。記載爲隨機邏輯電路(R a n d 〇 m Lo g i c C i r c u i匕) 2 0 1之電路方塊係含圖1之譯碼器2 4或前述順序控制 電路,以及控制寄存器或狀態寄存器等之電路方塊。 圖 3 中,Cl ,C2 ,DR,A1 ,B1 ,A2 ,424 彳 92 Printed by the Shellfish Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs A7 B7 V. Description of the invention (10) Act as a reference clock signal. The DSP engine 3 will be described in detail later, but the DSP engine 3 in FIG. 1 shows the representative data register file 3 1, the arithmetic logic operator and shifter (ALU / shifter) 3 2, and the multiplier (MAC) 3 3, and the decoder 3 4. The data register file 31 is used for product and operation. The decoder 34 decodes the control signal 20 provided by the CP + U core 2 to form an internal control signal of the DSP engine 3 (the illustration is omitted in FIG. 1). X — ROM 4 and X — RAM 6 are connected to the address bus IAB, XAB and data bus IDB, and XDB-ROM 5 and Y_RAM7 are connected to the address bus i AB, YAB and data bus IDB, YDB. The built-in memory considers the product and operation of the DSP engine 3. The two sides are integrated into the X memory 4, 6 and Y memory 5, 7, which can be accessed in parallel by the internal buses XAB, XDB, YAB, and YDB, respectively. In addition, the internal buses XAB, XDB and YAB, YDB and the external lines IAB and IDB are individualized, so parallel access to X memory 4, 6 and Y memory 5, 7 can also be stored in external storage. take. X memory 4, 6 and Y memory 5, 7 are used as the memory area for the product and operation data of the DS P engine 3, and the memory area for constant data. In addition, when X — R Α Μ, Y-r a Μ can also be used as the data of CP core 2 to record the jaw area or work area. The aforementioned interrupt controller 8 inputs the interrupt request signals (Interrupts) 8 1 of the built-in peripheral circuits 10, 11 and so on, and accepts the interrupt requests according to the priority order of various interrupt requests or the masking of interrupt requests with intelligence. Accepted interruption request interruption vector (丨 n'terrupt Vector) This paper wave standard is applicable to China National Standard (CNS) A4 specification (2 [0X297 mm) _ --------- ο installation-(please first Read the notes on the back and fill in this page) Order 424 1 92 A7 B7 Printed by the Consumers' Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs 5. Description of the invention (11) 1 8 2 Output to the address bus IAB Output interrupt signal 8 0 to 1 C Ρ U core 2 〇1 The bus status controller 9 is connected to the address bus IA Β 5 Ρ AB 1 1 | and the data bus ID Β y PB DB 9 control and connected to the address bus PB AB Please read the 1 and the data bus first Built-in peripheral circuit 1 0 »1 1 and read back of CPU core 2 | β I CControl 0 Note 1 I Meaning | | External storage connection □ 1 2 is connected to the address bus IA Β and data items 1 I and 1 line ID Β is connected to the microcomputer 1 on the outside of the substrate. Bus and data bus J Implementation and external connection □ Control 0 End of page 1 I Figure 2 shows an example of the address mark of microcomputer 1 0 Microcomputer 1 of this example, I 1 Computer 1 manages the address space specified by 32 bits 0 The address bus 1 1 | IAB has a bit width of 3 2 〇 There are exceptions in its address space 1 Order the same with the maxillo-mandibular region »X — R 0 Μ space (allocated at X — R 0 Μ 4 address 1 1 space) 9 X-RA Μ space (allocation X-RA Μ 7 address space) I 1 Τ-R OM space (allocation space of Y-R 0 Μ 5) Y-1 1 RA Μ space (allocated to Υ RA Μ Address of 7 Space) »Built-in cycle r I V. Side circuit allocation space (built-in peripheral circuits 1 0 9 1 1 allocated address space 1 1 I space) etc. α The distribution of the example in Figure 2 is X — R 0 Μ 4 Series 2 4 K 1 1 Β &gt; X — RA Μ 6 Series 4 KB 9 Υ-R OM 5 Series 2 4 Κ B 1 I Υ — RA Μ 7 Series 4 κ Β 0 1 1 Figure 2 9 1 6 In the progression table, Η 0 0 0 0 0 0 0 0 0 0 1 i Η 0 0 0 0 0 3 FF of the space 2 5 6 Β field allocation exception 1 physical vector jaw field 0 at Η 〆 0 0 0 0 0 0 4 0 0 1 1 Η 0 1 FFFFFF Allocable normal space 0 Normal space \ 1 1 This paper size is applicable to China National Standard (CNS) A4 (210X297 mm) _ κ 424 192 ^ A7 B7 Central Bureau of Standards, Ministry of Economic Affairs Printed by the employee consumer cooperative V. Invention Description (12)-1 I Guaranteed as connectable microcomputer 1 External storage area 0 in 1 Η ~ 0 2 0 0 0 0 0 0 Η ^ 0 2 0 0 5 FFF 1 Assign X 1 — R 0 Μ space 0 at 〆 〆 0 2 0 0 6 0 0 0 1 I Η ~ 0 2 0 0 6 FFF, allocate X _ RA Μ space 0 Please read 1 first Η ^ 0 2 0 0 7 0 0 0 Η ^ 0 2 0 0 7 FFF becomes X — read back 1 | R Α Μ-Μ irr or space 1 When you access here, you are actually accessing attention 1 | Η ^ 0 2 0 0 6 0 0 0 Η ^ 0 2 0 0 6 X of FFF — item 1 1 R Α Μ space 0 H 0 2 0 0 8 0 0 0 Refill this ί 1 Η &quot; 0 2 0 0 FFFF becomes X-RA Μ RAM page 1 1 Mi rr ο r space 9 access here 3 actually access 1 1 Η ~ 0 2 0 0 0 0 0 0 Η ^ 0 2 0 0 7 FFFF X-1 IRA Μ ~ R OM space and X-RA Μ space 1 Order I Η &quot; 020 1 0 .0 0 0 Η &gt; 2 0 1 5 FFF allocation Y — 1 1 R 0 M space 0 in Η 2 0 2 0 1 6 0 0 0 1 1 ^ 020 1 6 FFF allocation Υ one R Α M space 0 1 1 Η &quot; 020 1 7 0 0 Η ^ 0 2 0 1 7 FFF system becomes Y — line, RAM — Mirror space &gt; Access here is actually access 1 1 Η ^ 020 1 6 0 0 0 Η ^ 0 2 0 1 6 of FFF Υ — 1 1 IRAM space o Η-0 2 0 1 8 0 0 0 1 [Η ^ 020 1 FFFF becomes Y — R 〇Μ ί RA Μ 1 1 Μ irror space 9 access here 9 actually exists Take 1 1 Η ^ 020 1 0 0 0 0 Η ^ 0 2 0 1 7 FFF-f IR 0 M space and γ-RAM space. Η 0 2 0 2 0 0 0 0 ~ 1 I Η ^ 0 7 FFFFFFF normal space allocation 0 0 1 1 15 This paper size applies the national standard (CjsjS) A4 size (210X297 mm) 424 1 92 A7 B7 5 Explanation of the invention (13) 08000000 ~ 1FFFFFF.FF, which allocates the contract area. The pre-restricted jaw field cannot be accessed when the user substrate (real substrate) is used, and the evaluation substrate (used for emulation, etc.) At that time, it is allocated as the ASE space (control space emulated by the utility) area. At 2 2 0 0 0 0 00 ~ ~ 2 7 FFFFFFF, the general space is allocated. At Η 28 000 000 ~ H / FFFFFOFF, the portion is allocated to the contract area. At H ^ FFFFFFO 0 to H> FFFF'FFFF, the register address of the built-in peripheral circuit is allocated. The built-in peripheral circuit allocation collar is printed. 0 Printed by the Central Consumer Bureau of the Ministry of Economy Staff Consumer Cooperatives. The block diagram of the CPU core 2 of the output section. In Figure 3, the part enclosed by the dotted line is the modulo address output section 2 0. The modulo address output section 2 0 0 will be determined by the modulo address register (such as A0X :) Output buffer (eg M ABX) is output to the address bus (such as XAB), and at the same time, an addition device (such as ALU) is used to add the output from the analog address register (AOX) to implement the address update output action stored in the analog address register (AOX) The blocks are sequentially updated to form data access addresses for repeated operations such as product-sum operations. The circuit block recorded as a random logic circuit (R and 0m Logical C ircui) 2 0 1 includes the decoder 2 of FIG. 1 4 or the above-mentioned sequence control circuit, and the circuit block of the control register or status register, etc. In Figure 3, Cl, C2, DR, A1, B1, A2,

B 2 ,〇 W分別表示C P U芯2內部之代表性總線。C P U芯2與數據總線i D0之接口係在前述指令寄存器(I 16 (請先閱讀背面之注意事項再填寫本頁} 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) 4 2 4 1 9 2 Λ A7 B7 經濟部中央標準局員工消費合作社印製 五 、發明説明 ( 14) I 1 R ) 2 5 及 數 據 緩 衝 器 ( De t a E 'U f f € r 2 0. 3實施 。ί 旨 1 令 寄 存器 ( I R ) 2 5 所 取 之 指 令 供 給 於 隨 機 邏 輯 電 路 ( 1 Ra nd ο τη I '〇g i c C i t C U i t ) 2 0 1 之 前 述 譯 碼 器 2 4 等 Q C 1 1 P U 芯2 與 地 址 總 線 I A B 之 接 P 係 在 程 序 計 數 器 ( Ρ C 請 先 聞 1 i I ) 2 0 4 及 地 址 緩 衝 器 ( Addr e s Bu f f e r ) 2 0 5 實 施 〇 背 1 1 C P U芯 2 與 地 址 總 線 X A B 之 接 P 係 在 存 儲 地 址 緩 衝 器 之 注 杳 1 1 ( Μ A B X ) 2 0 6 實. 施 5 C P U 芯 2 與 地 址 總 線 Υ A B 1 項 1 I 再 1 1/ 之 接 口係 在 存 儲 地 址 緩 衝器 ( Μ A B Y ) 2 0 7 實 施 〇 地 填 寫 本 裝 址 情 報輸 入 地 址 緩 衝 器 2 0 5 之 徑 路 可 白 總 數 C 1 , 頁 ν_^- I A 1 ,A 2 中 選 擇 3 而 地 址 情 報 輸 入 存 儲 地 址 緩 衝 器 1 1 2 0 6 , 2 0 7 之 徑路 可 白 總 線 C 1 C 2 9 A 1 , I 1 1 A 2 中選 擇 〇 算 術 運 算 器 ( A U ) 2 0 8 利 用 於程 序 計 數 1 訂 器 2 0 4 値 之 增 加 0 2 0 9 係 通 用 寄 存 器 ( R e g ) 1 1 2 1 0係 利 用 地 址 之 加 下 標 修 飾 之 變 址 寄 存 器 ( I X ) &gt; 1 1 2 1 1係 同 樣 利 用 於加 下 標 修 飾 之 變 址 寄 存 器 ( I y ) 9 1 I 2 1 2係 地 址 運 算 專 用 之 加 算 器 ( P A U ) 2 1 3 係 算 線: I 術 邏 輯運 算 器 ( A 乙 U ) 0 1 1 | 控制 位 Μ X Y 係 指 定 對 地 址 總 線 X A B 或 地 址 總 線 1 1 1 Y A B之 任 — 地 址 實 施 模 數 運 算 » 以 邏 輯 値 % 1 指 定 地 1 1 址 總 線A Β S 以 邏 輯 値 0 ft 指 定 地 址 總 線 Y A Β 0 控 制 1 1 位 D Μ指 示 實 施 模 數 運 算 否 以 邏 輯 値 1 指 示 實 施 模 1 1 數 運 算, 以 輯 値 0 Μ 指 示 不 實 施 模 數 運 算 〇 模 數 開 始 1 | 地 址 寄存 器 ( Μ S ) 2 1 4 存 儲 模 數 運 算 開 始 地 址 模 終 1 I 了 地 址寄 存 器 ( Μ E ) 2. 1 5 存 儲 模 數 運 算 終 了 地 址 0 [ 1 ! 本紙張尺度適用中國國家梯準(CNS ) Μ規格(210X297公釐) 17 - 經濟部-6-央標準局貝工消費合作社印製 本紙張尺度適用中國國家標準(CNS ) Α4規格(2!ΟΧ2ί&gt;7公釐) -? A 1 9 2 - ^ . A7 __B7_. 五、發明説明(15) 模數地址寄存器(ΑΟχ,Α1χ) 2 1 6係存儲現 在之模數地址之電地址寄存器,2 1 7係比較模數終了地 址寄存器(ME) 2 1 5之値與模數地址寄存器(AO X ,Alx) 2 1 6之値之比較器(CMP) 2 1 8係對比 較器2 1 _7&quot;)之輸出控制出ΜΧΥ,DM之'3輸入採邐輯 値之與門,2 1 9係選擇總線C 1之値與模數開始地址寄 存器(MS ) 2 1 4之値之選擇器,上述各件係利用於關 於地址總線XAB之模數運算。選擇器219係由與門 2 1 8之邏輯値&quot;1'輸出選擇寄存器(MS) 2 1 4之 値,將選擇之値給予模數地址寄存器(ΑΟχ ,Α1χ) 2 1 6 )。模數地址寄存器2 1 6係選擇利用AO x或 A.lx之任一方。 模數地址寄存器(AO y,A1 y ) 2 2 6係存儲現 在之模數地址之電流地址寄存器,:2 2 7係比較模數終了 地址寄存器(ME) 2 1 5之値與模數地址寄存器( 八0乂,六1¥)216之値之比較器(〇“?), 2 2 8係比較器2 2 7之输出與.控制位MXY之反轉位與 擯〇M23輸入採邏輯積之與門,2 2 9係選擇總線C 2 之値與模數開始地址寄存器(M S ) 2 1 4之値之選擇器 上述各件係利用於關地址總線Y A Β之模數運算。選擇器 2 2 9係由與門2 2 8之邏輯値'&quot;l*输出選擇寄存器( MS ) 2 1 4之値,將選擇之値給予模數地址寄存器( AO y,A1 y ) 2 2 6。模數地址寄存器2 2 6係選擇 利用AO y或A1 y之任何一方。 (請先閲請背面之注意事項再填寫本頁) 訂 424 ΐ 9 2 -噶 Α7 _I_B7 五、發明説明(ie) 模數地址寄存器(AO y,A1 y ) 2 2 6係存儲現 在之模數地址之電流地址寄存器2 2 7係比較模數終了地 址寄存器(ME ) 2 1 5之値與模數地址寄存器(A 0 y (請先閲讀背面之注意事項再填寫本頁) ,A ly) 21 6之値之比較器(CMP) ,228係對 比較器2 2 7之輸出與控制位MXY之反轉位與控制位 _ Ο Μ之3輸入採邏輯積之與門,2 2 9係選擇總線C 2之 値與模數開始地址寄存器(MS) 214之値選擇器,上 述各件係利用於關於地址總線Y A B之模數運算。選擇器 2 2 9係由與門2 2 8之邏.輯値輸出選擇寄存器( MS ) 2 1 4之値,將選擇之値給予模數地址寄存器( A0y,Aly) 226。模數地址寄存器226係選擇 利用A 0 y或A 1 y之任一方。 又,記載於隨機邏輯電路2 0 1之0 P Cede係意指 指令寄存器2 5供給之指之飮代碼,CONST意指常數値。B 2 and 0 W respectively represent the representative buses in the CP core 2. The interface between the CPU core 2 and the data bus i D0 is in the aforementioned instruction register (I 16 (Please read the precautions on the back before filling out this page) This paper size applies to the Chinese National Standard (CNS) A4 specification (210X297 mm) 4 2 4 1 9 2 Λ A7 B7 Printed by the Consumers 'Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs 5. Description of the invention (14) I 1 R) 2 5 and data buffer (De ta E' U ff € r 2 0.3) implemented. Ί Purpose 1 Let the instruction fetched by the register (IR) 2 5 be supplied to the random logic circuit (1 Ra nd τ τη I '〇gic C it CU it) 2 0 1 of the aforementioned decoder 2 4 etc. QC 1 1 PU core 2 The connection P to the address bus IAB is the program counter (please read 1 i I first) 2 0 4 and the address buffer (Addr es Bu ffer) 2 0 5 implementation 0 back 1 1 CPU core 2 and the address bus XAB The connection P is in the memory address buffer. Note 1 1 (Μ ABX) 2 0 6 Implementation. 5 CPU core 2 and address bus. AB 1 item 1 I then 1 1 / interface is Storage Address Buffer (Μ ABY) 2 0 7 Fill in the address information input address buffer 2 0 5 to implement the total number of white C 1, page ν _ ^-IA 1, A 2 select 3 and address information Input memory address buffer 1 1 2 0 6, 2 0 7 Path white bus C 1 C 2 9 A 1, I 1 1 A 2 Select 0 Arithmetic Operator (AU) 2 0 8 Used for program count 1 Subscriber 2 0 4 値 Increase 0 2 0 9 is a general-purpose register (R eg) 1 1 2 1 0 is an index register (IX) modified by using the address plus a subscript &gt; 1 1 2 1 1 is also used in Index register with index modification (I y) 9 1 I 2 1 2 Adder (PAU) for address arithmetic 2 1 3 Line: I arithmetic logic operator (A B U) 0 1 1 | Control Bit M XY specifies either the address bus XAB or the address bus 1 1 1 YAB — performs modulo operation on the address »logically 値% 1 designates 1 1 Bus A Β S specifies the address by logic 値 0 ft. Bus YA Β 0 Control 1 1 bit D M indicates whether to perform modulo operation. Logical 値 1 indicates that modulo 1 is performed. Number 0 Μ indicates that modulo operation is not performed. 〇 Modular start 1 | Address register (Μ S) 2 1 4 Store modulo operation start address modulo 1 I Address register (Μ E) 2. 1 5 Store modulo operation end address 0 [1! Applicable to this paper size China National Standard (CNS) M specifications (210X297 mm) 17-Printed by the Ministry of Economic Affairs-6-Central Bureau of Standards Shellfish Consumer Cooperative Co., Ltd. This paper is printed in accordance with Chinese National Standards (CNS) Α4 specifications (2! 〇Χ2ί &gt; 7 mm )-? A 1 9 2-^. A7 __B7_. V. Description of the invention (15) Modulo address register (ΑΟχ, Α1χ) 2 1 6 is the electrical address register that stores the current modulo address, 2 1 7 is the comparison mode Number end of address register (ME) 2 1 5 and modulo address register (AO X, Alx) 2 1 6 of the comparator (CMP) 2 1 8 is the output control of comparator 2 1 _7 &quot;) Out of MX, the AND gate of '3 input of DM, 2 1 9 is a selector for selecting bus C 1 and modulo start address register (MS) 2 1 4. The above items are used in Regarding the modulo operation of the address bus XAB. The selector 219 is a logical output of the AND gate 2 1 8 &quot; 1 'output selection register (MS) 2 1 4 and gives the selected selection to the modulo address register (ΑΟχ, Α1χ) 2 1 6). The modulo address register 2 1 6 chooses to use either AO x or A.lx. Modulo address register (AO y, A1 y) 2 2 6 is the current address register that stores the current modulo address: 2 2 7 is the modulo end address register (ME) 2 1 5 and the modulo address register (80 0, 6 1 ¥) The comparator of 216 (〇 "?), The output of 2 2 8 series comparator 2 2 7 and the inverted bit of control bit MXY and the input of 摈 〇M23 AND gate, 2 2 9 is the selector of the bus C 2 and the modulo start address register (MS) 2 1 4. The above pieces are used for the modulo operation of the address bus YA Β. Selector 2 2 9 is the logical 値 'of the AND gate 2 2 8 output selection register (MS) 2 1 4 and gives the selected 値 to the modulo address register (AO y, A1 y) 2 2 6. Modulus The address register 2 2 6 chooses to use either AO y or A1 y. (Please read the notes on the back before filling this page) Order 424 ΐ 9 2-Karma A7 _I_B7 V. Description of the invention (ie) Modular address Register (AO y, A1 y) 2 2 6 is the current address register 2 2 which stores the current modulo address 2 7 is the modulo final address register (ME) 2 1 of the 5 and modulo address register (A 0 y (please read the precautions on the back before filling this page), A ly) 21 6 of the comparator (CMP), 228 is the comparator 2 2 7 Output and control bit MXY's inversion bit and control bit _ 0 The 3 input of M is an AND gate of logical product. 2 2 9 is the selector of the bus C 2 and the modulo start address register (MS) 214. The above pieces are used for the modulo operation of the address bus YAB. The selector 2 2 9 is the logic of the AND gate 2 2 8. The output selection register (MS) 2 1 4 is used to give the selected one to the modulo. Number address register (A0y, Aly) 226. The modulo address register 226 chooses to use either A 0 y or A 1 y. Also, it is described in the random logic circuit 2 0 1 0 0 P Cede means the instruction register 2 5 Supply means the code of 飮, CONST means the constant 意.

I 茲說明C PU芯2之模數運算動作,例如使用模數地 址寄存器(AO X ) 2 1 6,在輪數運算形成供給地址總 線XAB之地址情報之動作。 經濟部中央標準局員工消費合作社印製 首先分別將模數運算開始地址寫進模數開始地址寄存 器(MS) 2 1 4 ,將模數運算終了地址寫進模數終了地 址寄存器(ME) 2 1 5。將開始模數運算地址値寫進模 數地址寄存器(AOx)。其次因對地址總線XAB之地 址實施模數運算,故對決定對XAB,YAB之任何一方 地址實施模數運算之控制位MXY寫進邏輯値'1'(對 地址總線YAB實施模數運算時,將邏輯値寫進控 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐)_ IQ - 經濟部中央標準局員工消費合作社印製 4 2419 ‘ A7 __B7___ 五、發明説明(17) 制位Μ X Y )。最後將邏輯値1 '寫進判定實施模數運 算否之控制位DM。 模數運算指令例如爲MOVS,W@Ax,Dx。該 指令記述中Αχ爲模數地址寄存器(AO X ) 2 1 6或模 數地址寄存器(A1 X ) 2 1 6,Dx係對應DSP引擎 3內之寄存器。圖3未圖示Dx °實施上述模數運算指令 時,由模數地址寄存器(AO X ) 2 1 6讀出値,輸入存 儲地址緩衝器(MABX) 2 0 6及算術邏輯運算器( ALU) 2 1 3。輸入存儲地址緩衝器(MABX) 2 0 6之値照舊輸出地址總線X A B,指定X R Ο Μ 4或 XRAM6之地址。一方面,輸入算術邏輯運算器.( A L U ) 2 1 3之模數地址f存器(A Ο X ) 2 1 6之値 係加算變化寄存器(I X ) 〇之値或常數(c〇nst) 。實施與變址寄存器(I X )^2 1 〇之加算時’爲實施指 令MOVS,W@Ax,I xj) ’ Dx等時加算常時係 實指令MOVS,W@Ax,Dx等時,該加算結果係由I will describe the operation of the modulo operation of the CPU core 2. For example, the modulo address register (AO X) 2 1 6 is used to form the address information for the address bus XAB in the round operation. Printed by the Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs, first write the modulo operation start address into the modulo start address register (MS) 2 1 4 and write the modulo operation end address into the modulo end address register (ME) 2 1 5. Write the starting modulo operation address into the modulo address register (AOx). Secondly, because the modulo operation is performed on the address bus XAB, the control bit MXY which decides to perform modulo operation on any of the addresses of XAB and YAB is written into the logic 値 '1 (when performing modulo operation on the address bus YAB Logic is written into the paper. The paper size is applicable to Chinese National Standard (CNS) A4 (210X297 mm) _ IQ-Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs 4 2419 'A7 __B7___ V. Description of the invention (17) Control M XY). Finally, the logic 値 1 'is written into the control bit DM which determines whether the modulo operation is performed. The modulo operation instructions are, for example, MOVS, W @ Ax, Dx. In the instruction description, Δχ is an analog address register (AO X) 2 1 6 or an analog address register (A1 X) 2 1 6. Dx corresponds to a register in the DSP engine 3. Figure 3 does not show that when Dx ° executes the above-mentioned modulo operation instruction, 値 is read from the modulo address register (AO X) 2 1 6 and input to the memory address buffer (MABX) 2 0 6 and the arithmetic logic unit (ALU). 2 1 3. The input memory address buffer (MABX) 2 0 6 is still the same as the output address bus X A B, which specifies the address of X R 0 Μ 4 or XRAM 6. On the one hand, the modulo address f register (A L U) 2 1 3 (A 0 X) 2 1 6 is an addition change register (I X) or a constant (c0nst). Implementation and addition of the index register (IX) ^ 2 1 〇 'is implementation instruction MOVS, W @ Ax, I xj)' Dx isochronous addition is always the real instruction MOVS, W @ Ax, Dx, etc., the result of this addition Department of

I 算術邏輯運算器(ALU)\2 1 3輸出。由算術邏輯運算 ί 器(ALU) 2 1 3輸出之、値係進入選擇器2 1 9。該選 擇器219之另一方之輸出、係存儲於模數開始地址寄存 器(M S ) 2 1 4之模數違算開始地址。 選擇器2 1 9之输出完成爲算術邏輯運算器(ALU )2 1 3之輸出,或模數開始地址寄存器(MS) 2 1 4 之値,決定如下。模數地址寄存器(A0x) 216之値 與模數終了地址寄存器(Μ. E ) 2 1 5之値,係經常由比 本紙張尺度適用中國國家標準(CNS&gt;A4規格(;1〇Χ297公釐)_ 20 - I---------- (請先閎讀背面之注意事項再填寫本頁) 訂 424192, s 經濟部中央標隼局貝工消費合作社印製 五 、發明説明 ( 18) 1 較 器 ( C Μ P ) 比 較 9 若 不一 致即 輸 出 邏 輯 値 0 Μ 0 白 J 比 較 器 ( C Μ Ρ ) 2 1 7 輸出 之値 係 與 控 制 位 D Μ 9 ί Μ X Y 同 在 與 門 2 1 8 採邏 輯稹 ( 此 例 ί r-rt 因 D Μ 1 1 I Μ X Y 均 邏 輯 値 1 Μ ί 故比 較器 2 1 7 之 値 照 舊 白 與 門 請 先 胡 J 1 2 1 8 輸 .出 0 ) 輸 入 選 擇 器2 19 Ο 選 擇 器 2 1 9 在 白 與 Ια) 讀 背 1 1 門 2 1 8 輸 入 之 値 爲 邏 輯 値' 1 &quot; 時 選 擇 模 數 開 始 地 址 寄 W} 之 注 1 [ 意 1 I 存 器 ( Μ S ) 2 1 4 之 値 ,而 在邏 輯 値 0 値 選 擇 算 項 1 1 1 術 邏 輯 運 算 器 ( A L U ) 2 1 3之 輸 出 値 〇 填 K. 裝 馬 本 在 白 與 門 2 1 8 輸 入 之値 爲邏 輯 値 0 期 間 因 繼 頁 1 I 績 選 擇 算 術 邏 輯 ( A L U )2 1 3 之 輸 出 値 .1./ -故 輸 出 地 址 1 1 I 總 線 X A Β 之 値 依 序 更 新 。模 數終 了 地 址 寄 存 器 ( Μ E ) 1 1 I 2 1 5 之 値 與 模 數 地 址 緩 衝器 (A 0 X ) 2 1 6 之 値 一 致 1 訂 時 5 白 與 門 2 1 8 输 入 選 擇器 2 1 9 之 値 成 邏 輯 値 1 Μ 1 i 9 選 擇 模 數 開 始 地 址 寄 存 器( MS ) 2 1 4 之 値 Ο 因 此 , 1 1 模 數 地 址 寄 存 器 ( A 0 X )2 1 6 係 由 模 數 開 始 地 址 寄 存 1 1 .器 ( Μ S ) 2 1 4 之 値 初 期化 0 線 Γ 上 述 模 數 運 算 說 明 了 利用 模數 地 址 寄 存 器 ( A 0 X ) 1 I 2 1 6 時 之 動 作 1 惟 亦 可 將模 數指 令 Μ 〇 V S 3 W @ A X 1 1 I 9 D X 之 A X 指 定 於 模 數 地址 寄存 器 ( Α. 1 X ') 2 1 6 0 1 1 又 將 邏 輯 値 0 指 定 於 控制 MX Y 即 可 對 地 址 總 線 ! 1 Υ A Β 模 數 運 算 〇 此 時 ? 必須 將模 數 運 算 指 令 Μ 〇 V S , 1 1 W @ A X , D X 之 A X j 變更 爲指 定指 數 地 址 寄 存 器 ( 1 i A 0 y ) 2 2 6 或 ( A 1 y ) 2 2 6 用 之 値 A y Ο 又 將 0 1 1 指 定 於控 制 位 D Μ 亦 可 禁止 模數 Μ 算 之 實 施 0 1 1 本紙張尺度適用中國國家標準(CNS ) A4規格(21QX297公釐&gt; 21 4.2 4 丨 9 2 - $ &quot; Α7 _______Β7 五、發明説明(l9) 圖4表示D S P引擎3之一例方塊圖,記載爲隨機邏 輯電路(Random Logic Circuit) 3 0 1之電路方塊圖, 係含圖1之譯碼器3 4及控制電路,以及控制寄存器及狀 態寄存器等之電路方塊。其他D S P引擎3具備,算術邏 輯運算器(ALU) 3 Q 2 ,移位器(SFT) 3 0 3, 乘算器(MAC) 304 ,寄存器(Reg) 305,寄 存器(AO,A1) 30 6 ,寄存器(Υ〇 .,Y1) 30 7,寄存器(Χ〇,XI) 308,存儲數據緩衝器 (MDB I ) 3 0 9,存儲數據緩衝器(MDBX) 3 1 0,存儲數據緩衝器(MDBY) 3 1 1。存儲數據 緩衝器(MDBY) 3 1 1係連接數據總線YDB與總線 D2。存儲數據緩衝器(MDBX) 3 1 0係連接數據總 線XDB與總線D 1。存儲數據緩衝器(MDB I ) 經濟部中央標準局員工消費合作社印製 3 0 9係連接於數據總線I D B與總線C 1 ,D 1,A 1 ,B1。乘算器(MAC) 304係自總線厶1及61輸 入數據,將其所對應之乘算結果輸出於總線C 1及D 1。 移位器(S FT) 3 0 3自總線A 2輸入數據,將移位運 算結果輸出於總線C2。算術邏輯運算器(AL if) 3 0 2自總線A 2及B 2輸入數據,將運算結果输出於總 線C 2。 圖5表示微電腦1之指令系統所含指令之格式及;指令 代碼之一例。微電腦1支持C P U指令及D S P指令之2 種指令。CPU指令全部及DSP指令之一部分,係1 6 位長之指令代碼,餘DS P指令成爲3 2位長之指令代碼 本紙張尺度適用中國國家標準(CNS)A4規描( 210X297公釐)_ 22 - A7 B7 經濟部中央標準局員工消費合作社印製 五、 發明説明 ( 20) | 0 C Ρ U 指 令 即無須使 D S P 引擎 了 動 作 &gt; 專 由 C Ρ U J 芯 2 實 施 之 指 令 ° D S P 指 令係 將地 址 運 算 或 操 作 數 存 取 1 1 等 一 部 份 處 理 負 擔於C P U 芯 2 ,D S Ρ 引 擎 了 實 施 之 指 1 令 〇 請 先 [ 1 C Ρ U 指 令係將指 令 代 碼 之 最上 位 4 位 分 配 於 KJ 讀 背 1 I Sr 1 1 0 0 0 0 Μ 1 1 1 0 之 範 圍。 D S Ρ 指 令 係 將 指 令 之 注 1 [ 代碼 之 最 上 位 4 位分配 於 1 1 1 1 Jf 之 範 圍 〇 更 將 指 令 意 事 1 I 1 代 碼 之 最 上 位 6 位分配 於 1 1 1 1 0 0 及 f 1 1 1 1 0 1 範圍之 指 令 係 亦將 D S Ρ 指 令 成 爲 1 6 本 I 1 I 位 長 之 指 令 代 碼 。指令代 碼 之 最 上位 6 位 爲 1 1 I 1 1 1 1 1 0 之指令 5 係 成 爲 3 2 位 長 之 指 令 代 碼 0 在 1 1 1 指 令 代 碼 之 最 上 位6位 爲 1 1 1 1 1 1 ff 之 範 圍 並 未 分 1 訂 配 指 令 將 其 範 圍丨做爲 1 未 使 用 領 域未 定 義 指 令 領 域 9 將利 1 [ 用 此 領 域 即 可 更 擴丨張指 令 代 碼 0 由該 指 令 格 式 可 知 &gt; 將 各 1 1 指 令 代 碼 之 最 上 位丨側6 位 譯 碼 % 即可 以 小 邏 輯 規 模 之 譯 碼 1 1 器 判 定 該 指 令 寬 爲丨C Ρ U 指 令 J 1 6 位 長 之 D S Ρ 指 令 9 絲: •- 或 3 2 位 長 之 D S Ρ指 令或未 定 義ΐ旨 令 〇 1 1 圖 5 之 C P U指令格 式 中 J η η η η 係 g 的 操 作 數 之 1 1 I 指 定 頜 域d d d d係位 移 之 指 令 領域 1 1 1 i i 1 1 i 係 1 ! ( 立 即 値 之 指 定 領 域。又 , A D D 指令 等 之 η η η Π 亦 爲 滬 1 1 操 作 數 之 指 定 領 域,將 運 算 結 果 存儲 於 η η η η 〇 又 9 依 1 1 圖 3 說 明 之 前 述 模數運 算 指 令 , 係對 應 圖 5 之 指 令 1 1 Μ 〇 V S W @ R 2, A 〇 &gt; 惟 圖5 之 指 令 記 述 係 操 作 數 1 I 指 之 記 述 形 態 k 圖3說 明 之 內 容 不同 0 此 種 形 式 上 之 不 同 1 1 本紙張尺度適用中國國家標準(CNS)A4規格(210X297公釐〉_ 4 2 4 1 9 2 A7 j B7 五、發明説明(21) ,實際上相同。 (請先閱讀背面之注意事項再填寫本頁) 圖6表示CPU芯2之譯碼器2 4與DSP引擎3之 譯碼器3 4之連接構成例。依微電腦之指令取出爲3 2位 單位,於指示寄存器(I R) 2 5實施。譯碼器2 4具備 第1譯碼電路2 4 0,第2譯碼電路2 4 1 ,及代碼變換 經濟部中央標準局員工消費合作社印製 電路2 4 2。第1譯碼電路2 4 0係將指令寄存器(I R )2 5之上位側1 6位之領域(C I R)値譯碼,依該指 令爲CPU指令,或1 6位之DSP指令,或3 2位 DSP指令,形成CPU譯碼信號2 4 3,DSP譯碼信 號2 4 4,代碼變換控制信號2 4 5,及移位控制信號 2 4 6。第2譯碼電路2 4 1係將CPU譯碼信號2 4 3 譯碼,形成實施C PU芯2內部之運算器或寄存器選擇等 之各種內部控制信號(C P U控制信號)2 4 7。代碼變 換電路2· 4 2係在代碼變換控制信號2 4 5活性化時,壓 縮或仍舊輸出指令寄存器(I R ) 2 5之下位側1 6之領 域(L I R )保持之情報位數在代碼變換控制信號2 4 5 非活性化時,輸出表示其輸出無效之情報(Won — Operation Code)。代碼變換電路2 4 2係以輸出無效之 情報代替信號2 4 5爲非括性狀態時下位側1 .6位之頜域 (L I R )値之意思,亦可以選擇器實現。DS P譯碼信 號2 4 4及代碼變換電路2 4 2之輸出,係做爲前述 D S P控制信猇2 0供給D S P引擎3之譯碼器3 4 °前 述第1譯碼電路2 4 0,由於將存儲於指令寄存器(IR )2 5之上位i側1 6位之領域(U I R)之最上位側6位I Arithmetic Logic Operator (ALU) \ 2 1 3 Output. It is output by the arithmetic logic operation unit (ALU) 2 1 3, and the system enters the selector 2 1 9. The output of the other side of this selector 219 is stored in the modulo start address register (M S) 2 1 4 which violates the start address. The output of the selector 2 1 9 is the output of the arithmetic logic operator (ALU) 2 1 3, or one of the modulo start address register (MS) 2 1 4. The decision is as follows. The address of the modulo address register (A0x) 216 and the address of the modulo end address (M.E) 2 1 5 are often applied by the Chinese national standard (CNS &gt; A4 specification (; 10 × 297 mm)) _ 20-I ---------- (Please read the notes on the back before filling out this page) Order 424192, s Printed by the Shellfish Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economy ) 1 Comparator (C MP) Compare 9 If it is not consistent, output logic 値 0 Μ 0 White J Comparator (C Μ Ρ) 2 1 7 The output system and control bit D Μ 9 ί Μ XY are in AND gate 2 1 8 Use logic (in this example, r-rt because D Μ 1 1 I Μ XY is logic 値 1 Μ ί) so the comparator 2 1 7 is still the same as the white AND gate, please Hu J 1 2 1 8 lose. Output 0 ) Input selector 2 19 〇 Selector 2 1 9 In white and Ια) Read back 1 1 Gate 2 1 8 The input 値 is logical 値 '1 &quot; When the modulo start address is selected, send W} Note 1 [Idea 1 I memory (MS) 2 1 4 0 値 Select the calculation item 1 1 1 The output of the arithmetic logic unit (ALU) 2 1 3 値 〇 Fill in K. Put Maben in the white AND gate 2 1 8 The input 値 is logic 値 0 during the following page 1 I performance selection The output of the arithmetic logic (ALU) 2 1 3 値 .1. /-So the output address 1 1 I of the bus XA Β is updated sequentially. End of modulo address register (Μ E) 1 1 I 2 1 5 is the same as the modulo address buffer (A 0 X) 2 1 6 is the same as the order 1 5 5 AND gate 2 1 8 Input selector 2 1 9 The complete logic 1 Μ 1 i 9 Select the modulo start address register (MS) 2 1 4 of 値 〇 Therefore, 1 1 modulo address register (A 0 X) 2 1 6 is registered by the modulo start address 1 1 . (M S) 2 1 4 値 Initialization 0 Line Γ The above-mentioned modulo operation explained the operation when using the modulo address register (A 0 X) 1 I 2 1 6 However, the modulo instruction M 〇 can also be specified. VS 3 W @ AX 1 1 I 9 The AX of DX is specified in the modulo address register (Α. 1 X ') 2 1 6 0 1 1 And the logic 値 0 is specified in the control MX Y to access the address bus! 1 Υ A Β Modulo operation 〇 At this time, the modulo operation instruction M 〇VS, 1 1 W @ AX, AX j of DX must be changed to the designated index address register (1 i A 0 y) 2 2 6 or (A 1 y) 2 2 6値 A y 〇 is used and 0 1 1 is assigned to the control position D Μ. The implementation of the modulus M can also be prohibited. 0 1 1 This paper size applies the Chinese National Standard (CNS) A4 specification (21QX297 mm &gt; 21 4.2 4丨 9 2-$ &quot; Α7 _______ Β7 V. Description of the Invention (l9) Figure 4 shows an example block diagram of the DSP engine 3, which is recorded as a random logic circuit (Random Logic Circuit) 3 0 1 circuit block diagram, including Figure 1 Decoder 3 4 and control circuit, and circuit blocks of control register and status register, etc. Other DSP engines 3 have: Arithmetic Logic Operator (ALU) 3 Q 2, Shifter (SFT) 3 0 3, Multiplier (MAC) 304, register (Reg) 305, register (AO, A1) 30 6, register (Υ〇., Y1) 30 7, register (× 〇, XI) 308, storage data buffer (MDB I) 3 0 9, storage data buffer (MDBX) 3 1 0, storage data buffer (MDBY) 3 1 1. Store data buffer (MDBY) 3 1 1 is connected to data bus YDB and bus D2. The memory data buffer (MDBX) 3 1 0 is connected to the data bus XDB and the bus D 1. Stored Data Buffer (MDB I) Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economy 3 0 9 is connected to the data buses I D B and C 1, D 1, A 1, B 1. Multiplier (MAC) 304 inputs data from buses 1 and 61 and outputs the corresponding multiplication results to buses C 1 and D 1. The shifter (S FT) 3 0 3 inputs data from the bus A 2 and outputs the shift calculation result to the bus C 2. The arithmetic logic operator (AL if) 3 0 2 inputs data from the buses A 2 and B 2 and outputs the operation result to the bus C 2. Fig. 5 shows an example of the instruction format and instruction codes included in the instruction system of the microcomputer 1. The microcomputer 1 supports two types of instructions: C P U instruction and D S P instruction. All CPU instructions and part of the DSP instructions are 16-bit long instruction codes. The remaining DS P instructions become 32-bit long instruction codes. The paper size is applicable to China National Standard (CNS) A4 (210X297 mm) _ 22 -A7 B7 Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs. 5. Description of the invention (20) | 0 C PU instruction does not need to make the DSP engine act.> Instructions implemented by C PF UJ core 2 ° DSP instruction system will Address operations or operand access 1 1 and some processing are burdened by the CPU core 2. The DS RP engine implements the instructions 1 Order 0 Please first [1 C PF U instruction is to allocate the upper 4 bits of the instruction code to KJ Read back 1 I Sr 1 1 0 0 0 0 Μ 1 1 1 0 range. DS P instruction is to assign Note 1 of the instruction [the highest 4 digits of the code are allocated in the range of 1 1 1 1 Jf. The more significant 6 digits of the command meaning 1 I 1 are allocated to 1 1 1 1 0 0 and f The 1 1 1 1 0 1 range instruction also turns the DS P instruction into a 16 I 1 I bit long instruction code. The first 6 digits of the instruction code are 1 1 I 1 1 1 1 1 1 0 The instruction 5 is a 3 2 digit long instruction code 0. Among the 1 1 1 the highest 6 digits of the instruction code are 1 1 1 1 1 1 1 ff The range is not divided into 1. The order is assigned with its range 丨 as 1 Unused area Undefined instruction area 9 will benefit 1 [Use this area to expand 丨 Instruction code 0 can be known from the instruction format> will each 1 1 The uppermost bit of the instruction code 丨 6-bit decode% on the side can decode on a small logic scale 1 1 The device determines that the instruction width is 丨 C PU U instruction J 1 6-bit DS PD instruction 9 wire: •-or 3 2 Bit length DS P instruction or undefined decree 0 1 1 In the CPU instruction format of Figure 5, J η η η η is 1 of the operand of g 1 1 I specifies the instruction field of the dddd displacement of the jaw area 1 1 1 ii 1 1 i is the designated field of 1! (Immediately. The η η η Π of the ADD instruction is also the designated field of the Shanghai 1 1 operand. The calculation results are stored in η η η η 〇 and 9 The aforementioned modulo operation instructions described in accordance with 1 1 and FIG. 3 correspond to the instructions in FIG. 1 1 Μ 〇 VSW @ R 2, A 〇 &gt; However, the instruction description system in FIG. 5 Operand 1 I refers to the description form k. Figure 3 illustrates different contents. 0 This form is different. 1 1 This paper size applies the Chinese National Standard (CNS) A4 specification (210X297 mm> _ 4 2 4 1 9 2 A7 j. B7 V. Invention description (21) is actually the same. (Please read the notes on the back before filling this page) Figure 6 shows the connection between decoder 2 4 of CPU core 2 and decoder 3 4 of DSP engine 3 Configuration example. It is fetched into 32-bit units according to the instruction of the microcomputer and implemented in the instruction register (IR) 25. The decoder 2 4 includes a first decoding circuit 2 4 0, a second decoding circuit 2 4 1, and a code. Change the printed circuit of the Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs 2 4 2. The first decoding circuit 2 4 0 decodes the 16-bit field (CIR) 値 of the upper instruction side of the instruction register (IR) 2 5. According to the instruction, it is a CPU instruction, or a 16-bit DSP instruction, or 3 2 Bit DSP instructions form CPU decode signal 2 4 3, DSP decode signal 2 4 4, code conversion control signal 2 4 5 and shift control signal 2 4 6. The second decoding circuit 2 4 1 decodes the CPU decoding signal 2 4 3 to form various internal control signals (C P U control signals) 2 4 7 which implement the internal processor or register selection of the C PU core 2. The code conversion circuit 2 · 4 2 is used to compress or still output the instruction register (IR) 2 5 while the code conversion control signal 2 4 5 is activated. When the signal 2 4 5 is deactivated, information indicating that the output is invalid (Won — Operation Code) is output. The code conversion circuit 2 4 2 is to replace the signal 2 4 5 with an output of invalid information. The lower jaw region (L I R) 値 on the lower side is 1.6. It can also be realized by a selector. The outputs of the DS P decoding signal 2 4 4 and the code conversion circuit 2 4 2 are used as the DSP control signal 2 0 to supply the decoder 3 of the DSP engine 3 4 ° The aforementioned first decoding circuit 2 4 0, Stored in the instruction register (IR) 2 5 above the i-side 16-bit area (UIR) the uppermost 6 sides

I 本紙張尺度逋用中國國家榇準(CNS)A4規格(2[0X297公釐)—24 - U 1 9 2 : ^ J A7 ____B7__ 五、發明説明(巧 譯碼,即可判定該指令代碼爲C P U指令,或1 6位之 DSP指令,或3 2位之DSP指令。 (請先閱讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消費合作社印製 譯碼之指令爲1 6位指令時,代碼變換控制信號 2 4 5成爲非活性狀態,因此代碼變換電路2 4 2输出表 示输出無效之Won Operation Code。又,譯碼之指令之16 位指令時將移位控制信號2 4 6活性化,接受此之指令寄 存器(I R) 2 5係將其下位側1 6位之領域(L I R) 値移位於上位側16位之領域(LIR),將移位之指令 利闬爲眞次應實施指令之全部或一部份利用。茲就例如在 指令寄存器I R之上位側1 6位領域U I R存儲1 6位 CPU指令,在下側位領域L I R存儲3 2位DSP指令 之上位1 6位之指令代碼之情形說明。首先,存儲於上位 側1 6位領域UIR之1 6位CPU指令在第1譯碼電路 2 4 0譯碼,依其結果CPU芯2實施其指令,存儲下位 側1 6位領域L I R之3 2位DSP指令之上位1 6位之 指令代碼數據,係轉送於上位側1 6位領域u 1 R。此時 隨機邏輯電路2 0 1,對算術運算器AU 2 0 8,實施應 存儲於程序計數器P C之地址之地址運算。程序計數器 PC,存儲依算術運算器AU 2 Q 8運算之地址運算結果 之地址。依存儲於程序計數器PC之地址上述3 2位 DSP指令之下位1 6位之指令代碼數據’自將其存儲之 指令存儲器轉送於指令寄存器I尺之下位側16位領域 L I R。因此,將3 2位DS P指令存儲於指令寄存器 I R。而存儲於該指令I R之3 2位DSP指令’係經譯 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐)-25 A7 B7 五、發明説明(23) 碼器2 4供給DSP指令引擎3之譯碼器3.4。又,其他 方法,雖未圖示,惟將複數指令預取緩衝器設於C PUt 2內。複數預取緩衝器係自現在實施之指令預取數週期前 應實施之指定。沒有此種預取緩衝器係在如上述將3 2位 DSP指令之上位1 6位指令代碼數據自下位領域L I R 轉送於上位側1 6位領域U I R時,隨.機邏輯電路2 0 1 ,選擇上述3 2位DSP指令之下位1 6位指令代碼數據 預取之指令預取緩衝器。自該選擇之指令預取緩衝器讀出 3 2位DSP指令之下位1 6位之指定代碼數據,存儲於 指令寄存器IR之下側位領域LLR。 經濟部中央標準局員工消費合作社印製 (請先閲讀背面之注意事項再填寫本頁) 複譯碼之指令爲1 6位之CPU指令時,DSP譯碼 信號2 4 4成爲表示Won-Operation之代碼。被譯碼之指 令爲1 6位之DSP指令時,.CPU控制信號2 4 7依據 CPU譯碼信號2 4 3形成第2譯碼電路2 4 1 ,DSP 引擎3內部之控制信號係實質上譯碼器3 4解讀形成 DSP譯碼信號2 4 4。被譯碼之指令爲3 2位之DSP 指令時,CPU控制信號2 4.7依依據譯碼信號2 4 3瑕 成第2譯碼電路2 4 1 ,DSP引擎3內部之控制信號係 譯碼器3 4解讀形成DSP譯碼信號2 4 4及代碼變換電 路2 4 2之輸出。 微電腦1之指令系統有指令代碼表1 6位及3 2位, 如上述因1 6位長指令與3 2位長指令之處理不同,故分 別詳述其動作。 先說明1 6位長指令。第1譯碼電路2 4 Q係將指令 本紙張尺度適用中國國家梯举·( CNS〉A4規格(2】0'〆297公釐)_ 26 A7 B7 4^4192:'^ 五、發明説明(24) 寄存器(2 R) 2 5取出之3 2位之指令碼中’上位1 6 位譯碼,在第1譯碼電路2 4 0,因知指令代碼之最上位 6位之代碼爲*111110〃 , *11111〃以外時 爲1 6位長指令,故此時與CPU指令譯碼信號2 4 3及 DSP指令譯碼信號2 4 4之輸出一同。將指令寄存器( 1 R) 2 5之下位1 6位領域L I R之指令代碼數據移位 於上位1 6位領域U 2 R之移位控制信號2 4 6活性化。 受咭性化之移位控制信號2 4 6之指令寄存器(I R ) 經濟部中央標準局員工消費合作社印裝 2 5係將存儲於下位1 6位領域L I R之指令代碼移位於 上位1 6位領域U2R。移位之指令代碼係接著以第1譯 碼電路2 4 0予以譯碼。由譯碼器2 4輸出之CPU指令 譯碼信號2 4 3係輸出於第2譯碼電路2 4 1,將DSP 譯碼信號2 4 4,供給DSP引擎3 °又,第1譯碼電路 2 4 0知嘵爲1 6位長指令時,使代碼變換控制信2 4 5 爲非活性,因此,代碼變換電路2 4 2將表示下位1 6位 之指令代碼無效之代碼做爲D S P控制信號之一部份形成 。在DSP引擎3側,將由第1譯碼電路2 4 0輸出之 DSP譯碼信號2 4 4及由代碼變換電路2 4 2輸出之代 碼信號做爲DSP控制信號2 0輸入時,譯碼器3 4實施 該DSP控制信號2 0之譯碼。1 6位之DSP指令之由 代碼變換電路2 4 2褊出之D S P控制信號因成爲表示無 效之信號,故譯碼器3 4著眼於DSP.譯碼信2 4 4,輸 出在DSP引擎3內之乘算器(MAC) 3 0 4 ,算術邏 輯運算器(ALU) 302,及移位器(SFT) 303 本紙張尺度適用t國國家標準(CNS〉A4規格(210 X 297公釐)_ 2 7 經濟部中央標準局員工消費合作社印製 本紙張尺度適用中國國家標準(CNS ) A4規格(210 X 297公釐) 4 1 9 2, : s - A7 __^_B7_ 五、發明説明(25) 等之控制僧。D S P引擎3係依各該控制信實施運算處理 0 其次說明3 2位長指令。在CPU芯2內部之第1譯 碼電路2 4 0,將3 2位之指令代碼存儲於指令寄存器( LR) 2 5。而將上位1 6位以第1譯碼電路2 4 0譯碼 ,輸出譯碼信號2 4 3,2 4 4。在第1譯碼電路2 4 0 ,因知指令代碼之最上位6位之代碼爲'^ 1 1 1 1 1 0 7 時爲3 2位長指令,故將代碼變換控信號2 4 5活性化, 因此.代碼變換電路2 4 2,將指令寄存器(I R) 2 5之 下位1 6位之指令代碼做代碼轉換。經代碼轉換之情報係 與DSP譯碼信號2 4 4—同做爲DSP控制信號2 0供 給。譯碼器3 4係將DSP指令控制信號2 0譯碼形成 D S F引擎3之..控制信號。又,譯碼器2 4,3 4可在例 如隨機邏輯電路實現。 0(1、7表示對應圖6之另一實施例。圖6之實施例, 說明將指令寄存器2 5之下位領域L I R之指令數據移位 於上位領域UIR。圖17之實施例,係在前述指令寄存 器2 5與內部數據總線I D B間,具備構成指令預取隊列 之串聯2段之指令預取緩衝器2 5 0,2 5 1 ,以選擇器 2 5 2選擇指令預取緩衝器2 5 0,2 51之保持數據供 給指令寄存器2 5。各指令預取緩衝器2 5 0 .,2 5 1及 指令寄存器2 5係以3 2位單位保持數據,其保持動作, 係由控制信號〜03 (同步於CLK1)控制。雖未 特別圖示,各指令預取緩衝器2 5 0,2 5 1及指令寄存 28 - — I— I ——f (請先閲讀背面之注意事項再填寫本頁) 訂 424 192 : ? A7 __^_B7_ 五、發明説明(26) 器2 5,具有主縱之構造,主段係同步於對應之控制信號 之上昇實施輸入之閂鎖動作。因此,將預取之前後指令數 據存儲於串聯2段之指令預取緩衝器2 5 0,2 5 1。 前述選擇器2 5係依選擇控制信號0 4,選擇供給端 口 Pa之3 2位之指令數據或供給端口 Pb之,3 2位指令 數據供給指令寄存器2 5。對前述端口 Pa供給將指令預 取緩衝器2 5 0之上位1 6位領域CPB1爲下位側,將 指令預取緩衝器2 5 1之下位1 6位領域LPB 2爲上位 側之3 2位指令數據。對端口 Pb供給存儲於指令預取緩 衝器251之32位之原指令數據。 由此,指令預取緩衝器2 5 1保持3 2位之DSP指 令時選擇器2 5 2,選擇端口 Pb之輸出即可將該3 2位 之DSP指令設定於指令寄存器2 5。指令預取緩衝器 2 5 1將1 6位之DSP指令或1 6位之CPU指令保持 於上位領域UPB 2時選擇器2 5 2,選擇端口 Pb之输 經 濟 部 中 央. 標 準 局 貝 工 消 費 合 作 社 出,即可將該1 6位指令設定於指令寄存器2 5之上位領 域U I R。指令預取緩衝器2 5 1將1 6位之DSP指令 或16位之CPU指令保持於下位領域LPB2時,由於 選擇器2 5 2,選擇端口 Pa之輸出,即可將該1 6位之 指令設定於指令寄存器2 5之上位領域U I R。指令預取 緩衝器2 5 1將1 6位DSP指令之上位1 6位指令代碼 保持於下位領域LPB 2,而指令預取緩衝器2 5 G將該 3 2位DSP指令之下位側1 6位指令代碼保持於其上位 領域UPB 1時,由於選擇器2 5 2 ,選擇端口 P a之輸 29 - 本紙張尺度適用中國國家標隼(CNS ) A4規格(210X297公釐〉- 經濟部中央標準局員工消费合作社印製 4 24192、:, A7 ___£7____ 五、發明説明(2乃 出即可將該3 2位D S P指令設定於指令寄存器2 5。 圖1 7中2 5 3係形成前述指令預取緩衝器之閂鎖控 制信號θ 1 ,0 2 ,指令寄存器2 5之閂鎖控制信號0 3 ,及前述選擇控制信號0 4之控制邏輯。該控制邏輯 2 5係依表示1 6位指令或3 2位指令之控制信號2 4 8 及指令預取緩衝器2 5 0,2 5 1之各領域未實施殘留之 指令代碼狀態,形成前述控制信號0 1〜0 4。該控制邏 輯2 5 3係構成指令取出用之控制邏輯之一部份。又,前 述控制信號2 4 8係第1譯碼電路2 4 0將自指令寄存器 2 5之上位領域U I R供給之指令代碼數據之上位6側位 .譯碼形成者,其詳細情形容後申述。 依前述控制邏輯2 5 3將指令代碼數據設定於指令寄 存器2 5如下。由外部之指令取出係在CPU芯2之指令 取出時間(例如在後述複數段管線階段之指令取出階段 I F ),指令預取緩衝器2 5 0有重新存儲3 2位之指令 代碼數據之餘地時實施。以其時間實施指令取出時,指令 預取緩.衝器2 5 1殘留未實&amp;之指+。存儲於指令預取緩 衝器2 5 1之領域UPB2 “LPB2之指令代碼雙方未 實施之第1狀態時,指令預取緩衝器2 5 1之3 2位输出I This paper uses the Chinese National Standard (CNS) A4 specification (2 [0X297 mm) —24-U 1 9 2: ^ J A7 ____B7__ 5. Description of the invention (smart decoding, you can determine that the instruction code is CPU instructions, or 16-bit DSP instructions, or 32-bit DSP instructions. (Please read the notes on the back before filling out this page.) The instructions printed and decoded by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs are 16-bit At the time of the instruction, the code conversion control signal 2 4 5 becomes inactive, so the code conversion circuit 2 4 2 outputs a Won Operation Code indicating that the output is invalid. Also, when the 16-bit instruction of the decoded instruction is shifted, the control signal 2 4 6 Activate and accept the instruction register (IR) 25. The 16-bit area (LIR) on the lower side is shifted to the 16-bit area (LIR) on the upper side. Implement all or part of the instructions. For example, in the instruction register IR, 16-bit field UIR stores 16-bit CPU instructions, and in the lower-side field LIR stores 32 2-bit DSP instructions. Above 16-bit instructions Explanation of the situation of the code. First, it is stored on the upper side 1 6-bit field UIR 1 6-bit CPU instruction is decoded in the first decoding circuit 2 4 0, and according to the result, CPU core 2 executes its instruction, storing the lower side 1 6-bit field LIR 3 2-bit DSP instruction upper bit 1 The 6-bit instruction code data is transferred to the upper-side 16-bit field u 1 R. At this time, the random logic circuit 2 0 1 performs an arithmetic operation on the arithmetic operator AU 2 0 8 which should be stored in the address of the program counter PC. The program counter PC stores the address of the result of the operation calculated by the arithmetic operator AU 2 Q 8. According to the address stored in the program counter PC, the 16-bit instruction code data below the 32-bit DSP instruction is stored in it. The instruction memory is transferred to the 16-bit area LIR on the lower side of the instruction register I. Therefore, the 32-bit DS P instruction is stored in the instruction register IR. The 32-bit DSP instruction stored in the instruction IR is a paper scale of the translation Applicable to China National Standard (CNS) A4 specification (210X297 mm) -25 A7 B7 V. Description of the invention (23) The encoder 2 4 is provided to the decoder 3.4 of the DSP instruction engine 3. The other methods, although not shown, But set the complex instruction prefetch buffer to CP Within Ut 2. The complex prefetch buffer is a designation that should be implemented before the current instruction prefetch cycle. No such prefetch buffer is based on the 16-bit instruction code data above 32-bit DSP instructions When transferring from the lower-level LIR to the upper-side 16-bit UIR, along with the machine logic circuit 2 0 1, the above-mentioned 32-bit DSP instruction lower-order 16-bit instruction code data pre-fetch buffer is selected. Read out the designated code data of the lower 16 bits of the 32-bit DSP instruction from the selected instruction prefetch buffer, and store them in the LLR in the side field below the instruction register IR. Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs (please read the precautions on the back before filling out this page). When the complex decoded instruction is a 16-bit CPU instruction, the DSP decoded signal 2 4 4 becomes the Won-Operation Code. When the decoded instruction is a 16-bit DSP instruction, the CPU control signal 2 4 7 forms a second decoding circuit 2 4 1 according to the CPU decode signal 2 4 3. The control signal inside the DSP engine 3 is essentially translated. The encoder 3 4 decodes to form a DSP decoded signal 2 4 4. When the decoded instruction is a 32-bit DSP instruction, the CPU control signal 2 4.7 becomes the second decoding circuit 2 4 1 according to the decoded signal 2 4 3. The control signal inside the DSP engine 3 is the decoder 3 4 Interpretation forms the output of the DSP decoded signal 2 4 4 and the code conversion circuit 2 4 2. The instruction system of the microcomputer 1 has 16-bit and 32-bit instruction code tables. As described above, since 16-bit long instructions are processed differently from 32-bit long instructions, their actions are described in detail. The 16-bit long instruction will be explained first. The first decoding circuit 2 4 Q will instruct the paper size to apply to the Chinese national ladder. (CNS> A4 specification (2) 0'〆297 mm) _ 26 A7 B7 4 ^ 4192: '^ V. Description of the invention ( 24) Register (2 R) 2 5 out of the 3 2 digits of the instruction code, 'upper 16 bits are decoded, and in the first decoding circuit 2 4 0, the highest 6 digits of the instruction code are known as * 111110 〃, * 11111〃 are 16-bit long instructions, so at this time together with the output of the CPU instruction decode signal 2 4 3 and DSP instruction decode signal 2 4 4. Set the instruction register (1 R) 2 5 to the lower bit 1 The 6-bit LIR instruction code data is shifted to the upper position 16. The 6-bit U2 R shift control signal 2 4 6 is activated. The flexible shift control signal 2 4 6 is the instruction register (IR) of the Ministry of Economic Affairs. The central government bureau employee consumer cooperative printed 2 5 is to move the instruction code stored in the lower 16-bit field LIR to the upper 16-bit field U2R. The shifted instruction code is then processed by the first decoding circuit 2 4 0 Decoding. The CPU instruction decoding signal 2 4 3 output by the decoder 2 4 is output to the second decoding circuit 2 4 1 and the DSP decoding signal 2 4 4 is provided. When the DSP engine is 3 ° and the first decoding circuit 2 4 0 is a 16-bit long instruction, the code conversion control signal 2 4 5 is inactive. Therefore, the code conversion circuit 2 4 2 indicates the lower 16 bits. The invalid instruction code is formed as part of the DSP control signal. On the DSP engine 3 side, the DSP decoding signal 2 4 4 output by the first decoding circuit 2 4 0 and the code conversion circuit 2 4 2 are output When the code signal is input as the DSP control signal 20, the decoder 34 executes the decoding of the DSP control signal 20. The 16-bit DSP instruction is generated by the DSP control signal generated by the code conversion circuit 2 4 2 Becomes a signal indicating invalidity, so the decoder 3 4 focuses on the DSP. The decoded signals 2 4 4 output the multiplier (MAC) 3 0 4 in the DSP engine 3, the arithmetic logic operator (ALU) 302, and Shifter (SFT) 303 This paper size is applicable to the national standard of China (CNS> A4 size (210 X 297 mm) _ 2 7 The paper size printed by the staff consumer cooperative of the Central Standards Bureau of the Ministry of Economic Affairs is applicable to the Chinese national standard (CNS) A4 specification (210 X 297 mm) 4 1 9 2,: s-A7 __ ^ _ B7_ 5. Control of invention description (25), etc. Monk. The DSP engine 3 executes the arithmetic processing according to the control letter. Next, the 32-bit long instruction is explained. The first decoding circuit 2 4 0 inside the CPU core 2 stores the 32-bit instruction code in the instruction register ( LR) 2 5. The upper 16 bits are decoded by the first decoding circuit 2 40 and the decoded signals 2 4 3 and 2 4 4 are output. In the first decoding circuit 2 4 0, the code conversion control signal 2 4 5 is activated because it knows that the highest 6-bit code of the instruction code is' ^ 1 1 1 1 1 0 7 when it is a 32-bit long instruction. Therefore, the code conversion circuit 2 4 2 performs a code conversion on the instruction codes of the lower 16 bits of the instruction register (IR) 2 5. The code-transformed information is supplied with the DSP decoded signal 2 4 4—the same as the DSP control signal 2 0. The decoder 3 4 decodes the DSP instruction control signal 20 to form a control signal of the DS engine 3. The decoders 24, 34 can be implemented in, for example, a random logic circuit. 0 (1, 7 represents another embodiment corresponding to FIG. 6. The embodiment of FIG. 6 illustrates that the instruction data of the lower-order area LIR of the instruction register 25 is moved to the upper-order area UIR. The embodiment of FIG. 17 is described above. Between the instruction register 25 and the internal data bus IDB, there are two series of instruction prefetch buffers 2 5 0, 2 5 1 constituting the instruction prefetch queue, and the selector 2 5 2 selects the instruction prefetch buffer 2 5 0 The holding data of 2 51 are supplied to the instruction register 25. Each instruction prefetch buffer 2 5 0., 2 51 and the instruction register 25 are used to hold data in units of 32 bits. The holding action is controlled by the control signal ~ 03. (Synchronized with CLK1) control. Although not specifically shown, each instruction prefetch buffer 2 5 0, 2 5 1 and instruction register 28-— I — I — f (Please read the precautions on the back before filling this page ) Order 424 192:? A7 __ ^ _ B7_ V. Description of the invention (26) The device 2 5 has a main vertical structure, and the main segment is synchronized with the rising of the corresponding control signal to implement the latching action of the input. Therefore, the prefetch The previous and next instruction data are stored in the instruction prefetch buffer 2 2 0, 2 5 1 in series. The selector 2 5 selects the 32-bit command data supplied to the port Pa or the 32-bit command data supplied to the command register 25 according to the selection control signal 0 4. The pre-fetch of the command is supplied to the aforementioned port Pa. Buffer 2 5 0 high-order 1 6-bit area CPB1 is the low-order side, and the instruction prefetch buffer 2 5 1 low-order 16-bit area LPB 2 is the high-order 3 2-bit instruction data. The port Pb supply is stored in the instruction The 32-bit original instruction data of the prefetch buffer 251. Thus, the instruction prefetch buffer 2 5 1 holds 3 2 bits of DSP instructions and the selector 2 5 2 selects the output of port Pb to set the 3 2 bits. The DSP instruction is set in the instruction register 2 5. The instruction prefetch buffer 2 5 1 holds the 16-bit DSP instruction or the 16-bit CPU instruction in the upper field UPB 2 when the selector 2 5 2 selects the output of the port Pb Central of the Ministry of Economic Affairs. The Bureau of Standards and Industry Cooperatives can set the 16-bit instruction in the upper register UIR of the instruction register 25. The instruction prefetch buffer 2 5 1 sets the 16-bit DSP instruction or the 16-bit DSP instruction. When the CPU instruction is held in the lower area LPB2, the selector 2 5 2 By selecting the output of port Pa, this 16-bit instruction can be set in the upper register field UIR of the instruction register 2. The instruction prefetch buffer 2 5 1 keeps the 16-bit DSP instruction above the 16-bit instruction code in the lower order Area LPB 2, and the instruction prefetch buffer 2 5 G holds the 32-bit DSP instruction lower side 16-bit instruction code in its upper area UPB 1, because the selector 2 5 2 selects the input of port P a 29-This paper size applies to Chinese National Standard (CNS) A4 (210X297 mm)-Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs 4 24192,:, A7 ___ £ 7 ____ 5. Description of the invention (2 is enough This 32-bit DSP instruction is set in the instruction register 25. 2 5 3 in FIG. 17 are the control logics of the latch control signal θ 1, 0 2 of the aforementioned instruction prefetch buffer, the latch control signal 0 3 of the instruction register 25, and the aforementioned selection control signal 04. The control logic 2 5 is based on the control signal 2 4 8 indicating a 16-bit instruction or a 32-bit instruction and the instruction prefetch buffer 2 5 0, 2 5 1 in which the remaining instruction code states are not implemented, forming the aforementioned control. Signal 0 1 ~ 0 4. The control logic 2 5 3 forms part of the control logic for instruction fetch. In addition, the aforementioned control signal 2 4 8 is the first decoding circuit 2 4 0 which supplies the instruction code data from the upper register U 5 of the instruction register 25 to the upper 6 bits. The details of the decoder are described later. The instruction code data is set in the instruction register 2 5 according to the aforementioned control logic 2 5 3 as follows. The instruction fetch from the outside is at the instruction fetch time of the CPU core 2 (for example, the instruction fetch stage IF in the plural stage pipeline stage described later), and the instruction prefetch buffer 2 50 has room for re-storing 32-bit instruction code data Implementation. When the instruction is fetched within its time, the instruction prefetch is slowed down. The punch 2 5 1 remains unrealized &amp; Stored in the field of the instruction prefetch buffer 2 5 1 UPB2 "When the first state of the instruction code of both sides of the LPB2 is not implemented, the instruction prefetch buffer 2 5 1 3 2 bit output

I 經端口 Pb由選擇器2 5 2選擇設定於指令寄存器2 5。 一方面僅存儲於指令預取緩衝器2 5 1之下位領域LPB 2之指令·代碼未實施之第2狀態時,將預取指令預取緩衝 器2 5 0之上位領域UPg 1及指令預取緩衝器2 5 1之 下位領域L P B 2之指令代碼數據經端口 P a設定於指令I is selected by the selector 2 5 2 via the port Pb and set in the instruction register 2 5. On the one hand, the instruction and code stored in the lower-order area LPB 2 of the instruction prefetch buffer 2 51 are not implemented, and the prefetch instruction is prefetched in the upper area UPg 1 and the instruction prefetch 2 50 0 Buffer 2 5 1 The instruction code data of the lower area LPB 2 is set to the instruction via port P a

__ I 本紙張尺度適用中國國家標率(CNS ) A4規格Ulf x297公嫠&gt; __3〇 - (請先聞讀背面之注意事項再填窝本頁) % 訂- .Q, 經濟部中央操準局員工消資合作社印製 424192” 1 A7 __ ___B7_.___ 五、發明説明(28) 寄存器2 5。 在前述第1狀態下;譯碼電路2 4 0將設定於指令寄 存器2 5之上位領域U I R之指令代碼數據譯碼之結果, 爲構成3 2位指令時,在指令預取緩衝器2 5 0預取之 3 2位指令代碼數據乃舊轉送於指令預取緩衝器2 5 1 ° ―方面,由譯碼結果檢出爲1 6位指令時,不實施自指令 預取緩衝器2 5 0至次段緩衝器2 5 1之數據移位。 在前述第2狀態下,經端口 Pa對指令寄存器2 5之 數據設定後,指令預取緩衝器2 5 0所預取之3 2位之指 令代碼數據,仍舊移位設定於指令預取緩衝器2 5 1 °該 移位後,若指令預取緩衝器2 5 Q當存在未實施之指令代 碼數據時,在指令預取緩衝器2 5 0於次一指令預取時間 預取指令代碼數據。 . 由此種控制,指令取出時間後,未處理之指令代碼數 據設定於指令寄存器2 5。此時,應實施之指令,爲1 6 位CPU指令1 6位DSP指令或3 2位DSP指令,一 其上位側1 6位必供給第1·譯碼電路2 4 0。 圖6說明之代碼轉換電路2 4 2,在圖1 7係由選擇 器2 4 2A及代碼轉換邏輯2 4 2B構成。又,第1譯碼 電路2 4 0,在圖6說明,依其譯碼之指令代碼是否爲 1 6位指令形成控制其水平之控制信號2 4 5,2 4 6, 而在圖1 7例中,輸出識別其譯碼之指令代碼1 6位指令 或3 2位指令(本實施例中3 2位指令爲DSP指令)用 之控制信號2 4 8。選擇器2 4 2A,在控制信號2 4 8 本紙張尺度適用中國國家標準(CNS ) A4規格(210X:297公釐) ------—IIP! (請先閲讀背面之注意事項再填寫本頁) 訂 424 1 92. : ^ J A7 ___B7 五、發明説明(29) 表示1 6位指令時,選擇Non Operation Cq.dew c_p供給代 碼轉搀邏輯2 4 2 B,控制信號2 4 8表示3 2位DSP 指令時,將指令寄存器2 5之下位領域L I R之指令代碼 供給代碼轉換邏輯2 4 2 B。代碼轉換邏輯2 4 2 B,雖 .未特別限制,惟將指令寄存器2 5之下位領域L I R之指 令代碼數據之一部份例如寄存器選擇用之代碼情報修·正爲 適於DSP引擎3之譯碼器3 4之形態輸出。 經濟部_央標隼局員工消費合作社印製 圖1 7之實施例中,第1譯碼電路2 4 0解讀指令寄 存器25之上位領域UIR保持之16位之指令代碼數據 ,將所得CPU譯碼信號2 4 3供給第2譯碼電路2 4 3 ,又將DSP譯碼信號2 4 4供給譯碼器3 4。CPU譯 碼信號2 4 3在CPU指令及DSP指令之任一中均成有 意,供給第2譯碼電路2 4 1。第2譯碼電路2 4 1 ,將 CPU譯碼信號2 4 3譯碼,輸出·ΟΡΙΙ芯2應實施之地 址運算及數據運算用之控制情報,及內部存儲X - R 0Μ 4,Y — R0M5,Χ — RAM,Y — RAM以及外部存 儲存取用之地止總線及數據線線之選擇控制情報等。如前 述,對D S P指令,其所必需之地址運算及數據總線之選 擇,亦由CPU芯2實施。 前述DSP譯碼信號2 4 4係如前述,供給第1譯碼 電路2 4 0之指令代碼爲DSP指令用之代碼數據時成爲 有意之譯碼信號。有意DSP譯碼信號2 4 4含例如,在 依C P U芯2實施之地址運算存取之存儲器間交接數據之 D S P引擎3內之寄存器等之指定情報。供給第1譯碼電 本紙張尺度適用中國國家標準(CNS)A4規格(21.0X297公釐)_ _ 424 ί 92 厂 Α7 ______Β7___ 五、發明説明(叫 路2 4 0之指令代碼爲CPU指令時,DS.P譯碼信號 2 4 4成爲表示無效之代碼。 (請先閱讀背面之注意事項再填寫本頁) 茲更詳述含於微電腦1之指令系統之前述D S P指令 之代碼。圖1 8及圖1 9分別表示1 6位之D S P指令之 指令代碼圖2 0及圖2 1表示3 2位之DSP指令之指令 代碼。如前述,D S P指令係將指令代碼之最上位側之4 位分配於1 1 1# ,指令代碼之最上位側之6位爲'^ 111100,及’111101,係16位之DSP指 令,指命代碼之最上位側之6位爲、1 1 1 1 1 〇,之指 令係成爲32位之DSP指令。 圖 1 8 之第 1 欄(X S丨de of Data Transfer)所示 .16位DSP指令之指令格式係X存儲器(X — R〇M4 ,X — RAM6 )與DSP引擎3之內藏寄存器間之數據 轉送指令。上述指令格式中,A X,A y係指定含於 CPU芯2所含寄存器陣列2 0 9 (參照圖3.)之寄存器 ,Ax.= '0,係指定寄存器R4 ,Ax = '1,係指定 寄存器R.5,Ay = 係指定寄存器R 6,A y &quot; 1 經濟部中央標準局員工消費合作社印製__ I This paper size is applicable to China National Standards (CNS) A4 specification Ulf x297 male &gt; __3〇- (Please read the precautions on the back before filling in this page)% Order-.Q, Central Ministry of Economic Affairs Printed by the employee's consumer cooperative of the Bureau 424192 ”1 A7 __ ___ B7 _.___ V. Description of the invention (28) Register 2 5. In the aforementioned first state; the decoding circuit 2 4 0 will be set in the upper field of the instruction register 2 5 UIR As a result of the decoding of the instruction code data, in order to construct a 32-bit instruction, the 32-bit instruction code data pre-fetched in the 250 pre-fetch buffer is transferred to the instruction pre-fetch buffer 2 5 1 ° ― When a 16-bit instruction is detected from the decoding result, the data shift from the instruction prefetch buffer 250 to the secondary buffer 2 51 is not performed. In the aforementioned second state, the instruction is executed via the port Pa. After the data in register 25 is set, the 32-bit instruction code data prefetched by the instruction prefetch buffer 2 50 is still shifted and set in the instruction prefetch buffer 2 5 1 ° After the shift, if the instruction prefetch Fetch buffer 2 5 Q When there is unimplemented instruction code data, the instruction prefetch buffer 2 5 0 An instruction prefetch time prefetches the instruction code data.. With this control, after the instruction fetch time, the unprocessed instruction code data is set in the instruction register 25. At this time, the instructions to be implemented are 16-bit CPU instructions 1 6-bit DSP instructions or 32-bit DSP instructions, one of the upper-side 16 bits must be supplied to the first decoding circuit 2 4 0. The code conversion circuit 2 4 2 illustrated in FIG. 6 is shown in FIG. 1 by the selector 2 4 2A and code conversion logic 2 4 2B. In addition, the first decoding circuit 2 4 0 is explained in FIG. 6 according to whether the decoded instruction code is a 16-bit instruction to form a control signal to control its level 2 4 5 , 2 4 6 In the example in FIG. 17, a control signal for outputting a 16-bit instruction or a 32-bit instruction (in this embodiment, the 32-bit instruction is a DSP instruction) is output. 2 4 8 .Selector 2 4 2A, control signal 2 4 8 This paper size applies Chinese National Standard (CNS) A4 specification (210X: 297 mm) ------— IIP! (Please read the precautions on the back before (Fill in this page) Order 424 1 92.: ^ J A7 ___B7 V. Description of the invention (29) When indicating a 16-bit instruction, select Non Operation Cq.dew c _p Provides code conversion logic 2 4 2 B, control signal 2 4 8 indicates 3 2 bit DSP instructions, and supplies the instruction code of the lower register LIR in the instruction register 25 to the code conversion logic 2 4 2 B. Code conversion logic 2 4 2 B, although it is not particularly limited, but a part of the instruction code data of the lower-order area LIR of the instruction register 2 5 such as the code information for register selection is modified to be suitable for the decoder 3 4 of the DSP engine 3 Morphological output. Ministry of Economic Affairs_Central Bureau of Labor Standards, Consumer Consumption Co., Ltd. Printed Figure 17. In the embodiment, the first decoding circuit 2 4 0 interprets the 16-bit instruction code data held by the UIR in the upper field of the instruction register 25 and decodes the obtained CPU. The signal 2 4 3 is supplied to the second decoding circuit 2 4 3, and the DSP decoded signal 2 4 4 is supplied to the decoder 3 4. The CPU decoding signal 2 4 3 is intentionally supplied to either the CPU instruction or the DSP instruction, and is supplied to the second decoding circuit 2 4 1. The second decoding circuit 2 4 1 decodes the CPU decoding signal 2 4 3 and outputs the control information for the address calculation and data operation to be performed by the GPIO core 2 and the internal storage X-R 0M 4, Y — R0M5 , X — RAM, Y — RAM, and external storage access control bus and data line selection control information. As mentioned above, for the DSP instruction, the necessary address calculation and data bus selection are also implemented by the CPU core 2. The aforementioned DSP decoding signal 2 4 4 is the same as described above. When the instruction code supplied to the first decoding circuit 24 0 is code data for DSP instruction, it becomes an intentional decoding signal. The intentional DSP decoding signal 2 4 4 contains, for example, designated information such as a register in the DS engine 3 that transfers data between the memories accessed by the address operation performed by the CPU core 2. The paper size for the first decoded electric book is applicable to the Chinese National Standard (CNS) A4 specification (21.0X297 mm) _ 424 ί 92 Factory A7 ______ Β7 ___ V. Description of the invention (When the instruction code for Road 2 4 0 is a CPU instruction, DS.P decoding signal 2 4 4 becomes invalid code. (Please read the precautions on the back before filling this page.) The code of the aforementioned DSP instruction contained in the instruction system of microcomputer 1 is described in more detail. Figure 18 and Figure 19 shows the instruction code of the 16-bit DSP instruction. Figure 20 and Figure 21 show the instruction code of the 32-bit DSP instruction. As mentioned above, the DSP instruction allocates the 4 most significant bits of the instruction code to 1 1 1 #, 6 bits of the uppermost side of the instruction code are '^ 111100, and' 111101, are 16-bit DSP instructions, and 6 bits of the uppermost side of the instruction code are, 1 1 1 1 1 0, of The instruction system becomes a 32-bit DSP instruction. Figure 1 shows the first column (XS 丨 de of Data Transfer). The instruction format of a 16-bit DSP instruction is X memory (X — ROM4, X — RAM6) and DSP. Data transfer instructions between the built-in registers of Engine 3. In the above instruction format, AX, A y are specified to be included in Registers of the register array 2 0 9 (refer to Figure 3.) included in CPU core 2, Ax. = '0, designated register R4, Ax =' 1, designated register R.5, Ay = designated register R 6, A y &quot; 1 Printed by the Consumer Cooperatives of the Central Bureau of Standards, Ministry of Economic Affairs

,係指定寄存器R7 〇Dx *Dy, Da係指定含於 DSP引擎之寄存器,= *0,指定寄存器X〇,D x = 係指定寄存器XI ,Dy =係指定寄存 器Y0,Dy = '1,係指定寄存器Y1,Da = 係指定寄存器AO,Da =係指定寄存器A1。 I X ,I y表示立即値。 圖19所示16位DSP指令之指令格式係連接於微 本紙張尺度適用中國國家標準(CNS)A4規格( 210X297公釐)_ 33 - A7 B7 五、發明説明(31) 電腦1外部之未圖示之存儲器與D s P引擎.3之內藏寄存 器間之數據轉送指令。A s指定內藏C PU芯2之寄存器 陣列2 0 9 (參照圖3 )所含寄存器,D s係指定內藏於 DSP指令引擎之寄存器XI ’X〇 ,Y1 ,Y0 ,A1 ,AO及寄存器陣列3 Ο 5 (參照圖4 )所含寄存器。 3 2位DS P指令之格式,係大別爲表示3 2位 DSP指令之代碼1 1 1 1 之領域(位3 1〜位 2 6 ),A信息組(位2 5 —位1 6 )及B信息組(位 1 5〜位0 )。圖2 0表示著眼於A信息組之代碼及其所 對應之助記,圖2 1表示著眼B信息組時之該信息之代碼 及其所對應之助記。 經濟部中央標準局貝工消費合作社印製 圖2 0所示A信息組之代碼,係與圖1 8所示1 6位 DSP指令之位9〜位0之代碼相同之第2 0之第1欄( X Side of Data Transter)所tfA信息組之代碼係規定X 存儲器(X — ROM4,,X-RAM6)與 DSP 引擎 3 之內藏寄存器間之中數據轉送,第2攔(Y Side of Data Transter)所示A信息組之代碼係規定Y存儲器( y R〇M5 ,Y-RAM7 )與DSP引擎3之內藏寄 存器間之數據轉送。該A信息組所含之位A X,A y, Dx ,Dy ,Da指定之內容與園1 8完全相同。 圖2 1所示B信息組之代碼規定在D S P引擎3內部 實施之算術運算,邏輯運算,移位運算,寄存器間之負載 /存儲等處理。例如規定D S:P引擎3內部實施之乘算( PMULS),減算(PSUB),加算(PADD)拾 本紙張尺度適用中國國家標準(CNS ) A4規格(210 X 297公釐)_ {請先閲讀背面之注意事項再填寫本頁) 34 - 4. Z 4 l 9 2 A7 ___B7 ___ 五、發明説明(32) 入(PRND),移位(PSHL),邏輯.積(P AND ),排他的邏輯和(XOR),邏輯和(OR),加( P I N C ),減(PDEC),清除(CLR)等之運算 ,或在DS.P引擎3內部實施之負載(PLDS)及存儲 (P S T S )等。圖 2 1 之第 3 攔(3 0 Operand Optr-+ atiQn _with Condit丨on)係附有條件之代碼,其條件( if cc)#可選擇DC (數據完成)位(表示數據處理完 了之位)之邏輯値或視。 實際之3 2位D S P指令,記述成B信息組代碼與A 信息組代碼之任意組合。即,3 2位之D S P指令,取出 微電腦1之內部或外部之運算對象之操作,規定將其在D S P引擎內部運算之處理。由上述說明可知,操作數取出 用地址運算及數據總線之選擇係由C P U 2實施。3 2位 DSP指令中規定操作數取出之A信息組之代碼係與1 6 位之D S P指令相同。1 6 .位D S P指令係利用於對 D S P引擎3內部之寄存器之初期設定等。 經濟部中央標隼局員工消費合作社印製 參照圖1 7等所示構成示明瞭3 2位DSP指令之A 信息組之代碼數據係設定於指令寄存器2 5之上位領域 UIR。又,具有與A信息組同一格式之1 6位DSP指 令亦設定於上位領域U I R。故無論任一項,C PU芯2 ,同樣實施所需之地址運算及數據取出(或操作數取出) 必要之數據總線之選擇即可。換言之,將實施3 2位 DSP指令用之數據取出(或操作數取出)及實施1 6位 D S P指令用之數據取出(或操作數)所需之譯碼電路 -35 * (請先閱讀背面之注意事項再填寫本頁) 本紙張尺度適用中國國家標隼(CNS ) A4規格(210X297公釐) Α7 Β7 五、發明説明(33) 2 4 0,2 4 1共用化,此點,亦有益於微.電腦1之邏輯 規模之縮小。3 2位DSP指令之A信息組指定之DSP 引擎3內部寄存器之指定情報及16位DSP指令指定之 D S P引擎3之內部寄存器之指定情報係做爲前述D S P 譯碼信號2 4 4供給DSP引擎3。將DSP.譯碼信號 2 4 4爲有意與否,係由前述第1譯碼電路2 4 0將上位 領域UIR之最上位側之4位予以譯碼決定。 其次,參照圖7至圖16之指令實施時間表說明本實 施例之微電腦之運算控制之內容。本實施例之微電腦1係 實施IF,10,£乂,“八,1^6/03?階段之5段 管線動作。I F係指令取出階段,I D係指令譯碼階段, EX係運算實施階段,MA係存儲器存取階段, WB/D S P係將自存儲器取捋之數據取進C PU芯2之 r 經濟部中央標準局員工消費合作社印製 (請先閲讀背面之注意事項再填寫本買) 寄存器之階段或D S P引擎3實施D S P指令之階段。各 圖中,Instrnct:ion/Dat;a Access 表示經內部總線 I A B ,:[DB之存儲器存取,存取對象係內藏存儲器4〜7外 亦可能爲微電腦1之外部存儲器。X Y Mera , Access表示內 部總及1TAB,YDB之存儲器存取,存取對象僅限於內 藏存儲器4〜7。Isnt,Fetch指指令寄存器(_I R ) 2 5 之指令取出時間,Fetch , Reg表示指令寄存器(I R ) 2 5,Sonrce Data Ont 指源+ 數據輸出,Destination In 指目的數據之輸入時間,D e s t i n a t i id n R e g丨s t e r係指目的 寄存器。Pointer Reg意指指文字寄存器,Address Calc ,指地址運算,Deta Fetch指數據取出,Dsp Control 本紙張尺度適用中國國家標準(CNS ) A4規格(2!0X297公釐)_ _ 經濟部中央標隼局員工消費合作社印製 Α7 -------Β7____ 五、發明説明(34), Is designated register R7 〇Dx * Dy, Da is designated register included in DSP engine, = * 0, designated register X〇, D x = designated register XI, Dy = designated register Y0, Dy = '1, Designated register Y1, Da = designated register AO, Da = designated register A1. I X, I y means immediately. The instruction format of the 16-bit DSP instruction shown in Figure 19 is connected to the micro-paper. The size of the paper is applicable to China National Standard (CNS) A4 (210X297 mm) Data transfer instructions between the memory shown and the built-in registers of the D s P engine.3. A s specifies the registers included in the register array 2 0 9 (refer to FIG. 3) of the built-in C PU core 2 and D s specifies the registers XI 'X〇, Y1, Y0, A1, AO, and registers that are built into the DSP instruction engine. Registers included in array 3 0 5 (see Figure 4). The format of the 32-bit DS P instruction is the field representing the code 1 1 1 1 of the 32-bit DSP instruction (bit 3 1 to bit 2 6), the A field (bit 25-bit 16), and B field (bit 15 to bit 0). Figure 20 shows the code of the information group A and its corresponding mnemonic, and Figure 21 shows the code of the information and the corresponding mnemonic when it looks at the B group. The code of the A group shown in Figure 20 printed by the Shell Standard Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs is the same as the code of bits 9 to 0 of the 16-bit DSP instruction shown in Figure 18 The code of the tfA field set in the column (X Side of Data Transter) specifies the data transfer between the X memory (X — ROM4, X-RAM6) and the built-in registers of the DSP engine 3. The second block (Y Side of Data The code of the A block shown in Transter) specifies the data transfer between the Y memory (y ROM5, Y-RAM7) and the built-in registers of the DSP engine 3. The contents of the bits A X, A y, Dx, Dy, and Da contained in the A field are exactly the same as those in the garden 18. The code of the B field shown in FIG. 2 specifies the arithmetic operations, logical operations, shift operations, and load / store processing between registers, which are implemented inside the DSP engine 3. For example, stipulate that the multiplication (PMULS), subtraction (PSUB), and addition (PADD) implemented within the DS: P engine 3 are in accordance with the Chinese National Standard (CNS) A4 specification (210 X 297 mm) _ {Please read first Note on the back, please fill out this page again) 34-4. Z 4 l 9 2 A7 ___B7 ___ V. Description of the invention (32) PRND, shift (PSHL), logic. Product (P AND), exclusive logic And (XOR), logical sum (OR), addition (PINC), subtraction (PDEC), clear (CLR), etc., or the load (PLDS) and storage (PSTS) implemented within the DS.P engine 3. Figure 2 The third block (3 0 Operand Optr- + atiQn _with Condit 丨 on) is a code with a condition, and its condition (if cc) # can select the DC (data completion) bit (indicating that the data has been processed) The logic of 値 or see. The actual 32-bit D S P instruction is described as an arbitrary combination of the B field code and the A field code. That is, the 32-bit D S P instruction fetches the operation object of the internal or external microcomputer 1 and specifies the processing to be performed inside the D S P engine. As can be seen from the above description, the address operation for fetching operands and the selection of the data bus are implemented by CP2. The code of the A field in the 32-bit DSP instruction is the same as the 16-bit D S P instruction. 1 6. The bit DS command is used for initial setting of the registers in DS engine 3 and so on. Printed by the Employees' Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs Refer to Figure 17 and other figures. The code data that constitutes the A block of 32-bit DSP instructions is set in the upper-order field UIR of the instruction register 25. In addition, 16-bit DSP instructions having the same format as the A block are also set in the upper field U I R. Therefore, in any case, the CPU core 2 can also perform the required address calculation and data fetch (or operand fetch). The necessary data bus can be selected. In other words, the decoding circuit required to implement the data fetch (or operand) for 32-bit DSP instructions and the data fetch (or operand) for 16-bit DSP instructions -35 * (Please read the back Note: Please fill in this page again) This paper size is applicable to China National Standard (CNS) A4 specification (210X297 mm) Α7 Β7 V. Description of the invention (33) 2 4 0, 2 4 1 It is also beneficial to share this point Micro-computer 1 shrinks in logic. 3 The designated information of the internal register of the DSP engine 3 designated by the A field of the 2-bit DSP instruction and the designated information of the internal register of the DSP engine 3 designated by the 16-bit DSP instruction are used as the aforementioned DSP decoding signal 2 4 4 are provided to the DSP engine 3 . Whether the DSP. Decoded signal 2 4 4 is intentional or not is determined by decoding the 4 bits of the uppermost side of the upper field UIR by the first decoding circuit 2 4 0 described above. Next, the content of the arithmetic control of the microcomputer of this embodiment will be described with reference to the instruction implementation schedule of Figs. The microcomputer 1 of this embodiment implements the five-stage pipeline action of the IF, 10, £ 乂, "August, 1 ^ 6/03? Stage. IF is the instruction fetch phase, ID is the instruction decoding phase, EX is the operation implementation phase, MA is the memory access stage, WB / DSP is the data fetched from the memory into the CPU core 2r printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs (please read the precautions on the back before filling in this purchase) Register Phase or DSP engine 3 implementation of DSP instructions. In each figure, Instrnct: ion / Dat; a Access means via internal bus IAB: [DB memory access, access object is built-in memory 4 ~ 7 outside also May be external memory of microcomputer 1. XY Mera, Access means internal total 1TAB, YDB memory access, access objects are limited to built-in memory 4 ~ 7. Isnt, Fetch means instruction register (_I R) 2 5 instructions Fetch, Reg means instruction register (IR) 2 5, Sonrce Data Ont means source + data output, Destination In means input time of destination data, Destinati id n R eg 丨 ster means destination register. Pointer Reg Means text register, Address Calc, address calculation, Deta Fetch means data fetching, Dsp Control This paper size is applicable to China National Standard (CNS) A4 specification (2! 0X297 mm) _ _ Staff Consumption of Central Bureau of Standards Printed by the cooperative Α7 ------- Β7 ____ V. Description of the invention (34)

Signal Decord Timing意指以譯碼器3 4之DSP控制 信號2 0之譯碼時間。 圖7表示CPU芯2內部之ALU運算指令之寅施時 間圖。茲將ADD Rm,Rn爲ALU運算指令之一例 Ο 將存儲同步於I F階段直前之時鐘信號ClQCk2之上 昇之時間,應實施之指令(ADD,Rm,Rn )之地址 .輸出於地址總線之I AB。在Instruction Data Mem, Access IF階段實施存儲器存取動作。具體而言,在時 鐘信號Clockl之上昇至時鐘信號CUck2之上昇期間實施 地址總線I AB指定之地址之譯碼,而在I F階段之時鐘 信號CUck2之上昇至次一時鐘信號Clockl之上昇期間實 施指令存取。因此,自I F階段之時鐘信號CUcIi2之上 昇將指令輸出於數據總線。輸出於數據總線I D B之指令 係同步於I D階段之時鐘信號CUckl之上昇時間,取進 指令寄存器(I R ) 2 5。在I D階段實施取進指令寄存 器(I R 0 2 5之數據之譯碼。同步於Ex階段之時鐘信 號CUckl之上昇時間,存取存儲源數據之寄存器,將寄 存器之値輸出於CPU芯2之內部總線A1 ,B1。在指 令ADD Rm,Rn將指定於Rm及Rn之寄存器成爲 源寄存器。Rm及Rn可指令CPU芯2內部之任意寄存 器(圖3中,可指定寄存器2 0 9內之任意寄存器A 0 X ,Alx ,lx ,A. Oy ,Aly ,Iy ,,Rm 及 Rn ?輸出於CPU芯2之內鄣總線A 1 ,B 1之數據係在算 私紙張尺度適用中國國家標準(CNS) A4規格(210X 297公釐)_ 37 (請先閲讀背面之注意事項再填寫本頁)Signal Decorated Timing means the decoding time of the DSP control signal 20 of the decoder 34. FIG. 7 shows a timing chart of the ALU operation instruction inside the CPU core 2. ADD Rm, Rn is an example of the ALU operation instruction. 0 The memory is synchronized with the rising time of the clock signal ClQCk2 immediately before the IF phase, and the address of the instruction (ADD, Rm, Rn) that should be implemented. Output on I AB of the address bus . Memory access operations are performed during the Instruction Data Mem, Access IF phase. Specifically, the decoding of the address specified by the address bus I AB is performed during the rise of the clock signal Clockl to the rise of the clock signal CUck2, and the instruction is executed during the rise of the clock signal CUck2 in the IF phase to the rise of the next clock signal Clockl access. Therefore, the clock signal CUcIi2 rises from the stage I F to output the instruction to the data bus. The instruction output on the data bus I D B is synchronized with the rising time of the clock signal CUckl in the I D phase, and is taken into the instruction register (I R) 2 5. In the ID phase, the data of the instruction register (IR 0 2 5) is decoded. Synchronized with the rise time of the clock signal CUckl in the Ex phase, the register storing the source data is accessed, and the register is output to the CPU core 2. Bus A1, B1. In the instructions ADD Rm, Rn will make the registers specified in Rm and Rn become source registers. Rm and Rn can instruct any register inside CPU core 2 (in Figure 3, any register in register 2 0 9 can be specified A 0 X, Alx, lx, A. Oy, Aly, Iy, Rm, and Rn? Output to the CPU core 2. The data of the bus A 1 and B 1 are applied to the Chinese paper standard. A4 size (210X 297mm) _ 37 (Please read the notes on the back before filling this page)

4 24 19 2&quot;*^ 1 A7 __B7____ 五、發明説明(35) {請先閱讀背面之注意事項再填寫本頁) 術邏輯運算器(ALU) 2 1 3實施加算運算,其結果係 輸出於CPU芯2之內部總線C1。輸出於CPU芯2之 內部總線C 1之運算結果係同步於E X階段之時鐘信號 Clock2之上昇時間,存儲於目的寄存器(目的寄存器係 成爲以ADD Rm及Rn指令指定於Rn之寄存器)。 如上述,在C PU芯2之內部之ALU運算指令,以I F ,I D,EX之3段之管線階段完成指令實施動作。 圖8表示自存儲器向C PU芯2之數據讀進動作之時 間圖。茲舉MOV,L@Rm,Rn爲自存儲器向CPU 芯2之數據讀進動作之一例說明其動作。因至指令取出( IF),指令譯碼(ID)之動作與圖7相同,故省略其 部份之詳細說明。 同步於EX階段之時鐘信號Clockl之上昇時間,做 爲地址指示字之寄存器之數_係輸出於C PU芯2之內部 i . 總線A 1 。此例中,成爲地.±i指示字之寄存器係成爲R m 指定之寄存器。可指定於Rm之寄存器爲含於C P U芯2 .之任意寄存器(圖3中,可指定含於R e g之任意寄存器 經濟部中央標準局員工消費合作社印製4 24 19 2 &quot; * ^ 1 A7 __B7____ 5. Description of the invention (35) {Please read the precautions on the back before filling in this page) The arithmetic logic unit (ALU) 2 1 3 The addition operation is performed, and the result is output to the CPU The internal bus C1 of the core 2. The calculation result output on the internal bus C1 of the CPU core 2 is synchronized with the rise time of the clock signal Clock2 in the E and X phases, and is stored in the destination register (the destination register becomes the register specified in Rn by the ADD Rm and Rn instructions). As described above, the ALU operation instruction inside the CPU core 2 completes the instruction implementation action in the pipeline stages of I F, I D and EX. Fig. 8 is a timing chart showing the data read operation from the memory to the CPU core 2. Here MOV, L @ Rm, Rn is an example of the data read operation from the memory to the CPU core 2 to describe its operation. Since the operations of instruction fetch (IF) and instruction decode (ID) are the same as those in Fig. 7, detailed descriptions of them are omitted. The rise time of the clock signal Clockl, which is synchronized with the EX phase, is used as the number of registers of the address pointer _ is output inside the CPU core 2. i. Bus A 1. In this example, the register that becomes the ground. ± i pointer becomes the register designated by R m. The register that can be specified in Rm is any register included in the CP core 2. In Figure 3, any register that can be specified in R e g is printed by the Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs

m R ο 存 爲係 做 , y 攄 I 數 , 之 y -—t ΙΑ A線 , 總 &gt;.部 ο 內 A 之 , 2 X 芯 I U , P X C 1於 A 出 , 輸 X ο ώΈ 號 信 鐘 時 之 段 階 X Ε 於 步 同 5 ο 2 器 衝 緩 址 地 於 儲 線 總 址 地 於 出 輸 間 時 昇 上 之 Ρ C 於 出 輸 面 方m R ο save as system, y 摅 I number, y-t ΙΑ A line, total &gt; Department ο within A, 2 X core IU, PXC 1 out of A, lose X ο The stage of time X Ε in the same step 5 ο 2 The device rushes to the site of the total line of the storage line and rises in the output and output P C on the output side

芯 UCore U

u U L L A A 總 部 1 1 內 2 2 之 } } 3 3 Α 施施 線實實 8Β&amp; 運 ο 之算加 數 镎- 器器於 算算出 WE 蠢 遢這# 輯輯係 邏邏果 術術結 算算其 在 , Ο 係時算 據此運 CN 準 檫 家 一國 国 中 用 適 度 尺 i張 紙u ULLAA Headquarters 1 1 2 2}} 3 3 Α Shi Shi Line Shi 8 8 &amp; operation ο 之 加 镎-the device calculates WE 遢 此 # The series is the logic logic fruit calculation At the moment, 〇 is calculated based on this.

I釐 公 7 9 2 X 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明( CPU芯2之內部總線Cl。輸出於CPU芯2之內部總 線C 1之運算結果,係同步於EX階段之時鐘信號Clock 2之上舁時間,存儲於指示字寄存器(此時,以Rm指定 之寄存器)。在丨nst:rnction/Data Mem, Aecess中,於 ΜΑ階段之時鐘信號Clockl之上昇至時鐘信號Clock2之 上昇期間,同步於EX階段之時鐘信號CUck2之上昇時 間,實施輸出於地址總線I AB之地址之譯碼,在MA階 段之時鐘信號Clock2之上昇至次一時鐘信號Clockl之上 昇期間實施數據存取。因此,自MA階段之時鐘信號 Clock2之上昇將數據輸出於數據總線I D B。輸出於數 據總線I D B之數據係同步於WB/D S P階段之時鐘信 號Clockl之上昇時間取進CPU芯2,將數據输出於C PU芯2之內部總線DW。同步於WB/D S P階段之時 鐘信號Clock 2之上昇時間,將C PU芯2之內部總線 DW上之數據存儲於目的寄存器.,完成動作。此例中,目 的寄存器成爲指定於R n之寄存器。可指定於R η之寄存 器係含於CPU芯2之任意之寄存器(圖3中,可指定 Reg內之任意寄存器,AOx ,Alx,Ix ,A0y ,Aly ,Iy爲Rn)。如以上自存儲器向.CPU芯2 之數據讀進動作指令,以I F,I D,EX,MA,WB /D S P之5段之管線階段完成指令寅施動作。 圖9表示自C PU芯2向存儲器之數據寫進動作指令 之時間圖。茲舉MOV,LRm,@Rn爲自向CPU芯 2向存儲器之數據讀進動作之一例說明其動作。因至指令 本紙張尺度適用中國國家梯準(CNS ) A4规格(210X297公釐) 39 ---------丨 — (請先閲讀背面之注意事項再填寫本頁) 訂 tr 4 2 4 192 : ^ A7 B7 經濟部中央標準局員工消費合作社印裂I centimeter 7 9 2 X Printed by A7 B7 of the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs 5. Description of the Invention (The internal bus Cl of CPU core 2. The results of the output of internal bus C 1 of CPU core 2 are synchronized to EX The time above the clock signal Clock 2 of the phase is stored in the pointer register (at this time, the register designated by Rm). In 丨 nst: rnction / Data Mem, Aecess, the clock signal Clockl in the Μ phase rises to the clock During the rising period of the signal Clock2, the decoding is performed synchronously with the rising time of the clock signal CUck2 in the EX phase, and the address output on the address bus I AB is decoded, and the rising period of the clock signal Clock2 in the MA phase is raised to the next clock signal Clockl. Data access. Therefore, the clock signal Clock2 from the MA phase rises to output data to the data bus IDB. The data output from the data bus IDB is synchronized to the clock signal Clockl rise time from the WB / DSP phase and is taken into the CPU core 2. Output data to the internal bus DW of the CPU core 2. Synchronize the rise time of the clock signal Clock 2 in the WB / DSP phase, and output the data on the internal bus DW of the CPU core 2. Stored in the destination register., Complete the action. In this example, the destination register becomes the register specified in R n. The register that can be specified in R η is included in any register of CPU core 2 (in Figure 3, the register in Reg can be specified Arbitrary register, AOx, Alx, Ix, A0y, Aly, Iy is Rn). As above, the data is read from the memory to the CPU core 2. The action instructions are read in IF, ID, EX, MA, WB / DSP 5 sections The pipeline stage completes the execution of the instruction. Figure 9 shows the time chart of writing the operation instruction from the CPU core 2 to the memory. Here are MOV, LRm, @Rn for the operation of reading data from the CPU core 2 to the memory. An example illustrates the action. Because the paper size of this instruction is applicable to China National Standard (CNS) A4 (210X297 mm) 39 --------- 丨 — (Please read the precautions on the back before filling this page ) Order tr 4 2 4 192: ^ A7 B7 Employee Cooperative Cooperative of Central Standards Bureau of Ministry of Economic Affairs

五、發明説明( 37) - 1 | 取出( IF) ,指令譯碼 (I D )之 動 作與圖 8 相 同 故 1 省略其 部份之 詳細說明。 1 同 步於E X階段之時 鐘信 號 C 1 〇 c k 1之上昇時間 ,做 1 I _爲地址 指示字 之寄存器之 數據 係 輸出 於 CPU 芯 2 之 內 部 請 閱 1 1 I 總線A 1。此 例中,成爲 地址 指 示字 之 寄存器 係 成 爲 R m 讀 背 面 1 1 f 指定之 寄存器 。可指定於 R η 之 寄存 器 爲含於 C P U 芯 2 之 注 1 j 意_ I 之任意 寄存器 (圖3中, 可指 定 含於 R e g之 任 意 寄 存 器 事 項 1 I 再 ,A 0 X ,A 1 X » I X ,A 0 y , A 1 y, I y 做 爲 % % 本 1 R η ) 。輸出 於C P U芯 2之 內 部總 線 A 1之 數 據 &gt; 係 存 頁 1 1 儲於地 址緩衝 器 2 0 5, 同步 於 Ex 階 段之時 鐘 信 號 1 1 Cl ock2之上昇時間输出於地址總線 [A B ° - -方面输出 1 1 1 於C P U芯2 之內部總線 A 1 之 數據 係 在算術 邏 輯 運 算 器 1 訂 r (A L U ) 2 1 3實施運 算。 此 時, 算 術邏輯 運 算 器 ( 1 1 A.L U )2 1 3實施0加 算運 算 。其 運 算結果 係 輸 出 於 1 1 CPU 芯2之 內部總線C 1 0 輸 出於 C P U芯 2 之 內 部 總 1 I 線C 1 之運算 結果,係同 步於 E X階 段 之時鐘 信 號 C1 0 C k r i、_ 2之上 昇時間 ,存儲於指 字 譯 碼‘( 此 時,以 R η 指 定 之 1 1 1 寄存器 ),指 令 Μ 0 V, L中 R η , @ R η時 9 於 Ε X 階 1 1 段實施 地址運 算,同時, 實施 將 應寫 進 存儲器 之 數 據 輸 出 1 1 於數據 總線I D Β之準備 0同 步 於Ε X 階段之 時 鐘 信 號 1 1 C 1 ock 1 之上昇時間,由存儲應寫進存儲器之數據之寄存 1 1 器將値 輸出於 C P U 芯 2 之內 部 總線 D R。此 例 中 1 存 儲 i 1 應寫進 存儲器 之數據之譯 碼, 係 成爲 R m指定 之 寄 存 器 〇 \ I 可指定 於R m 之寄存器係 含於 C P U 芯 2之任 意 之 譯 碼 ( 1 1 I 本紙張尺度適用中國國家標準(CNS M4規格(210X297公釐} 40 經濟部中夬標隼局貝工消費合作社印製 4 24 1 92 : ^ 4 A7 __B7_ 五、發明説明(38) 圖3中,可指定Reg,內於任意寄存器,A Ox, Alx,lx,A0y,Aly,Iy 爲 Rm)。輸出於 CPU芯2之內部總線d r之値,係同步於MA階段之時 鐘信號C 1 〇 c k 2之上昇時間輸出數據總線I D Β。在 1:13(;1*!1(:1;丨〇11/0&amp;纟&amp;}^_111.人&lt;^633於]^1六階段之時鐘信號 CUckl之上昇至時鐘信號Clock2之上昇期間,同步於 EX階段之時鐘信號CUck2之上昇時間實施输出地址總 線I AB之地址之譯碼,同步於Μ A階段之時鐘信號 Clock2之上昇時間寫進輸出於數據總線I D B之數據, 完成爲動作。自存儲器向CPU芯2之數據寫進動作指令 ,因CPU芯2在將數據輸出數據總線IDB之時點完成 動作,故於IF, ID,EX,MA之4段管線階段完成 動作。 圖1 0表示實施D S P指令時之時間圖。舉 PADDC Sx,Sy,Dz NOPX,NOPY 爲 D SP指令之一例說明其動作。該指令係實施存儲於 DS P引擎3內之寄#器之數據之加算,不實施D S P引 擎 3 與 X-ROM4 及 X-RAM6,及 Y — ROM5 及 .Y—RAM7間之數據轉送之指令。 指令取出動作因與圖7相同故省略其部份之詳細說明 。在.1 D階段,實施於時鐘信號CUckl至時鐘信號 Clock2期間C P U芯2取進之指令代碼之譯碼,將於 I D階段之時鐘信號Clock2之時間將指令代碼譯碼之結 果做爲DSP控制信號2 0輸出於DSP引擎3。在 本紙張尺度適用中國國家標準(CNS)A4規格(2i〇X297公釐)_ (請先閲讀背面之:注意事項再填寫本頁) 訂 A7 B7 經濟部中央標準局員工消費合作社印製 五 、發明説明 ( 39) D S P 引 擎 3 0 白 C P U 芯 2 輸 入 D S P 控 制 信 號 2 0 時 &gt; 將 至 Μ A 階 段 期 間 輸 入 之 D S P 控 制 信 號 予 以 譯 碼 0 同 步於 W Β / D S P 階 段 之 時 W 信 號 C1 0 C k L之上昇時間 t 存 取 存 儲 源 數 據 之 寄 存 器 9 將 寄 存 器 之 値 輸 出 於 D S Ρ 引 擎 3 之 內 部 總 線 A 2 Β 2 0 此 例 中 9 存 儲 源 數 據 之 寄 存 SB W 成 爲 S X 及 S y 指 定 之 寄 存 器 * 可 指 定 於 S X 及 S y 之 寄存 器 係 D S P 引 擎 3 內 部 之 任 意 之 寄 存 器 ( 圖 4 中 &gt; R e g 9 內 之 任 意 寄 存 器 可 指 定 爲 S X 及 S y ) 〇 輸 出 D S P 引 擎 3 內 部 總 線 A 2 9 B 2 之 數 據 在 算 -AfT* m 邏 輯 運 算 〃 器 ( A L U ) 3 0 2 實 施 運 算 其 結 果 係 输 出 於 D S P 引 擎 3 之 內 部 總 線 C 2 0 輸 出 D S P 引 擎 3 之 內 部 總 線 C 2 之 運 算 結 果 係 同 步 於 W B / D S P 階 段 之 時 鐘 信 號 C ί 0 C k 2 之 上 昇 時 間 存 儲 於 S 的 寄 存 器 0 此 例 中 9 目 的 寄 存 器 成 爲 D 2 指 定 之 寄 存 器 0 可 指 定 於 D Z 之 寄 存器 係 D S P 引 擎 3 內 部 之任 意 之 寄 存 器 ( 圖 4 係 R e g 內 之 任 意 之 寄 存 器 ) a 如 以 上 之 D S Ρ 指 令 9 係 以 I F 1 I D , E X 9 Μ A &gt; W B / D S P 之 5 段 管 線 階 段 完 成 動 作 0 圖 1 1 表 示 白 X , Y 存 儲 器 4 — 7 向 D S P 引 擎 3 之 數 據 Ξ應 m 進 動 作 指 令 之 時 間 圇 0 兹 舉 Μ 〇 V X W A X &gt; D X 9 Μ 〇 V Y W @ A y ? D y 做 爲 白 X 1 Y 存 儀 器 4 &lt;^w 7 向 D S P 引 擎 3 之 數 據 讀 進 作 指 令 之 一 例 說 明 其 動 作 0 該 指 令 係 將存 儲 於 A X 及 A y 指 定 之 地 址 之 數據轉 送 於 D X 及 D y 指 定 之 寄 存 器 之 指 令 〇 指 令 取 出 9 指 令 譯 碼 器 之 動 作 因 與 圖 1 0 相 同 故 省 略 該 部 份 之 詳 細 說 明 0 本紙浪尺度適用中國國家標準(CNS&gt; A4規格(210X297公釐)_仏 A7 B7 五、發明説明(40) 經濟部中央標準局員工消費合作社印製 (請先閱讀背面之注意事項再填寫本頁) 實施自X,Y存儲器4〜7向DSP引.擎3之數據讀 進動作指令時,存取之存儲器之地址形成CPU芯2。因 此同步於E X階段之時鐘信號Clcickl之上昇時間,存取 存儲應存取之地址之寄存器,將寄存器之値輸出於c PU 芯2之內部總線A 1〜A 2。此例中存儲應存取之地址之 寄存器係成爲Ax,Ay指定之寄存器。可指定於Αχ之 寄存器係含有CPU芯2之寄存器AO X,A1 X,而可 指定於Ay之寄存器係含於CPU芯2之寄存器AO y, A 1 y。輸出於C P U芯2之內部總線A 1〜A 2之數據 係存儲於存儲地址緩衝器(MABX,MABY)同步於 E X階段之時鐘信號CUck2之上昇時間輸出於地址總線 XAB,YAB。一方面輸出CPU芯2之內部總線A1 〜A2之數據係以ALU2 1 3,PAU2 1 2實施地址 運算。此時ALU213及PAU212實施0加算運算 。該運算結果係輸出於CPU芯2之內部總線C 1及C 2 ,輸出於C PU芯2之內部總線C 1及C 2之運算結果係 同步於EX階段之時鐘信號Clock 2之上昇間存儲於指示 字寄存器(即以Αχ及Ay指定之寄存器P在X,Y存儲 器4〜7,於MA階段之時鐘信號C!ockl之上昇至時鐘 信號CUcli2之上昇期間,實施以EX階段時鐘信號Cioc-k2之上昇時間輸出於地址總線XAB,YAB之地址之 譯碼,在MA階段之時鐘信號CUck2之上昇至次一時鐘 信號Clockl之上昇期間實施數據存取。因此,自MA階 段之時鐘信號Clock2之上昇將數據輸出數據總線X D B 心張尺度適用中國國家標準(CNS〉A4規格(210X297公釐)_ - A7 B7 4 241.92 :, 五、發明説明(41) (請先閱讀背面之注意事項再填寫本頁) ,YDB。輸出數據總線XDB,YDB之數據,係同歩 於WB/D S P階段之時鐘信號CUckl之上昇時間取進 DSP引擎3將數據供給DSP引擎3之內部總線D1 , D 2。同步於WB/D S P階段之時鐘信號Clock2之上 昇時間將D S P引擎3之內部總線D 1 ,D 2上之數據存 儲於目的寄存器,完成動作。該例中,目的寄存器係成爲 指定於D. X及DY之寄存器。可指定於DX之寄存器,係 含於DSP引擎3之寄存器XO,X1 ,而可指定於Dy 之寄存器係含於DSP引擎3之寄存器YO ,Y1。如以 上,自存儲器向DSP引擎3之數據讀進動作指令係以 IF,ID,EX,MA,WB/DSP 之 5 段管線階段 完成動作。斯項並聯之數據讀進動作,係因經相互獨立之 總線XAB,XDB與YAB,YDB使CPU芯2可存 取X,Y存儲器4〜7之故。 經濟部中央標準局員工消費合作社印製 圖1 2表示自DSP引擎3向X,Y存儲器6 ,7之 數據寫進動作之時間圖。茲舉MOVX.W Da, @Αχ Μ Ο V Y * W Da,@Ay 爲自 DSP 引擎 3 向X,Y存儲器6 ,7之數據寫進動作指令之一例說明其 動作。該指令係將存儲於D a指定之寄存器之數據轉送於 存儲於A X及A y指定之寄存器之地址之指令。 指令取出’指令代碼之動作因與圖i i相同,故省略 其部份之詳細說明,實施自DS P引擎3向X,Y存儲器 6,7之數據寫進動作指令時,應存取之存儲地址形成 CPU芯2 °因此同步於(階段之時鐘信號Clockl之 私紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) 經濟部中央標準扃貝工消費合作社印製 4 24 192 ^ A7 __B7__ 五、發明説明(4习 上昇時間,存取存儲應存取之地址寄存器,.將寄存器之値 輸出於CPU芯2之內部總線A 1〜A 2 ° 同步於MA階段之時鐘信號CUckl之上昇時間,存 取存儲應轉送之數據之D S P引擎3內部寄存器,將該寄 存器之値输出於D S P引擎3之內部總線D 1 ,D 2 ,將 .其存儲於存儲數據緩衝器(MDBX,MDBY。此例中 ,存儲應轉送之數據之D S P引擎3之內部寄存器係成爲 Da指定之寄存器。可以Da指定之寄存器係含DSP引 擎3之寄存器A 0及A 1。同步於MA階段之時鐘信號 Clock2之上昇時間,存儲於存儲數據緩衝器(MD BX ,MDBY)之數據係輸出於數據總線XDB,YDB。 同步於ΜΑ階段之時間信號Clock 1之上昇時間, 存取存儲應轉送數據之DS: P引擎3之內部寄存器,將該 寄存器之値输出於DSP引擎3之內部總線Dl ,D2, 將其存儲於存儲數據緩衝器(MDBX,MDBY)。 此例中,存儲應轉送數據之D S P引擎3之內部寄存器成 爲D a指定之寄存器。可以D a指定之寄存器係含於 DS P引擎之寄存器A 0及A 1。同步於MA階段之時鐘 信號CUck 2之上昇時間,存儲於存儲數據緩衝器( M D B X,Μ B D Y )之數據係輸出於數據總線X D B, YDB。在X,Υ存儲器6,7於ΜΑ階段之時鐘信號 ClockI之上昇至時鐘信號Clock〗之上昇期間,以ΕΧ階 段時鐘信號Clock2之上昇時間實施輸出於地址總線 XAB,YAB之地址之譯碼,在MA階段之時鐘信號 I.— 1 — — — — — (請先閱讀背面之注意事項再填寫本頁) 訂 本紙張尺度適用中國國家標準(CNS ) M規格(2|〇χ297公釐) 45 - 424192 A7 ________B7 五、發明説明(V. Description of the invention (37)-1 | Fetch (IF), the operation of instruction decoding (ID) is the same as that of Fig. 8. Therefore, 1 detailed description of the part is omitted. 1 Synchronize with the rise time of the clock signal C 1 0 c k 1 at the stage of E X, and do 1 I _ The data of the register of the address pointer is output to the inside of CPU core 2. Please refer to the 1 1 I bus A 1. In this example, the register that becomes the address pointer is the register designated by the R m read back 1 1 f. The register that can be specified in R η is an arbitrary register included in Note 1 j of CPU core 2 (I, any register that can be specified in R eg can be specified. Note 1 I, A 0 X, A 1 X » IX, A 0 y, A 1 y, I y are taken as %% and 1 R η). Data output on the internal bus A 1 of the CPU core 2> Store page 1 1 Stored in the address buffer 2 0 5 and synchronized to the clock signal of the Ex stage 1 1 The rise time of Cl ock2 is output on the address bus [AB °- -The data of the output 1 1 1 on the internal bus A 1 of the CPU core 2 is calculated in the arithmetic logic unit 1 (r) (ALU) 2 1 3. At this time, the arithmetic logic operation unit (1 1 A.L U) 2 1 3 performs 0 addition operation. The calculation result is output on the internal bus C 1 of CPU core 2 1 and the output result on the internal total 1 I line C 1 of CPU core 2 is synchronized with the clock signals C1 0 C kri and _ 2 in the EX phase. Rise time is stored in the finger decode '(in this case, the 1 1 1 register designated by R η), the instruction M 0 V, R η in L, @ R η is 9 and the address operation is performed at Ε X stage 1 1 At the same time, the data output 1 1 which should be written into the memory is implemented. The preparation of the data bus ID Β is synchronized to the clock signal of the phase Ε X. The rise time of the clock signal 1 1 C 1 ock 1 is used to store the data that should be written into the memory. 1 1 The device outputs 値 to the internal bus DR of CPU core 2. In this example, the decoding of the data that 1 storage i 1 should write into the memory becomes a register designated by R m. 0 I The register that can be designated in R m is an arbitrary decoding included in the CPU core 2 (1 1 I Paper size applies to Chinese national standard (CNS M4 specification (210X297 mm) 40 Printed by Shellfish Consumer Cooperative of the Ministry of Economic Affairs of the People's Republic of China and the Ministry of Economic Affairs 4 24 1 92: ^ 4 A7 __B7_ V. Description of the invention (38) Designated Reg, in any register, A Ox, Alx, lx, A0y, Aly, Iy is Rm). Output to the internal bus dr of the CPU core 2 is synchronized to the clock signal C 1 ock 2 of the MA phase Rise time output data bus ID Β. At 1:13 (; 1 *! 1 (: 1; 丨 〇11 / 0 & 纟 &) ^ _ 111. Person &lt; ^ 633at] ^ 1 six-phase clock signal CUckl During the period from the rise to the clock signal Clock2, the rise time of the clock signal CUck2 synchronized to the EX stage is used to decode the address of the output address bus I AB, and the rise time of the clock signal Clock2 synchronized to the MIMO stage is written to the output. The data of the bus IDB is completed as an action. From the memory to the CPU The data of 2 is written into the operation instruction. Because the CPU core 2 completes the operation at the time when the data is output to the data bus IDB, the operation is completed in the four-stage pipeline stages of IF, ID, EX, MA. Figure 10 shows the time when the DSP instruction is implemented. Time chart. Take PADDC Sx, Sy, Dz NOPX, NOPY as an example of the D SP instruction to explain its operation. This instruction implements the addition of the data stored in the DS P engine 3 and does not implement the DSP engine 3 and X -ROM4 and X-RAM6, and instructions for data transfer between Y—ROM5 and .Y—RAM7. The instruction fetching operation is the same as that in FIG. 7 and its detailed description is omitted. It is implemented on the clock signal in the stage of .1 D The decoding of the instruction code fetched by CPU core 2 during the period from CUckl to Clock2 will output the result of decoding the instruction code as the DSP control signal 20 at the time of the clock signal Clock2 in the ID phase. Paper size applies to China National Standard (CNS) A4 specification (2i0 × 297 mm) _ (Please read the back: Cautions before filling out this page) Order A7 B7 Printed by the Consumers' Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs (39) DSP engine 3 0 White CPU core 2 When DSP control signal 2 0 is input &gt; Decode the DSP control signal input during the M A phase 0 Synchronize W signal C1 0 C k L rise when W Β / DSP phase At time t, access the storage source data register 9 and output the register to the DS PB engine 3 internal bus A 2 Β 2 0 In this example, 9 the storage source data storage register SB W becomes the register designated by SX and S y * can be specified The registers in SX and S y are arbitrary registers inside DSP engine 3 (any register in R & 9 in Figure 4 can be designated as SX and S y) 〇 Output DSP engine 3 internal bus A 2 9 B 2 Data in calculation-AfT * m logical operation unit (ALU) 3 0 2 The result of the operation is output to the internal bus C 2 of the DSP engine 3 0 The operation result of the internal bus C 2 of the DSP engine 3 is output to the WB / Clock Letter for DSP Phase The rising time of the number C ί 0 C k 2 is stored in the register 0 of S. In this example, the 9 destination register becomes the register designated by D 2 and the register that can be designated in DZ is any register inside DSP engine 3. (Figure 4 is R eg Any register within) a. As above, DS instruction 9 is completed with IF 1 ID, EX 9 Μ A &gt; WB / DSP 5-stage pipeline stage 0. Figure 1 1 shows white X, Y memory 4-7 direction The data of the DSP engine 3 should be in accordance with the time of the movement instruction. 0 Here is 〇 〇VXWAX &gt; DX 9 Μ VYW @ A y? D y is used as the white X 1 Y storage instrument 4 &lt; ^ w 7 to the DSP engine An example of the 3 data read instruction is its operation. 0 This instruction is an instruction that transfers the data stored in the address specified by AX and A y to the register specified by DX and D y. 0 The instruction fetches 9 The operation cause of the instruction decoder Same as Fig. 10, so detailed description of this part is omitted Ming 0 This paper wave scale is applicable to Chinese national standards (CNS &gt; A4 specification (210X297 mm) _ 仏 A7 B7 V. Description of invention (40) Printed by the Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs (please read the precautions on the back before filling in) (This page) When the X, Y memories 4 to 7 are used to read the data into the DSP, the memory 3 accesses the address of the memory to form the CPU core 2. Therefore, the rise time of the clock signal Clcickl synchronized with the stage E and X is accessed to register which stores the address to be accessed, and the register is output to the internal bus A1 ~ A2 of cPU core 2. The register that stores the address to be accessed in this example becomes the register designated by Ax and Ay. The registers that can be specified in Aχ include the registers AO X and A1 X of CPU core 2, and the registers that can be specified in Ay are the registers AO y and A 1 y in CPU core 2. The data output on the internal buses A 1 to A 2 of the CPU core 2 are stored in the memory address buffers (MABX, MABY) and synchronized to the rise time of the clock signal CUck2 in the phase E and X are output to the address buses XAB and YAB. On the one hand, the data output from the internal buses A1 to A2 of the CPU core 2 are implemented by ALU2 1 3 and PAU2 1 2 for address calculation. At this time, ALU213 and PAU212 implement 0 addition operation. The calculation result is output to the internal buses C 1 and C 2 of the CPU core 2, and the calculation result output to the internal bus C 1 and C 2 of the CPU core 2 is synchronized with the rise of the clock signal Clock 2 in the EX phase and stored in Pointer register (that is, registers P designated by Ax and Ay in X, Y memory 4 ~ 7, during the rise of the clock signal C! Ockl in the MA phase to the rise of the clock signal CUcli2, implement the EX phase clock signal Cioc-k2 The rise time is output on the address bus XAB and YAB to decode the address. Data is accessed during the rise of the clock signal CUck2 in the MA phase to the rise of the next clock signal Clockl. Therefore, the rise of the clock signal Clock2 in the MA phase The data output data bus XDB cardiophysical scale is applicable to the Chinese national standard (CNS> A4 specification (210X297mm) _-A7 B7 4 241.92 :, V. Description of the invention (41) (Please read the precautions on the back before filling this page ), YDB. The data of the output data bus XDB, YDB is the same as the rise time of the clock signal CUckl in the WB / DSP phase. It is taken into the DSP engine 3 and the data is supplied to the internal buses D1 and D2 of the DSP engine 3. Synchronized with WB / The rise time of the clock signal Clock2 in the DSP phase stores the data on the internal buses D 1 and D 2 of the DSP engine 3 in the destination register to complete the action. In this example, the destination register becomes the register designated by D. X and DY. The registers that can be specified in DX are the registers XO, X1 included in DSP engine 3, and the registers that can be specified in Dy are the registers YO, Y1 contained in DSP engine 3. As above, the data is read from the memory to DSP engine 3. The advance instruction is completed by the five pipeline stages of IF, ID, EX, MA, WB / DSP. The parallel data read operation is performed by the CPU core via the independent buses XAB, XDB, YAB, and YDB. 2 Can access X, Y memory 4 ~ 7. Printed by the Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs. Figure 12 shows the time chart from the DSP engine 3 to the X, Y memory 6, 7 written into the action. Take MOVX.W Da, @ Αχ Μ Ο VY * W Da, @Ay is an example of an action instruction written from the DSP engine 3 to the X, Y memory 6, 7 to illustrate the action. This instruction is stored in D a The data of the specified register is transferred to the storage in AX and A y The instruction of the address of the register. The operation of the instruction fetching 'instruction code is the same as that in Figure ii, so the detailed description of it is omitted, and the data from the DS P engine 3 to the X, Y memory 6, 7 is written into the operation instruction. The storage address that should be accessed forms the CPU core 2 °, so it is synchronized to (the clock signal of Clockl's private paper scale is applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm)) Printed by the Central Standard of the Ministry of Economy 4 24 192 ^ A7 __B7__ V. Description of the invention (4. Rise time, access the address register that should be accessed by storage, and output the register to the internal bus A 1 ~ A 2 of CPU core 2. Synchronize with the MA stage The rise time of the clock signal CUckl accesses the internal register of the DSP engine 3 which stores the data to be transferred, and outputs the register to the internal buses D 1 and D 2 of the DSP engine 3 and stores it in the storage data buffer ( MDBX, MDBY. In this example, the internal register of the DSP engine 3 storing the data to be transferred becomes a register designated by Da. The registers that can be designated by Da are the registers A 0 and A 1 containing the DSP engine 3. The rise time of the clock signal Clock2 synchronized to the MA phase, and the data stored in the storage data buffer (MD BX, MDBY) are output on the data bus XDB, YDB. Synchronized with the rise time of the clock signal Clock 1 in the MA stage, accesses the internal register of DS: P engine 3 that stores the data to be transferred, and outputs this register to the internal buses D1, D2 of DSP engine 3, and stores it in Store data buffers (MDBX, MDBY). In this example, the internal register of the DSP engine 3 storing the data to be transferred becomes a register designated by D a. The registers that can be designated by D a are the registers A 0 and A 1 contained in the DS P engine. The rise time of the clock signal CUck 2 synchronized with the MA phase, and the data stored in the storage data buffer (M D B X, M B D Y) are output on the data bus X D B, YDB. During the rising period of the clock signal ClockI to the clock signal Clock in the X and Y memories 6, 7 at the stage of MA, the address output on the address bus XAB and YAB is decoded with the rising time of the clock signal Clock2 in the EZ stage. Clock signal at MA stage I.— 1 — — — — — (Please read the notes on the back before filling this page) The paper size of the paper is applicable to the Chinese National Standard (CNS) M specification (2 | 〇χ297mm) 45- 424192 A7 ________B7 V. Description of the invention (

Clock2之上昇至次一時鐘信號Clockl之上屏期間實施數 據存取。因此,輸出數據總線XDB,YDB之數據自 MA階段之時鐘信號ClQck2之上昇寫進。如以上自 DSP引擎3向X,Y存儲器6 ,7之數據寫進動作指令 係於I F,I D,Ε X,Μ Α之4段管線階段完成動作。 斯項並聯之數據寫進動作乃因經相互獨立之總線X A B, XDB與TAB,YDB,使CPU芯2可存取X,Y存 儲器4,6之故。 圖13表示自存儲器向DSP引擎3之數據讀進動作 之時間圖。茲舉MOVS,L@AS,DS爲自存儲器向 DS P引擎3之數據讀進動作指示之一例說明其動作。該 指令係將存儲於A S指定之地址之數據轉送於D S指定之 寄存器之指令。 經濟部中央標隼局負工消費合作社印製 基本動作係與圖1 1所示自X,Y存儲器4〜7向 DSP引擎3之數據讀進動作相同。圖11與圖13之差 .異,係圖1 1爲因對象之存儲器爲X,Υ存儲器4〜7故 使用X總線,Υ總線,而圖1 3則因對象之存儲器係微電 腦1連接於支持空間之存儲器,故使用總線I ΑΒ, I D Β。同步於ΕΧ階段時鐘信號Clockl之上昇時間, 取得有應存取之地址之寄存器,將寄存器之値輸出於 CPU芯2之內部總線A 1。此例中,存儲應存取之地址 之寄存器,係成爲AS指定之寄存器。可以AS指定之寄 存器係含於CPU芯2之Reg,內之任意寄存器。輸出 於C P U芯2之內部總線A 1之數據,係存儲於地址緩衝 本紙張尺度適用中國國家揉準(CNS ) A4规格(210X297公釐) (請先閲讀背面之注意事項再填寫本頁) 46 - A7 B7 經濟部中央標準局員工消費合作社印裝 424192:^ 五、發明説明(44) 器2 0 5,同步於EX階段之時鐘信號Clock 2之上昇時 間,輪出於地址總線I AB。一方面輸出CPU芯2之內 部總線A 1之數據係以算術邏輯運算器ALU 2 1 3,實 施地址運算。此時算術邏輯運算器ALU 2 1 3實施0加 算運算。該運算結果係輸出於CPU芯2之內部總線C 1 。輸出’於CPU芯2之內部總線C 1。之運算結果係同步 於E X階段之時鐘信號Clock2之上昇間存儲於指示字寄 存器(即以As指定之寄存器)。在存取對象之存儲器, 於MA階段之時鐘信號Clockl之上昇至時鐘信號Clock2 之上昇期間*實施以EX階段時鐘信號Clock2之上昇時 間輸出於地址總線I AB之地址之譯碼,在MA階段之時 鐘信號CUck2之上昇至次一時鐘信號Clockl之上昇期間 實施數據存取。因此,自MA階段之時鐘信號C[ock2之 上昇將數據輸出數據總線I D B。輸出數據總線I D B之 數據,係同步於WB/D S P階段之時鐘信號Clockl之 上昇時間取進D S P引擎3將數據供給D S P引擎3之內 部總線D 1。同步於WB/D S P階段之時鐘信號Clock 2之上昇時間將D S P引擎3之內部總線D 1上之數據存 儲於目的寄存器完成動作。此例中,目的寄存器係成爲指 定於D s之寄存器。可指定於Ds之寄存器,係DSP引 擎3內之任意之寄存器。如以上自存儲器向d S P引擎3 之數據讀進動作指令,係以I F,I D,EX,MA, W B / D S P之5段之管線階段完成動作。 圖14表示自向DSP引擎3向存儲器之數據讀進動 本紙張尺度適用中國國家標準(CNS ) A4規格(210X 297公釐) (請先閱讀背面之注意事項再填寫本頁)Data access is implemented during the period from the rise of Clock2 to the next clock signal Clockl. Therefore, the data of the output data buses XDB and YDB are written from the rising of the clock signal ClQck2 in the MA phase. As described above, the data from the DSP engine 3 to the X, Y memories 6, 7 is written into the action instructions. The actions are completed in the four stages of the pipeline stages of I F, ID, Ε X, and Μ A. The write operation of the parallel items is because the independent buses X A B, XDB and TAB, YDB enable the CPU core 2 to access the X and Y memories 4, 6. FIG. 13 is a timing chart showing a data read operation from the memory to the DSP engine 3. Here MOVS, L @ AS, DS is an example of an operation instruction for reading data from the memory to the DS P engine 3 to explain its operation. This instruction is an instruction to transfer the data stored in the address designated by AS to the register designated by DS. Printed by the Central Bureau of Standards of the Ministry of Economic Affairs and Consumer Cooperatives The basic operation is the same as the data reading operation from X, Y memory 4 to 7 to DSP engine 3 shown in Figure 11. The difference between Fig. 11 and Fig. 13 is that Fig. 11 shows that the target memory is X, Υ memory 4 ~ 7, so X bus and Υ bus are used, and Fig. 13 shows that the target memory is microcomputer 1 connected to the support Space memory, so use bus I ΑΒ, ID Β. Synchronize with the rise time of Clock signal Clockl in the IX stage, obtain the register with the address that should be accessed, and output the register to the internal bus A 1 of CPU core 2. In this example, the register that stores the address to be accessed becomes the register designated by AS. The register designated by AS can be any register contained in the Reg of CPU core 2. The data output on the internal bus A 1 of the CPU core 2 is stored in the address buffer. The paper size is applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm) (Please read the precautions on the back before filling this page) 46 -A7 B7 Printed by the Consumer Cooperatives of the Central Bureau of Standards of the Ministry of Economic Affairs 424192: ^ V. Description of the invention (44) The device 2 0 5 is synchronized with the rise time of the clock signal Clock 2 in the EX phase. On the one hand, the data output from the internal bus A 1 of the CPU core 2 is implemented by an arithmetic logic operation unit ALU 2 1 3 to perform an address operation. At this time, the arithmetic logic unit ALU 2 1 3 performs 0 addition operation. The calculation result is output to the internal bus C 1 of the CPU core 2. Output 'is on the internal bus C 1 of the CPU core 2. The operation result is stored in the pointer register (that is, the register designated by As) in synchronization with the rising of the clock signal Clock2 in the E and X phases. In the memory to be accessed, during the rise of the clock signal Clockl in the MA phase to the rise of the clock signal Clock2 *, the decoding of the address output on the address bus I AB with the rise time of the EX phase clock signal Clock2 is performed. Data access is performed during the rise of the clock signal CUck2 to the rise of the next clock signal Clockl. Therefore, the rising of the clock signal C [ock2 from the MA stage outputs the data to the data bus IDB. The data of the output data bus I D B is synchronized with the rise time of the clock signal Clockl in the WB / D SP phase and is taken into the DS engine 3 to supply the data to the internal bus D 1 of the DS engine 3. The rise time of the clock signal Clock 2 synchronized with the WB / D S P phase stores the data on the internal bus D 1 of the D S P engine 3 in the destination register to complete the operation. In this example, the destination register becomes the register designated by D s. The register that can be specified in Ds is any register in DSP Engine 3. As mentioned above, the data read operation instruction from the memory to the d S P engine 3 is completed by the pipeline stage of the five stages of I F, ID, EX, MA, W B / D SP. Figure 14 shows the reading of the data from the self-directed DSP engine 3 to the memory. The paper size applies the Chinese National Standard (CNS) A4 specification (210X 297 mm) (Please read the precautions on the back before filling this page)

47 經濟部中央標準局貝工消費合作社印製 4 24 1 9 2?罐 A7 _ B7_____ 五、發明説明(岣 作之時間圖。茲舉MOVS,LDS@AS.,爲自DSP 引擎3向存儲器之數據寫進動作指示之一例說明其動作。 該指令係將存儲於D S指定之地址之數據轉送於A S指定 .之寄存器之指令。 基本動作係與圖1 2所示自DSP引擎3向X,Y存 儲器之數據寫進動作相同。圖1 2與圖1 4之差異,係圖 1 2爲因對象之存儲器爲X,Υ存儲器故使用總線ΧΑΒ ,:KDB總線ΥΑΒ,YDB,而圖1 4則因對象之存儲 器係微電腦1連接於支持空間之存儲器,故使用總線 I ΑΒ,I DB。同步於ΕΧ階段時鐘信號CUckl之上 昇時間,存取得有轉送目標之地址之寄存器,將寄存器之 値輸出於C PU芯2之內部總線A 1。此例中,存儲應存 取之地址之寄存器,係成爲AS指定之寄存器。可以AS 指定之寄存器係含於CPU芯2之寄存器R e g,內之任 .意寄存器。輸出於CPU芯2之內部總線A 1之數據係存 儲於地址緩衝器2 0 5,同步於EX階段之時鐘信號Clock 2 之上 昇時間 ,輸 出於地 址總線 j A B 。 一方 面輸出 CPU芯2之內部總線A 1之數據係以算術邏輯運算器 ALU2 1 3,實施地址運算。此時算術邏輯運算器 ALU 2 1 3實施0加算運算。該運算結果係輸出於 CPU芯2之內部總線C1。輸岀於CPU芯2之內部總 線C 1之運算結果係同步於EX階段之時鐘信號CUck2 之上昇間存儲於指示字寄存器(即以A s指定之寄存器) 。 同步於MA階段之時鐘信號Clockl之上昇時間, (請先閲讀背面之注$項再填寫本頁) .-α· 訂_ 本紙張尺度適用中國國家標準(CNS ) Α4規格(210X297公釐) 48 - 經濟部中央標準局貝工消費合作社印製 本纸張尺度適用中國國家標準(CNS ) Μ规格(210X297公釐) 424192、$ &quot; Λ7 ___;_ B7_ 五、發明説明(46) 將存儲應轉送數據之D S P引擎3內部之寄存器之値輸出 於DSP引擎3之內部總線D1,存儲於存儲數據緩衝器 (MDB2)。同步於MA階段之時鐘信號Clock2之上 昇時間。將存儲於存儲數據緩衝器(MDB I )之數據輸 .出於數據總線Γ DB。此例中,存儲應轉送數據之DSP 引擎3內部之寄存器係成爲指定於D s之寄存器。可指定 於D s之寄存器,係DSP引擎3內之任意寄存器。成爲 存取對象之存儲器係在MA階段之時鐘信號Clockl之上 昇至時鐘信號CUck2之上昇期間,以EX階段時鐘信號 Clock2之上昇時間實施輸出於地址總線ΙΑ B之地址寄 存器,在MA階段之時鐘信號Clock2之上昇至次一時鐘 信號Clockl之上昇期間實施數據存取。因此,在MA階 段之時鐘信號Clock2之上昇時間,自DSP引擎3輸出 之數據寫進存儲器。如以上自D S P引擎3向外部存儲器 之數據寫進動指令係以I F,I D,EX,MA之4段之 管線階.段完成動作。 其次舉 PADD Sx,Sy,Dn P M U L .47 Printed by the Shellfish Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs 4 24 1 9 2? Can A7 _ B7_____ V. Description of the invention (time chart of the work. MOVS, LDS @ AS., Is from the DSP engine 3 to the memory An example of the data writing operation instruction is to explain the operation. This instruction is an instruction to transfer the data stored in the address specified by DS to the register specified by AS. The basic operation is shown in Figure 12 from DSP engine 3 to X, Y The data write operation of the memory is the same. The difference between Figure 12 and Figure 14 is that Figure 12 is because the object memory is X, and the memory uses the bus XΑΒ: KDB bus ΥΑΒ, YDB, and Figure 14 because of The target memory is the microcomputer 1 connected to the memory that supports the space, so the bus I ΑΒ, I DB is used. Synchronized with the rise time of the clock signal CUckl in the EX phase, a register that has the address of the transfer destination is stored, and the register is output to C The internal bus A 1 of PU core 2. In this example, the register storing the address to be accessed becomes the register designated by AS. The register designated by AS can be included in the register R eg of CPU core 2. register. The data of the internal bus A 1 of the CPU core 2 is stored in the address buffer 2 0 5 and synchronized with the rise time of the clock signal Clock 2 in the EX stage, and is output on the address bus j AB. On the one hand, the internal contents of the CPU core 2 are output. The data of bus A 1 is implemented by the arithmetic logic operator ALU2 1 3. At this time, the arithmetic logic operator ALU 2 1 3 performs 0 addition operation. The result of this operation is output to the internal bus C1 of CPU core 2. Input The calculation result on the internal bus C 1 of the CPU core 2 is stored in the pointer register (that is, the register designated by As) synchronized with the rise of the clock signal CUck2 in the EX phase. The rise time of the clock signal Clockl synchronized in the MA phase , (Please read the note on the back before filling in this page) .-α · Order_ This paper size is applicable to China National Standard (CNS) Α4 specification (210X297 mm) 48-Printed by the Shellfish Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs The paper size of the paper is applicable to the Chinese National Standard (CNS) M specification (210X297 mm) 424192, $ &quot; Λ7 ___; _ B7_ V. Description of the invention (46) The DSP engine 3 that will store the data to be transferred will be sent in The output of the memory is output to the internal bus D1 of the DSP engine 3 and stored in the memory data buffer (MDB2). The rise time of the clock signal Clock2 synchronized with the MA phase. The data stored in the memory data buffer (MDB I) is input From the data bus Γ DB. In this example, the registers inside the DSP engine 3 storing the data to be transferred become the registers designated as D s. The register that can be specified in D s is any register in DSP engine 3. The memory to be accessed is from the rise of the clock signal Clockl to the rise of the clock signal CUck2 in the MA phase, and is output to the address register of the address bus IA B with the rise time of the EX phase clock signal Clock2. Data is accessed during the period from the rise of Clock2 to the rise of Clock1, the next clock signal. Therefore, the rise time of the clock signal Clock2 in the MA stage is written into the memory by the data output from the DSP engine 3. As mentioned above, the data write precession instruction from the DS engine 3 to the external memory is completed with the pipeline stages of the four stages of I F, ID, EX, and MA. Second is PADD Sx, Sy, Dn P M U L.

Se,Sf,Dg,M〇VX,W@AX,Dx, MOVY,W@Ay ,Dy爲DSP運算指令之一例,用 圖1 5說明其動作。該指令係實施自X — R0M4及X — RAM6 及Y — R0M5 及Y — RAM7 向 DSP 引擎 3 之數據轉送之.指令,合併圖1 0與圖1之動作。因指令取 出,指令譯碼器之動作係與圖1 0相同,故省略其部份之 詳細說明。 49 - ----------C%------1T------ (請先閣讀背面之注意事項再填寫本頁) 經濟部中央標準局貝工消費合作社印製 本紙張尺度適用中國國家標準(CNS ) A4規格(210 X 297公釐) 4 2.4 ί 92 一, at * Β7 五、發明説明(句 實施自X,Υ存儲器向DSP引擎3之數據讀進動作 指令時應,存取之存儲器之地址形成C PU芯2。因此同 步於Ε X階段之時鐘信號CUckl之上昇時間,存取保有 應存取之地址之寄存器,將寄存器之値輸出於C PU芯2 之內部總線A 1〜A 2。此例中存儲應存取之地址之寄存 器係成爲Ax,Ay指定之寄存器。可指定於Αχ之寄存 器係含有CPU芯2之寄存器A Ο X,A 1 X,而可指定 於Ay之寄存器係含於CPU芯2之寄存器AOy,A1 y。输出於C P U芯2之內部總線A 1〜A .2之數據係存 儲於存儲地址緩衝器(MABX,MABY)同步於Ex 階段之時鐘信號C U c k 2之上昇時間輸出於地址總線 XAB,YAB。一方面輸出CPU芯2之內部總線A1 〜A2之數據係以ALU2 1 3,PAU2 1 2實施地址 運算。(此時ALU213及PAU212實施0加算運 算。該運算結果係輸出於CPU芯2之內部總線C 1及 C 2 ,輸出於CPU芯2之內部總線C I及C 2之運算結 果係同步於EX階段之時鐘信號Clock2之上昇間存儲於 指示字寄存器(即以Αχ及Ay指定之寄存器P在X,Y 存儲器,於MA階段之時鐘信號CUckl之上昇至時鐘信 號Clock2之上昇期間,實施以EX階段時鐘信號Clock 2之上昇時間輸出於地址總線X A B,Y A B之地址之譯 碼,在MA階段之時鐘信號Clock2之上昇至次一時鐘信 號Clockl之上昇期間實施數據存取。因此,自MA階段 之時鐘信號ClQck2之上昇將數據輸出數據總線XDB, 50 - ———II丨丨 (請先聞讀背面之注意事項再填寫本頁) 訂' 424192^ i B7 經濟部中央標準局員工消費合作社印製 五、 發明説明 ( 48) 1 I Y D B 0 輸 出 數 據 總 線 X D Β , Υ D B 之 數 據, 係 同 步於 1 W B / D S P 階 段之 時 鐘 信 號 C 1 0 C kl之上昇時間取進 1 D S P 引 擎 3 將 數 據 供 給 D S P 引 擎 3 之 內 部總 線 D 1 » 1 1 D 2 〇 同 步於 W B / D S Ρ 階 段 之 時 鐘 信 號 C 1 〇 c k 2 之上 請 先 閲 1 I \ 昇 時 間 將 D S P 引 擎 3 之 內 部 總 線 D 1 &gt; D 2上 之 數 據存 讀 背 1 i 儲 於 巨 的 寄 存 器 ( Di s t i η at i 〇 η R e g )完成動作 ,該例中 之 注 1 I 意 1 % 目 的 寄 存 器 係 成 JCS^ 指 定 於 D X 及 D Y 之 寄 存器 0 可 指定 事 項 1 1 再 1 I 於 D X 之 寄 存 器 係 含 於 D S P 引 擎 3 之 寄 存 器X 0 9 X 1 寫 本 1 可 指 定 於 D y 之 寄存 器 係 D S Ρ 引 擎 3 內 之Υ 0 f Y 1 .. 頁 1 1 I 0 平 行 於 上 述 數 據 轉 送 亦 同 時 實 施 D S Ρ運 算 動 作。 1 1 1 1 同 步 於 W B / D S P 階 段 之 時 鐘 信 號 C 1 0 C k 1之上昇時間 I 訂 9 存 取 存 儲 源 數 據 之 寄 存 器 &gt; 將 寄 存 器 之 値 輸出 D S P引 1 1 擎 3 之 內 部 總 線 A 1 A 2 Β 1 B 2 〇 此例 中 9 存儲_ i 1 源 數 據 之 寄 存 器 係 A D D ( 加 法 ) 動 作 挫 稱 作爲 S X 及 | S y 指 定 之 寄 存 器 而 Μ U L ( 乘 法 ) 動 作 時成 爲 S e及 铲 卜 S f 指 定 之 寄 存 器 0 可 指 定 於 S X S y ί S e 及 S ί之 I 1 I 寄 存 器 9 係 D S P 弓丨 擎 3 內 部 之 任 意 之 寄 存 器0 輸 出 D S 1 1 P 引 擎 3 之 內 部 總 線 A 1 B 1 之 數 據 係 於 Μ A C 3 0 4 1 1 實 施 乘 法 運 算 其 結 果 係 輸 出 於 D S P 引 擎 3內 部 總 線C 1 1 2 0 输 出 於 D S P 引 擎 3 之 內 部 總 線 C 1 及 C 2 之 運 算結 1 i 果 係 同 步 於 W B / D S Ρ 階 段 之 時 鐘 信 號 C 1 〇 c k I 3之上昇 1 I 時 間 存 儲 於 g 的 寄 存 器 σ 此 例 之 g 的 寄 存 器, 係 A D D 1 1 | 動 作 時 成 爲 以 D η S 而 Μ U L 動 作 時 成 爲 以 D g 指 定 之寄 1 1 1 本紙張尺度適用中國國家標準(CNS)A4規格(2丨〇Χ297公釐)— A7 B7 五、發明説明(49) 存器。可指定於Dn及Dg之寄存器係DSP引擎3內部 之任意之寄存器。 如以上,實施存儲於D S P引擎3內之寄存器之數據 之加法,乘法,實施自X-R0M4或X-RAM6及γ —R0M5或Y — RAM7向DSP引擎3之數據轉送之 指令係以IF,10,£又,3^八,双6/03?之5段 之管線階段完成動作。 舉:Se, Sf, Dg, MOVX, W @ AX, Dx, MOVY, W @ Ay, and Dy are examples of DSP operation instructions, and their operation will be described with reference to FIG. 15. This instruction is implemented by transferring data from X — R0M4 and X — RAM6 and Y — R0M5 and Y — RAM7 to the DSP engine 3. The instructions in Figure 10 and Figure 1 are combined. Because the instruction is fetched, the operation of the instruction decoder is the same as that in Fig. 10, so detailed description of the part is omitted. 49----------- C% ------ 1T ------ (Please read the precautions on the back before filling out this page) Shellfish Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs The printed paper size is in accordance with the Chinese National Standard (CNS) A4 specification (210 X 297 mm) 4 2.4 ί 92 I, at * Β7 V. Description of the invention (Sentences are implemented from X, and the memory reads data from DSP Engine 3 When operating instructions, the address of the memory to be accessed forms the CPU core 2. Therefore, the rise time of the clock signal CUckl in phase Ε X is synchronized, the register holding the address to be accessed is accessed, and the address of the register is output to the CPU. The internal bus A 1 ~ A 2 of the core 2. In this example, the register storing the address to be accessed becomes the register designated by Ax and Ay. The register that can be designated at Aχ contains the register A 0 X, A 1 of the CPU core 2 X, and the registers that can be specified in Ay are included in the registers AOy and A1 y of CPU core 2. The data output to the internal bus A 1 ~ A .2 of CPU core 2 are stored in the memory address buffers (MABX, MABY) The rise time of the clock signal CU ck 2 synchronized to the Ex phase is output on the address bus XAB and YAB. On the one hand, it outputs the CPU core 2 The data of the internal buses A1 to A2 are implemented with ALU2 1 3 and PAU2 12. (At this time, ALU213 and PAU212 implement 0 addition operation. The result of this operation is output to the internal buses C 1 and C 2 of CPU core 2 and output. The calculation results of the internal buses CI and C 2 of the CPU core 2 are synchronized with the rising of the clock signal Clock2 in the EX phase and stored in the pointer register (ie, the registers P designated by Αχ and Ay are stored in the X and Y memory in the MA phase During the rise of the clock signal CUckl to the rise of the clock signal Clock2, the decoding of the address of the EX stage clock signal Clock 2 to the address bus XAB and YAB is implemented, and the clock signal Clock2 in the MA stage rises to the next Data access is performed during the rise of the clock signal Clockl. Therefore, the data is output to the data bus XDB from the rise of the clock signal ClQck2 in the MA phase, 50-——— II 丨 丨 (Please read the precautions on the back before filling this page ) Order '424192 ^ i B7 Printed by the Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs 5. Description of the invention (48) 1 IYDB 0 Output data bus XD Β, Υ DB The data is synchronized with the clock signal C 1 0 C kl at the WB / DSP stage. The rise time is taken into 1 DSP engine 3. The data is supplied to the internal bus of DSP engine 3. D 1 »1 1 D 2 〇 Synchronized with WB / DS Please read 1 I \ rise time above the clock signal C 1 ck 2 in the P phase. The internal bus D 1 &gt; D 2 of the DSP engine 3 is stored and read back 1 i stored in the huge register (Di sti η at i 〇η R eg) to complete the action. Note 1 I means 1% in the example. The destination register is JCS ^ Registers specified in DX and DY 0 Assignable items 1 1 and 1 I Registers in DX are included in the DSP Engine X's register X 0 9 X 1 Writer 1 The register that can be specified in D y is DS in engine 3 0 f Y 1 .. Page 1 1 I 0 Parallel to the above data transfer, the DS P operation is also performed at the same time. 1 1 1 1 Clock signal synchronized to WB / DSP phase C 1 0 C k 1 Rise time I order 9 Access to register of storage source data &gt; Lead the output of register to DSP 1 1 Internal bus A of engine 3 A 1 A 2 Β 1 B 2 〇 In this example, the register that stores _ i 1 source data is ADD (addition) operation. It is said to be the register specified by SX and | S y, and M UL (multiplication) operation will become S e and scrap. The register 0 specified by S f can be specified in SXS y S e and S ί I 1 I Register 9 is any of the registers in DSP 3 Engine 0 Output DS 1 1 P Engine 3's internal bus A 1 B 1 The data is multiplied by M AC 3 0 4 1 1 and the result is output to the internal bus C 1 of the DSP engine 3. The output is output to the internal bus C 1 and C 2 of the DSP engine 3. The result is synchronized with WB / DS P clock signal C 1 〇ck I 3 rise 1 I time is stored in the register of g Device σ The register of g in this example is ADD 1 1 | It becomes D η S when it moves and M becomes it when it moves D 1 1 1 This paper size applies the Chinese National Standard (CNS) A4 specification (2丨 〇 × 297mm) — A7 B7 V. Description of the invention (49) Register. The registers that can be specified in Dn and Dg are arbitrary registers inside the DSP engine 3. As described above, the data stored in the DSP engine 3 register is added, multiplied, and the instructions for transferring data from X-R0M4 or X-RAM6 and γ-R0M5 or Y-RAM7 to DSP engine 3 are IF, 10 , And again, 3 ^ 8, double 6/03? Stage 5 pipeline stage to complete the action. Give:

Instl:PADDAO,MO,AO PMUL A 1 ,X0,A1 M0VX..W@R4,X1, MOVY.W @R6,Y0 I ns t 2 : ADD R8,R9 I ns t 3 : ADD R10,R11Instl: PADDAO, MO, AO PMUL A 1, X0, A1 M0VX..W @ R4, X1, MOVY.W @ R6, Y0 I ns t 2: ADD R8, R9 I ns t 3: ADD R10, R11

Inst4 ADD » R1 2 » R1 3 經濟部t央標準局員工消費合怍社印製 之4連續指令爲D S P運算指令之第2例,用圖1 6說B月 其動作。該4指令係同時使用地址總線I A B,X A B, 及YAB以實現同一時鐘週期.不同之動作之例。因lnstl 至Inst4之指令動作,與圖7及圖1 5相同,故省略其部 份之詳細說明。 首先,在instl之I F階段,實施lnstl之指令取出 。因在lnstl之2D階段時[nst2成爲I F階.段,故實施 指令取出。 在lnstl之EX階段實施向X,Y存儲器之存取用之 地址運算時,圖Inst2爲I R階段故實施指令譯碼,而因 本紙張尺度適用中國國家標华(CNS ) A4規格(210X297公釐) (請先閎讀背面之注意事項再填寫本頁) 52 - 4 2 4 19 2':^ Λ · Α7 __Β7 _ 五、發明説明(5〇) lnst3爲IF階段故實施指令取出。 在InsCl之MA階段,將於EX階段運算之地址輸出 於地址總線XAB,及YAB (實際輸出地址之時間係自 EX階段之時鐘信號Clpck2之上昇時間起)自數據總線 XD B及YD B取進數據。此時在Inst:2爲EX階段實施 R 8及R 9之AD D運算完成動作,lnst;3係爲I D階段 實施指令譯碼。而Inst4爲了 I F階段,將存儲Inst4之 地址輸出於地址總線。實際向地址總線IAB輸出之時間 ,係自Inst 4之I F階段之半週期前之時鐘信號C.l Qck 2 之上昇時間起。此時間係與Instl中將地址輸出於地址總 線XAB,YAB之時間(EX階段之後半及MA階段之 前半)相同之時間。即地址總線X A B及Y A B係爲數據 轉送使用,在地址總線I AB係爲指令取使用。微電腦1 ,因分別有連接於C P U芯2之內部地址總線I A B, XAB,YAB及內部數據總線IDB,XDB,YDB ,故可使用該三種內部總線以同一時鐘週期實施不同之存 儲存取動作。 經濟部中央標準局員工消費合作社印製 (請先閱讀背面之注意事項再填寫本頁) 此後Instl在WB/D S P階段實施D S P運算,完 成動作,Inst2已完成動作,丨nst3係爲EX.階段實施 R 1 0與R 1 1之ADD運算完成動作,在Inst4爲了 ID階段實施指令譯碼。 . 次一週期僅寅施Inst4之EX階段,實施R 1 2及R 13之ADD運算完成動作。 依本實施例得以下之作用效果。內藏存儲器係考慮 本紙張尺度適用中國國家標準(CNS〉A4規格(210X297公嫠)-53 - 經濟部中央標準局員工消費合作社印製 本紙張尺度適用中國國家標隼(CNS ) Μ規格(210X Μ公釐)- / 0 d 1 P 2.J句 A7 ______B7__ 五、發明説明(51) DSP引擎3之積和運算,2面化於Y存儲器5,7及2 面化X存儲器4 ,6,CPU芯2以內部總線Χαβ, χϋΒ及內部總線YAB,YDB可分別以並聯存取γ存 儲器5,7及X存儲器4,6。因此,可自內藏存儲器4 〜7同時將2個數據轉送於+DSP引擎3。更因內部總線 XAB,XDB及內部總線YAB,YDB係將接於外部 之內部總線I A B,I D B均予個別化,故C P U芯2平 行於X存儲器4 ,6及Y存儲器5,7之存取,亦可外部 存儲存取。如上述因有分別連接於CPU芯2之3種地址 總線I AB,XAB,YAB及數據總成IDB,XDB ,YDB,故可使用該·三種內部總線以同一時鐘週期實施 不同之存儲存取動作。故亦容易對應程序或數據存在於外 部存儲器之情彤而可實現運算處理之高速化。 由RAM及ROM構成前述各X存儲器4,6及Y存 儲器5,7更可進微電腦之使用性。 如上述,由於內藏存儲器係2面化於X存儲器4 ,6 及Y存儲器5,7二面化之各存儲器具有ROM及RAM ,使RAM爲數據存儲器,ROM爲程序存儲器,故可分 離數據存儲器與程式存儲器,將2個數據並聯轉送於D S P引擎3,又,可以並聯管線處理有效實施指令取出,數 據轉送,及運算。 由於CPU芯2具備模數地止輸出部2 0 0 ,即可使 C P U芯2之積和運算等之重複運算用之地址形成高速化 0 54 - ---------.-1¾------ΪΤ------ (請先鬩讀背面之注意事項再填寫本頁) 424192:^ A7 B7 經濟部中央樣準局員工消费合作社印製 五、發明説明(㈣ 例如C P U指令係將指令代碼之最上位.4位分配於' 〇 0 0 0#〜1 1 0&quot;之範圍。DSP指令係將指令 代碼之最上位4位分配於&quot;1 1 1 1&quot;之範圍。更將指令 代碼之最上位6位分配於'&quot;111100&lt;&gt;及'* 1 ]_ 1 1 0 1〃範圍之指令,係亦將DSP指令成爲1 6 位長之指令代碼。指令代碼之最上位6位爲·* 1 1 1 1 1 0'之指令,係成爲3 2位長之指令代碼。在 指令代碼之最上位6位爲'1 1 1 1 1 1&quot;之範圍並未分 配指令,將其範圍做爲未使用領域,如上述,由於在對最 大3 2位之指令之代碼分配設如上述之規則,將各指令代 碼之一部份例如最上位側6位譯碼*即可以小邏輯規模之 譯碼器判定該指令寬爲CPU指令,16位長之DSP指 令,或3 2位長之DSP指令,而無需經常將3 2位全部 以一次譯碼。 如依圖1 7之說明,在指令取出時間後,將未處理之 指令代碼數據設定於指令寄存器2 5,此時,應實施之指 令無論爲1 6位CPU指令,1 6位DSP指令或3 2位 D S P指令之任一揞令,必可將其上位側1 6位供給第1 譯碼電路2 4 0。 參照圇1 7等所示構成示明瞭3 2位DSP指令之A 信息組之代碼數據係設定於指令寄存器2 5之上位領域 U I R。又,具有與A信息組同一格式之1 6位DSP指 令亦設定於上位領域U I R。故無論任一項,CPU芯2 ,可同樣實施所需之地址運算及數據取出必要之數據總線 ------— ιρΐ (請先閱讀背面之注意事項再填寫本頁) 本紙張尺度適用中國國家標準(CNS)A4規格( 210X297公釐)_ η 42A192.j. a7 __B7___ 五、發明説明(53) 之選擇。換言之,將可將實施3 2位DSP指令用之數據 取出及實施1 6位D S P指令用之數據取出所需之譯碼電 路2 4 0 ,2 4 1共用化,此點,亦有益於微電腦1之邏 輯規模之縮小微電腦1之邏輯規模。 經濟部中央標準局員工消費合作社印製 (請先閱讀背面之注意事項再填寫本頁) 以上依實施例具體說明本發明人之發明,惟本發明並 不受此限制,只要不超出其要旨範圍,當可做各種變更。 例如CPU指令,1 6位DSP指令,3 2位DSP指令 之識別並不限於利用指令之最上位.6位,可隨指令代碼數 增減。又,對指令寄存器之下位16位移位於上位之機能 可置換於別之機能。又,含於CPU芯或DSP引擎之寄 存器支數或運算器之種類不限於上述實施例,而可適宜變 更。又,存儲器數不限於2個而可增加。又可合併存儲器 數增加連接存儲器之地址總線,數據總線之支數。例如, X,Y存儲器外新設Z存儲器。合併在CPU與Z存儲器 間連接地址總線ZAB,在DSP引擎與Z存儲器間連接 數據總線ZDB。依此種構成,不僅在積和運算時,自X ,Y存儲器將數據取進D S P引擎’,並可將現在實施中之 指令前運算完成之數據經Z總線同時寫進Z存儲電路。因 以1個指令取進運算數據寫信存儲器,故更可提高微電腦 全體之解題能力。本發明最適於適用於移動體通信機器之 情報之壓縮伸長處理或過濾處理,伺服控制,印字機之畫 像處理等之機器組進控制用微電腦之利用。 〔發明之效果〕 本紙張尺度適用t國國家標準(CNS ) A4规格(210X297公釐) 56 - A7 B7 五、發明説明(54) 茲將本申請揭示之發明中具代表性所得效果簡單說明 如下。 即,內藏存儲器因考慮數字信號處理機之積和運算, 2面化於第1存儲器與第2存儲器,由第3總線及第2線 線可分別以並聯存取,故中央處理機組可自內藏存儲器將 2個數據同時轉送於數字信號處理機組。 更因第3總線及第2總線,與接口於外部之第1總線 個別代故中央處理機組,可平行第2存儲器與第1存儲器 之-存取做外部存儲存取。· 如上述,因有分別連接於中央處理機組之第1至第3 三種地址總線及數據總線,而可使甩該三種內部總線以同 一時鐘週期實施不同之存儲存取動作,故即使程序或數據 存在於外部存儲器亦容易對應而可實現運算處理之高速化 〇 經濟部中央標準局員工消費合作社印製 ί » \} .I t^i I I !_ I i I - -. I (請先閱讀背面之注意事項再填寫本頁) &quot; 更由於內藏存儲器係2面化於第1存儲器及第2存儲 器2面化之各存儲器具有ROM及RAM,由於以RAM 爲數據存儲器,ROM爲程序存儲器,可分離數據存儲器 與程序存儲器,可將2個數據並聯轉送於數字信號處理機 組,又能以並聯管線處理有效實施指令取出,數據轉送及 運算。 故,與中央處理機組一同將數字信號處理機組裝置於 一個L S I時,可實現數字信號處理之高速化。 由於對C PU指令與D S P指令混合之指令,將指令 代碼之一部份譯碼而可識別該指令DSP指令或16位長 本紙張尺度適用中國國家標準(CNS)A4規格(2丨0X297公釐)_ 57 424 1 9 2: A7 B7 經濟部央標準局員工消費合作社印裝 五、發明説明(55) 之DSP指令,或3 2位長之DSP指令以分配指令代碼 ,即可以小邏輯規模之譯碼器判定指令之種別,而無須經 常將3 2位全部一次譯碼。故與中央處理機組一同將數字 信號處理機組裝置於一個L S I時,可極力抑制其物理規 模之增大。 由於D S P指令之指令格式,採用具有在數字信號處 理機組之間之數據轉送對該中央處理機組規定之第1代碼 領域(圖18所示之16位DSP指令之位9〜位0)之 第1格式指令,及具有與前述第1代碼領域同·-格式之第 2代碼領域(圖2 0,圖2 1所示之3 2位DSP指令之 A信息組),並將使用在該第2代碼領域規定之轉送數據 之運算處理對數字信號處理機組規定之第3代碼領域圖 2 0 ,圖2 1例示之3 2位之D S P指令之R信息組之第 2格式指令,實施第2及第2格式各指令之裝置,可採用 對第1代碼領域及第2代碼領域具有共同譯碼邏輯之譯碼 裝置,此點,亦可縮小微電腦之邏輯規模。 圖示之簡單說明: 圖1 ··本發明之一實施例有關之微電腦之全部方塊圖 0 .圖2 :微電腦之一例地址圖。 圖3 :詳細表示模數地址輸出部之c PU芯之方塊圖 〇 圖4 :DSP引擎之一例方塊圖。 本紙張尺度適用中國國家標準(CNS &gt; A4規格(210Χ297公釐)u 0〇 裝— (請先Μ讀背面之注意事項再填寫本頁) 訂 -餚. 424192:^ A7 _B7____ 五、發明説明(56) 圖5 :關於微電腦之指令格式及指令代碼之一例說明 圖。 圖6 :表示C PU芯之譯碼器與D S P引擎之譯碼器 之連接構成之方塊圖。 圇7:CPU芯內部之ALU運算指令之實施時間圖 Ο 圖8:自存儲器將數據讀進CPU芯之指令之實施時 間圖。 ’圖9:自CPU芯將數據寫.進存儲器之指令之實施時 間圖。 圖1 0 :實施DSP指令時之一例時間圖。 圖11:自X,Y存儲器將數據讀進DSP引擎之指 令之實施時間圖。 圖1 2 :自DSP引擎將數據寫進X,Υ存儲器之指 令之實施時間圖。. 圖13:自存儲器將數據讀進DSP引擎之指令之實 施時間圖-。 經濟部中央標準局貝工消費合作社印裝 圖1 4 :自DSP引擎將數據寫進存儲器之指令之實 施時間圖。 圖15:DSP運算指令之一例實施時間圖。 圖16 :連續實施DSP運算指令時之一例時間圖。 圖17:表示對應圖6之另一實施例之方塊圖。 圖1 8 :表示規定微電腦之內藏存儲器與D S Ρ引擎 3之內藏寄存器間之數據轉送之1 6位D S Ρ指令代碼之 本紙張尺度適用甲國國家標準(CNS ) Α4規格(210 X 297公釐), {請先閱讀背面之注意事項再填寫本頁) 59 - 424192 A7 B7 經濟部中央標準局員工消費合作社印製 五、發明説明(57) 指令格式圖。 圖19 :表示規定微電腦之外部存儲器與DSP引擎 3之內藏寄存器間之數據轉送之16位DSP指令之代碼 之指令格式圖。 圖2 0 :表示著眼於3 2位DSP指令之A信息組時 之該信息組之代碼及其對應之助記等之指令格式圖。 圖2 1 :表示著眼於3 2位D S P指令之B信息組時 之該信息組之代碼及其對應之助記等之指令格式圖。 〔符號說明〕 1 .........微電腦 2 ......... C P U芯(中央處理機組) 20 ......... CPU控制信號 2 4 .........譯碼器 2 4 0 .........第1譯碼電路. 2 4 1 .........第2譯碼電路 2 4 2 .........代碼轉換電路 2 4 3 ......... C P U譯碼電路 2 4 4 ......... D S P譯碼電路 2 4 5 .........代碼轉換控制信號 2 4 7 ......... C P U控制信號 2 5 .........指令寄存器 2 5 0,2 5 1 .........指令領取緩衝器 2 0 0 .........模數地址輸出部 (請先S讀背面之注意事項再填窝本頁)Inst4 ADD »R1 2» R1 3 The 4 consecutive instructions printed by the Consumers' Consortium of the Central Bureau of Standards of the Ministry of Economic Affairs are the second example of the D S P operation instructions. Use Figure 16 to describe the operation in month B. The 4 instructions use the address buses I A B, X A B, and YAB simultaneously to achieve the same clock cycle. Examples of different actions. Since the command operations of lnstl to Inst4 are the same as those in Fig. 7 and Fig. 15, detailed descriptions of the parts are omitted. First, in the I F stage of instl, the instruction fetch of lnstl is implemented. In the 2D stage of lnstl, [nst2 becomes the I F stage. Stage, so the instruction fetch is implemented. When the address calculation for access to X, Y memory is implemented in the EX stage of lnstl, the instruction Inst2 is the IR stage, so the instruction decoding is implemented, and because of this paper size, China National Standard (CNS) A4 specification (210X297 mm) ) (Please read the precautions on the back before filling this page) 52-4 2 4 19 2 ': ^ Λ · Α7 __Β7 _ V. Description of the invention (5〇) lnst3 is the IF stage, so the instruction is taken out. In the MA phase of InsCl, the addresses calculated in the EX phase are output on the address bus XAB, and YAB (the actual output address time is from the rise time of the clock signal Clpck2 in the EX phase) is taken in from the data bus XD B and YD B data. At this time, Inst: 2 is the EX stage to perform the AD D operation to complete the operation of R 8 and R 9; lnst; 3 is the I D stage to implement the instruction decoding. Inst4 outputs the address of Inst4 to the address bus for the I F phase. The actual output time to the address bus IAB is from the rise time of the clock signal C.l Qck 2 before the half cycle of the I F phase of Inst 4. This time is the same as the time when the address is output to the address bus XAB, YAB in Instl (the second half of the EX phase and the first half of the MA phase). That is, the address bus X A B and Y A B are used for data transfer, and the address bus I AB is used for instruction fetch. The microcomputer 1 has internal address buses I A B, XAB, YAB and internal data buses IDB, XDB, YDB connected to the CPU core 2. Therefore, these three internal buses can be used to implement different storage, storage and fetch operations at the same clock cycle. Printed by the Consumer Cooperatives of the Central Bureau of Standards of the Ministry of Economic Affairs (please read the notes on the back before filling this page). Instl then implemented DSP operations in the WB / DSP stage to complete the action, Inst2 has completed the action, and nst3 is the EX. Stage. The ADD operation of R 1 0 and R 1 1 is completed. Inst4 performs instruction decoding for the ID phase. The next cycle is only the EX phase of Inst4, and the ADD operations of R 1 2 and R 13 are performed to complete the operation. According to this embodiment, the following effects are obtained. The built-in memory is based on the Chinese paper standard (CNS> A4 size (210X297 gong)) -53-Printed on the paper size applied by the China National Standard (CNS) M size (210X) (Mmm)-/ 0 d 1 P 2. J sentence A7 ______B7__ 5. Description of the invention (51) The sum and operation of the DSP engine 3, 2 facets in the Y memory 5, 7 and 2 facets in the X memory 4, 6, The CPU core 2 can access the γ memory 5, 7 and the X memory 4, 6 in parallel with the internal buses Xαβ, χϋΒ and the internal buses YAB, YDB. Therefore, two data can be transferred from the built-in memories 4 to 7 at the same time. + DSP engine 3. Furthermore, because the internal buses XAB, XDB and internal buses YAB and YDB are connected to the external internal buses IAB and IDB, they are individualized, so CPU core 2 is parallel to X memory 4, 6 and Y memory 5, 7 can also be accessed by external storage. As mentioned above, because there are three kinds of address buses I AB, XAB, YAB and data assembly IDB, XDB, YDB connected to CPU core 2, they can be used. The bus implements different memory access operations at the same clock cycle. Corresponding programs or data can be stored in the external memory to realize high-speed operation. The RAM and ROM constitute the aforementioned X memories 4, 6 and Y memories 5, 7 and can be used in microcomputers. As mentioned above, because The built-in memory is two-faced to X-memory 4, 6 and Y-memory 5. 7-side each of the memories has ROM and RAM, so that RAM is data memory and ROM is program memory, so the data memory and program memory can be separated. The two data are transferred in parallel to the DSP engine 3. In addition, the parallel pipeline processing can effectively execute instruction fetching, data transfer, and calculation. Since the CPU core 2 has an modulo ground output section 2 0, the CPU core 2 can be Addresses for repeated operations, such as product and operation, are accelerated. 0 54----------.- 1¾ -------- ΪΤ ------ (Please read the precautions on the back first (Fill in this page again) 424192: ^ A7 B7 Printed by the Consumer Cooperatives of the Central Sample Bureau of the Ministry of Economic Affairs 5. Description of the invention (㈣ For example, the CPU instruction is the highest order of the instruction code. 1 0 &quot; range. The DSP instruction divides the highest 4 digits of the instruction code Matches the range of "1 1 1 1". The highest 6 digits of the instruction code are allocated to the '&quot; 111100 &lt; &gt; and' * 1] _ 1 1 0 1〃 range instructions, which are also DSP instructions It is a 16-bit long instruction code. The first 6 digits of the instruction code are · * 1 1 1 1 1 0 ', which is a 32-bit long instruction code. In the uppermost 6 digits of the instruction code, the range of '1 1 1 1 1 1 &quot; is not assigned, and its range is regarded as an unused area. As mentioned above, since the code allocation for the maximum 32 digits of the instruction is set as According to the above rules, a part of each instruction code such as the uppermost 6 bits is decoded *, that is, a decoder of a small logic scale can determine that the instruction width is a CPU instruction, a 16-bit DSP instruction, or 32-bit length. DSP instructions without having to decode all 32 bits all at once. As shown in Figure 17, after the instruction fetch time, the unprocessed instruction code data is set in the instruction register 25. At this time, the instruction to be implemented is either a 16-bit CPU instruction, a 16-bit DSP instruction or 3 Any command of the 2-bit DSP instruction must supply the upper 16 bits to the first decoding circuit 2 4 0. With reference to the configuration shown in 囵 17, etc., it is shown that the code data of the A block of the 32-bit DSP instruction is set in the upper field U I R of the instruction register 25. In addition, 16-bit DSP instructions having the same format as the A block are also set in the upper field U I R. Therefore, in any case, the CPU core 2 can also perform the required address calculation and data fetching. The necessary data bus --- ιρΐ (Please read the precautions on the back before filling this page) This paper size applies Chinese National Standard (CNS) A4 specification (210X297 mm) _ η 42A192.j. A7 __B7___ 5. Choice of invention description (53). In other words, the decoding circuits 2 4 0 and 2 4 1 required for fetching data for implementing 32-bit DSP instructions and fetching data for 16-bit DSP instructions are shared. This is also beneficial to the microcomputer 1 The logical scale of the microcomputer 1 is reduced. Printed by the Consumers' Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs (please read the precautions on the back before filling out this page). The above has specifically described the inventor's invention according to the examples, but the invention is not limited as long as it does not exceed the scope of the gist , When various changes can be made. For example, CPU instructions, 16-bit DSP instructions, and 32-bit DSP instructions are not limited to using the uppermost bit of the instruction. The 6 bits can be increased or decreased with the number of instruction codes. The function of shifting the lower 16 bits of the instruction register to the upper position can be replaced by another function. In addition, the number of registers or types of arithmetic units included in the CPU core or the DSP engine is not limited to the above-mentioned embodiment, but may be appropriately changed. In addition, the number of memories is not limited to two and can be increased. The number of memories can be combined to increase the number of address buses and data buses connected to the memory. For example, a Z memory is newly set in addition to the X and Y memories. The address bus ZAB is connected between the CPU and the Z memory, and the data bus ZDB is connected between the DSP engine and the Z memory. According to this structure, not only the data from the X and Y memories are taken into the DSP engine during the product-sum operation, but also the data completed by the pre-instruction operation in the current implementation can be simultaneously written into the Z storage circuit via the Z bus. Because the instruction data is written into the memory with one instruction, the overall problem solving ability of the microcomputer can be improved. The present invention is most suitable for the use of microcomputers for controlling the compression and elongation processing or filtering processing of information for mobile communication equipment, servo control, image processing of printers, and the like. [Effects of the invention] The paper size is applicable to the national standard (CNS) A4 specification (210X297 mm) 56-A7 B7 V. Description of the invention (54) The representative effects of the inventions disclosed in this application are briefly explained as follows . That is, the built-in memory is integrated into the first memory and the second memory in consideration of the product and operation of the digital signal processor. The third bus and the second line can be accessed in parallel, so the central processing unit can The built-in memory transfers two data to the digital signal processing unit at the same time. In addition, the third bus and the second bus, and the first bus that interfaces with the outside, are independent of the central processing unit, and can be used for external storage access in parallel with-access of the second memory and the first memory. · As mentioned above, because there are three types of address buses and data buses connected to the central processing unit, the three types of internal buses can be used to implement different memory access operations at the same clock cycle, so even programs or data Existing in the external memory is also easy to cope with, and can realize high-speed arithmetic processing. Printed by the Consumers' Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs. »\} .I t ^ i II! _ I i I--. I (Please read the back (Please fill in this page for more details) &quot; Furthermore, since the built-in memory is two-sided, the first and second memories have ROM and RAM, and since RAM is used as data storage and ROM is used as program storage, Separate data memory and program memory, can transfer 2 data in parallel to the digital signal processing unit, and can effectively implement instruction fetching, data transfer and calculation by parallel pipeline processing. Therefore, when the digital signal processing unit is installed in one L S I together with the central processing unit, the high-speed digital signal processing can be realized. Due to the mixed instruction of C PU instruction and DSP instruction, a part of instruction code is decoded to identify the instruction. The DSP instruction or 16-bit long paper size is applicable to Chinese National Standard (CNS) A4 specification (2 丨 0X297 mm). ) 57 424 1 9 2: A7 B7 Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs. 5. Instructions of the invention (55) DSP instructions, or 32-bit DSP instructions to allocate instruction codes. The decoder determines the type of instruction without having to decode all 32 bits all at once. Therefore, when the digital signal processing unit is installed in an L S I together with the central processing unit, the increase of its physical size can be suppressed as much as possible. Due to the instruction format of the DSP instruction, the first code area (the 9th to the 0th bit of the 16-bit DSP instruction shown in FIG. 18) with the first code area specified for the central processing unit is used for data transfer between the digital signal processing units. Format command, and a second code field with the same format as the first code field (a block of 32-bit DSP instructions shown in Figure 20 and Figure 21), and will be used in this second code The calculation processing of the transfer data specified in the field The 3rd code field specified for the digital signal processing unit. Figure 2 0, Figure 2 illustrates the 32-bit DSP instruction, the second format instruction of the R message group, and implements the second and second. As the device of each format, a decoding device having a common decoding logic for the first code area and the second code area can be used. At this point, the logic scale of the microcomputer can also be reduced. Brief description of the figures: Figure 1 · All block diagrams of a microcomputer related to an embodiment of the present invention 0. Figure 2: An example address map of a microcomputer. Figure 3: Block diagram of the cPU core showing the modulo address output section in detail. Figure 4: Block diagram of an example of a DSP engine. This paper size applies to Chinese national standards (CNS &gt; A4 size (210 × 297 mm) u 0〇 installed — (please read the precautions on the back before filling out this page) order-dish. 424192: ^ A7 _B7____ V. Description of the invention (56) Figure 5: An example of the instruction format and instruction code of a microcomputer. Figure 6: A block diagram showing the connection structure between the decoder of the CPU core and the decoder of the DSP engine. 囵 7: Inside the CPU core The implementation time chart of the ALU operation instruction 0 Figure 8: The implementation time chart of the instruction to read data from the memory into the CPU core. 'Figure 9: The implementation time chart of the instruction to write data to the memory from the CPU core. Figure 1 0 : An example timing diagram when implementing DSP instructions. Figure 11: Implementation time diagram of instructions that read data from the X and Y memories into the DSP engine. Figure 12: Implementation of instructions that write data from the DSP engine into the X and Y memories Timing chart .. Figure 13: Implementation time of instructions for reading data into the DSP engine from memory.-Printed by the Central Standards Bureau of the Ministry of Economic Affairs, Shellfish Consumer Cooperatives. Figure 14: Implementation of instructions for writing data into the memory from the DSP engine. Time chart Figure 15: DSP operation instructions Example implementation time chart. Figure 16: Example time chart when DSP operation instructions are continuously implemented. Figure 17: Block diagram showing another embodiment corresponding to Figure 6. Figure 18: Shows the built-in memory of the specified microcomputer and the DSP engine The 16-digit DS P instruction code of the data transfer between the 3 built-in registers is applicable to the National Standard A (CNS) A4 specification (210 X 297 mm). {Please read the precautions on the back before filling in this (Pages) 59-424192 A7 B7 Printed by the Consumer Cooperatives of the Central Bureau of Standards of the Ministry of Economic Affairs. Figure 19: Instruction format of a 16-bit DSP instruction that specifies the data transfer between the external memory of the microcomputer and the built-in registers of the DSP engine 3. Figure 2 0: A diagram showing the instruction format of the code of the information group and its corresponding mnemonic when looking at the A information group of the 32-bit DSP instruction. Fig. 21: A diagram showing the instruction format of the 32-bit D S P instruction when it is looking at the B message group code and its corresponding mnemonic. [Symbols] 1 ......... Microcomputer 2 ......... CPU core (central processing unit) 20 ......... CPU control signal 2 4 ... ... decoder 2 4 0 ......... first decoding circuit. 2 4 1 ......... second decoding circuit 2 4 2 ... ... code conversion circuit 2 4 3 ......... CPU decoding circuit 2 4 4 ......... DSP decoding circuit 2 4 5 ... ... code conversion control signal 2 4 7 ......... CPU control signal 2 5 ......... instruction register 2 5 0, 2 5 1 ........ .Instruction receiving buffer 2 0 0 ......... Modular address output section (Please read the precautions on the back before filling this page)

訂 -緯· 本紙張尺度適用中國國家標準(CNS ) A4規格(210X 297公釐) -60 - 424 1 92 4 ' A7 B7 五、發明説明(58) 2 0 6 &gt; 2 0 7 .........存儲地址緩衝器. 2 12 .........地址運算器- 2 13 .........算算術邏輯運算器 2 14 .........模數始地址寄存器 2 15 .........模數終了地址寄存器 2 1 6,2 2 6 .........模數地址寄存器 3………D S P引擎(數字信號處理機組) 3 4 .........譯碼器 3 0 2 .........算術邏輯運算器 3 0 4 .........乘算器 3 0 9,3.1 0,3 1 1 .........存儲數據緩衝器 4 ......... X — R〇M (第2存儲器) 5 ......... Y— ROM (第1存儲器) 6 ......... X - R A Μ (第2存儲器) 7 ......... Υ — R A Μ (第1存儲器) 12 .........外部存儲接口。 (讀先閱讀背面之注意事項再填寫本頁) η ί—袭. 訂 經濟部中央標準局員工消費合作社印製 本紙張尺度適用中國國家標準(€呢)八4規格(210’/297公釐)_61Order-Weft · This paper size applies Chinese National Standard (CNS) A4 (210X 297 mm) -60-424 1 92 4 'A7 B7 V. Description of the invention (58) 2 0 6 &gt; 2 0 7 ... ... memory address buffer. 2 12 ......... address operator-2 13 ......... arithmetic logic operator 2 14 ... ... modulus start address register 2 15 ......... modulus end address register 2 1 6, 2 2 6 ......... modulus address register 3 ... DSP engine (Digital Signal Processing Unit) 3 4 ......... Decoder 3 0 2 ......... Arithmetic and Logic Operator 3 0 4 ......... Multiplication Memory 3 0 9, 3.10, 3 1 1 ......... storage data buffer 4 ... ... X — ROM (second memory) 5 ..... .... Y— ROM (first memory) 6 ......... X-RA Μ (second memory) 7 ......... Υ — RA Μ (first memory) 12 ......... external storage interface. (Read the precautions on the back before you fill out this page) η ί—Strike. Order printed by the Consumers 'Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs. The paper size applies to the Chinese National Standard (€?) 8 4 specifications (210' / 297 mm ) _61

Claims (1)

4 24 A8 B8 C8 D8 六、申請專利範圍 士^變吏^質^容?是否准予修正 經濟部中央標準局舅工消費合作社印製 % ;倉 I· η4 24 A8 B8 C8 D8 6. Scope of patent application Whether the amendment is allowed to be printed by the Central Standards Bureau of the Ministry of Economy 〇 月 修. 正 本 第84113247號專利申請案 中文申請專利範圍修正本 民國86年1 〇月修正 1. 一種微電腦,其特徵爲將:中央處理機組,及 自前述中央處理機組選擇傳遞地址之第1至第3地址 總線,及 連接於前述第1地址總線及第2地址總線,由中央處 理機組之地址存取之第1存儲器,及 連接於前述第1地址總線及第3地址總線,由中央處 機組之地址存取之第2存儲器,及 連接於前述第1及第2存儲器及前述中央處理機組傳 遞數據之第1數據總線,及 連接於前述第1存儲器傳遞數據之第2數據總線,及 連接於前述第2存儲器傳遞數據之第3數據總線,及 連接於前述第1地址總線及第2數據總線之外部接口 電路,及 連接於前述第1至第3之數據總線,同步於中央處理 機組動作之數字信號處理機組,及 自中央處理機組將控制前述數字信號處理機組之動作 之D S Ρ控制信號傳遞於數字信號處理機組之控制信號線 *含於1基尼予以半導體集成電路而成》 2. 如申請專利範圍第1項所述之微電腦其中前述第 1存儲器第2存儲器係分別由RAM及R 0Μ而成》 3 如申請專利範圍第2項之所述之微電腦,其中前 (請先閲讀背面之注意事項再填寫本頁) 本紙承尺度適用中國國家標準(CNS〉A4規格(210X297公釐) 經濟部中央標準局員工消費合作社印裳 A8 B8 C8 , D8 六、申請專利範圍 述中央處理機組更具有將地址寄存器之值輸出前述第2或 第3之地址總線並重覆更新該地址寄存器值之動作實施開 始地址之終了地址形成之模數地址輸出部而成。 4 .如申請專利範圍第1至3任何1項所述之微電腦 ,其中前述數字信號處理機係含與前述第1至第3數據總 線個別接口之第1至第3數據緩衝裝置,及經內部總線可 連接於各數據緩衝裝置之複數寄存裝置,及連接於前述內 部總線之乘法器及算術邏輯運算器,及將前述D S P控制 信號譯碼以控制前、述數據緩衝裝置,乘法器算術邏輯運算 器,及寄存裝置之動作之一譯碼而成。 5 · —種半導體晶片上之資料處理裝置,係包含, 中央處理機組,及連接於中央處理機組之第1至第.3 地址總線,及連接於前述第1及第2地址總線之第1存儲 器,及連接於前述第1及第3地址總線之第2存儲器,及 連接於前述第1及第2存儲器及前述中央處理機組之第1 數據總線,及連接於前述第1存儲器之第2數據總線,及 連接於前述第2存儲器之第3數據總線,及連接於前述第 1地址總線及前述第1數據總線之介面電路,及連接於第 1至第3數據總線之數字信號處理機組,及將控制前述數 字信號處理機組之動作之控制信號自前述中央處理機組傅 達至前述數字信號處理機組之控制信號線。 6 . —種單晶片微處理器,係包含CPU核心,及 與上述C P U核心同步動作,包含乘算器之d S P, 及 ( CNS ) ( 210x297^-1:) • p 、,\ W c. J i 裝 I i I I ! I 訂— I I I I (請先閱讀背面之注意事項再填寫本頁) -2 - 4 2 4 19 2:, A8 B8 C8 D8 經濟部中央標準局負工消費合作社印製 六、申請專利範園 結合於上述C P U核心之第1至第3位址匯流排,及 結合於上述C P U核心及上述D S P之第1至第3資 料匯流排,及 結合於上述第1及第2位址匯流排與上述第1及第2 資料匯流排之第1記憶體,及 結合於上述第1及第3位址匯流排與上述第1及第3 資料匯流排之第2記憶體等。 7 .如申請專利範圍第6項之單晶片微處理器,其中 ,上述C PU核心.,係包含:複數之泛用暫存器,及 算術邏輯運算電路,及 結合於上述第1位址匯流排,供容納指令位址用之程 式計數器,及 結合於上述諂1資料匯流排,容納由上述第1資料匯 流排所供給的指令之指令暫存器,及 將容納於上述指令暫存器之指令解碼,依照解碼結果 .而產生控制訊號之指令解碼器等。, 8 ·如申請專利範圍第7項之單晶片微處理器,其中 ,上述C P_U核心,進而還包含有:供向上述第2及上述 第3位址匯流排產生位址的位址輸出電路。 9 .如申請專利範圍第8項之單晶片微處理器,其中 ,上述位址輸出電路,係包含: 結合於上述第2位址匯流排之第1位址緩衝器,及 結合於上述第3位址匯流排之第2位址緩衝器,及 運算應該向上述第1至第2位指匯流排供給的位址資 本紙浪尺度適用中國國家榲準(CNS ) A4規格(210X297公釐) 03 、vs {請先閱讀背面之注意事項再填寫本頁)〇Yuexiu. The original patent application No. 84113247 was amended in Chinese. The scope of patent application in the Republic of China was amended in October 1986. 1. A microcomputer characterized by: a central processing unit and the first choice of delivery address from the aforementioned central processing unit To the third address bus, and the first memory connected to the aforementioned first address bus and the second address bus, accessed by the address of the central processing unit, and connected to the aforementioned first address bus and the third address bus, from the central office A second memory for address access of the unit, and a first data bus connected to the aforementioned first and second memories and the central processing unit for transmitting data, and a second data bus connected to the aforementioned first memory for transmitting data, and a connection The third data bus that transfers data in the second memory, the external interface circuit connected to the first address bus and the second data bus, and the data bus connected to the first to third data buses to synchronize the operations of the central processing unit. The digital signal processing unit, and the DS P control signal transmission from the central processing unit to control the operation of the aforementioned digital signal processing unit The control signal line in the digital signal processing unit is included in the semiconductor integrated circuit of 1 Gini "2. The microcomputer as described in item 1 of the scope of patent application, wherein the first memory and the second memory are respectively composed of RAM and R 0M Cheng》 3 The microcomputer as described in item 2 of the scope of patent application, of which (please read the precautions on the back before filling this page) The paper bearing standards are applicable to Chinese national standards (CNS> A4 specification (210X297 mm)) Central Standards Bureau employee consumer cooperatives Yin Chang A8 B8 C8, D8 6. The scope of the patent application The central processing unit also has the function of outputting the address register to the aforementioned second or third address bus and repeating the update of the address register The end of the address is formed by the modular address output section of the address. 4. The microcomputer as described in any one of the claims 1 to 3, wherein the aforementioned digital signal processor includes a separate unit from the aforementioned first to third data buses. The first to third data buffer devices of the interface, and a plurality of register devices that can be connected to each data buffer device via an internal bus, and connected to the front The multiplier and arithmetic logic operator of the internal bus, and the decoding of the aforementioned DSP control signals to control one of the operations of the data buffer device described above, the arithmetic logic operator of the multiplier, and the register device. 5 · — A data processing device on a semiconductor wafer includes a central processing unit, and first to third address buses connected to the central processing unit, and first memories connected to the aforementioned first and second address buses, and connections. A second memory connected to the first and third address buses, a first data bus connected to the first and second memories, and the central processing unit, and a second data bus connected to the first memory, and connected A third data bus in the second memory, and an interface circuit connected to the first address bus and the first data bus, and a digital signal processing unit connected to the first to third data buses, and will control the digital The control signal for the operation of the signal processing unit is from the central processing unit Fuda to the control signal line of the digital signal processing unit. 6. A kind of single-chip microprocessor, which includes the CPU core, and synchronizes with the above CPU core, including d SP of the multiplier, and (CNS) (210x297 ^ -1 :) • p,, \ W c. J i equipment I i II! I order — IIII (Please read the precautions on the back before filling this page) -2-4 2 4 19 2 :, A8 B8 C8 D8 Printed by the Central Bureau of Standards, Ministry of Economic Affairs 1. The patent application Fan Yuan combines the first to third address buses of the above-mentioned CPU core, and the first to third data buses of the above-mentioned CPU core and the above-mentioned DSP, and the first and second places of the above-mentioned combination. The first memory of the address bus and the above-mentioned first and second data buses, and the second memory of the above-mentioned first and third address buses and the above-mentioned first and third data buses. 7. The single-chip microprocessor according to item 6 of the scope of patent application, wherein the above-mentioned CPU core includes: a plurality of general purpose registers, arithmetic and logic operation circuits, and a combination of the first address bus Row, a program counter for accommodating instruction addresses, and a command register combined with the above-mentioned 谄 1 data bus, which contains instructions provided by the first data bus, and which will be stored in the above-mentioned instruction register Instruction decoding, instruction decoder, etc. that generates control signals according to the decoding result. 8 · If the single-chip microprocessor according to item 7 of the patent application scope, wherein the above-mentioned CP_U core further includes: an address output circuit for generating an address to the above-mentioned second and third address buses . 9. The single-chip microprocessor according to item 8 of the scope of patent application, wherein the address output circuit includes: a first address buffer combined with the second address bus, and a third address buffer combined with the third address bus. The second address buffer of the address bus and the calculation of the address capital of the address capital to be supplied to the above-mentioned first to second digit buses are applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm) 03 , Vs (Please read the notes on the back before filling this page) * 3 - ABCD 4 24 19 2':^ 六、申請專利範圍 訊之運算手段等。 (請先聞讀背面之注意事項再填寫本頁) 1 0 ·如申請專利範圍第6項之單晶片微處理器,其 中’上述D S P,具有由上述指令解碼器選擇性地接受被 輸出地控制訊號,產生供控制上述乘算器動作用的控制訊 號的解碼器電路。 1 1 ·如申請專利範圍第1 0項之單晶片微處理器, 其中’上述DSP,進而還包含有: 分別結合於上述第1至第3資料匯流排之第1至第3 資料緩衝電路,及. 結合於上述乘算器及上述第1至第3資料緩衝電路的 內部匯流排,及 結合於上述內部匯流排之算術邏輯運算電路,及 結合於上述內部_流排之暫存器等。 1 2 ·如申請專利範圍第6項之單晶片微處理器,其 中*進而還包含有:結合於上述第1位址匯流排及上述第 1資料匯流排之外部介面》 1 3 · —種半導體基板上之微處理器,係包含: 經濟部中央標準局員工消費合作社印製 C Ρ ϋ,及 與CPU同步動作之DSP, 結合於上述c P U之第1至第2位址匯流排,及 結合於上述C P U及上述D S P之第1至第2資料匯 流排,及 結合於上述第1位址匯流排與上述第1資料匯流排之 第1記憶體,及 束紙張尺度適用中國國家標準(CNS 说格(2〖〇&gt;&lt;297公釐) * ^ -4 - ABCD 424192 ^ * 六'、申請專利批圍 結合於上述第2位址匯流排與上述第2資料匯流排之 第2記億體等。 1 4 .如申請專利範圍第1 3項之微處理器,其中, 上述C PU係包含:可供分別將並列存取上述第1及 第2記憶體用之第1及第.2位址訊號分別對上述第1及第 2位址匯流排產生之位址產生手段; 上述D S P係包含:將上述第1及第2記憶體所輸出 之資料,藉由上述第1及第2資料匯流排而分別取入用之 第1至第2資料緩.衝手段。 1 5 .如申請專利範圍第13項之微處理器,其中, 上述CPU,係包含有: 容納指令之指令解碼器,及 將容納於上述指令解碼器之指令解碼,依照解碼結果 而產生控制訊號之指令解碼器,及 回應上述控制訊號,分別將上述第1及第2記憶體並 列存取用之第1及第2位址訊號向分別的上述第1及第2 位址匯流排產生之位址產生手段等; 上述DSP,係包含有: 將上述第1及第2記憶體所輸出之第1至第2資料, 藉由上述第1及第2資料匯流排而分別取入用的第1至第 2資料緩衝手段,及 運算由上述第1至第2資料緩衝手段所供給的第1至 第2資料之乘算器以及算術邏輯運算電路》 1 6 .如申請專利範圔第1 5項之微處理器,其中, 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) &quot; I I i I I I ——·訂 n I I 線 (請先閱讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消費合作社印製 4 2 4 ] 9 p、 as ^ BS J C8 D8 經濟部中央棹準局員工消費合作社印製 六、 申請專利範園 1 上 述 D S P 回 應 由 上 述 指 令 解 碼 器 所 輸 出 之 控 制 訊 1 | 號 產 生 供 控 制 上 述 乘 算 器 以 及 上 述 算 術 邏 輯 運 昇 電 路 用 1 I 的 內 部 控 制 訊 號 之 解 碼 器 路 請 1 1 先 1 1 7 *~- 種 單 晶 片 處 理 器 係 包 含 有 : 閱 讀 1 傳 達 資 料 之 第 1 及 第 2 資 料 匯 流 排 及 背 1 1 注 1 傳 達 位 址 訊 號 之 第 1 及 第 2 位 址 匯 流 排 及 意 事 1 結 合 於 上 述 第 1 位 址 匯 流 排 與 上 述 第 1 資 料 匯 流 排 之 項 再 1 1、 第 1 記 憶 體 及 寫 本 裝 頁 1 結 合 於 上 述 第. 2 位 址 匯 流 排 與 上 述 第 2 資 料 匯 流排 之 1 1 第 2 記 憶 體 &gt; 及 1 1 | 回 應 — 道 指 令 之 實 行 分 別 產 生 對 於 上 述 第 1 及 第 2 1 1 訂 位 址 匯 流 排 之 第 1 及 第 2 位 址 訊 之 C P U 及 1 回 應 根 據 上 述 第 1 及 第 2 位 址 訊 號 之 存 取 而 將 由 上 述 [ 1 第 1 及 第 2 記 億 體 所 輸 出 的 第 1 及 第 2 寶 料 介 由 上 述 第 1 1 1 及 上 述 第 2 資 料 匯 流 排 而 在 1 個 匯 流 排 循 環 (bus eye 1 ,41 1 I le)內取入之數位訊號處理單元 J 1 8 如 串 請 專 利 範 圍 第 1 7 項 之 單 晶 片 處 理 器 其 1 i 中 [ 1 上 述 C P U 係 含 有 容 納 上 述 第 1 及 上 述 第 2 位 址 訊 1 1 號 之 泛 用 暫 存 器 9 1 1 1 9 如 串 請 專 利 範 圍 第 1 7 項 之 單 晶 片 處 理 器 其 1 I 中 1 1 1 上 述 數 位 訊 號 處 理 單 元 » 包 含 有 • 內 部 匯 流 排 及 結 I I 合 於 上 述 內 部 匯 流 排 之 乘 算 器 與 算 術 邏 輯 運 算 電 路 及 資 1 i 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) -6 - 4 2 4 19 2 ^ A8 B8 C8 D8 經濟部中央標準局員工消費合作社印裝 六、申請專利範圍 料暫存器,及結合於上述第1資料匯流排與上述內部匯流 排之間之第1資料緩衝電路,及結合於上述第2資料匯流 排與上述內部匯流排之間之第2資料緩衝電路等。 2 0 .如申請專利範圍第1 7項之單晶片處理器,其 中, 上述C P U包含將指令解碼而產生控制訊號之指令解 碼器: 上述數位訊號處理單元,,接受由上述C P U內的上述 指令解碼器所供給的控制訊號,產生控制上述數位訊號處 理單元的內部電路的動作用之內部控制訊號的解碼器電路 0 2 1 .如申請專利範圍第2 0項之單晶片處理器,其 中1 上述數位訊號處理單元,進而還包含: 內部匯流排,及結合於上述內部匯流排之乘算器以及 算術邏輯運算電路,及 結合於上述內部匯流排之資料暫存器,及結合於上述 第1資料匯流排與上述內部匯流排之間之第1資料緩衝電 路,及結合於上述第2資料匯流排與上述內部匯流排之間 之第2資料緩衝電路等; 上述乘算器以及算術邏輯運算電路、上述資料暫存器 .上述第1資料緩衝電路以及 上述第2資料緩衝電路,係藉由上述內部控制訊號而 控制其動作的。 本紙張尺度通用中國國家標準(CNS ) A4規格(210X297公釐) (請先閲讀背面之注意事項再填寫本頁) -9 〇 -7 - 424 19 2 A8 B8 C8 · D8 六、申請專利範圍 2 2 .如申請專利範圍第1 7項之單晶片處理器,@ 中, 上述CPU包含有: 容納上述第1及第2位址之複數暫存器,及 算術邏輯運算電路,及 容納上述指令之指令暫存器,及 將容納於上述指令暫存器之指令解碼,而依照解碼@ 果而產生控制訊號之指令解碼器,及 供對於上述第1及第2位扯匯流排產生上述第1及第 2位址用之位址輸出電路等; 上述複數的暫存器、上述算術邏輯運算電路以及上述 位址輸出電路的動作,係藉由上述控制訊號而控制的》 2 3 .如申請專利範圍第2 2項之單晶片處理器,其中 9 上述數位訊號處理單元,進而還包含有: 內部匯流排,及結合於上述內部匯流排之乘算器以及 算術邏輯運算電路,及 結合於上述內部匯流排之資料暫存器,及結合於上述 第1資料匯流排與上述內部匯流排之間之第1資料緩衝電 路,及結合於上述第2資料匯流排與上述內部匯流排之間 之第2資料緩衝電路等; 上述乘算器以及算術邏輯運算電路、上述資料暫存器 、上述第1資料緩衝電路以及上述第2資料緩衝電路,係 藉由上述內部控制訊號而控制其動作的。 本紙&amp;足度適用中國國家標準(CNS ) A4規格(210X297公釐) 一 8 一 (請先閲讀背面之注意事項再填寫本頁) -訂 &quot; 經濟部中央標準局員工消費合作社印製 424 Ί 92 : A8 B8 C8 D8 經濟部中央標準局員工消費合作社印製 六、申請專利範圍 2 4 .如申請專利範圍第1項之微電腦,其中,上述 中央處理機組(C PU)係包含有: 複數之泛用暫存器,及 算術邏輯運算電路,及 結合於上述第1位址匯流排,供容納指令位址用之程 式計數器,及 結合於上述第1資料匯流排,容納由上述第1資料匯 流排所供給的指令之指令暫存器,及 將容納於上述.指令暫存器之指令解碼,依照解碼結果 而產生控制訊號之指令解碼器,及 供產生對於上述第2及第3位址匯流排產生位址用的 位址輸出電路; 上述複數之泛用暫存器、上述算術邏辑運算電路以及 上述位址輸出電路的動作,係藉由上述控制訊號而控制的 2 5 *如申請專利範圍第2 4項之微電腦,其中, 上述數位訊號處理單元包含有: 接受由上述中央處理機組(C P U )內的上述指令解 碼器所供給的上述D S P控制訊號,產生內部控制訊號的 解碼器電路,及 內部匯流排,及 結合於上述內部匯流排之乘算器與算術邏輯運算電路,及 結合於上述內部匯流排之資料暫存器,及 (請先閱讀背面之注^^-項再填寫本頁) .裝· 訂 ^- 本紙張尺度逍用中國國家標準{ CNS ) A4規格(210X297公釐) -9 - 經濟部中央標準局員工消費合作社印製 ,2 4 9 2、, 鉍 1 C8 , D8 六、申請專利範園 結合於上述第1資料匯流排與上述內部匯流排之間之 第1資料緩衝電路,及 結合於上述第2資料匯流排與上述內部匯流排之間之 第2資料緩衝電路等: 上述乘算器以及算術邏輯運算電路、上述資料暫存器 、上述第1資料緩衝電路以及 上述第2資料緩衝電路,係藉由上述內部控制訊號而 控制其動作的。 2 6 .如申請.專利範圍第5項之資料處理裝置,其中 ,上述中央處理機組(CPU)係包含有: 複數之泛用暫存器,及 算術邏輯運算電路,及 結合於上述桌1位址匯流排,供容納指令位址用之程 式計數器,及 結合於上述第1資料匯流排,容納由上述第1資料匯 流排所供給的指令之指令暫存器,及 將容納於上述指令暫存器之指令解碼,依照解碼結果 而產生控制訊號之指令解碼器,及 +供產生對於上述第2及第3位址匯流排產生位址用的 位址輸出電路: 上述複數之泛用暫存器、上述算術邏輯運算電路以及 上述位址輸出電路的動作•係藉由上述控制訊號而控制的 〇 2 7 .如申請專利範圍第2 6項之資料處理裝置,其 本紙张尺度適用中國國家標準(CNS ) A4規格(210X297公釐) ~ -10 - (請先間讀背面之注意事項再填寫本頁) 訂 派 424192-- A8 * B8 C8 ' D8 六、申請專利範園 中 ’ 上述數位訊號處理單元包含有: 介由上述控制訊號線接受由上述中央處理機組( C P U )內的上述指令解碼器所供給的上述控制訊號,產 生內部控制訊號的解碼器電路,及 內部匯流排,及 結合於上述內部匯流排之乘算器與算術邏輯運算電路 ,及 結合於上述內1部匯流排之資料暫存器,及 結合於上述第1資料匯流排與上述內部匯流排之間之 第1資料緩衝電路,及 結合於上述第2資料匯流排與上述內部匯流排之間之 第2資料緩衝電路等: 上述乘算器以及算術邏輯運算電路、上述資料暫存器 、上述第1資料緩衝電路以及 上述第2資料緩衝電路,係藉由上述內部控制訊號而 控制其動作的^ (請先閱讀背面之注意事項再填寫本頁) .裝· 订 經濟部中央樣準局員工消費合作社印製 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公竣) 11* 3-ABCD 4 24 19 2 ': ^ VI. Application scope of patent application. (Please read the precautions on the back before filling out this page) 1 0 · If the single-chip microprocessor in the 6th scope of the patent application, the above-mentioned DSP has the above-mentioned instruction decoder to selectively accept the output control The signal is a decoder circuit for generating a control signal for controlling the operation of the multiplier. 1 1 · If the single-chip microprocessor of the 10th scope of the patent application, the above-mentioned DSP further includes: the first to third data buffer circuits that are respectively combined with the first to third data buses, And. The internal buses combined with the above multiplier and the first to third data buffer circuits, the arithmetic logic operation circuit combined with the above internal buses, and the temporary registers combined with the above-mentioned internal buses. 1 2 · If the single-chip microprocessor in the 6th scope of the patent application, * further includes: an external interface combined with the above-mentioned first address bus and the above-mentioned first data bus "1 3 ·-a kind of semiconductor The microprocessor on the substrate includes: Printed CP by the Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs, and a DSP that synchronizes with the CPU, combined with the first to second address buses of the cPU, and combined The first and second data buses of the above-mentioned CPU and DSP, and the first memory combining the above-mentioned first address bus and the above-mentioned first data bus, and the paper size of the bundle are applicable to the Chinese national standard (CNS says Grid (2 〖〇 &gt; &lt; 297mm) * ^ -4-ABCD 424192 ^ * VI. Patent application approval is combined with the 2nd record of the above-mentioned 2nd address bus and the 2nd data bus 1 4. The microprocessor according to item 13 of the scope of patent application, wherein the above-mentioned CPU includes: the first and the second for the parallel access to the first and the second memory, respectively. The address signals are generated for the addresses of the above 1 and 2 address buses, respectively. Generating means; The above-mentioned DSP includes: means for buffering the first to second data used by the data output from the first and second memories through the first and second data buses. 15. The microprocessor according to item 13 of the scope of patent application, wherein the above-mentioned CPU includes: an instruction decoder that stores instructions, and decodes the instructions that are stored in the instruction decoder, and generates a control signal according to the decoding result. A command decoder, and responding to the above control signals, respectively, the first and second address signals for parallel access of the first and second memories to the bits generated by the first and second address buses, respectively Means for generating addresses, etc .; The above-mentioned DSP includes: the first and second data output by the first and second memories, and the first and second data respectively obtained through the above-mentioned first and second data buses. To the second data buffering means, and the multiplier and arithmetic logic operation circuit for calculating the first to second data provided by the above first to second data buffering means "16 Microprocessor, where the paper Applicable to China National Standard (CNS) A4 specification (210X297 mm) &quot; II i III —— · Order n II line (Please read the precautions on the back before filling this page) Printed by the Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs 4 2 4] 9 p, as ^ BS J C8 D8 Printed by the Consumers' Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs VI. Patent Application Fanyuan 1 The above DSP responds to the control signal 1 | output by the above instruction decoder for control The above-mentioned multiplier and the above-mentioned 1 I internal control signal decoder circuit for the arithmetic logic lifting circuit please call 1 1 first 1 1 7 * ~ -Single-chip processors include: Read 1 2 Data bus and back 1 1 Note 1 The first and second address buses and messages conveying address signals 1 Combine the above-mentioned first address bus with the above-mentioned first data bus The item 1 is again 1. The 1st memory and the copybook 1 are combined with the above. The 2nd address bus and the 2nd data bus 1 1 2nd memory &gt; and 1 1 | Response — the instruction The implementation of the CPU and 1 response to the 1st and 2nd address signals of the above 1st and 2 1 1 addressing buses respectively will be accessed by the above [1 The 1st and 2nd treasures output by the 1st and 2nd billionth body are taken in the 1st and 2nd data bus mentioned above and taken in 1 bus cycle (bus eye 1, 41 1 I le) The digital signal processing unit J 1 8 of the above-mentioned single-chip processor in item 17 of the patent scope, among which 1 i [1 The above-mentioned CPU contains the above-mentioned first and second address signals 1 No. 1 general-purpose register 9 1 1 1 9 If you ask for a single-chip processor in item 17 of the patent scope, it is 1 I in 1 1 1 The above digital signal processing unit »includes: • Internal bus and junction II combination The multiplier and arithmetic logic operation circuits and materials used in the above internal busbars 1 i This paper size applies to China National Standard (CNS) A4 specification (210X297 mm) -6-4 2 4 19 2 ^ A8 B8 C8 D8 Ministry of Economic Affairs Printed by the Consumer Standards Cooperative of the Central Bureau of Standards 6. Patent application scope register, and the first data buffer circuit combined between the above-mentioned first data bus and the above internal bus, and the above-mentioned second data bus A second data buffer circuit and the like from the internal bus. 20. The single-chip processor according to item 17 of the scope of patent application, wherein the CPU includes an instruction decoder that decodes instructions to generate a control signal: the digital signal processing unit accepts decoding of the instructions in the CPU The decoder control circuit provides an internal control signal decoder circuit that controls the operation of the internal circuit of the digital signal processing unit. 0 2 1. For a single-chip processor with the scope of patent application No. 20, 1 of the above digital The signal processing unit further includes: an internal bus, a multiplier and an arithmetic logic operation circuit combined with the internal bus, a data register combined with the internal bus, and a first data bus combined with the internal bus. The first data buffer circuit between the bus and the internal bus, and the second data buffer circuit combined between the second data bus and the internal bus; etc .; the multiplier and arithmetic logic operation circuit, the above Data register. The first data buffer circuit and the second data buffer circuit are as described above. Internal control signal to control the operation thereof. The paper size is in accordance with the Chinese National Standard (CNS) A4 specification (210X297 mm) (please read the precautions on the back before filling this page) -9 〇-7-424 19 2 A8 B8 C8 · D8 VI. Patent Application Scope 2 2. If the single-chip processor of item 17 in the scope of patent application, @, the above-mentioned CPU includes: a plurality of temporary registers that accommodate the above-mentioned first and second addresses, and an arithmetic and logic operation circuit, and an instruction that accommodates the above-mentioned instructions An instruction register, and an instruction decoder that decodes the instructions stored in the instruction register and generates a control signal according to the decoding @ 果, and is used for generating the first and second bits of the above-mentioned first and second bit buses The address output circuit for the second address, etc .; the operations of the above-mentioned plural registers, the above-mentioned arithmetic logic operation circuit, and the above-mentioned address output circuit are controlled by the above-mentioned control signal "2 3. Such as the scope of patent application The single-chip processor of item 22, wherein the above-mentioned digital signal processing unit further includes: an internal bus, and a multiplier and arithmetic logic operation combined with the internal bus. Circuit, and a data register combined with the above internal bus, and a first data buffer circuit combined between the above first data bus and the above internal bus, and combined with the above second data bus and the above internal The second data buffer circuit between the buses, etc .; the multiplier and arithmetic logic operation circuit, the data register, the first data buffer circuit, and the second data buffer circuit are generated by the internal control signal. Controlling its actions. This paper is fully applicable to China National Standards (CNS) A4 specifications (210X297 mm) 8 8 (Please read the precautions on the back before filling out this page)-Order &Print; Printed by the Central Consumers Bureau of the Ministry of Economic Affairs Consumer Cooperatives 424 Ί 92: A8 B8 C8 D8 Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs 6. Patent application scope 2 4. For the microcomputer in the first patent application scope, the above-mentioned central processing unit (CPU) includes: General purpose register, arithmetic logic operation circuit, and program counter combined with the above-mentioned first address bus for accommodating instruction addresses, and combined with the above-mentioned first data bus, containing the above-mentioned first data A command register for the instructions provided by the bus, and a command decoder that decodes the instructions contained in the above. Command register, generates a control signal according to the decoding result, and is used to generate the second and third addresses. The address output circuit for the bus to generate an address; the operations of the above-mentioned plural general purpose registers, the above-mentioned arithmetic logic operation circuit, and the above-mentioned address output circuit are borrowed 2 5 controlled by the above control signal * If the microcomputer of item 24 of the scope of patent application, the above-mentioned digital signal processing unit includes: receiving the above-mentioned supplied by the above-mentioned instruction decoder in the central processing unit (CPU) DSP control signals, decoder circuits that generate internal control signals, internal buses, multipliers and arithmetic logic operation circuits combined with the internal buses, and data registers that are combined with the internal buses, and ( Please read the note on the back ^^-item before filling out this page). Binding and ordering ^-This paper size is free to use Chinese National Standard {CNS) A4 specification (210X297 mm) -9-Staff Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs Printed, 2 4 9 2, Bismuth 1 C8, D8 6. The patent application park combines the first data buffer circuit between the above-mentioned first data bus and the above internal bus, and the above-mentioned second data bus The second data buffer circuit between the bank and the internal bus: the multiplier and arithmetic logic circuit, the data register, and the first data buffer. Circuit and the second data buffer circuit, said internal control signal line by controlling the operation thereof. 26. If applying. The data processing device of the fifth item of the patent scope, wherein the above-mentioned central processing unit (CPU) includes: a plurality of general purpose registers, arithmetic and logic operation circuits, and a combination of the above table Address bus, a program counter for accommodating the address of the instruction, and a command register combined with the above-mentioned first data bus to accommodate the instructions provided by the above-mentioned first data bus, and to be temporarily stored in the above-mentioned instruction Instruction decoding of the decoder, an instruction decoder for generating a control signal according to the decoding result, and an address output circuit for generating addresses for the above-mentioned second and third address buses: the above-mentioned plural general-purpose temporary registers 2. The operations of the above-mentioned arithmetic logic operation circuit and the above-mentioned address output circuit are controlled by the above-mentioned control signal. For example, if the data processing device of the 26th item of the patent application is applied, the paper size is applicable to the Chinese national standard ( CNS) A4 specification (210X297mm) ~ -10-(Please read the precautions on the back before filling this page) Order 424192-- A8 * B8 C8 'D8 VI. Apply for a patent The above-mentioned digital signal processing unit includes: a decoder circuit that receives the control signal supplied by the instruction decoder in the central processing unit (CPU) through the control signal line, generates an internal control signal, and internal The bus, and the multiplier and arithmetic logic operation circuit combined with the above-mentioned internal bus, and the data register combined with the above-mentioned one internal bus, and the combination of the above-mentioned first data-bus and the above-mentioned internal bus The first data buffer circuit between the two, and the second data buffer circuit combined between the second data bus and the internal bus, etc .: the multiplier and arithmetic logic operation circuit, the data register, the first The 1 data buffer circuit and the above 2 data buffer circuit are controlled by the above-mentioned internal control signals ^ (Please read the precautions on the back before filling this page) The paper size printed by the cooperative applies the Chinese National Standard (CNS) A4 (210X297)
TW084113247A 1995-05-02 1995-12-12 Microcomputer TW424192B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP13290695 1995-05-02
JP34744195A JP3727395B2 (en) 1995-05-02 1995-12-14 Microcomputer
US09/229,147 US6434690B1 (en) 1995-05-02 1999-01-11 Microprocessor having a DSP and a CPU and a decoder discriminating between DSP-type instructions and CUP-type instructions

Publications (1)

Publication Number Publication Date
TW424192B true TW424192B (en) 2001-03-01

Family

ID=27316604

Family Applications (2)

Application Number Title Priority Date Filing Date
TW085114414A TW432326B (en) 1995-05-02 1995-12-12 Microcomputer
TW084113247A TW424192B (en) 1995-05-02 1995-12-12 Microcomputer

Family Applications Before (1)

Application Number Title Priority Date Filing Date
TW085114414A TW432326B (en) 1995-05-02 1995-12-12 Microcomputer

Country Status (3)

Country Link
JP (1) JP3727395B2 (en)
DE (1) DE69614442T2 (en)
TW (2) TW432326B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7333609B2 (en) 2001-04-03 2008-02-19 Mitsubishi Denki Kabushiki Kaisha Encrypting apparatus

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW439380B (en) 1995-10-09 2001-06-07 Hitachi Ltd Terminal apparatus
KR19990017021A (en) * 1997-08-21 1999-03-15 윤종용 Systems and hardware with integrated microcontroller and digital signal processor
JP3822380B2 (en) 1999-03-26 2006-09-20 富士写真フイルム株式会社 Image signal processing device
WO2000068783A2 (en) * 1999-05-12 2000-11-16 Analog Devices, Inc. Digital signal processor computation core
KR100881196B1 (en) * 2007-05-29 2009-02-05 삼성전자주식회사 Memory device having alternative bit organizations and system including the same
JP2010003151A (en) 2008-06-20 2010-01-07 Renesas Technology Corp Data processing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7333609B2 (en) 2001-04-03 2008-02-19 Mitsubishi Denki Kabushiki Kaisha Encrypting apparatus

Also Published As

Publication number Publication date
TW432326B (en) 2001-05-01
JPH0922379A (en) 1997-01-21
DE69614442D1 (en) 2001-09-20
DE69614442T2 (en) 2002-05-16
JP3727395B2 (en) 2005-12-14

Similar Documents

Publication Publication Date Title
JP3206704B2 (en) Data processing device with multiple on-chip memory buses
TW318915B (en) digital signal processing integrated circuit architecture
KR100440841B1 (en) Microcomputer
JP5222941B2 (en) Compact instruction set encoding
CN104049953B (en) The device without mask element, method, system and product for union operation mask
TWI292553B (en) Processor, method for generating or manufacturing a processor, system for generating a processor, and computer-readable medium having stored thereon a computer program
JP6498226B2 (en) Processor and method
JP2000509528A (en) Data processing management system
JPH09512651A (en) Multiple instruction set mapping
TW434472B (en) Instruction encoding techniques for microcontroller architecture
TW200525417A (en) Aliasing data processing registers
JPS59133650A (en) Microcomputer, network thereof and operation of same
JP2021057004A (en) Device, method, and system for instruction of matrix calculation accelerator
US5666510A (en) Data processing device having an expandable address space
TW424192B (en) Microcomputer
JPH01119828A (en) Microprocessor
JP2018506094A (en) Method and apparatus for performing BIG INTEGER arithmetic operations
JP2003501773A (en) Data processor with arithmetic logic unit and stack
TW201545057A (en) Apparatus and method for selecting elements of a vector computation
JP3841820B2 (en) Microcomputer
CN115328547A (en) Data processing method, electronic equipment and storage medium
JPH04109339A (en) Register number specifying circuit and data processor provided with the circuit
JP3332606B2 (en) Microprocessor
JP2000039995A (en) Flexible accumulate register file to be used in high performance microprocessor
JP2003502753A (en) Data processor with register stack

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