JPS58114258A - Data processor - Google Patents

Data processor

Info

Publication number
JPS58114258A
JPS58114258A JP21100181A JP21100181A JPS58114258A JP S58114258 A JPS58114258 A JP S58114258A JP 21100181 A JP21100181 A JP 21100181A JP 21100181 A JP21100181 A JP 21100181A JP S58114258 A JPS58114258 A JP S58114258A
Authority
JP
Japan
Prior art keywords
register
read
external storage
processing device
registers
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
Application number
JP21100181A
Other languages
Japanese (ja)
Inventor
Kazuyoshi Wakatsuki
若月 和義
Kazutoshi Katayama
片山 一敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panafacom Ltd
Original Assignee
Panafacom 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 Panafacom Ltd filed Critical Panafacom Ltd
Priority to JP21100181A priority Critical patent/JPS58114258A/en
Publication of JPS58114258A publication Critical patent/JPS58114258A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the amount of hardware, by making an arrangement that the contents of an external storage means which can write but cannot read out, can be read out from another external storage means which can write and read out. CONSTITUTION:When a microprocessor MPU10 accesses RAMs 11 and 12 or read-only registes 15-1-15-2, the contents of the registers 15-1-15-2 are sent to the MPU10 by the selecting operation of a multiplexer MPX16. When a writing operation is performed in write-only registers 13-1-13-2, an address value is sent from the MPU10. Therefore, the writing data from the MPU10 is written in an assigned register of the registers 13-1-13-2 and, at the same time, the data is also written in an assigned address position in an register area 18 of the RAM12. Accordingly, when the MPU10 reads the write-only registers 13-1-13-2, data of the same contents are obtained by performing the read-out access to the register area 18 of the RAM12.

Description

【発明の詳細な説明】 (1)  発明の技術分野 本発1I11はデータ処塩装置K関し、特に、処理装置
と、線処理装置からの書込みと読出しが共に可能な外部
記憶手段と、皺処m装置からの書込みのみ可能で読出し
が不可能な他の外部記憶手段とを含むデータ処理装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention 1I11 relates to a data processing device K, in particular, a processing device, an external storage means capable of both writing and reading from a line processing device, and a wrinkle processing device. The present invention relates to a data processing device including other external storage means that can only be written to and cannot be read from an m device.

(2)技術の背景 本発明はそれに限られるものではないが、例えば、処理
装置としてマイクロプロセッサを使用してデータ処理装
置を構成する場合、経済化の点でハードウェア量を減ら
すことが重要な課題とされている。マイクロプロセッサ
は、通常、周囲の論理回路とのインタフェースである外
部レジスタを使用して処理を進めてゆくようにしている
が、これらの外部レジスタは外部論理回路の蓋が多くな
る程、その数が増加してゆく。そして、マイクロプロセ
ッサからこれらの外部レジスタの内St読出すためのマ
ルチブレフサ手段もその規模が大きくなってゆく。
(2) Technical background Although the present invention is not limited thereto, for example, when configuring a data processing device using a microprocessor as the processing device, it is important to reduce the amount of hardware from the viewpoint of economicalization. This is considered an issue. Microprocessors normally use external registers, which are interfaces with surrounding logic circuits, to proceed with processing, but the number of these external registers increases as the number of external logic circuits increases. It continues to increase. The scale of the multi-register means for reading St out of these external registers from the microprocessor also increases.

(3)従来技術と間勉点 #!1図はマイクロプロセッサを使用したデータ処理装
置の一般的な構成例である。図中、IF1マイクロプロ
セッサMPU、2と3は読出し/書込み共に可能なラン
ダムアクセスメモリRAMであ912はプログラム領域
、3はデータ領域とされているもの、4t!レジスタA
、5は論理回路、6はレジスタB、7t;tマルチプレ
クサMPXである。
(3) Conventional technology and study point #! FIG. 1 shows a general configuration example of a data processing device using a microprocessor. In the figure, IF1 is a microprocessor MPU, 2 and 3 are random access memory RAMs that can be read/written, 912 is a program area, 3 is a data area, and 4t! Register A
, 5 is a logic circuit, 6 is a register B, and 7t; t multiplexer MPX.

