JPS63123137A - Address coincidence signal generating system - Google Patents

Address coincidence signal generating system

Info

Publication number
JPS63123137A
JPS63123137A JP61268867A JP26886786A JPS63123137A JP S63123137 A JPS63123137 A JP S63123137A JP 61268867 A JP61268867 A JP 61268867A JP 26886786 A JP26886786 A JP 26886786A JP S63123137 A JPS63123137 A JP S63123137A
Authority
JP
Japan
Prior art keywords
address
memory
signal
ram
match signal
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
JP61268867A
Other languages
Japanese (ja)
Inventor
Isao Ishizaki
石崎 功
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP61268867A priority Critical patent/JPS63123137A/en
Publication of JPS63123137A publication Critical patent/JPS63123137A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To minimize a hardware by storing address coincidence information to a memory means and when the access is executed common to a memory and a memory means to the stored address, generating an address coincidence signal. CONSTITUTION:An address is assigned as well as a ROM to store a microprogram, a RAM 2 to store address coincedence signal generating data is provided, the access is executed common the to ROM 1 toward the address, in which the address coincidence signal generating data of a RAM 2 are stored, and then, the address coincidence signal is generated. Thus, by a small quantity of hardware that the RAM 2 is only added to a conventional circuit, the address coincidence signal can be generated which is the signal to detect the address coincidence.

Description

【発明の詳細な説明】 技術分野 本発明はアドレス一致信号発生方式に関し、特にマイク
ロプログラミング方式のもとてマイクロプログラムの制
御を受けつつ運用される論理装置において検査や診断を
行うために、マイクロプログラムを格納するメモリの所
定の番地にてアドレス一致信号を発生させるアドレス−
致信号発生方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to an address match signal generation method, and in particular to a method for generating an address match signal, which is used to generate a microprogram signal for testing and diagnosing a logic device operated under the control of a microprogram using a microprogramming method. An address that generates an address match signal at a predetermined address in the memory that stores -
Regarding the signal generation method.

従来技術 従来、この種のアドレス一致信号発生方式では、アドレ
ス一致検出のための所定のアドレス情報を格納するレジ
スタと、このレジスタの出力と、マイクロプログラムを
格納するメモリへのアクセスアドレスとを比較する比較
器とによって構成されたアドレス一致信号検出回路によ
り実現されていた。
Conventional technology Conventionally, in this type of address match signal generation method, a register that stores predetermined address information for address match detection is used, and the output of this register is compared with an access address to a memory that stores a microprogram. This was realized by an address match signal detection circuit composed of a comparator.

このような従来のアドレス一致信号検出回路においては
、所定のアドレス情報を格納するレジスタと、このレジ
スタの出力とメモリへのアクセスアドレスとを比較する
比較器とによって構成されていたので、これらのレジス
タと比較器とがメモリへのアクセスアドレスと同じビッ
ト長を必要とし、多くのハードウェア量を必要とすると
いう欠点があった。
Such a conventional address match signal detection circuit consists of a register that stores predetermined address information and a comparator that compares the output of this register with the memory access address. The drawback is that the comparator and the comparator require the same bit length as the memory access address, and require a large amount of hardware.

発明の目的 本発明は上記のような従来のものの欠点を除去すべくな
されたもので、少ないハードウェア量でアドレス一致信
号の発生を実現させることができるアドレス一致信号発
生方式の提供を目的とする。
Purpose of the Invention The present invention has been made to eliminate the above-mentioned drawbacks of the conventional method, and an object of the present invention is to provide an address match signal generation method that can generate an address match signal with a small amount of hardware. .

