JPS5891598A - Data processor - Google Patents

Data processor

Info

Publication number
JPS5891598A
JPS5891598A JP19013081A JP19013081A JPS5891598A JP S5891598 A JPS5891598 A JP S5891598A JP 19013081 A JP19013081 A JP 19013081A JP 19013081 A JP19013081 A JP 19013081A JP S5891598 A JPS5891598 A JP S5891598A
Authority
JP
Japan
Prior art keywords
signal
memory
circuit
cycle
address
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
JP19013081A
Other languages
Japanese (ja)
Inventor
Yuji Sumita
住田 裕司
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Tokyo Shibaura Electric Co 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 Toshiba Corp, Tokyo Shibaura Electric Co Ltd filed Critical Toshiba Corp
Priority to JP19013081A priority Critical patent/JPS5891598A/en
Publication of JPS5891598A publication Critical patent/JPS5891598A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0721Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment within a central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

PURPOSE:To prevent a malfunction, by providing a means for decoding and holding only a specified address signal from a CPU at the time of an instruction fetch cycle, and a means for inputting a command signal from the CPU to a memory by said decoding signal at the time of an execution cycle. CONSTITUTION:An instruction cycle is time-constituted of an instruction fetch cycle T1 and an execution cycle T2. In the cycle T1 and the cycle T2, a signal for designating an address where an instruction in a memory 21 is stored, and a signal for designating an address where write is executed are outputted, respectively, from a CPU20. A signal outputted in T1 is decoded, and if it is a signal from a specified program, it is held by an FF circuit 28. In the cycle T2, a write data signal is inputted to the memory through an AND circuit 29 by the held decoding signal. In this way, in a state that plural programs are processed by keeping pace with each, a malfunction is prevented.

Description

【発明の詳細な説明】 発明の技術分野 本発明は記憶保護機能を備え九データ処現装置の数置に
関する。
DETAILED DESCRIPTION OF THE INVENTION TECHNICAL FIELD OF THE INVENTION The present invention relates to the numerals of a data processing device with a memory protection function.