第1図において、RAM2 、 RAM3 、  レジ
スタA4゜レジスタ86%は、マイクロプロセッサMP
UIの外部記憶手段として使用されるものであシ、特に
、RAM3 、  レジスタA4. レジスタB6%は
データ領域として扱われている。ここで、RAM3に関
しては、その容量がアドレス方向に増加してもマルチプ
レクサ7の構成に変化はないが、書込み/続出しレジス
タ(レジスタA4.  レジスタ領域等)に関しては、
その数が増加すればする程、マルチプレクサ7の規模が
大となシそのハードウェア量が増大することになる。そ
こで、マルチプレクサ7のハードウェア量を減らすため
に、図示レジスタA4’i書込み専用とする方法も考え
られるが、この場合、皺レジスタA4への蕾込み内容を
判別することができなくなるという不都合な点が生じる
。この点を解決する1つの方法として、マイクロプロセ
ラt1がレジスタA4にデータ′t111F込んだ後、
再ひ同一データを別のRAM3 % Kセーブしておく
方法が考えられるが、このようにするとマイクロプロセ
ッサ1の処理能力が低下するという欠点をもたらすこと
になる。
In FIG. 1, RAM2, RAM3, register A4゜register 86% are microprocessor MP
These are used as external storage means for the UI, especially RAM3, register A4. Register B6% is treated as a data area. Here, regarding the RAM 3, even if its capacity increases in the address direction, the configuration of the multiplexer 7 does not change, but regarding the write/continue register (register A4, register area, etc.),
As the number increases, the scale of the multiplexer 7 becomes larger and the amount of hardware thereof increases. Therefore, in order to reduce the amount of hardware in the multiplexer 7, it may be possible to dedicate it to writing to the illustrated register A4'i, but in this case, the disadvantage is that it becomes impossible to determine the content written to the wrinkle register A4. occurs. One way to solve this problem is to write data 't111F into register A4 after microprocessor t1 writes:
Although it is conceivable to save the same data in another RAM 3%, this method has the disadvantage that the processing capacity of the microprocessor 1 is reduced.

(4)発明の目的 本発明は上記問題点を解決し、マイクロプロセッサ等の
処理装置の処理能力を低下させることなく、ハードウェ
ア蓋の削減を計ることを可能にしたデータ処理装置を夾
現することを目的としている0 (5)発明の構成 上記目的を達成するために本発明は、処理装置と、該処
理装置からの書込みと続出しが共に可能な外部記憶手段
と、該処理装置から書込みのみ可能で読出しが不可能な
他の外部記憶手段とを含むデータ処理装置において、上
記書込みと読出しが共に可能な外部記憶手段のアドレス
の一部を上記畳込みのみ可能で読出しが不可能な他の外
部記憶手段のアドレスと一致させることによル、上記書
込みのみ可能で読出しが不可能な他の外部記憶手段の内
容を上記書込みと読出しが共に可能な外部記憶手段から
続出し可能にしたことを%黴とする。
(4) Purpose of the Invention The present invention solves the above problems and provides a data processing device that makes it possible to reduce the amount of hardware required without reducing the processing capacity of a processing device such as a microprocessor. (5) Structure of the Invention In order to achieve the above object, the present invention provides a processing device, an external storage means capable of both writing and data writing from the processing device, and In a data processing device that includes another external storage means that can only be written to and cannot be read, a part of the address of the external storage means that can be written to and read from cannot be read. By matching the address of the external storage means with the address of the external storage means, the contents of the other external storage means that can only be written to but cannot be read can be successively retrieved from the external storage means that can be written to and read from both. is % mold.