1更匹且羞 本発明によるアドレス一致信号発生方式は、メモリへの
アクセスアドレスが所定アドレスと一致したときにアド
レス一致信号を発生するアドレス一致信号発生方式であ
って、前記メモリと同様に番地割当てされ、かつ前記ア
ドレス一致信号を発生するためのアドレス−数情報を格
納する記憶手段を設け、前記メモリへのアクセスアドレ
スが前記記憶手段の前記アドレス−数情報を格納するア
ドレスであるときに前記アドレス一致信号を発生させる
ようにしたことを特徴とする。
The address match signal generation method according to the present invention is an address match signal generation method that generates an address match signal when an access address to a memory matches a predetermined address, and the address match signal generation method according to the present invention is an address match signal generation method that generates an address match signal when an access address to a memory matches a predetermined address. and storage means for storing address-number information for generating the address match signal, and when the access address to the memory is an address for storing the address-number information of the storage means, the address The present invention is characterized in that a coincidence signal is generated.

実施例 次に、本発明の一実施例について図面を参照して説明す
る。
Embodiment Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。図
において、本発明の一実施例は、ROM(リードオンリ
メモリ)1と、RAM (ランダムアクセスメモリ)2
と、レジスタ(MIR)3と、デコーダ(DEC)4と
、+1加算器5と、レジスタ(MAR)6と、スタック
メモリ(RTA)7と、±に加算器8と、マルチプレク
サ(MPX)9と、トラップ制御回路10とにより構成
されている。
FIG. 1 is a block diagram showing one embodiment of the present invention. In the figure, one embodiment of the present invention includes a ROM (read only memory) 1 and a RAM (random access memory) 2.
, a register (MIR) 3, a decoder (DEC) 4, a +1 adder 5, a register (MAR) 6, a stack memory (RTA) 7, an adder 8 for ±, and a multiplexer (MPX) 9. , and a trap control circuit 10.

ROM1はマイクロプログラムを格納し、RAM2はア
ドレス一致信号発生データを格納する。
ROM1 stores a microprogram, and RAM2 stores address match signal generation data.

また、RAM2はデータバス200を介してマイクロプ
ログラミング方式のもとで運用する図示甘め論理装置内
の演算部30と図示せぬ他の制御部とに接続されている
。レジスタ3はRoMlの出力であるマイクロコードを
格納し、このレジスタ3の出力によりデコーダ4はマイ
クロコマンドを作成する。
Further, the RAM 2 is connected via a data bus 200 to an arithmetic unit 30 in the illustrated loose logic device operated under the microprogramming method and to other control units (not illustrated). Register 3 stores the microcode that is the output of RoMl, and the decoder 4 creates a microcommand based on the output of register 3.

+1加算器5は、マルチプレクサ9の出力であるROM
1およびRAM2へのアクセス番地の入力によりアクセ
ス番地+1を作成し、レジスタ6は+1加算器5で作成
されたアクセス番地+1を格納する。スタックメモリ7
はレジスタ6に格納されたアクセス番地+1を、ジャン
プ命令実行時またはトラップ動作実行時の復帰番地とし
て格納する。±に加算器8は相対ジャンプ命令における
ジャンプ番地を作成して、マルチプレクサ9に送出する
。マルチプレクサ9はアドレスバス100を介して論理
装置内の演算部30と他の制御部とに接続されている。
The +1 adder 5 is connected to the ROM which is the output of the multiplexer 9.
1 and the access address input to the RAM 2, an access address +1 is created, and the register 6 stores the access address +1 created by the +1 adder 5. stack memory 7
stores the access address +1 stored in register 6 as the return address when executing a jump instruction or trap operation. The adder 8 creates a jump address in the relative jump instruction and sends it to the multiplexer 9. The multiplexer 9 is connected to the arithmetic unit 30 and other control units in the logic device via an address bus 100.

トラップ制御回路10は、論理装置の検査や診断を行い
、および、この論理装置の動作状態を監視するサービス
プロセッサ(SVP)50からの指令によりトラップ動
作を指示する。
The trap control circuit 10 inspects and diagnoses the logic device, and instructs a trap operation based on a command from a service processor (SVP) 50 that monitors the operating state of the logic device.

