JPS63257044A - Programmable memory mapping system - Google Patents
Programmable memory mapping systemInfo
- Publication number
- JPS63257044A JPS63257044A JP9171487A JP9171487A JPS63257044A JP S63257044 A JPS63257044 A JP S63257044A JP 9171487 A JP9171487 A JP 9171487A JP 9171487 A JP9171487 A JP 9171487A JP S63257044 A JPS63257044 A JP S63257044A
- Authority
- JP
- Japan
- Prior art keywords
- programmable
- memory mapping
- ram
- data
- program
- 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.)
- Pending
Links
- 238000013507 mapping Methods 0.000 title claims abstract description 27
- 238000000034 method Methods 0.000 claims description 6
- RRLHMJHRFMHVNM-BQVXCWBNSA-N [(2s,3r,6r)-6-[5-[5-hydroxy-3-(4-hydroxyphenyl)-4-oxochromen-7-yl]oxypentoxy]-2-methyl-3,6-dihydro-2h-pyran-3-yl] acetate Chemical compound C1=C[C@@H](OC(C)=O)[C@H](C)O[C@H]1OCCCCCOC1=CC(O)=C2C(=O)C(C=3C=CC(O)=CC=3)=COC2=C1 RRLHMJHRFMHVNM-BQVXCWBNSA-N 0.000 abstract description 7
- 230000002093 peripheral effect Effects 0.000 abstract description 4
- 101100524639 Toxoplasma gondii ROM3 gene Proteins 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 4
- 101100328887 Caenorhabditis elegans col-34 gene Proteins 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明はマイクロプロセサを有する処理回路のハードウ
ェアに関し、特にメモリのマツピング方式に関する。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to hardware of a processing circuit having a microprocessor, and particularly to a memory mapping method.
(従来の技術)
従来、この種のマイクロプロセサを有する処理回路にお
いて、メモリのマツピングはデコード機能を有する小規
模集積回路(SSI)、または中規模集積回路(MSI
)を使用し、ハードウェア的に固定されていた。(Prior Art) Conventionally, in a processing circuit having this type of microprocessor, memory mapping is performed using a small scale integrated circuit (SSI) having a decoding function or a medium scale integrated circuit (MSI) having a decoding function.
) and was fixed hardware-wise.
(発明が解決しようとする問題点)
上述した従来のメモリマツピング方式では、メモリの割
付けがハードウェアで決められてしまうので9周辺素子
のメモリ割付けをソフトウェアで変更できないという第
1の欠点がある。(Problems to be Solved by the Invention) The first drawback of the conventional memory mapping method described above is that the memory allocation of the nine peripheral elements cannot be changed by software because the memory allocation is determined by hardware. .
また、デコード素子はアドレス空間の分割のみに使用さ
れるので、バンク切替えを必要とする場合にはバンク切
替えを行うだめのハードウェアが別途、必要になるとい
う第2の欠点がある。Furthermore, since the decoding element is used only for dividing the address space, there is a second drawback that if bank switching is required, additional hardware is required to perform bank switching.
本発明の目的は、マイクロプロセサを有する処理回路の
メモリマツピングをプログラムでRAMにより行い、上
記RAMのI10端子をデータバスか、あるい扛周辺素
子に切替えることによって上記欠点を除去し、簡易なハ
ードウェアでメモリ割付けを容易に変更できるように構
成したプログラマブルメモリマツピング方式を提供する
ことにある。An object of the present invention is to perform memory mapping of a processing circuit having a microprocessor using a RAM using a program, and to eliminate the above-mentioned drawbacks by switching the I10 terminal of the RAM to a data bus or a peripheral element. An object of the present invention is to provide a programmable memory mapping system configured so that memory allocation can be easily changed using hardware.
(問題点を解決するための手段)
本発明によるプログラマブルメモリマツピング方式はプ
ログラマブルデコードRAMと、制御手段とを具備して
構成したものである。(Means for Solving the Problems) The programmable memory mapping system according to the present invention includes a programmable decoding RAM and a control means.
プログラマブルデコードRAMは、メモリマツピングを
するためのものである。The programmable decode RAM is for memory mapping.
制御手段は、プログラマブルデコードRAMの書込みデ
ータを必要に応じて書替え、所望のアドレス空間のメモ
リマツピングをソフトウェアで制御するためのものであ
る。The control means is for rewriting the write data of the programmable decoding RAM as necessary and controlling memory mapping of a desired address space by software.
(実施例) 次に2本発明について図面を参照して説明する。(Example) Next, two aspects of the present invention will be explained with reference to the drawings.
第1図は1本発明によるプログラマブルメモリマツピン
グ方式を実現する一実施例を示すブロック図である。第
1図において、1はCPU、2はデコーダ、3aROM
、4はRAM、5はプログラマブルデコードRAM、6
はバス切替え素子。FIG. 1 is a block diagram showing an embodiment of the programmable memory mapping method according to the present invention. In Figure 1, 1 is a CPU, 2 is a decoder, and 3aROM
, 4 is RAM, 5 is programmable decode RAM, 6
is a bus switching element.
7はチップセレクタ、8はC8反転素子、9はデータバ
ス、10はアドレスバス、11は読出し信号線、12は
書込み信号線、13はチップセレクト信号線、14はデ
コード信号線、15は拡張端子である。7 is a chip selector, 8 is a C8 inversion element, 9 is a data bus, 10 is an address bus, 11 is a read signal line, 12 is a write signal line, 13 is a chip select signal line, 14 is a decode signal line, 15 is an expansion terminal It is.
CPUIUアドレスバス10.f−タバス9゜およびデ
コーダ2を介してプログラムを格納して6るROM3.
データのバッファとして使用されるRAM4.およびプ
ログラマブルデコードRAM5に接続はれている。読出
し信号&+11.書込み信号線12.およびデコード信
号線14は必要に応じてROM3.RAM4.およびプ
ログラマブルデコードRAM5に接続される。CPUIU address bus10. A ROM 3.6 stores programs via the f-tabus 9° and the decoder 2.
RAM4 used as a data buffer. and a programmable decode RAM 5. Read signal &+11. Write signal line 12. And the decode signal line 14 is connected to the ROM3. RAM4. and a programmable decode RAM 5.
バス切替え素子6は、プログラマブルデコードRAM5
にデータが書込せれるときに限ってアクティブとなる。The bus switching element 6 is a programmable decode RAM 5
It becomes active only when data is written to it.
また、チップセレクタ7は、プログラマブルマツピング
空間が選択されたときにイネーブルとなシ、チップセレ
クト信号11J(C8I〜CSS )が有効となる。拡
張端子15は、所望のデバイスに接続可能となっている
。Further, the chip selector 7 is enabled when the programmable mapping space is selected, and the chip select signal 11J (C8I to CSS) becomes valid. The expansion terminal 15 can be connected to a desired device.
第2図は、第1図のメモリマツピングの実例を示す説明
図である。FIG. 2 is an explanatory diagram showing an example of the memory mapping shown in FIG. 1.
次に、第1図および第2図を参照して動作を説明する。Next, the operation will be explained with reference to FIGS. 1 and 2.
第1図のデコーダ2によって、第2図に示すようなメモ
リ割付けがされている。第1図において。The memory allocation shown in FIG. 2 is performed by the decoder 2 of FIG. 1. In FIG.
ROM3に格納されているプログラムの実行が開始され
ると、まずプログラマブルマツピング空間にあるC8I
〜C88が次の順で設定される。When the execution of the program stored in ROM3 starts, first the C8I in the programmable mapping space is
-C88 are set in the following order.
第1に、プログラマブルデコードRAM5の空間800
0H〜BFFFHが選択される。これにヨシハス切替え
素子6はアクティブになシ、チップセレクタ7はノンア
クティブになる。第2に。First, space 800 of programmable decode RAM 5
0H to BFFFH are selected. In response to this, the Yoshihas switching element 6 becomes active and the chip selector 7 becomes non-active. Second.
あらかじめ用意されていた信号線13上のチップセレク
トがセレクト状態になり、マツピングすべきデータが書
込壕れる。第3に、プログラマブルマツピング空間CO
00H−FFFFHが選択されれば、バス切替え素子6
はノンアクティブになり、チップセレクタTはアクティ
ブになる。この状態で、書込まれたデータに対応するチ
ップセレクト(cs)が選択される。The chip select on the signal line 13 prepared in advance becomes a selected state, and the data to be mapped is written. Third, programmable mapping space CO
If 00H-FFFFH is selected, bus switching element 6
becomes non-active, and chip selector T becomes active. In this state, the chip select (cs) corresponding to the written data is selected.
また、メモリマツピングを変更する場合には。Also, when changing memory mapping.
上述した方法と同様にして、ソフトウェアでメモリマツ
ピングを変更することが可能になる。In a similar manner to the method described above, it is possible to change memory mapping with software.
C8IとC82とに同じ械類の素子を接続しておけば、
C8Iの素子に異常が発生した場合にプログラマブルデ
コードRAM5のデータを書替えることによ#)、C8
1とC82とを同じアドレス空間に配置し直すことが可
能になる。If you connect the same mechanical elements to C8I and C82,
By rewriting the data in programmable decode RAM 5 when an abnormality occurs in the C8I element, C8
1 and C82 can be relocated to the same address space.
また、プログラマブルマツピングエリアでバンク切替え
を実施する場合には、パンク切替え用のハードウェアを
追加しなくてもソフトウェアで対応できる。Furthermore, when implementing bank switching in the programmable mapping area, it can be handled by software without adding hardware for puncture switching.
(発明の効果)
以上説明したように本発明は、マイクロプロセサを有す
る処理回路のメモリマツピングをプログラムでRAMに
よシ行い、上記RAMのI10端子をデータバスか、あ
るいは周辺素子に切替えることにより、プログラム実行
時にアドレスマツプを変更できるという効果がある。(Effects of the Invention) As explained above, the present invention performs memory mapping of a processing circuit having a microprocessor in a RAM using a program, and by switching the I10 terminal of the RAM to a data bus or a peripheral element. This has the advantage that the address map can be changed during program execution.
また、異なったC8端子に同じ種類の素子を接続してお
けば、一つの端子に異常が発生した場合にプログラマブ
ルデコードRAMのデータを書替えてアドレス空間を配
置しなおすことができるという効果がある。Furthermore, by connecting the same type of elements to different C8 terminals, there is an effect that if an abnormality occurs in one terminal, the data in the programmable decode RAM can be rewritten and the address space can be rearranged.
サラニ、プログラマブルマツピングエリアでバンク切替
えを実施する場合には、バンク切替え用のハードウェア
を追加しなくてもソフトウェアで対応できるという効果
がある。When performing bank switching in a programmable mapping area, there is an advantage that it can be handled by software without adding hardware for bank switching.
第1図は2本発明によるプログラマブルメモリマツピン
グ方式を実現する一実施例を示すブロック図である。
第2図は、第1図のメモリマツピングの実例を示す説明
図である。
1・・・CPU
2・・・デコーダ
3・・・ROM
4・・・RAM
5・・・プログラマブルデコードRAM6・・・パス切
替え素子
7・・・チップセレクタ
8・・・C8反転素子
9.10・・・バス
11〜14・・・信号線
15・・・端子FIG. 1 is a block diagram showing an embodiment of the programmable memory mapping method according to the present invention. FIG. 2 is an explanatory diagram showing an example of the memory mapping shown in FIG. 1. 1... CPU 2... Decoder 3... ROM 4... RAM 5... Programmable decode RAM 6... Pass switching element 7... Chip selector 8... C8 inversion element 9.10. ...Bus 11-14...Signal line 15...Terminal
Claims (1)
RAMと、前記プログラマブルデコードRAMの書込み
データを必要に応じて書替え、所望のアドレス空間のメ
モリマッピングをソフトウェアで制御するための制御手
段とを具備して構成したことを特徴とするプログラマブ
ルメモリマッピング方式。A programmable decode RAM for memory mapping, and a control means for rewriting the write data of the programmable decode RAM as necessary and controlling memory mapping of a desired address space by software. Features a programmable memory mapping method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9171487A JPS63257044A (en) | 1987-04-14 | 1987-04-14 | Programmable memory mapping system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9171487A JPS63257044A (en) | 1987-04-14 | 1987-04-14 | Programmable memory mapping system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63257044A true JPS63257044A (en) | 1988-10-24 |
Family
ID=14034181
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9171487A Pending JPS63257044A (en) | 1987-04-14 | 1987-04-14 | Programmable memory mapping system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63257044A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0520180A (en) * | 1991-07-16 | 1993-01-29 | Matsushita Electric Ind Co Ltd | Image memory device |
-
1987
- 1987-04-14 JP JP9171487A patent/JPS63257044A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0520180A (en) * | 1991-07-16 | 1993-01-29 | Matsushita Electric Ind Co Ltd | Image memory device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH03252993A (en) | Information writing device for e2prom | |
JPS63257044A (en) | Programmable memory mapping system | |
JPS63266698A (en) | Microcomputer | |
JPS6330658B2 (en) | ||
JPH0227596A (en) | Semiconductor memory | |
JPH04237346A (en) | Microprocessor system | |
JPH10312307A (en) | Emulator for computer system | |
JPH01219930A (en) | Interrupt control circuit device for indirect address system | |
JPS63249207A (en) | Programmable controller | |
JPS6121541A (en) | Storage circuit | |
JPH04262449A (en) | Data transfer system | |
JPS61157941A (en) | Transfer address controller | |
JPH03116194A (en) | Display controller | |
JPH03219342A (en) | Programmable address conversion system | |
JPH02206095A (en) | Input/output circuit | |
JPH0261749A (en) | Data transfer device | |
JPS60241144A (en) | Memory block selection circuit | |
JPH0540685A (en) | Address decoder | |
JPS63148305A (en) | Quick arithmetic processing system for programmable sequence controller | |
JPH03118648A (en) | Effective application method of memory area for cpu control | |
JPS63317857A (en) | Memory access circuit | |
JPS63195749A (en) | Control system for selection signal of read-only memory | |
JPS63300288A (en) | Attribute control system | |
JPH0315948A (en) | Address bus test system | |
JPH011032A (en) | microcomputer circuit |