発明の技術的背景 一般に中央処理装置(以下CPUと称す)と記憶装置(
以下メモリと称す)を備えた電子計算機などのデータ処
理装置においては、メモリに記憶されたデータが他のグ
ログ2ムによって破壊されたシ、盗読されたシしないた
めに、通常メモリ保題回路(以下メモリ・fvxテクト
回路と称す)が設けられており、前記のデータが格納さ
れているメモリ領域は特に許可されない場合はアクセス
信号を受は付けないようKしている。
Technical background of the invention Generally, a central processing unit (hereinafter referred to as CPU) and a storage device (
In data processing devices such as electronic computers equipped with memory (hereinafter referred to as memory), a memory protection circuit is usually used to prevent data stored in the memory from being destroyed or stolen by other log systems. (hereinafter referred to as a memory/fvx protect circuit) is provided, and the memory area in which the above-mentioned data is stored is designed not to accept access signals unless permission is specifically granted.

そζで、従来上記のようなメ毫り・グロテクト回路を備
えたデータ処理装置として第1図に示すようなものがあ
る。以下との装置を説明すると、Jはデータの書込み、
読込みKよりて演算制御を行なうcpuで、1はCPU
 Jが書込み。
Therefore, there is a conventional data processing apparatus as shown in FIG. 1 which is equipped with the above-mentioned message/grotect circuit. To explain the device with the following, J is for writing data,
CPU that performs calculation control from reading K, 1 is CPU
Written by J.

読込みを行なうメモリである。(他に複数のメ篭りを備
えてい石が説明はこOメ篭り1に代表する。)そしてC
PTj Jとメ篭り1間には両者関Oデータ中信号の授
受を行なうアドレスバス3゜データ/4ス4.書込み信
号線5が介在している。
This is memory for reading. (Other stones have multiple memori, and the explanation here is exemplified by megori 1.) And C
Between the PTj J and the memory 1, there is an address bus 3° data/4 bus for exchanging data signals between the two. A write signal line 5 is interposed.

但しアドレスバス1は二方向に分かれ、一方はデコーダ
ーを介してメモリ1のチ、f・セレクト端cB・に、も
う一方は直接メモリ2のアドレス入力端ムD・へ接続さ
れる。またデータバス4はメモリ1Of−タ入力端りム
・へ接続される・さらに書込み信号線5は氏回路rの一
方の入力端に接続され、このにの回路1を介してメモリ
xO書込み信号人力端WR・へ接続される。なお桐回路
1のもう一方の入力端には直流の固定電圧りが抵抗1を
介して印加され、同時にこの入力端とアース関にはプロ
テクト機能を指示するプレテクトスイッチ9が接続され
ている。
However, the address bus 1 is divided into two directions; one side is connected to the select terminal cB of the memory 1 through a decoder, and the other side is directly connected to the address input terminal D of the memory 2. Further, the data bus 4 is connected to the input terminal of the memory 1.Furthermore, the write signal line 5 is connected to one input terminal of the circuit r, and the write signal line 5 is connected to the input terminal of the memory xO through the circuit 1 of this circuit. Connected to end WR. A fixed DC voltage is applied to the other input end of the paulownia circuit 1 via a resistor 1, and at the same time, a protect switch 9 for instructing the protect function is connected between this input end and the ground.

以上、上記の構成でCPU Jからメモリ1ヘデータを
書込む時にメモリ・プロテクト機能が付加されるように
なりている。このことを第2図の信号タイ建ンダチャー
トを用いて説明する。
As described above, with the above configuration, a memory protect function is added when data is written from CPU J to memory 1. This will be explained using the signal tie chart shown in FIG.

まずメ峰す−faテクト機能を動作させない時には、前
記!ロテクトスイ、チ9を開状朧にする。そこでCPU
 Jからメモリ1へ第2図のtlのタイミングで書込み
動作が行なわれると同図に示すアドレス信号(&)とデ
ータ信号+b)がCPU Jよシ出力される。そしてア
ドレス信号は7ドレス’4ス3を介してメモリ2のアド
レス入力端ADoへ入力されると同時に前記デコーダ6
へ入力される・このデコーダ6にてアドレス信号は第2
図(c)の1.以降の立ち上がった信号にデコード化さ
れメモリ1のチップ・セレクト端C8oへ入力される。
First of all, when you do not want to operate the Meminesu-fa Tect function, please use the above! Lotecto Sui, Chi9 becomes open and hazy. Therefore, the CPU
When a write operation is performed from J to memory 1 at the timing tl in FIG. 2, the address signal (&) and data signal +b) shown in the figure are output from CPU J. Then, the address signal is input to the address input terminal ADo of the memory 2 via the 7 address '4 bus 3, and at the same time, the address signal is input to the decoder 6.
This decoder 6 inputs the address signal to the second
Figure (c) 1. The subsequent rising signals are decoded and input to the chip select terminal C8o of the memory 1.

この時メモリ2はメモリ領域が指示され書込み可能状態
となる0次にtlのタイミングで書込み指令する第2図
(d)の様な/#ルス4に号がCPU Iから前記AN
D回路2の一方の入力端に書込み信号線5を介して入力
される。そこでこのAND回路10もう一方の入力端は
予め直流電圧Eが印加されている九め前記/4ルス信号
はメそす2の書込み信号入力端WR。
At this time, the memory 2 is instructed to write at the timing of the 0th order tl when the memory area is designated and becomes writable. As shown in FIG.
The signal is input to one input end of the D circuit 2 via the write signal line 5. Therefore, the other input terminal of this AND circuit 10 has the DC voltage E applied in advance.

へ入力される。乙の入力された書込み信号によりてメモ
リ1は前記データバス4より入力される前記第2図伽)
のデータの書込みを始める・次にメモリ・!冒テクト機
能を動作させる時は、前記のプ四テクトスイッチ9を閉
状態にする。し九がって、、前記ぷ回路1の直流電圧E
が印加されていた入力端は常時アースに落とされること
Kなる。すなわちAND回路1は常に閉じられた状11
に6シ、CPU Jより前記の書込みを指令するパルス
信号が4う一方の入力端に入力されても同回路rはメモ
リ2の書込み信号入力端へは何も出力しない、よってメ
モリ1はCPU sから送られるデータの書込みは行な
わないことになる0以上の様にしてメモリの保饅が行な
われる。
is input to. The memory 1 is inputted from the data bus 4 according to the write signal inputted by B (see Fig. 2).
Start writing data to the memory next! When operating the protection function, the protection switch 9 is closed. Therefore, the DC voltage E of the circuit 1 is
The input terminal to which K is applied is always grounded. That is, the AND circuit 1 is always in a closed state 11
In 6th, even if the pulse signal commanding the write from CPU J is input to the other input terminal of 4, the same circuit r does not output anything to the write signal input terminal of memory 2. Therefore, memory 1 is Memory preservation is performed in such a way that the data sent from s is not written.