第1図において、ROM’lおよびRAM2はマルチプ
レクサ9の出力信号91により共通にアクセスされて読
出される。このことは、ROM1に格納されているマイ
クロプログラムの所定のアドレスにおいてアドレス一致
信号を得たい場合、ROMIのアクセス番地と同じRA
M2の番地に、アドレス一致信号発生データを書込んで
おけばよいことを示す。
In FIG. 1, ROM'1 and RAM2 are commonly accessed and read by the output signal 91 of multiplexer 9. This means that if you want to obtain an address match signal at a predetermined address of the microprogram stored in ROM1, the RA
This indicates that it is sufficient to write address match signal generation data to address M2.

RAM2の更新用プログラムはROMI内に格納されて
おり、RAM2の所定アドレスを更新する場合、この更
新用プログラムを実行させることにより実現する。更新
用プログラムによりRAM2を更新する場合、RAM2
へのアクセス番地はアドレスバス100を介して供給さ
れ、RAM2のこのアクセス番地への更新データはデー
タバス200を介して供給される。
An update program for the RAM 2 is stored in the ROMI, and when a predetermined address in the RAM 2 is updated, this update program is executed. When updating RAM2 using the update program, RAM2
The access address to is supplied via the address bus 100, and the update data to this access address in RAM 2 is supplied via the data bus 200.

アドレスバス100およびデータバス200にのせるデ
ータは、予め図示せぬ主記憶中のメールボックスなどに
格納されており、これをRAM2の更新用プログラムに
て読出し、演算部30内の図示せぬレジスタファイルな
どに格納し、RAM2の更新マイクロ命令を実行すると
き、アドレスバス100およびデータバス200を介し
て演算部30から供給する。
The data to be loaded onto the address bus 100 and the data bus 200 is stored in advance in a mailbox or the like in the main memory (not shown), and is read out by the update program in the RAM 2 and stored in a register (not shown) in the arithmetic unit 30. When storing the data in a file or the like and executing an update microinstruction in the RAM 2, the data is supplied from the arithmetic unit 30 via the address bus 100 and the data bus 200.

アドレスバス100に読出されたRAM2の更新アドレ
スデータは、マルチプレクサ9に接続線101を介して
供給され、コマンド信号92によって選択指示され、出
力信号91によりRAM2をアクセスする。
The updated address data of the RAM 2 read onto the address bus 100 is supplied to the multiplexer 9 via the connection line 101, selected by the command signal 92, and accessed to the RAM 2 by the output signal 91.

一方、RAM2への更新データは、接続線201を介し
てRAM2に供給され、コマンド信号22によってRA
M2への書込みが指示される。
On the other hand, update data to the RAM2 is supplied to the RAM2 via the connection line 201, and the update data to the RAM2 is supplied to the RAM2 via the connection line 201.
Writing to M2 is instructed.

RAM2の更新用プログラムの実行指令は、サービスプ
ロセッサ50により接続線51を介してトラップ制御回
路10に指示されることで実現される。
The instruction to execute the update program in the RAM 2 is realized by the service processor 50 instructing the trap control circuit 10 via the connection line 51.

RAM2を更新したい場合、サービスプロセッサ50の
制御下において主記憶中のメールボックスなどにRAM
2の更新アドレスと更新データとを書込んだ後、接続線
51を介して指示されたRAM2更新指令は、トラップ
制御回路10から接続線12によりROMI内に格納さ
れているRAM2の更新用プログラムの先頭番地情報が
マルチプレクサ9に供給され、接続線11によって選択
出力されて出力信号91によりROM1をアクセスする
ことで実行される。
When you want to update RAM2, under the control of the service processor 50, update the RAM to a mailbox in the main memory.
After writing the update address and update data of 2, the RAM2 update command instructed via the connection line 51 is sent from the trap control circuit 10 via the connection line 12 to the update program for RAM2 stored in the ROMI. The start address information is supplied to the multiplexer 9, selectively output via the connection line 11, and executed by accessing the ROM 1 using the output signal 91.

サービスプロセッサ50からのRAM2の更新用ブログ
ムの実行指令は、必要とするとき突然指示され、今まで
実行していたプログラムに対して割込みを行うこととな
る。
The service processor 50 issues an instruction to execute the update program in the RAM 2 suddenly when necessary, and interrupts the program that has been running up until now.

