JPS63245750A - Main memory device - Google Patents
Main memory deviceInfo
- Publication number
- JPS63245750A JPS63245750A JP62080140A JP8014087A JPS63245750A JP S63245750 A JPS63245750 A JP S63245750A JP 62080140 A JP62080140 A JP 62080140A JP 8014087 A JP8014087 A JP 8014087A JP S63245750 A JPS63245750 A JP S63245750A
- Authority
- JP
- Japan
- Prior art keywords
- address
- circuit
- main memory
- signal
- maximum
- 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
- 230000005856 abnormality Effects 0.000 claims description 15
- 238000001514 detection method Methods 0.000 claims description 11
- 230000002159 abnormal effect Effects 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 11
- 230000000694 effects Effects 0.000 description 2
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は主記憶装置に関し、特にアドレス異常信号を
出力する回路を備えた主記憶装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a main memory device, and more particularly to a main memory device equipped with a circuit for outputting an address error signal.
第3図は従来のこの種の装置を示すブロック図であって
、図において(1)は主記憶装置、(2)は主記憶装置
(1)にアクセスする外部装置、(3)は主記憶装置(
1)の主要構成部分であるメモリ回路、(4)はメモリ
回路(3)にアクセスするアドレス信号を伝送するアド
レス線、(5)はメモリ回路(3)に書込まれ又はメモ
リ回路(4)から読出されるデータ信号を伝送するデー
タ線、(6)は比較器、(7)はレジスタ、(8)はア
ドレス異常信号である。アドレス信号が20ビツトの2
進符号(5桁の16進数に対応する)で構成される場合
、アドレス線(4)は20本の信号線から構成され、5
桁の16進数で表わして「00000Jから[FFFF
F’Jまでの値のアドレス信号を伝送することができる
。FIG. 3 is a block diagram showing a conventional device of this type, in which (1) is the main memory, (2) is an external device that accesses the main memory (1), and (3) is the main memory. Device(
1) is the main component of the memory circuit, (4) is the address line that transmits the address signal to access the memory circuit (3), and (5) is the main component of the memory circuit (3) or the memory circuit (4). A data line (6) is a comparator, (7) is a register, and (8) is an address error signal. The address signal is 2 with 20 bits.
When configured with a decimal code (corresponding to a 5-digit hexadecimal number), the address line (4) consists of 20 signal lines;
Expressed in hexadecimal digits from 00000J to [FFFF
Address signals with values up to F'J can be transmitted.
レジスタ(7)には主記憶装置(1)に(詳細に言えば
主記憶装置(1)内のメモリ回路(3)に)実装されて
いる最大の主記憶アドレスを保持している。The register (7) holds the largest main memory address installed in the main memory (1) (more specifically, in the memory circuit (3) in the main memory (1)).
第4図はレジスタ(7)の構成を示す説明図で、上述の
数値例を用いアドレス信号が20ビツトの2進符号で構
成されるとするとレジスタ(7)は一般には20ビツト
の信号を記憶できるメモリ素子(図に7−〇〜7−(n
−1)で示す。上述の例ではn=20、但し中間の素子
には符号を記入してない)を備えている。またメモリ回
路(3)が変らない限りレジスタ(7)の内容を変更す
る必要がないので、レジスタ(7)はROM (読出し
専用メモリ)で構成することができる。第4図に示す電
源(7a)、プルアップ抵抗(7b)、スイッチ(7C
)によって各ビットの信号を構成することができる。ま
た、レジスタ(7)の内容を変化する必要がないとき、
第4図のスイッチ(7C)はたとえばフユーズによって
構成しこれを接続したままの状態で論理rOJのビット
、これを切断した状態で論理「1」のビットを出力する
ことができる。FIG. 4 is an explanatory diagram showing the configuration of register (7). Using the above numerical example, assuming that the address signal is composed of a 20-bit binary code, register (7) generally stores a 20-bit signal. Memory elements (7-〇 to 7-(n) in the figure)
-1). In the above example, n=20 (note that the intermediate elements are not numbered). Further, since there is no need to change the contents of the register (7) unless the memory circuit (3) is changed, the register (7) can be configured with a ROM (read-only memory). The power supply (7a), pull-up resistor (7b), switch (7C) shown in Figure 4
) can configure each bit signal. Also, when there is no need to change the contents of register (7),
The switch (7C) in FIG. 4 is constituted by a fuse, for example, and can output a logic rOJ bit when it is connected, and a logic "1" bit when it is disconnected.
第5図は第3図のメモリ回路(3)に実装されたデータ
の最大のアドレスの一例を説明するフォーマット図で、
図に示す例ではアドレスを5桁の16進数で表した場合
ooooo〜BFFFF−!、ではデータが実装されて
おJCOOOO−FFFFFの領域はデータが未実装で
あることを示す。FIG. 5 is a format diagram illustrating an example of the maximum address of data implemented in the memory circuit (3) of FIG.
In the example shown in the figure, if the address is expressed as a 5-digit hexadecimal number, ooooo~BFFFF-! , indicates that data has been implemented, and the area JCOOOO-FFFFF indicates that data has not been implemented.
以下、第3図、第4図及び第5図について従来の装置の
動作を説明する。外部装置(2)からアドレス線(4)
上に送出されるアドレスの値が(第5図に示す数値例で
)ooooo〜BFFFFの間にある場合はメモリ回路
(3)から入力アドレスに対応するデータがデータ線(
5)に読出され、又はデータ線(5)上のデータが入力
アドレスに対応するメモリ位置に書込まれる。また、レ
ジスタ(7)には数値BFFFFが書込まれているので
、アドレス線(4)上に送出されるアドレスの値がco
ooo〜FFFFFの間にあるときは比較器(6)から
アドレス異常信号(8)が送出され、外部装置(2)に
対し主記憶装置(1)へアクセスできないことを知らせ
る。The operation of the conventional apparatus will be explained below with reference to FIGS. 3, 4, and 5. Address line (4) from external device (2)
If the value of the address sent above is between ooooo and BFFFF (in the numerical example shown in Figure 5), the data corresponding to the input address is transferred from the memory circuit (3) to the data line (
5) or the data on the data line (5) is written to the memory location corresponding to the input address. Also, since the numerical value BFFFF is written in the register (7), the value of the address sent on the address line (4) is
When the value is between ooo and FFFFF, an address abnormality signal (8) is sent from the comparator (6) to inform the external device (2) that the main storage device (1) cannot be accessed.
オた、この場合レジスタ(7)にはBFFFFの全ビッ
トを格納している必要は力<、最上位の4ビツト(上記
例でけBすなわち2進符号で1011 )だけを格納し
ておけば足りる。アドレス線(4)上のアドレス信号の
最上位4ビツトがC、D、E、Fの場合アドレス異常信
号(8)が送出される。多くの場合、メモリ回路の実装
部分の最大アドレスは2進符号の上位ビットの変化点に
合致するので、レジスタ(7)に格納すべきビット数は
比較的小数で、したがって比較器(6)において比較す
べきビット数も比較的小数で足りる場合が多い。第5図
の右側に、4ビツトで構成されるレジスタ(7)に数値
B(1011)が格゛納されている例を示す。Also, in this case, register (7) does not need to store all bits of BFFFF, but only the most significant 4 bits (B in the above example, i.e. 1011 in binary code) should be stored. Enough. When the most significant four bits of the address signal on the address line (4) are C, D, E, F, an address abnormality signal (8) is sent out. In many cases, the maximum address of the implementation part of the memory circuit coincides with the change point of the upper bits of the binary code, so the number of bits to be stored in the register (7) is relatively small, and therefore in the comparator (6). In many cases, the number of bits to be compared is relatively small. The right side of FIG. 5 shows an example in which a numerical value B (1011) is stored in a register (7) consisting of 4 bits.
従来の装置は以上のように構成されているので、もしメ
モリ回路(3)の実装メモリのアドレスが0oooo〜
FFFFFであシ、したがってレジスタ(7)にはFF
FFFが格納されておシ、アドレス線(4)が20本で
あるような場合には、どのような状況でもアドレス異常
信号(8)は送出されることなく、したがって外部装置
(2)においてアドレス異常信号(8)によって起され
る動作を試験することが困難であるという問題があった
。この発明の特許出願人は上記問題を解決するための一
つの発明をこの出願とは別途に特許出願(以下別途出願
という)した。この別途出願ではアドレス線(4)で伝
送することができる最大アドレス値を検出するアドレス
最大値検出回路を設け、このアドレス最大値検出回路の
出力と比較器(6)の出力との論理和をアドレス異常信
号として出力した。然しこの別途出願の装置によると、
外部装置においてアドレス異常信号を必要としない場合
で、かつ実際にはアドレス異常でない場合)にもアドレ
ス異常信号が出力されて混乱を起すことがあるという点
に問題がある。Since the conventional device is configured as described above, if the address of the memory installed in the memory circuit (3) is 0oooo~
It is FFFFF, so register (7) contains FF.
If FFF is stored and there are 20 address lines (4), the address error signal (8) will not be sent out under any circumstances, and therefore the external device (2) will not be able to read the address. There was a problem in that it was difficult to test the operation caused by the abnormal signal (8). The applicant for a patent for this invention has filed a patent application (hereinafter referred to as a separate application) for an invention for solving the above-mentioned problem separately from this application. In this separate application, an address maximum value detection circuit is provided to detect the maximum address value that can be transmitted on the address line (4), and the logical sum of the output of this address maximum value detection circuit and the output of the comparator (6) is calculated. Output as address error signal. However, according to this separately filed device,
There is a problem in that an address abnormality signal may be output even when an external device does not require an address abnormality signal and there is actually no address abnormality, causing confusion.
との発明は上記のような問題点を解決するためになされ
たもので、実装最大主記憶アドレスの値とアドレス線に
より送出できるアドレスの最大値との関係如何にかかわ
らず、主記憶装置からアドレス異常信号を出力すること
ができ、かつ外部装置の試験のため等で必要な場合を除
いては実際のアドレス異常の時だけアドレス異常信号が
出力される主記憶装置を得ることを目的としている。The invention was made to solve the above problems, and regardless of the relationship between the maximum main memory address value that can be implemented and the maximum value of addresses that can be sent via the address line, It is an object of the present invention to provide a main memory device which can output an abnormality signal and outputs an address abnormality signal only when an actual address abnormality occurs, except when necessary for testing an external device.
この発明では、アドレス線により送出できるアドレスの
最大値が外部装置から送出されたときはこれを検出する
ことができるアドレス最大値検出回路と、このアドレス
最大値検出回路の出力をアドレス異常信号として出力す
るか否かを制御するフリップフロップを設けた。In this invention, there is provided an address maximum value detection circuit that can detect when the maximum value of an address that can be sent through an address line is sent from an external device, and an output of this maximum address value detection circuit that is output as an address abnormality signal. A flip-flop is provided to control whether or not to do so.
主記憶装置の実装最大主記憶アドレスの値がアドレス線
により送出できるアドレスの最大値に等しいか又はこれ
を超過している場合、アドレス異常信号に関する試験を
する目的等の場合は、この発明の装置では外部装置から
フリップフロップなセットし、かつアドレス線により送
出できるアドレスの最大値を示すアドレス信号を送出す
ることによって、主記憶装置からアドレス異常信号を送
出することかできる。またフリップフロップをリセット
しておけばアドレス異常信号は実際のアドレス異状以外
には送出されない。Implementation of the main memory device When the value of the maximum main memory address is equal to or exceeds the maximum value of the address that can be sent out by the address line, and for the purpose of testing regarding address abnormal signals, etc., the device of the present invention Then, by setting a flip-flop from an external device and sending an address signal indicating the maximum value of the address that can be sent via the address line, it is possible to send an address abnormality signal from the main memory device. Furthermore, if the flip-flop is reset, the address abnormality signal will not be sent unless there is an actual address abnormality.
以下この発明の実施例を図面について説明する。 Embodiments of the present invention will be described below with reference to the drawings.
第1図はこの発明の一実施例を示すブロック図で、第2
図は第1図のアドレス最大値検出回路(9)の構成の一
例を示す回路図である。FIG. 1 is a block diagram showing one embodiment of the present invention.
FIG. 1 is a circuit diagram showing an example of the configuration of the address maximum value detection circuit (9) in FIG. 1.
これらの図において第3図と同一符号は同−又は相当部
分を示し、(9)はアドレス最大値検出回路、(10)
はオア回路、(11)はフリップフロップ(以下F/F
と略記する)、(12)はアンド回路、(91)〜(9
6)はアドレス最大値検出回路(9)を構成するアンド
回路である。F/F (11)のS、R,Qはそれぞれ
セット信号入力端子、リセット信号入力端子、出力端子
である。In these figures, the same symbols as in Fig. 3 indicate the same or corresponding parts, (9) is the address maximum value detection circuit, (10)
is an OR circuit, (11) is a flip-flop (hereinafter referred to as F/F)
), (12) is an AND circuit, (91) to (9
6) is an AND circuit constituting the maximum address value detection circuit (9). S, R, and Q of F/F (11) are a set signal input terminal, a reset signal input terminal, and an output terminal, respectively.
メモリ回路(3)に実装されているアドレスの最大値(
実装最大主記憶アドレスの値)とアドレス線(4)で送
出できるアドレス最大値とが第5図に示すような関係に
あるときは第1図の装置においてF/F (11)をリ
セットしておくので第1図の装置の動作は第3図の装置
の動作と同様である。また、アドレス線(4)上のアド
レスがFFFFFであった場合アドレス最大値検出回路
(9)からは論理「1」の信号が出力されるが、この信
、号はアンド回路(12)で阻止されてアドレス異常信
号には影響を与えない。Maximum address value (
When the maximum main memory address (implemented maximum main memory address value) and the maximum address value that can be sent via the address line (4) have a relationship as shown in Figure 5, reset the F/F (11) in the device shown in Figure 1. Therefore, the operation of the apparatus of FIG. 1 is similar to that of the apparatus of FIG. Furthermore, when the address on the address line (4) is FFFFF, a logic "1" signal is output from the address maximum value detection circuit (9), but this signal is blocked by the AND circuit (12). and does not affect the address error signal.
第5図に示す例とは異なシ、実装最大主記憶アドレスの
値がFFFFFであシ、アドレス線(4)により送出で
きるアドレスの最大値がFFFFFであった場合、従来
の装置においてはアドレス異常信号(8)が送出される
機会はないが、第1図の装置では外部装置(2)がF/
F(11)をセットしておいてアドレス線(4)上にF
FFFFのアドレス信号を送出するとアンド回路(91
)〜(95)及び(12)のすべての入力が論理「1」
となシ、オア回路(10)の一方の入力が論理「1」と
なるので、論理「1」のアドレス異常信号(8)が出力
される。試験等のために必要な場合以外はF’/F(1
1)をリセットしておけば、アドレス異常信号は比較器
(6)からだけ出力されて混乱を避けることができる。Different from the example shown in Fig. 5, if the value of the implemented maximum main memory address is FFFFF and the maximum value of the address that can be sent through the address line (4) is FFFFF, in the conventional device, the address is abnormal. There is no opportunity for signal (8) to be sent out, but in the device shown in Figure 1, external device (2)
Set F (11) and then write F on the address line (4).
When the address signal of FFFF is sent, the AND circuit (91
) to (95) and (12) all inputs are logic “1”
Then, since one input of the OR circuit (10) becomes logic "1", an address abnormality signal (8) of logic "1" is output. F'/F (1
1), the address error signal is output only from the comparator (6), thereby avoiding confusion.
以上のようにこの発明によれば、実装最大主記憶アドレ
スの値にかかわらず、必要な場合にはアドレス異常信号
を出力することができるようにしたので、外部装置のア
ドレス異常信号検出回路等の動作を試験する場合に便利
であり、また、必要のない場合には、アドレス異常信号
を比較器からだけ出力するように制御することができる
。As described above, according to the present invention, it is possible to output an address abnormality signal when necessary, regardless of the value of the implemented maximum main memory address. This is convenient when testing the operation, and when it is not necessary, it can be controlled so that the address error signal is output only from the comparator.
第1図はこの発明の一実施例を示すブロック図、第2図
は第1図のアドレス最大値検出回路の構成の一例を示す
回路図、第3図は従来の装置を示すブロック図、第4図
は第3図のレジスタの構成を示す説明図、第5図は第3
図のメモリ回路に実装されたデータの最大のアドレスの
一例を説明するフォーマット図0
(1)は主記憶装置、(2)は外部装置、(3)はメモ
リ回路、(4)はアドレス線、(5)はデータ線、(6
)は比較器、(7)はレジスタ、(8)はアドレス異常
信号、(9)はアドレス最大値検出回路、(10)はオ
ア回路、(11)はF/F、 (12)はアンド回路
。
尚、各図中同一符号は同−又は相当部分を示す。FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a circuit diagram showing an example of the configuration of the maximum address value detection circuit shown in FIG. 1, and FIG. 3 is a block diagram showing a conventional device. Figure 4 is an explanatory diagram showing the configuration of the register in Figure 3, and Figure 5 is an explanatory diagram showing the configuration of the register in Figure 3.
Format diagram 0 explaining an example of the maximum address of data implemented in the memory circuit in the figure (1) is the main memory, (2) is the external device, (3) is the memory circuit, (4) is the address line, (5) is the data line, (6
) is a comparator, (7) is a register, (8) is an address error signal, (9) is an address maximum value detection circuit, (10) is an OR circuit, (11) is an F/F, (12) is an AND circuit. . Note that the same reference numerals in each figure indicate the same or corresponding parts.
Claims (1)
レジスタ、 外部装置からアドレス線を経て上記主記憶装置にアクセ
スするために入力されるアドレス信号と上記レジスタの
内容とを比較し、上記アドレス信号の表わす数値が上記
レジスタの内容が表わす数値より大きいときに論理「1
」の信号を出力する比較器、 上記アドレス信号を入力し、入力したアドレス信号が、
当該アドレス信号のとり得る最大値を示すときに論理「
1」の信号を出力するアドレス最大値検出回路、 上記外部装置からセット又はリセットすることができる
フリップフロップ、 このフリップフロップの出力と上記アドレス最大値検出
回路の出力との論理積を出力するアンド回路、 このアンド回路の出力と上記比較器の出力との論理和を
アドレス異常信号として出力するオア回路、 を備えたことを特徴とする主記憶装置。[Claims] A register in which the value of the maximum main memory address implemented in the main memory is set, an address signal input from an external device to access the main memory via an address line, and the contents of the register. and when the numerical value represented by the address signal is greater than the numerical value represented by the contents of the register, a logic "1" is generated.
A comparator that outputs the signal ``, inputs the above address signal, and the input address signal
When indicating the maximum value that the address signal can take, the logic
1", a flip-flop that can be set or reset from the external device, and an AND circuit that outputs the logical product of the output of this flip-flop and the output of the maximum address detection circuit. , an OR circuit that outputs the logical sum of the output of the AND circuit and the output of the comparator as an address abnormality signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62080140A JPS63245750A (en) | 1987-04-01 | 1987-04-01 | Main memory device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62080140A JPS63245750A (en) | 1987-04-01 | 1987-04-01 | Main memory device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63245750A true JPS63245750A (en) | 1988-10-12 |
Family
ID=13709952
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62080140A Pending JPS63245750A (en) | 1987-04-01 | 1987-04-01 | Main memory device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63245750A (en) |
-
1987
- 1987-04-01 JP JP62080140A patent/JPS63245750A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4167041A (en) | Status reporting | |
US4829596A (en) | Programmable controller with fiber optic input/output module | |
US4787060A (en) | Technique for determining maximum physical memory present in a system and for detecting attempts to access nonexistent memory | |
US4596014A (en) | I/O rack addressing error detection for process control | |
US6745341B1 (en) | Information processing apparatus having fault detection for multiplex storage devices | |
US5436856A (en) | Self testing computer system with circuits including test registers | |
US4283720A (en) | Apparatus for monitoring the operation of electronic equipment | |
US5414721A (en) | Serial data receiving device | |
US20090119420A1 (en) | Apparatus and method for scaleable expanders in systems management | |
JPS63245750A (en) | Main memory device | |
JPS63245749A (en) | Main memory device | |
JPS6016996Y2 (en) | Address selection device for input/output interface device | |
US4531215A (en) | Validity checking arrangement for extended memory mapping of external devices | |
EP0556138B1 (en) | A bus for connecting extension cards to a data processing system and test method | |
JPH087442Y2 (en) | Input / output device of programmable controller | |
JPH06231007A (en) | Illegal address detection circuit for computer | |
KR100261080B1 (en) | Circuit and method for controlling communication between PCI bus and ISA bus | |
JPS639691B2 (en) | ||
JPS63132356A (en) | Memory bank switching device | |
JP2892798B2 (en) | Digital controller | |
JPS63292342A (en) | Error detecting circuit | |
JPS61286770A (en) | Apparatus for diagnosing trouble | |
JPH0324601A (en) | Control method | |
JPS62206641A (en) | Error detection circuit | |
JPS63201856A (en) | Storage device |