背景技術の問題点 しかしながら上記従来装置においては、プロダラムの手
直しなどのプログラムチ/4ツクにては充分ノロテクト
機能を果すが、複数のプロダラムが専在し互いに並列処
理で動作を行なりている場合に%九とえは開発中のプ1
グラムを実行させる時働の正常プログツムやメ毫りの更
新されるデータ領域などに対し間違って書込みを行なっ
てしまう事態を防ぐことは非常に困難であシ、プロダラ
ムの暴走を引き起してしまう。
Problems with the Background Art However, although the above-mentioned conventional device performs a sufficient protection function in program checks/four-steps such as modifying program modules, it cannot be used when multiple program modules are monopolized and operate in parallel with each other. %9 and 1 are under development
It is extremely difficult to prevent a situation where a program is accidentally written to a normally running program or a data area that is updated every time a program is executed, and this can cause the program to run out of control. .

発明の目的 本発明は複数のグログ2ムが並行して実行される状態に
ても、メモリ内のプロダラムやデータ領域の誤りた書込
みおよ・び読出しを防ぐことのできるデータ処理装置を
提供することを目的とする。
OBJECTS OF THE INVENTION The present invention provides a data processing device that can prevent erroneous writing and reading of program and data areas in memory even when a plurality of log systems are executed in parallel. The purpose is to

発明の概要 本発明は、上記目的達成のために、CPUとメモリ間の
データ授受によりデータの処理を行なう装置において、
CPUが書込み、読出しを行なう命令サイクルの内の命
令7エ、チナイクル時にCPUから出力されるアドレス
信号のうち特定のグログ2ムからのアドレス信号のみを
デコード化し、命令サイクルの内の実行サイクル時まで
保持する手段を設け、さらに実行サイクル時K CPU
から出力される書込み、読出しONN傷信号前記保持さ
れたデコード信号によシメモリヘ入力する手段を設ける
ことによって、特定外Ofロダツムからの誤りた書込み
、読出しを防止するようにしたデータ処理装置である。
Summary of the Invention In order to achieve the above-mentioned object, the present invention provides an apparatus for processing data by transmitting and receiving data between a CPU and a memory.
The CPU decodes only the address signal from a specific log 2 among the address signals output from the CPU during instruction 7 of the instruction cycle in which the CPU performs writing and reading, and executes the instruction until the execution cycle of the instruction cycle. A means for holding the K CPU during the execution cycle is provided.
This data processing device prevents erroneous writing and reading from an unspecified Ofrodatum by providing means for inputting the held decoded signal into the memory by the write/read ON/OFF signal outputted from the data processor.

11発明の実施例 第3図に本発明の実施例の構成図を示す、なお、説明は
書込み動作時にて述べる・20社書込み、読出しにより
て演算処理を行なうCPUで、2JはCPIJ J O
Kよってデータの書込み、読出しが行なわれるメモリで
ある・(但し通常1メ峰りは複数あるがζこではメモリ
2−1にて代表する。)そして、CPU x oには少
なくともアドレス信号端ムDomデータ信号端D A 
Hm命令7エ、チ信号出力端OF、書込み指令信号入力
端曽R1を備えている。またメモリ11は少なくともチ
ッゾーセレクト錫C8,eアドレス信号端ムDI 、デ
ータ信号DAl#書込み指令信号入力端WR,を備えて
いる。さらに前記CPUjgtのアドレス信号端ムD1
にはアドレスイス21、データ信号端DAsK社データ
t+xxx。
11 Embodiments of the Invention Figure 3 shows a configuration diagram of an embodiment of the present invention.The explanation will be given at the time of write operation.20CompaniesA CPU that performs arithmetic processing by writing and reading, 2J is a CPIJ J O
It is a memory in which data is written and read by K. Dom data signal end DA
It is provided with a Hm command 7, a signal output terminal OF, and a write command signal input terminal R1. Further, the memory 11 is provided with at least a Chizzo select signal C8, an e-address signal terminal DI, and a data signal DAl# write command signal input terminal WR. Furthermore, the address signal terminal D1 of the CPUjgt
Address switch 21, data signal end DAsK company data t+xxx.