(6)発明の実施例 蕗2図は本梶明による実施例のデータ処理装置のブロッ
ク図であり、図中、10はマイクdプロセッサMPU、
lit′i読出し/書込み共に可能なランダムアクセス
メモリRAMであシブログラム領域を有するもの、12
は岡じ〈続出し/書込み共に可能なランダムアクセスメ
モリRAMであυレジスタ領域18とデータ領域192
に有するもの、13−1〜13−2は畳込み専用レジス
タ、14は論理回路、15−1〜15−2は読出し専用
レジスタ、16はマルチプレクサMPX、17はノくリ
ティチェッカである0 籐3図は実施例のデータ処理装置における外部記憶のア
ドレス構g(メモリマツプ)を示す図である0図から明
らかなようにアドレスCルアドレスDかプログラム領域
(ランダムアクセスメモリ11)に、アドレスθ〜(A
−1)の領域がRAM12のデータ領域に、アドレスA
〜アドレス(B−1)がRAM12のレジスタ領域18
およびレジスタAに共通に、アドレスB〜アドレス(C
−1)がレジスタBにそれぞれ割当てられている0実施
例の動作は以下の通りであるOマイクロプロセッサ10
からRAMIIにアクセスする場合、マイクロプロセッ
サlOからアドレスCルアドレスDの値が送出されアク
セスが行なわれる。また、マイクロプロセッサ10から
RAM12のデータ領域19にアクセスする場合、マイ
、クロプロセッサ10からアドレスθ〜(A−1)の値
が送出されアクセスが竹なわれる〇一方、レジスターへ
のアクセスに関しては、読出しのみ可能なレジスタ15
−1〜15−2へアクセス(絖出し動作)が行なわれる
場合、マイクロプロセッサ10からアドレスB〜アドレ
ス(C−1)の値が送出される0これによシ、マルチプ
レクサ16の選択動作によりレジスタ15−1〜15−
2のうちの所定のレジスタの内容がマイクロプロセッサ
10へ送出される。次に、資込み専用レジスタ13−1
〜13−2への書込み動作が行なわれる場合、マイクロ
グロセッサ10からアドレスA〜アドレス(B−1)の
値が送出される。これによ)、マイクロプロセッサ10
から送出される書込みデータは、レジスタ13−1〜1
3−2のうちの指定されたレジスタに書込まれる(セッ
トされる)とともに、RAM12のレジスタ領域18の
指定されたアドレス位tic41込まれる。
(6) Embodiment of the invention Fig. 2 is a block diagram of a data processing device according to an embodiment by Akira Motokaji, in which 10 is a microphone d processor MPU;
lit'i Random access memory RAM capable of both reading and writing and having a siprogram area, 12
It is a random access memory RAM that can be read/written continuously and has register area 18 and data area 192.
13-1 to 13-2 are convolution-only registers, 14 is a logic circuit, 15-1 to 15-2 are read-only registers, 16 is a multiplexer MPX, and 17 is a quality checker.0 Rattan 3 The figure is a diagram showing the address structure g (memory map) of external storage in the data processing device of the embodiment. As is clear from figure 0, addresses θ to (A
-1) area is in the data area of RAM12 at address A.
~ Address (B-1) is register area 18 of RAM 12
and register A in common from address B to address (C
-1) are respectively assigned to register B. The operation of the embodiment is as follows: O microprocessor 10
When accessing RAM II from the microprocessor IO, the value of the address D is sent from the microprocessor IO and the access is performed. Also, when the microprocessor 10 accesses the data area 19 of the RAM 12, the microprocessor 10 sends out the value of address θ~(A-1) and the access is delayed.On the other hand, when accessing the register, , read-only register 15
-1 to 15-2 are accessed (setting operation), the microprocessor 10 sends out the values of address B to address (C-1). 15-1 to 15-
The contents of a predetermined register among the two are sent to the microprocessor 10. Next, the capital dedicated register 13-1
When a write operation to 13-2 is performed, the values of addresses A to (B-1) are sent from the microgross processor 10. ), microprocessor 10
The write data sent from registers 13-1 to 1
It is written (set) into the designated register of 3-2, and is also written into the designated address position tic41 of the register area 18 of the RAM 12.