トラップ制御回路10ではサービスプロセッサ50から
のRAM2の更新用プログラムの実行指令が指示された
場合、タイミング調整を行って現在実行中のプログラム
のアクセス番地に+1加算器5で+1加算し、レジスタ
6を介して復帰番地としてスタックメモリ7に格納指示
するとともに、接続線11によりマルチプレクサ9への
入力線12を選択指示させる。
When the trap control circuit 10 receives an instruction to execute a program for updating the RAM 2 from the service processor 50, it adjusts the timing, uses the +1 adder 5 to add +1 to the access address of the program currently being executed, and registers 6. The input line 12 is instructed to be stored in the stack memory 7 as a return address through the connection line 11, and the input line 12 to the multiplexer 9 is selected through the connection line 11.

RAM2の更新用プログラムの最後の実行マイクロ命令
は復帰マイクロ命令であり、この実行マイクロ命令によ
りスタックメモリ7に格納されている、RAM2の更新
用プログラムの実行前まで実行されていたプログラムの
再開番地の読出しの実行が指示される。復帰マイクロ命
令の実行は、スタックメモリ7から接続線71を介して
マルチプレクサ9に供給される復帰番地データをコマン
ド信号92により出力信号91として出力させ、この復
帰番地でROM1をアクセスすることにより実現される
The last execution microinstruction of the RAM2 update program is a return microinstruction, and this execution microinstruction returns the resume address of the program stored in the stack memory 7 that was being executed before the execution of the RAM2 update program. Execution of reading is instructed. Execution of the return microinstruction is realized by outputting the return address data supplied from the stack memory 7 to the multiplexer 9 via the connection line 71 as an output signal 91 using the command signal 92, and accessing the ROM 1 with this return address. Ru.

RAM2の更新用プログラムの実行により、RAM2に
格納されたアドレス一致信号発生データは、ROMIお
よびRAM2のその番地へのアクセスが行われると、ア
ドレスイコール信号(アドレス一致信号)21としてR
AM2から出力される。アドレスイコール信号21は論
理装置のマイクロプログラム実行の停止指示および論理
装置内部のハードウェア状態を観察するロジックトレー
サ、またはシンクロスコープなどの同期化信号として用
いられる。
By executing the update program in RAM2, the address match signal generation data stored in RAM2 is output as an address equal signal (address match signal) 21 when ROMI and the address in RAM2 are accessed.
It is output from AM2. The address equal signal 21 is used as an instruction to stop the execution of a microprogram in a logic device and as a synchronization signal for a logic tracer or synchroscope that observes the hardware state inside the logic device.

このように、マイクロプログラムを格納するROM1と
同じに番地が割当てられ、かつアドレス一致信号発生デ
ータを格納するRAM2を設け、このRAM2のアドレ
ス一致信号発生データが格納された番地にROM1と共
通してアクセスされたときにアドレス一致信号を発生す
るようにすることによって、RAM2を従来の回路に付
加するだけという少ないハードウェア量でアドレス一致
= 9− の検出信号であるアドレス一致信号を発生させることが
できる。
In this way, RAM2 is provided which is assigned the same address as ROM1 that stores the microprogram and stores address match signal generation data, and the address where the address match signal generation data of RAM2 is stored is shared with ROM1. By generating an address match signal when accessed, it is possible to generate an address match signal, which is a detection signal for address match = 9-, with a small amount of hardware, such as adding RAM2 to a conventional circuit. can.

発明の詳細 な説明したように本発明によれば、マイクロプログラム
を格納するメモリと同じ番地が割当てられた記憶手段に
アドレス一致信号を発生させるためのアドレス一致情報
を格納し、このアドレス一致情報が格納された番地にメ
モリと記憶手段とに共通してアクセスされたときにアド
レス一致信号を発生させるようにすることによって、少
ないハードウェア量でアドレス一致信号の発生を実現さ
せることができるという効果がある。
DETAILED DESCRIPTION OF THE INVENTION According to the present invention, address matching information for generating an address matching signal is stored in a storage means assigned the same address as a memory storing a microprogram, and this address matching information is By generating an address match signal when a stored address is commonly accessed by both the memory and the storage means, the effect is that the address match signal can be generated with a small amount of hardware. be.

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