命令フェッチ信号出力端6Fには命令フェッチ信号線2
4.書込み指令信号出力端WRIには書込み指令信号@
xiがそれぞれ接続されている。そして、前記アドレス
バス22は三方向に分れ、一つはアドレス信号をデコー
ド化する第1のデコーダ26に、さらに一つは特定の!
ログラムからのアドレス信号が設定されている第2のデ
コーダ27に、残シの−っはメモリ2Jのアドレス信号
端A D mにそれぞれ接続される。
The instruction fetch signal line 2 is connected to the instruction fetch signal output terminal 6F.
4. The write command signal output terminal WRI receives the write command signal @
xi are connected to each other. The address bus 22 is divided into three directions, one to a first decoder 26 for decoding the address signal, and one to a specific!
The remaining decoder 27 is connected to the address signal terminal A D m of the memory 2J, and the second decoder 27 is set with the address signal from the program.

ここに第1のデ;−〆2#の出力端はメモリ21のチッ
グーセレクト端CBmK接続され、第2のデ;−〆22
の出力側は信号保持用に設けた正論理出力端Q、負論理
出力端Qの両出力端を備えるフリップ・フロラf回路2
8(以下F−F回路と称す)の一つの入力端DK接続さ
れている。またデータバス2sFiメモリ2JC)う一
方の入力端CPK接続され、また書込み指令信号線15
は出力端がメモyxio書込み指令信号端WRsK1i
I!続された2人力形AND回路1#の一つの入力端へ
接続されている。この2人力形AND回路1#のもう一
方の入力端は前記F・r回路2Iの正論理出力端Qに接
続されている・さらにF・F1gl路11の負論理出力
端Q1第1のデコー〆2Cの出力端および書込み指令信
号fli2gは3人力形AND回路30の各入力端にそ
れぞれ接続されている。
The output terminal of the first terminal 2# is connected to the select terminal CBmK of the memory 21, and the output terminal of the second terminal 22 is connected to the select terminal CBmK of the memory 21.
The output side of is a flip-flora f circuit 2 which has both output terminals, a positive logic output terminal Q and a negative logic output terminal Q, provided for signal holding.
8 (hereinafter referred to as the FF circuit) is connected to one input terminal DK. In addition, the data bus 2sFi memory 2JC) is connected to the other input terminal CPK, and the write command signal line 15
The output terminal is the memory yxio write command signal terminal WRsK1i
I! It is connected to one input terminal of a two-manufactured AND circuit 1# connected to the input terminal. The other input terminal of this two-person type AND circuit 1# is connected to the positive logic output terminal Q of the F.r circuit 2I. Furthermore, the negative logic output terminal Q1 of the F.F.1gl circuit 11 is connected to the first decoder terminal. The output end of 2C and the write command signal fli2g are connected to each input end of a three-manual AND circuit 30, respectively.

次に以上構成される装置の作用を第4図の信号タイ建ン
ダチャートを用いて説明する。なお分)易くするために
CPU J Oのアドレス信号端ムD1 、データ信号
端D A 1  e命令フエ、チ信号出力端OF、書込
み指令信号出力端WR,の扱かう信号を簡単に述べると
、アドレス信号端ムD1は番地指定の信号、データ信号
端DΔ1は書込み・読込みされるデータの信号、命令フ
ェッチ信号出力端0FtiCPUJOがメモリ2!から
命令取り出し状態にあることを示すパルス信号、書込み
指令信号出力端WR,は書込みの実行を指令するパルス
信号をそれぞれ扱かう。
Next, the operation of the apparatus constructed as described above will be explained using the signal tie chart shown in FIG. For the sake of simplicity, the signals handled by the CPU JO's address signal terminal D1, data signal terminal DA1e command terminal, CH signal output terminal OF, and write command signal output terminal WR will be briefly described as follows. The address signal terminal D1 is a signal for specifying an address, the data signal terminal DΔ1 is a signal for data to be written/read, and the instruction fetch signal output terminal 0FtiCPUJO is a memory 2! The write command signal output terminal WR handles a pulse signal indicating that a command is being retrieved from the memory, and a pulse signal instructing execution of writing, respectively.