し九がって、!イクロプロセッサ10が書込み専用レジ
スタ13−1〜13−2の内容を読取シたいときには、
RAM12のレジスタ領塚18への読出しアクセスを行
なうことにより、該当レジスタの内容と同一の内容のデ
ータを得ることができる0 マイクロプロセッサを用いたデータ処理装置のプログラ
ムでは、周囲の論:ia[g回路を制御するためにセッ
ト・ビット(SETBIT)命令やリセット・ピッ) 
(RESET BIT )命令t−頻繁に用いる。
Shut up! When the microprocessor 10 wants to read the contents of the write-only registers 13-1 to 13-2,
By performing a read access to the register area 18 of the RAM 12, it is possible to obtain data with the same contents as the contents of the corresponding register. set bit (SETBIT) command or reset pin) to control
(RESET BIT) Instruction t - Frequently used.

これらの命令はレジスタの内容を読出してマイクロプロ
セッサで演算を行ない、肖びレジスタに畳込む命令であ
るが、これらの命令を速く実行するためにはレジスタの
内容を速く読出すことが必要である。本発明によれば、
これらの命令処理の性能を落すことはない。また、通常
、外部レジスタニハハリティを付加せず、ランダムアク
セスメモリRAMやリード・オンリ・メモリROMには
パリティを付加しているため、パリティチェックを行な
うか否かという判断が必要とされているが、本発明によ
れば、RAMのデータ読出し時に常にパリティチェック
を行なうので、レジスタ13−1〜13−2に対する読
出しア4クセスにおいては、RAMかレジスタかという
判断が不要となシバ−ドウエアが簡略化されるという利
点が得られる。
These instructions read the contents of a register, perform arithmetic operations on the microprocessor, and fold it into the corresponding register, but in order to execute these instructions quickly, it is necessary to read the contents of the register quickly. . According to the invention,
The performance of processing these instructions will not be degraded. Furthermore, since parity is usually added to random access memory RAM and read-only memory ROM without adding parity to external registers, it is necessary to judge whether or not to perform a parity check. However, according to the present invention, a parity check is always performed when reading data from RAM, so that when reading access to registers 13-1 to 13-2, there is no need to judge whether it is a RAM or a register. The advantage is that it is simplified.

上記実施例は、処理装置としてマイクロプロセッサを使
用しているが、本発明社マイクロプロセッサを使用した
データ処理装置に限定されるものではなく、他の各撫プ
ロ七ツサに適用可能なことは明白である。
Although the above embodiment uses a microprocessor as the processing device, it is not limited to the data processing device using the microprocessor of the present invention, and it is obvious that it can be applied to any other Natsupro Nanatsusa. It is.

(7)発明の効果 本発明によれば、処理装置の性能を低下させることなく
、その周囲のハードウェア量を削減することができ、コ
ストダウンが計れるという利点を持っている。
(7) Effects of the Invention According to the present invention, the amount of hardware surrounding the processing device can be reduced without deteriorating the performance of the processing device, and the cost can be reduced.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図Fiiイクロプロセッサを使用したデータ処理装
置の一般的な構成例、第2図は本発明による実施例のデ
ータ処理装置のブロック図、第3図は実施例におけるメ
モリマツプを示す図である。 第2図において、10F1マイクロプロセツサ、11と
12F1ランダムアクセスメモリ、13−1〜13−2
は書込み専用レジスタ、15−1〜15−2は読出し専
用レジスタ、16はマルチプレクサである。
FIG. 1 is a general configuration example of a data processing device using a Fii microprocessor, FIG. 2 is a block diagram of a data processing device according to an embodiment of the present invention, and FIG. 3 is a diagram showing a memory map in the embodiment. In FIG. 2, 10F1 microprocessor, 11 and 12F1 random access memory, 13-1 to 13-2
is a write-only register, 15-1 to 15-2 are read-only registers, and 16 is a multiplexer.

Claims (1)

