1259973 九、發明說明: 【發明所屬之技術領域】 本發明為提供-種内含中域理單元之可擴麵體電 c)及方法,係_含巾央處理單元之可積體電路(κ) 内設置隨機存取記麵,並使欲修正的#料或程式寫人至隨機存 取記憶體内,而當需要修改積體電路n c)内之程式或資料^ ’就不需更換整_«路(丨c) _唯讀記赌,以減少更 換成本,且可方便廠商擴充積體電路(z C)可記錄或執行的程 式。 【先前技術】 按’當進入二十-世紀,人類生活已經進入了數位時代的領 或中現5許多人類生活周遭的物品、用具均以數位化高科技產 品取而代之’不僅帶給人們許多方便,也同畴以享受高科技的 文明進步成果,而在數位化的時代中 大多數電為物品、用具都會與數位科技有關係或以積體電路( 1 c)進行操控’以達到自動化的迅速、確實之目的,所以人類 生活在數位科技領域之中,便必須以更進步的數位知識、技術來 U各種局科技產物,例如··電腦、電視、影音設備、大樓中央 官理、汽車、飛機等等食、衣、住、行的相關產品、用具;其中 積體電路(I C)係為相當重要的組成元件,所以有人宣稱積體 電路(I C)為產業之米。 然而’ 一般業者為了可大量生產積體電路(I C),大多利 1259973 用光罩式唯讀記憶體(mask R0M)來作為積體電路 c)内之記·,並設置-程式計數n來概或保存中央處理單 =要獲得記紐位址的條值,當巾央處理單元設定程式計數 °。盼,程式計數器的内容會被傳送到光罩式唯讀記憶體( ^ask r〇M)’由光罩式唯讀記憶體(mask r⑽ 輪出儲存在其内部的指令或資料,以供中央處理單元讀取,伸 此種積體電路(I C)陳式料為儲存於鮮式唯讀記憶體 (mask RqM)内’而當需要修改程式或資料時,必須更 換整個光軍式唯讀記憶體(mask r〇m),非常費時且成 本極高,再者,若雜電路(I C )於裝設於電子產品上後才發 現程式或龍有誤,也無法進行修補,必職缺新,造成廠商 莫大的損失。 疋以,要如何解決上述習用之問題與缺失,#為從事此行業 之相關廠商所亟欲研究改善之方向所在者。 、 【發明内容】 故,發明人有鑑於上述之_與缺失,乃搜集相料,經 由多方評估及考量,並峨事於崎f累積之多年嫌,經由不 斷試作及修改,始設計出此種内含中央處理料之可擴充積體電 路(I C)及方法的發明專利誕生者。 本舍明=主要目的乃在於利用定位暫存器及跳躍暫存器來辅助程 式4數器使中央處理單元可使用隨機存取記憶體内所儲存之資 1259973 料或程式,而不需更換整個積體電路(j c)内的光罩式唯讀記 憶體(mask R〇M),以減少更換成本,並可方便廠商擴 充積體電路(I C)中可記錄或執行的程式,使只有相差些許程 式的電子產品可使賴-個積體電路(IC),而不須大量使用 造價相對昂貴的隨機存取記憶體來儲存所有的程式,只須儲存欲 改正的程式即可。 【實施方式】 為達成上述目的及功效,本發明所採用之技術手段及其構造 下,俾 ,兹_就本㈣之錄實_詳加·雜徵與功能如 利完全瞭解。 。^,诉兩奉發明之方塊圖,由圖中可 含中域轉元之可縣觀電路(ic), 汉置有中央處理單元10、程式計數器20 隨機存取記憶體4 0、❾ . 暫存盗5 0及跳躍暫存器6 〇,其 設定程式_2〇的内容。 或程式之位址。’、、、儲存中央處理單元1 ◦所欲讀取資料 該唯讀記憶體30為只可 該隨機存取記憶體40為;:寫:的記憶體。 該定位暫存器5 ◦為可J重贿入資料或程式。 存—個或一個以上隨機存取記憶體 7 1259973 該跳躍暫存器6 〇為可儲存一個或一1259973 IX. Description of the Invention: [Technical Field] The present invention provides a scalable body electrical system and method for containing a medium-domain unit, and is an integrable circuit of a processing unit Set the random access face and make the program or program to be corrected to the random access memory, and when you need to modify the program or data in the integrated circuit nc), you do not need to replace the whole _ «Road (丨c) _ read only gambling to reduce replacement costs, and it is convenient for manufacturers to expand the integrated circuit (z C) recordable or executable program. [Prior Art] According to 'When entering the 20th century, human life has entered the collar or middle of the digital age. 5 Many objects and utensils around human life are replaced by digital high-tech products', which not only brings people a lot of convenience, In the same era, most of the electricity for articles and appliances will be related to digital technology or controlled by integrated circuits (1 c) to achieve rapid automation. The real purpose, so human beings living in the field of digital technology, must use more advanced digital knowledge and technology to produce various scientific and technological products, such as computer, television, audio-visual equipment, building central government, cars, aircraft, etc. Related products, utensils, housing, and related products; appliances; integrated circuit (IC) is a very important component, so some people claim that the integrated circuit (IC) is the industry. However, in order to mass-produce integrated circuits (ICs), the general practitioners use the mask-type read-only memory (mask R0M) as the memory in the integrated circuit c), and set the program count n. Or save the central processing list = to get the bar value of the address, when the towel processing unit sets the program count °. It is hoped that the contents of the program counter will be transferred to the mask-type read-only memory (^ask r〇M)' by the mask-type read-only memory (mask r(10) to rotate the instructions or data stored in it for the central The processing unit reads, and the integrated circuit (IC) is stored in the fresh read-only memory (mask RqM). When the program or data needs to be modified, the entire optical military read-only memory must be replaced. The body (mask r〇m) is very time-consuming and extremely costly. Moreover, if the circuit (IC) is installed on an electronic product, it is found that the program or the dragon is wrong, and it cannot be repaired. This has caused a great loss to the manufacturers. 疋 , 要 要 要 要 要 要 要 要 要 要 要 要 要 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # _ and the lack of, the collection of materials, through multiple assessments and considerations, and the suspicion of the accumulation of many years of suspicion, through continuous trials and modifications, the design of such a central integrated processing material expandable integrated circuit (IC And method invention patent The birth of Ben Benming = The main purpose is to use the location register and the jump register to assist the program to enable the central processing unit to use the 1259973 material or program stored in the random access memory instead of The mask-type read-only memory (mask R〇M) in the entire integrated circuit (jc) needs to be replaced to reduce the replacement cost, and it is convenient for the manufacturer to expand the program that can be recorded or executed in the integrated circuit (IC). Only electronic products that differ in a few programs can be used to store all programs without having to use a relatively expensive random access memory, and only need to store the program to be corrected. Embodiments In order to achieve the above objects and effects, the technical means and its structure adopted by the present invention, 俾, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ In the block diagram of the invention, the Kexian County circuit (ic), which can include the middle domain transfer element, has a central processing unit 10, a program counter 20, a random access memory 40, and a temporary storage stolen 5 0. And jump register 6 〇, its design The content of the program_2 or the address of the program. ',,, storage, central processing unit 1 ◦ the data to be read, the read-only memory 30 is only the random access memory 40; Memory. The location register 5 is a data or program that can be bribed. One or more random access memories 7 1259973 The jump register 6 can store one or one
所不,係為本發明之方塊圖及動作流 當中央處理單元1〇開始運行時,便 明同時參閱第一、二圖所示, 程圖,由圖中可清楚看出,當中# 依下列步驟進行處理·· 200)中央處理單S10依據所要讀取的指令的位址來設定 程式計數器2 〇。 (2 1 〇 ) &式植12 Q軸容和定位暫存器5 Q的内容相比 對,判斷兩者所含的位址是否相同;若是,則執行步 & ( 2 2 〇);若否則執行步驟(2 3 0)。 2 〇)相對於上述定位暫存器5 0之跳躍暫存器6 0的内容 將被寫入到程式計數器2 0内,且程式計數器2 0的 内谷會被傳送到隨機存取記憶體4 0, 由隨機存取記 ^體4 0輪出儲存在其内部的指令或資料,以供中央 處理單元1〇讀取。No, it is the block diagram and the action flow of the present invention. When the central processing unit 1 starts to operate, it can be seen at the same time as the first and second figures, and the process diagram can be clearly seen from the figure. Step Processing • 200) The central processing unit S10 sets the program counter 2 依据 according to the address of the instruction to be read. (2 1 〇) & planting 12 Q axis capacity and positioning register 5 Q compared to the content, determine whether the address contained in the two is the same; if yes, then perform step & ( 2 2 〇); If not, perform step (2 3 0). 2 〇) The contents of the jump register 60 relative to the above-mentioned positioning register 50 will be written into the program counter 20, and the inner valley of the program counter 20 will be transferred to the random access memory 4. 0, the instruction or data stored in the internal memory unit 1 is rotated by the random access memory unit 40 for reading by the central processing unit 1 .
1259973 ^數②2 Q的内容不變,而且程式計數器2 〇的 谷會被傳送卿讀記龍3 ◦,並由 〇輪出館存在其内部的指令綱,以供t央處;^ 元10讀取。 2,寫人於隨機存取記憶體4◦内之程式或資料 或由萬用序载,且寫入於隨機·' 喝取唯…己憶體3 0内所儲存的資料。 會因=:=存取_4◦内之程式_不 或資料為可/ I 、、)的過^錯誤而變動,被儲存的程式 _、〜、U。入自動修補或偵測錯誤的冗餘資料。 另,本發明所設置之唯讀記憶體3〇可為光罩式唯讀記憶體 =Sk R〇M)或可程式唯讀記憶體(PR0M)。 是以,本發明之内含中央處理單元之可擴充積體電路(jc) .、、'可改善習用之技術關鍵在於,利用積體電路(i c )内所設置 ^隨機存取記憶體4 0 ’而可隨時將需修改或增加的程式儲存於 喊存取記憶體4 Q ’並_定位暫存器5 0及跳躍暫存哭6 〇 p容來設錄式魏ϋ2(),俾使巾域科元iq可使職 機存取記憶體4◦内所儲存之資料或程式,而當需要修改積體電 略U C )内之程式峨棒就不需更換整個频電路(、i c ) 内的唯讀記憶體3 0 ’以減少更換成本,且可方便薇商擴充積體 9 1259973 9& 3. r0 / 電路(I C)内可記錄或執行的程式,使只有相差歸程式的電 子產品可使朗-個積體電路(Ic),並且獨大量使用造價 相對昂貴的隨機存取記憶體4 0來儲存所有的程式,只須儲存欲 改正的程式即可。 上述詳細說明為針對本發明一種較佳之可行實施例說明而已 ’惟該實施例並_以限定本發明之申請專利細,凡其它未脫 離本發明所揭示之技藝精神下所完成之均等變化與修飾變更,均 應包含於本發明所涵蓋之專利範圍中。 綜上所述,本發明之内含中央處理單元之可擴充積體電路( I c)及方法於使用時具有顯著之功效增進,誠符合新穎性、發 明性及進步性之專利要件,爰依法提出申請,盼審委早日賜准 本案,以保障發明人之辛苦發明,倘若鈞局有任何稽疑,請不 吝來函指示,發明人定當竭力配合,實感德便。 1259973 【圖式簡單說明】 第一圖係為本發明之方塊圖。 第二圖係為本發明之動作流程圖。 【主要元件符號說明】 10、中央處理單元 2 0、程式計數器 3 0、唯讀記憶體 4 0、隨機存取記憶體 5 0、定位暫存器 6 0、跳躍暫存器 111259973 ^22 The content of Q is the same, and the valley of the program counter 2 will be transmitted to the Qing Dynasty, and will be sent to the library by the internal order of the order, for the central office; take. 2, the program or data written in the random access memory 4 或 or by the versatile sequence, and written in the random · 'drink only... 己 体 memory 30 stored in the data. The stored program _, ~, U will be changed by === access to the program within _4 _ no or the data is OK / I, ,). Automatically patch or detect redundant data. In addition, the read-only memory 3 provided in the present invention may be a mask-type read-only memory = Sk R〇M) or a programmable read-only memory (PR0M). Therefore, the scalable integrated circuit (jc) including the central processing unit of the present invention, the key to improving the conventional technology is to use the random access memory 4 provided in the integrated circuit (ic). 'And you can save the program to be modified or added at any time in the call memory 4 Q 'and _ positioning register 5 0 and jump temporary cry 6 〇p capacity to set up Wei Wei 2 (), make towel The domain iq allows the job to access the data or program stored in the memory 4, and when it is necessary to modify the program in the integrated system, it does not need to replace the entire frequency circuit (, ic). Read-only memory 3 0 ' to reduce the cost of replacement, and it is convenient for Weishang to expand the program that can be recorded or executed in the built-in 9 1259973 9& 3. r0 / circuit (IC), so that only electronic products with phase difference can be used. Long-integrated circuit (Ic), and use a relatively expensive random access memory 40 to store all programs, just store the program to be corrected. The detailed description of the present invention has been described in terms of a preferred embodiment of the present invention, and the invention is intended to be limited to the scope of the invention. Changes are intended to be included in the scope of the patents covered by the present invention. In summary, the expandable integrated circuit (IC) and method of the present invention including the central processing unit have significant power enhancement in use, and are in line with the novelty, inventiveness and progressive patent requirements. To file an application, I hope that the trial committee will grant the case as soon as possible to protect the inventor's hard work. If there is any doubt in the bureau, please do not hesitate to give instructions, the inventor will try his best to cooperate with him. 1259973 [Simple description of the drawings] The first figure is a block diagram of the present invention. The second figure is a flow chart of the action of the present invention. [Description of main component symbols] 10. Central processing unit 2 0, program counter 3 0, read-only memory 4 0, random access memory 5 0, positioning register 6 0, skip register 11