なお命令フェッチ信号はCPU Kよ、うてはステータ
ス信号の場合もあるが胱出し信号などでパルス信号に簡
単に変換でき石、そこでオずCPU J!θが書込み動
作を行なう場合第4図に示す時間Tの命令サイクルを持
ち、この命令サイクルは命令フェッチサイクルT1と実
行サイクルT3とで時間構成される。しかるに時間TI
においてメモリ21内の命令が格納されているメモリ2
1の番地を指定する信号が、また時間T1において書込
みが行なわれるメそり2Jのメモリ番地を指定する信号
がCPU J o (Dアドレス信号端AD、 よシ第
4図(a)のごとく出力される。さらに前記時間TIに
おいて命令フェクチ信号出力端6Fよシ繭4図(b)の
よりな/中ルス信号が出力される。そこで時間T!にて
出力されたアドレス信号は第1のデコー〆xtttKて
f:I−ド化されメモリ2ノのチラノ−セレクト端子C
8Kへ入力される。ここにメモリ21内の前記アドレス
信号に対応するメモリ領域が選択され書込み可能な状I
となる。同時に時間T、のアドレス信号は第2のrコー
グ2フへも入力されるが、仁のアドレス信号が特定のプ
ログラムからの信号であれば同デコーダ22でデコード
化すれトF回路28の入力端りへ入力される。そして、
前記時間T1の命令フェッチ信号のパルスがF−)’回
路280入力端CPに入力されるタイミングで前記デコ
ード化された信号はF・F回路28の出力端Qにて保持
される。この時の同回路28の出力端Qの信号は第4図
(@)のごとくになる・続いて時間Tlの実行サイクル
に移ると、書込み用データ信号がCPU J Oのデー
タ信号出力端DA、より出力され、さらに書込み指令信
号出力端WR1よシ第4図(d)に示す/4ルス信号が
出力される。この/譬ルス信号は2人力形AND回路2
9の一方の入力端へ入力される。ここにもう一方の入力
端は、前記F@F回路j8によって保持された時間T1
のアドレス信号のデ;−ド化信号が入力されているので
、同AND回路2#のr−トは開いている。このAND
回路29の出力を第4図(・)K示す、したがって書込
み指讐僅号(DAルスはメモリ21の書込み指令信号入
力端WR,へ入力される。この状態に到って初めて前記
書込み用データの書込みが行なわれる。また同時に3人
力形成回路JoにはF−F回路28の負論理出力端QO
R力、書込み指令信号およびtslのデコーメJgO出
力がそれぞれ入力されている。ここに前記第2のデコー
ダ27に入力されるアドレス信号が書込みを許された特
定プログラムからの信号であればF−F回路28の負論
理出力端互の出力は10″となるから前記3人力形AN
D回路10の出力祉”0”とな如、逆にアドレス信号が
特定外グログ2ムからの信号であれば同AND回路J0
の出力は″l ”となる、この出力信号″″1mが特定
グログラム以外からの書込み動作を知らせる検出信号と
なる。第4図(f)に同AND回路SOの出力を示す、
なお第4図(e) (@) (f)の実線は特定プログ
ラムから書込みが行なわれる時、点線は特定グログツム
以外から書込みが行なわれる時のF@F回路28の正論
理出力端Q、2人力形AND回路29.3人力形AND
回路10の出力をそれぞれ示す。
Note that the instruction fetch signal may be a status signal for CPU K, but it can be easily converted into a pulse signal such as a bladder evacuation signal. When θ performs a write operation, it has an instruction cycle of time T shown in FIG. 4, and this instruction cycle is composed of an instruction fetch cycle T1 and an execution cycle T3. However, time TI
Memory 2 in which instructions in memory 21 are stored
A signal specifying address 1 and a signal specifying the memory address of memory 2J to which writing is to be performed at time T1 are output from the CPU J o (D address signal terminal AD, as shown in FIG. 4(a)). Further, at the time TI, the instruction signal output terminal 6F outputs the signal shown in FIG. 4(b).Then, the address signal output at time T! xtttK f: I-coded memory 2 select terminal C
Input to 8K. Here, the memory area corresponding to the address signal in the memory 21 is selected and a writable state I is created.
becomes. At the same time, the address signal at time T is also input to the second circuit 28, but if the address signal at time T is a signal from a specific program, it is decoded by the same decoder 22. input to the next page. and,
The decoded signal is held at the output terminal Q of the F/F circuit 28 at the timing when the pulse of the instruction fetch signal at the time T1 is input to the input terminal CP of the F-)' circuit 280. At this time, the signal at the output terminal Q of the same circuit 28 becomes as shown in FIG. Further, a /4 pulse signal shown in FIG. 4(d) is output from the write command signal output terminal WR1. This /parallel signal is a 2-person type AND circuit 2
It is input to one input end of 9. The other input terminal here is the time T1 held by the F@F circuit j8.
Since the data conversion signal of the address signal is inputted, the r-gate of AND circuit 2# is open. This AND
The output of the circuit 29 is shown in FIG. At the same time, the negative logic output terminal QO of the F-F circuit 28 is written to the three-man power forming circuit Jo.
The R force, write command signal, and tsl decometer JgO output are input, respectively. Here, if the address signal input to the second decoder 27 is a signal from a specific program that is allowed to be written, the output of the negative logic output terminals of the F-F circuit 28 will be 10'', so the three-man power Type AN
If the output signal of D circuit 10 is "0", conversely, if the address signal is a signal from a non-specific log 2m, the same AND circuit J0
The output is "l", and this output signal "1m" becomes a detection signal that notifies a write operation from a program other than the specific program. Figure 4(f) shows the output of the AND circuit SO.
Note that the solid line in FIG. 4(e) (@) (f) indicates the positive logic output terminal Q, 2 of the F@F circuit 28 when writing is performed from a specific program, and the dotted line indicates the positive logic output terminal Q, 2 of the F@F circuit 28 when writing is performed from a program other than the specific program. Human-powered AND circuit 29.3 Human-powered AND
The outputs of circuit 10 are shown respectively.