【特許請求の範囲】[Claims] 処m装置と、該処理装置からの書込みと読出しが共に可
能な外部記憶手段と、線処理装置から簀込みのみ可能で
続出しが不可能な他の外部記憶手段とを含むデータ処理
装置において、上記書込みと読出しが共に可能な外部記
憶手段のアドレスの一部を上記書込みのみ可能で耽出し
が不可能な他の外部記憶手段のアドレスと一致させるこ
とによプ、上記書込みのみ可能で耽出しが不可能な他の
外部記憶手段の内容を上記書込みと読出しが共に可能な
外部記憶手段から耽出し可能にしたことを特徴とするデ
ータ処IMl装置。
In a data processing device, the data processing device includes a processing device, an external storage device capable of both writing and reading from the processing device, and another external storage device that can only be stored and cannot be read from the line processing device, By making a part of the address of the external storage means capable of both writing and reading coincide with the address of the other external storage means capable of only writing but not allowing reading, the above-mentioned writing only possible and reading can be performed. 1. A data processing IMl device characterized in that the contents of other external storage means in which data cannot be written can be retrieved from the external storage means that can be written and read.
JP21100181A 1981-12-28 1981-12-28 Data processor Pending JPS58114258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21100181A JPS58114258A (en) 1981-12-28 1981-12-28 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21100181A JPS58114258A (en) 1981-12-28 1981-12-28 Data processor

Publications (1)

Publication Number Publication Date
JPS58114258A true JPS58114258A (en) 1983-07-07

Family

ID=16598675

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21100181A Pending JPS58114258A (en) 1981-12-28 1981-12-28 Data processor

Country Status (1)

Country Link
JP (1) JPS58114258A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62196745A (en) * 1986-02-22 1987-08-31 Hitachi Ltd Register writing system
US5392440A (en) * 1991-05-04 1995-02-21 Heidelberger Druckmaschinen Ag Circuit arrangement for operating a computer having a readback device for feeding back last-written information to the computer
US5892977A (en) * 1995-08-11 1999-04-06 Kabushiki Kaisha Toshiba Apparatus and method for read-accessing write-only registers in a DMAC
JP2008117050A (en) * 2006-11-01 2008-05-22 Nec Corp Cpu bus access auxiliary circuit

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5211844A (en) * 1975-07-18 1977-01-29 Hitachi Ltd Microprocessor control system
JPS54110746A (en) * 1978-02-17 1979-08-30 Nec Corp Microorder control type data processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5211844A (en) * 1975-07-18 1977-01-29 Hitachi Ltd Microprocessor control system
JPS54110746A (en) * 1978-02-17 1979-08-30 Nec Corp Microorder control type data processor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62196745A (en) * 1986-02-22 1987-08-31 Hitachi Ltd Register writing system
US5392440A (en) * 1991-05-04 1995-02-21 Heidelberger Druckmaschinen Ag Circuit arrangement for operating a computer having a readback device for feeding back last-written information to the computer
US5892977A (en) * 1995-08-11 1999-04-06 Kabushiki Kaisha Toshiba Apparatus and method for read-accessing write-only registers in a DMAC
JP2008117050A (en) * 2006-11-01 2008-05-22 Nec Corp Cpu bus access auxiliary circuit

Similar Documents

Publication Publication Date Title
JPS58114258A (en) Data processor
JPS59188764A (en) Memory device
JP2004192051A (en) Shared terminal controller
JPH01251250A (en) Shared cache memory
JP2540959B2 (en) Information processing device
JPH0282326A (en) Dump device for online memory
JPH04237346A (en) Microprocessor system
JPS59167764A (en) Memory access system
JPS6398052A (en) Memory device
JPH0259495B2 (en)
JPS60549A (en) Memory testing system
JPS62251857A (en) Memory control system
JPS59153247A (en) Debugging device
JPH0120453B2 (en)
JPS6395548A (en) Memory control system
JPS6336346A (en) Bank switching circuit
JPS6247766A (en) Input/output control device for multi-computer system
JPH02310738A (en) Microprocessor ic
JPH0573240B2 (en)
JPS5868170A (en) Multiprocessor system
JPH01259425A (en) Computer
JPH03113659A (en) Cache memory testing method
JPH0474242A (en) Ram test circuit
JPH0315948A (en) Address bus test system
JPH04367950A (en) Access control circuit for ram