第1図は本発明の一実施例を示すブロック図である。 主要部分の符号の説明 1・・・・・・ROM(リードオンリメモリ)2・・・
・・・RAM (ランダムアクセスメモリ)9・・・・
・・マルチプレクサ(MPX)21・・・・・・アドレ
スイコール信号30・・・・・・演算部 50・・・・・・サービスプロセッサ(SVP)100
・・・・・・アドレスバス 200・・・・・・データバス
FIG. 1 is a block diagram showing one embodiment of the present invention. Explanation of symbols of main parts 1...ROM (read only memory) 2...
...RAM (Random Access Memory) 9...
... Multiplexer (MPX) 21 ... Address equal signal 30 ... Arithmetic unit 50 ... Service processor (SVP) 100
...Address bus 200 ...Data bus

Claims (1)

【特許請求の範囲】[Claims] メモリへのアクセスアドレスが所定アドレスと一致した
ときにアドレス一致信号を発生するアドレス一致信号発
生方式であって、前記メモリと同様に番地割当てされ、
かつ前記アドレス一致信号を発生するためのアドレス一
致情報を格納する記憶手段を設け、前記メモリへのアク
セスアドレスが前記記憶手段の前記アドレス一致情報を
格納するアドレスであるときに前記アドレス一致信号を
発生させるようにしたことを特徴とするアドレス一致信
号発生方式。
An address match signal generation method that generates an address match signal when an access address to the memory matches a predetermined address, the address match signal is allocated in the same way as the memory,
and a storage means for storing address matching information for generating the address matching signal, and generating the address matching signal when the access address to the memory is an address for storing the address matching information of the storage means. An address match signal generation method characterized in that:
JP61268867A 1986-11-12 1986-11-12 Address coincidence signal generating system Pending JPS63123137A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61268867A JPS63123137A (en) 1986-11-12 1986-11-12 Address coincidence signal generating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61268867A JPS63123137A (en) 1986-11-12 1986-11-12 Address coincidence signal generating system

Publications (1)

Publication Number Publication Date
JPS63123137A true JPS63123137A (en) 1988-05-26

Family

ID=17464363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61268867A Pending JPS63123137A (en) 1986-11-12 1986-11-12 Address coincidence signal generating system

Country Status (1)

Country Link
JP (1) JPS63123137A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5131071A (en) * 1988-09-26 1992-07-14 Omron Tateisi Electronics Co. Fuzzy inference apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5131071A (en) * 1988-09-26 1992-07-14 Omron Tateisi Electronics Co. Fuzzy inference apparatus

Similar Documents

Publication Publication Date Title
US4734852A (en) Mechanism for performing data references to storage in parallel with instruction execution on a reduced instruction-set processor
US4414627A (en) Main memory control system
JPS61170828A (en) Microprogram control device
US4095268A (en) System for stopping and restarting the operation of a data processor
JPS61221936A (en) Data processor
JPS63123137A (en) Address coincidence signal generating system
JP3001547B1 (en) In-circuit emulator
JPS6112579B2 (en)
JPS5913060B2 (en) Main storage storage capacity detection method
JP2962209B2 (en) In-circuit emulator
JPH0652507B2 (en) Microcomputer development equipment
JPS5965354A (en) Priority control system for reception of processing request
JPS60225253A (en) Information processing device
Neumann Disk-based program swapping in 8080-based microcomputers
JPH0221331A (en) Program control system for microcomputer
JPS59127153A (en) Program loading system
JPH0287227A (en) Data processor
JPS6410853B2 (en)
JPS60132254A (en) Data processor
JPS60105048A (en) Microprogram control system
JPS58142453A (en) Data processing device
JPS59186048A (en) Microprogram control system
JPS6212545B2 (en)
JPS6225353A (en) Microprogram loading system
JPH01119825A (en) Hash processing controller