すなわち、第2のデプー〆21に入力される命令フェッ
チサイクルでのアドレス信号を基に書込み指令信号を制
御して許された特定のプログラムからのみ書込みが行な
われるようにしたものである。
That is, the write command signal is controlled based on the address signal in the instruction fetch cycle input to the second debugger 21, so that writing is performed only from a specific permitted program.

以上、上記した構成の実施例においてはメモリ・プロテ
クトを行なうに際し、デコー〆、r・2回路、AND回
路など一般的なサード回路で構成できコスト的に有利で
ある。を九前記3人力形AND回路30の出力なCPU
の割込み信号などに使用すれば、プログラムの異常書込
みが行なわれようとしていることを事前に検知し処理す
ることが可能である。
As described above, in the embodiment of the above-mentioned structure, when performing memory protection, it can be constructed with common third circuits such as a decoder, an r.2 circuit, and an AND circuit, which is advantageous in terms of cost. The output of the above three AND circuit 30 is the CPU
If used as an interrupt signal or the like, it is possible to detect and process in advance that an abnormal program write is about to be performed.

また、上記実施例は書込み動作時において説明し九が、
続出し動作時においても、書込み指令信号を読出し指令
信号に置換えることによシ上記と同様に盗読を防止する
ことが出来る。
In addition, the above embodiment is explained at the time of write operation.
Even during the continuous output operation, stealing can be prevented in the same way as described above by replacing the write command signal with the read command signal.

発明の効果 本発明によれば、複数のプログツムが混在し互いに並行
処理で動作が行表われている時で4、開発中のプログラ
ムなどによるメモリへの誤った書込み中盗読を自動的に
防止することが出来る。したがってプログラムの暴走を
未然に防ぐことが出来る。tた特定プログラム以外から
の誤った書込み、読出し動作を検知する信号も容易に取
り出せる。すなわち、互いのグログラム領域とデータ領
域の区別を明確にして、メモリ・プロテクト機能の一層
充実した効率的運用可能なデー°夕処理装置を提供出来
るものである。
Effects of the Invention According to the present invention, when a plurality of programs coexist and are performing operations in parallel with each other, it is possible to automatically prevent eavesdropping during erroneous writing to memory by a program under development. You can. Therefore, it is possible to prevent the program from running out of control. Signals for detecting erroneous write and read operations from sources other than the specific program can also be easily extracted. That is, it is possible to clearly distinguish between the program area and the data area, and to provide a data processing device that has a more complete memory protection function and can be operated efficiently.

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

