JPH05151369A - Integrated circuit - Google Patents
Integrated circuitInfo
- Publication number
- JPH05151369A JPH05151369A JP3045331A JP4533191A JPH05151369A JP H05151369 A JPH05151369 A JP H05151369A JP 3045331 A JP3045331 A JP 3045331A JP 4533191 A JP4533191 A JP 4533191A JP H05151369 A JPH05151369 A JP H05151369A
- Authority
- JP
- Japan
- Prior art keywords
- program
- external storage
- built
- high speed
- instruction code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Landscapes
- Microcomputers (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明はマイクロ命令を特に高速
で実行することを目的とする集積回路に関するものであ
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an integrated circuit intended to execute microinstructions at a particularly high speed.
【0002】[0002]
【従来の技術】従来のワンチップマイクロコンピュータ
は命令コードを内蔵のROMに格納、または外部に接続
したメモリに格納し、これを実行していた。ワンチップ
マイクロコンピュータ内部にRAMを内蔵するものもあ
ったが、そのRAMの使用目的はワークデータの格納や
プログラムのキャッシュメモリであった。2. Description of the Related Art A conventional one-chip microcomputer stores an instruction code in a built-in ROM or an externally connected memory and executes it. Some of the one-chip microcomputers have a built-in RAM, but the purpose of the RAM was to store work data and cache memory of programs.
【0003】ワンチップマイクロコンピュータ外部に接
続したメモリに格納されている命令をワンチップマイク
ロコンピュータが実行する場合、その実行速度は外部メ
モリのアクセス速度に依存していた。ワンチッピマイク
ロコンピュータにキャッシュメモリとしてRAMを内蔵
する場合、その制御回路が複雑になるため、レイアウト
面からの制約によりその実現は難しかった。When a one-chip microcomputer executes an instruction stored in a memory connected to the outside of the one-chip microcomputer, its execution speed depends on the access speed of the external memory. When a RAM is built in the one-chip microcomputer as a cache memory, its control circuit becomes complicated, and it is difficult to realize it due to restrictions in terms of layout.
【0004】[0004]
【発明が解決しようとする課題】従来は、ワンチップマ
イクロコンピュータのプログラムは内蔵ROMや外部に
接続されたメモリにあり、内蔵ROMに格納されたプロ
グラムは高速に実行できるが、プログラムの修正・変更
ができない。また、外部メモリに格納されたプログラム
は修正・変更が容易であるが、配線容量やメモリやワン
チップマイクロコンピュータ内のバッド等による信号遅
延のため、プログラムの高速な実行ができないという問
題があった。また、キャシュメモリをワンチップマイク
ロコンピュータに内蔵すると、プログラムの高速実行は
可能になるがチップ面積が大きくなるという問題があっ
た。Conventionally, a program of a one-chip microcomputer is stored in a built-in ROM or an externally connected memory, and the program stored in the built-in ROM can be executed at high speed, but the program is modified or changed. I can't. Further, although the program stored in the external memory can be easily modified and changed, there is a problem that the program cannot be executed at high speed due to the signal delay due to the wiring capacity and the bad in the memory and the one-chip microcomputer. .. Further, if the cache memory is built in the one-chip microcomputer, the program can be executed at high speed, but the chip area becomes large.
【0005】[0005]
【課題を解決するための手段】本発明は上記課題を解決
するものであって、マイクロ命令を実行するプロセッサ
と、外部記憶装置からの命令コードを転送するプログラ
ムを格納したROMと、前記外部記憶装置から転送され
た命令コードを格納するRAMと、前記外部記憶装置と
のインターフェースとを含んで構成される集積回路であ
る。SUMMARY OF THE INVENTION The present invention is to solve the above-mentioned problems and comprises a processor for executing microinstructions, a ROM storing a program for transferring an instruction code from an external storage device, and the external storage. It is an integrated circuit configured to include a RAM that stores an instruction code transferred from a device and an interface with the external storage device.
【0006】[0006]
【作用】プロセッサがマイクロ命令を実行するためのプ
ログラムは集積回路外部の記憶装置に格納されており、
集積回路に内蔵するROMに格納された命令コード転送
プログラムにより内蔵するRAMに転送される。マイク
ロ命令はRAMに転送された命令コードに従って実行さ
れる。また、集積回路はインターフェースを内蔵するこ
とにより、外部記憶装置との接続を容易にしている。The program for the processor to execute the microinstruction is stored in the storage device outside the integrated circuit,
It is transferred to the built-in RAM by the instruction code transfer program stored in the ROM built in the integrated circuit. The micro instruction is executed according to the instruction code transferred to the RAM. Further, the integrated circuit incorporates an interface to facilitate connection with an external storage device.
【0007】[0007]
【実施例】図1に本発明による最小構成の集積回路を示
す。集積回路1のプロセッサ11は外部記憶装置2に格
納したプログラム21を実行する前に、内蔵ROM13
に格納した命令コード転送プログラム131を実行し、
プログラム21を内蔵高速RAM14に転送する。転送
終了後、プロセッサ11は内蔵高速RAM14上のプロ
グラムを実行する。外部記憶装置2から内蔵高速RAM
14へのプログラムの転送は多少時間を要するが、その
後のプログラム実行時間が短縮されるため全体として実
行時間は短縮される。特にプログラム21中でループの
実行が多数ある場合この短縮の効果は顕著である。DESCRIPTION OF THE PREFERRED EMBODIMENT FIG. 1 shows an integrated circuit of the minimum structure according to the present invention. Before executing the program 21 stored in the external storage device 2, the processor 11 of the integrated circuit 1 has a built-in ROM 13
Executing the instruction code transfer program 131 stored in
The program 21 is transferred to the built-in high-speed RAM 14. After the transfer is completed, the processor 11 executes the program on the built-in high-speed RAM 14. External storage device 2 to built-in high-speed RAM
The transfer of the program to 14 takes some time, but since the program execution time after that is shortened, the execution time is shortened as a whole. In particular, when there are many loops in the program 21, this shortening effect is remarkable.
【0008】図1において、集積回路1の内部データバ
ス15と外部データバス3のバス幅が異なる場合外部メ
モリ2から命令コードを読み出す時データ変換時間が必
要になる。プログラム21を外部記憶装置2から直接読
み出してプロセッサ11が実行する場合、外部記憶装置
2のアクセス時間と外部記憶インターフェース12によ
りデータ変換時間がプログラム21の実行時間に大きな
影響を与える。In FIG. 1, when the internal data bus 15 of the integrated circuit 1 and the external data bus 3 have different bus widths, a data conversion time is required when reading an instruction code from the external memory 2. When the program 21 is directly read from the external storage device 2 and executed by the processor 11, the access time of the external storage device 2 and the data conversion time by the external storage interface 12 have a great influence on the execution time of the program 21.
【0009】一方、プログラム21を外部記憶インター
フェース12のデータ交換機能を使用し、内蔵高速RA
M14上に展開した後プログラム21を実行した場合、
プログラム21を内蔵高速RAM14上に展開する時間
は外部記憶2のアクセス時間とデータ交換時間の影響を
受けるが、内蔵高速RAM14上に展開されたプログラ
ム21の実行時間は内蔵高速RAM14のアクセス時間
に依存し、データ変換時間や外部記憶アクセス時間には
依存しない。また、プログラム21の命令コードを圧縮
して外部メモリ2に格納し、外部メモリインターフェー
ス12で命令コードの伸長処理を行なう機能を外部記憶
インターフェース12に内蔵すると外部記憶装置2での
占有記憶容量を減らすことができる。On the other hand, the program 21 uses the data exchange function of the external storage interface 12 and uses the built-in high-speed RA.
When the program 21 is executed after expanding on M14,
The time for developing the program 21 on the internal high-speed RAM 14 is affected by the access time of the external storage 2 and the data exchange time, but the execution time of the program 21 expanded on the internal high-speed RAM 14 depends on the access time of the internal high-speed RAM 14. However, it does not depend on the data conversion time or the external storage access time. Further, if the function of compressing the instruction code of the program 21 and storing it in the external memory 2 and the function of decompressing the instruction code in the external memory interface 12 is built into the external storage interface 12, the occupied storage capacity in the external storage device 2 is reduced. be able to.
【0010】図2は、集積回路1にDMA(direc
t memory access)コントローラが内蔵
されている場合の実施例を示す。命令コード転送プログ
ラム131には、DMAコントローラ16の制御プログ
ラムが含まれている。プログラム21の実行前にプロセ
ッサ11はDMAコントローラ16を制御し、外部記憶
装置2上のプログラム21を外部記憶インターフェース
12を経由して内蔵高速RAM14上に転送する。外部
記憶インターフェース12は必要に応じてデータの交換
を行なう。FIG. 2 shows that the integrated circuit 1 has a DMA (direc)
An example of a case in which a t memory access controller is built in will be described. The instruction code transfer program 131 includes a control program for the DMA controller 16. Before executing the program 21, the processor 11 controls the DMA controller 16 to transfer the program 21 on the external storage device 2 to the built-in high-speed RAM 14 via the external storage interface 12. The external storage interface 12 exchanges data as necessary.
【0011】プログラム21を内蔵高速RAM14上に
転送した後、プロセッサ11は内蔵高速RAM14上の
プログラム21を実行する。図2の実施例ではプログラ
ム21の転送がDMAコントローラ16により行なわれ
るため、図1の実施例と比較して、プログラム21の転
送時間が大幅に短縮される。After transferring the program 21 to the internal high-speed RAM 14, the processor 11 executes the program 21 on the internal high-speed RAM 14. In the embodiment of FIG. 2, the transfer of the program 21 is performed by the DMA controller 16, so that the transfer time of the program 21 is significantly shortened as compared with the embodiment of FIG.
【0012】[0012]
【発明の効果】以上説明したように本発明によれば、プ
ログラムの高速実行とプログラムの変更容易性および簡
単な回路構成を特徴とするワンチップマイクロコンピュ
ータが設計できる。As described above, according to the present invention, it is possible to design a one-chip microcomputer characterized by high-speed execution of a program, easiness of changing the program, and a simple circuit configuration.
【図1】本発明の実施例を示す構成図FIG. 1 is a configuration diagram showing an embodiment of the present invention.
【図2】本発明の他の実施例を示す構成図FIG. 2 is a configuration diagram showing another embodiment of the present invention.
Claims (1)
外部記憶装置からの命令コードを転送するプログラムを
格納したROMと、前記外部記憶装置から転送された命
令コードを格納するRAMと、前記外部記憶装置とのイ
ンターフェースとを含んで構成されることを特徴とする
集積回路。1. A processor for executing microinstructions,
A ROM storing a program for transferring an instruction code from an external storage device, a RAM storing the instruction code transferred from the external storage device, and an interface with the external storage device. Integrated circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3045331A JPH05151369A (en) | 1991-02-19 | 1991-02-19 | Integrated circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3045331A JPH05151369A (en) | 1991-02-19 | 1991-02-19 | Integrated circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05151369A true JPH05151369A (en) | 1993-06-18 |
Family
ID=12716331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3045331A Withdrawn JPH05151369A (en) | 1991-02-19 | 1991-02-19 | Integrated circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05151369A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100482998B1 (en) * | 2002-08-30 | 2005-04-15 | 주식회사 하이닉스반도체 | Device for controlling of non-volatile ferroelectric memory |
JP2008117108A (en) * | 2006-11-02 | 2008-05-22 | Renesas Technology Corp | Semiconductor integrated circuit device |
-
1991
- 1991-02-19 JP JP3045331A patent/JPH05151369A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100482998B1 (en) * | 2002-08-30 | 2005-04-15 | 주식회사 하이닉스반도체 | Device for controlling of non-volatile ferroelectric memory |
JP2008117108A (en) * | 2006-11-02 | 2008-05-22 | Renesas Technology Corp | Semiconductor integrated circuit device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3896372B2 (en) | Data processing system | |
US5678021A (en) | Apparatus and method for a memory unit with a processor integrated therein | |
US6000027A (en) | Method and apparatus for improved graphics/image processing using a processor and a memory | |
JP4226085B2 (en) | Microprocessor and multiprocessor system | |
JPH0696008A (en) | Information processor | |
JPS5835295B2 (en) | Data transfer method in master-slave system | |
JPH05151369A (en) | Integrated circuit | |
JPS6319058A (en) | Memory device | |
JP2004192051A (en) | Shared terminal controller | |
JPS59206970A (en) | Microprocessor | |
JPH01261758A (en) | Computer system | |
JPS58158759A (en) | Information processing device | |
JPH0616303B2 (en) | General-purpose high-speed processor | |
JP2001273014A (en) | Programmable controller | |
JP3006487B2 (en) | Emulation device | |
JPH0333934A (en) | Register saving/recovering system | |
JPS6148746B2 (en) | ||
JPH02252024A (en) | Microprogram loading system | |
JPH03127162A (en) | Access method for shared memory of cpu | |
JPH11212945A (en) | Microcomputer and it memory | |
JP2002049607A (en) | Microcomputer with built-in cache | |
JPS63238645A (en) | Data processor | |
JPH0310977B2 (en) | ||
JP2001100991A (en) | Digital signal processor | |
JPH06110822A (en) | Dma controller for information processor and data control method using the same controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19980514 |