第1図は従来のデータ処理装置の構成図、第2図は第1
図の装置の信号タイムチャート、第3図は本発明に係る
データ処理装置の実施例の構成図、第4図は第3図の構
成の親電の信号タイムチャートである。 20・・・CPU、jJ・・・メモリ、J4−・・命令
フエ、チ信号線、25・・・書込み指令信号線、11・
・・第2のデコーダ、2#・・・F@F回路、29・・
・2人力形AND回路、30・・・3人力形AND回路
。 第1図 t1t2 第3図 第4図
Figure 1 is a configuration diagram of a conventional data processing device, and Figure 2 is a diagram of a conventional data processing device.
FIG. 3 is a block diagram of an embodiment of the data processing device according to the present invention, and FIG. 4 is a signal time chart of the main phone having the configuration shown in FIG. 3. 20...CPU, jJ...Memory, J4-...Command signal line, 25...Write command signal line, 11...
...Second decoder, 2#...F@F circuit, 29...
・2-person-powered AND circuit, 30...3-person-powered AND circuit. Figure 1 t1t2 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】 命令フェッチサイクルと実行サイクルとから成る命令ナ
イクルでデータの書込みおよび読出しを行なうとともに
前記各ティクルでアドレス信号を出力するCPU’と、
このCPUから出力され九アドレス信号に従りてデータ
の書込みおよび胱出しが行なわれるメ峰りと、前記命令
フエ。 チナイクル時に出力される所定のアドレス信号のみデコ
ード化し保持する手段と、この手段により保持され九デ
コー?信号によ〉前記メモリの書込みおよび読出しを許
可する手段とを備え、予め設定し九デ四ダラム以外から
のアドレス信号による書込みおよび読出しを防止するこ
とを特徴とし九データ処:iit装置・
[Scope of Claims] A CPU' that writes and reads data in an instruction cycle consisting of an instruction fetch cycle and an execution cycle, and outputs an address signal in each tickle;
The data is written and the output is performed according to the address signal outputted from this CPU, and the command signal is outputted from the CPU. Means for decoding and holding only a predetermined address signal that is output during a cycle, and nine decodes held by this means? 9 data processor: IIT device;
JP19013081A 1981-11-27 1981-11-27 Data processor Pending JPS5891598A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19013081A JPS5891598A (en) 1981-11-27 1981-11-27 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19013081A JPS5891598A (en) 1981-11-27 1981-11-27 Data processor

Publications (1)

Publication Number Publication Date
JPS5891598A true JPS5891598A (en) 1983-05-31

Family

ID=16252886

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19013081A Pending JPS5891598A (en) 1981-11-27 1981-11-27 Data processor

Country Status (1)

Country Link
JP (1) JPS5891598A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6059453A (en) * 1983-08-10 1985-04-05 ジ−メンス・アクチエンゲゼルシヤフト Circuit device for communication equipment
JPH01303548A (en) * 1988-05-31 1989-12-07 Nec Corp Memory protecting circuit
JP2006148667A (en) * 2004-11-22 2006-06-08 Pioneer Electronic Corp Voice coil unit and loudspeaker system employing the same

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6059453A (en) * 1983-08-10 1985-04-05 ジ−メンス・アクチエンゲゼルシヤフト Circuit device for communication equipment
JPH01303548A (en) * 1988-05-31 1989-12-07 Nec Corp Memory protecting circuit
JP2006148667A (en) * 2004-11-22 2006-06-08 Pioneer Electronic Corp Voice coil unit and loudspeaker system employing the same
JP4526356B2 (en) * 2004-11-22 2010-08-18 パイオニア株式会社 Voice coil device and speaker device using the same

Similar Documents

Publication Publication Date Title
KR900016866A (en) Data processing systems
KR860007589A (en) Data processing device
JPH06290076A (en) Debugger device
JPS5891598A (en) Data processor
KR100525537B1 (en) Applied Program Bungle Detection Apparatus and Method by Interrupt
JPS59163653A (en) Debug device
JPS6220034A (en) Program status word switching control system
JPS60233743A (en) Fault detecting circuit of computer system
JPH01159748A (en) Storage protection system
JPH02281341A (en) Write data confirming method for debugging
JPS6020779B2 (en) Composite computer system
JPS58169614A (en) Bus control system
JPS60181867A (en) Processor switching control system
JPS62256039A (en) Microprogram controller
JPH0784814A (en) Error detecting device of computer
JPH03185547A (en) Memory control device
JPS63752A (en) Memory protection system
JPS63180171A (en) Information processor
JPS59116998A (en) Trouble detecting system of main memory
JPH10333920A (en) Interruption processing circuit
JPS63129427A (en) Conversion circuit for interruption response logic
JPS6083149A (en) Computer
JPS59165158A (en) Debugging device
JPS62278653A (en) Memory protection system
JPH06150032A (en) Integrated circuit microprocessor