JPS6375851A - Memory device - Google Patents

Memory device

Info

Publication number
JPS6375851A
JPS6375851A JP22028486A JP22028486A JPS6375851A JP S6375851 A JPS6375851 A JP S6375851A JP 22028486 A JP22028486 A JP 22028486A JP 22028486 A JP22028486 A JP 22028486A JP S6375851 A JPS6375851 A JP S6375851A
Authority
JP
Japan
Prior art keywords
gate
gates
inputted
memory element
input
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
JP22028486A
Other languages
Japanese (ja)
Inventor
Noriaki Maekawa
前川 則昭
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.)
Toyo Communication Equipment Co Ltd
Original Assignee
Toyo Communication Equipment 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 Toyo Communication Equipment Co Ltd filed Critical Toyo Communication Equipment Co Ltd
Priority to JP22028486A priority Critical patent/JPS6375851A/en
Publication of JPS6375851A publication Critical patent/JPS6375851A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the occurrence of an unexpected accident by arbitrarily reading and writing data in a switched and set read/write address range and deciding the storage capacity of a mounted memory element according as the normal operation is performed or not and switching and connecting the input and the output of this element to prescribed states in accordance with the discrimination result. CONSTITUTION:In case of access to a memory element 1, a processor 2 sets an FF 3, and its output Q is inputted to NAND gates G1 of switching connection gates 4 and 5 of upper address signals A14 and A13, and signals A14 and A13 are inputted to the other inputs of gates G1. The inverted set output of the FF 3 is inputted to NAND gates G2 of gates 4 and 5, and signal '1' is inputted to a gate G2 of the gate 4 and a chip enable signal CE2 is inputted to a gate G2 of the gate 5, and outputs of gates G1 and G2 of gates 4 and 5 are inputted to address signal input terminals X and Y of the element through a negative logic OR gate G3.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はメモリ装置に関するものでおる。[Detailed description of the invention] [Industrial application field] The present invention relates to a memory device.

[従来の技術] 従来において、記憶容量が異なる同一形状のメモリ素子
を基板の同一実装場所で入れ替えて使用するメモリ装置
がある。
[Prior Art] Conventionally, there is a memory device in which memory elements of the same shape but with different storage capacities are used by replacing them at the same mounting location on a board.

このようなメモリ装置においては、実際に実装されたメ
モリ素子の入出力端子配列に応じてアドレスバスやデー
タバスとの接続関係を規定の状態に切替える必要がある
In such a memory device, it is necessary to switch the connection relationship with the address bus and the data bus to a specified state according to the input/output terminal arrangement of the actually mounted memory element.

そこで、例えば64にビットと256にビットの記憶容
量のメモリ素子を入れ替えて使用するものでは、第2図
の従来回路構成に示すように、256にビットのメモリ
素子1に入出力されるデータ信号DO〜D9、メモリリ
ード信qMRD、メモリライト信号MWR,チップイネ
ーブル信号CE1.GE2.アドレス信号AO〜A14
のうち、64にビットのメモリ素子を実装した時に使用
しない上位アドレス信号A14. A13を、A14に
ついては1″に、またA13については信ecs2にそ
れぞれ切替え接続するスイッチsw 1. SW 2を
設け、これらのスイッチSW 1. SW 2の手動切
替えによって64にピッ1〜と256にピッ1〜のメモ
リ素子を入れ替えて使用可能にしている。
Therefore, for example, in a device in which memory elements with a storage capacity of 64 bits and 256 bits are exchanged, data signals input and output from the memory element 1 of 256 bits are input and output, as shown in the conventional circuit configuration of Fig. 2. DO~D9, memory read signal qMRD, memory write signal MWR, chip enable signal CE1. GE2. Address signal AO~A14
Among them, the upper address signal A14.64 is not used when a 64-bit memory element is mounted. Switches sw1 and sw2 are provided to switch and connect A13 to 1'' for A14, and to ecs2 for A13, and by manually switching these switches sw1 and sw2, pins 1 to 256 are connected to 64. The memory elements of pins 1 to 1 are replaced to make them usable.

[発明が解決しようとする問題点] ところが、メモリ素子の入出力を手動で切替えるように
しているため、その切替え設定操作が面倒であり、切替
え設定を忘れてしまった場合には予期せぬ事故が発生し
てしまうという問題があった。
[Problems to be solved by the invention] However, since the input and output of the memory element is manually switched, the switching setting operation is troublesome, and if the switching setting is forgotten, an unexpected accident may occur. There was a problem that this occurred.

本発明の目的は、入出力関係の切替え設定を自動的に行
い、不測の事故が発生するのを防止できるようにしたメ
モリIII?fを提供することにある。
An object of the present invention is to automatically perform input/output related switching settings to prevent unexpected accidents from occurring. The goal is to provide f.

[問題点を解決するための手段] 本発明は、データの読み男きアドレス範囲を切替え設定
し、各読み書きアドレス範囲で任意のデータの読み■き
を行って正常な読み書ぎ動作が行なわれたか否かによっ
て現在実装されているメモリ素子の記憶容量を判定する
flJl平定と、その判定結果に基づいて実装されてい
るメモリ素子の入出力を規定状態に切替接続する切替手
段とを設【ブたものである。
[Means for Solving the Problems] The present invention switches and sets the address range for reading and writing data, reads and writes arbitrary data in each read/write address range, and performs normal reading and writing operations. flJl stabilization, which determines the storage capacity of the currently mounted memory element based on whether the It is something that

[作用] 判定手段は、メモリ素子の実装俊、アドレス信号で指定
し得るアドレス範囲のうち例えば最も上位側のアドレス
範囲を設定し、このアドレス範囲で任意のデータの読み
書きを行う。そして、p1込んだデータと読出しデータ
が一致すればこの時設定したアドレス範囲に相当するア
ドレス空間を持った記憶容量のメモリ素子であると判定
し、そのメモリ素子の入出力信号線を規定の入出力関係
に切替え接続させる。しかし、書込んだデータと読出し
た一f−夕とが不一致の場合には次位のアドレス範囲を
設定し、再度任意のデータの読み書きを行って記憶容量
を判定する。
[Operation] The determination means sets, for example, the uppermost address range among the address ranges that can be specified by the address signal depending on the mounting of the memory element, and reads and writes arbitrary data in this address range. If the data entered in p1 and the read data match, it is determined that the memory element has a storage capacity that has an address space corresponding to the address range set at this time, and input/output signal lines of the memory element are connected to specified input/output signal lines. Switch and connect to the output. However, if the written data and the read data do not match, the next address range is set, and arbitrary data is read and written again to determine the storage capacity.

[実施例〕 第1図は本発明の一実施例を示す回路図であり、ここで
は64にビットと256にビットのメモリ素子を入れ替
えて使用する場合の回路について示している。
[Embodiment] FIG. 1 is a circuit diagram showing an embodiment of the present invention. Here, a circuit is shown in which memory elements of 64 bits and 256 bits are used interchangeably.

図において、メモリ素子1は電源が投入された段階では
その記憶容量が64にビットであるのか、256にビッ
トであるのかは不明である。そこで、このメモリ素子1
をアクセスするプロセッサ2はフリップフロップ3にセ
ット信号5ET1を送り、該フリップ70ツブ3をセッ
ト状態にする。
In the figure, when the power is turned on, it is unclear whether the memory element 1 has a storage capacity of 64 bits or 256 bits. Therefore, this memory element 1
The processor 2 that accesses the flip-flop 3 sends a set signal 5ET1 to the flip-flop 3 to set the flip-flop 3.

フリップフロップ3のセット出力Qは、上位アドレス信
号A14とA13の切替え接続ゲート4.5のナントゲ
ートG1に共通に入力され、また反転セット出力は他方
のナントゲートG2に共通に入力されていいる。そして
、切替え接続ゲート4のナントゲートG1の他方の入力
にはアドレス信号A14が、またナントゲートG2の他
方の入力には″1”が入力されている。さらに、切替え
接続ゲート5のナントゲートG1の他方の入力にはアド
レス信号A13が、またナントゲートG2の他方の入力
には信号GE2が入力されている。そしてまた、切替え
接続ゲート3のナントゲートG1.G2の出力は負論理
オアゲートG3を介してメモリ素子1のアドレス信Pi
A14の入出力端子に接続され、一方の切替え接続ゲー
ト5のナントゲートG1、G2の出力も同揉に負論理オ
アゲートG3を介してメモリ索子1のアドレス信QA1
3の入力端子に接続されている。
The set output Q of the flip-flop 3 is commonly input to the Nant gate G1 of the switching connection gate 4.5 of the upper address signals A14 and A13, and the inverted set output is commonly input to the other Nant gate G2. The address signal A14 is input to the other input of the Nant gate G1 of the switching connection gate 4, and "1" is input to the other input of the Nant gate G2. Further, an address signal A13 is input to the other input of the Nant gate G1 of the switching connection gate 5, and a signal GE2 is input to the other input of the Nant gate G2. And also, the Nantes gate G1 of the switching connection gate 3. The output of G2 is connected to the address signal Pi of memory element 1 via negative logic OR gate G3.
The outputs of the Nandt gates G1 and G2 of one switching connection gate 5 are also connected to the input/output terminal of A14, and the address signal QA1 of the memory element 1 is also connected to the input/output terminal of the memory element 1 via the negative logic OR gate G3.
It is connected to the input terminal of 3.

なお、64にビットのメモリ素子の場合、アドレス信号
A14とA13の入出力端子は実在しないため、図中で
はX、Yで示している。
In the case of a 64-bit memory element, input/output terminals for address signals A14 and A13 do not exist, so they are indicated by X and Y in the figure.

従って、フリップフロップ3がセット状態になると、メ
モリ素子1のアドレス信号入力端子X。
Therefore, when the flip-flop 3 enters the set state, the address signal input terminal X of the memory element 1.

YにはA14とA13を入力し得る状態になる。そこで
、プロセッサ2は64にビットより大きく256にビッ
トより小さく1アドレス範囲をアドレス信号/M4〜A
Oで設定し、そのアドレス範囲で任意のデータの書込み
を行う。その後、同じアドレス範囲でデータの読出しを
行い、前に出込んだデータと一致するか否かを検出する
。もし、一致するならば64にビット以上のアドレス範
囲に実際にアドレス空間が存在することになるので、こ
の時実装されているメモリ素子1は256にビットの記
憶容量であるものと判定し、フリップフロップ3をセッ
ト状態のままに保持させてその後のアクセスを行う。
Y is now in a state where A14 and A13 can be input. Therefore, processor 2 assigns an address range larger than 64 bits and smaller than 256 bits to address signals /M4 to A.
Set with O, and write any data in that address range. Thereafter, data is read in the same address range, and it is detected whether it matches the previously read data. If they match, it means that an address space actually exists in the address range of 64 bits or more, so it is determined that the memory element 1 installed at this time has a storage capacity of 256 bits, and the flip-flop 3 is kept in the set state for subsequent accesses.

しかし、出込んだデータと読出したデータとが不一致の
場合、64にピッ1〜以上のアドレス範囲にはアドレス
空間が実在しないことになるので、この時実装されてい
るメモリ素子1は64ビツトの記憶容量であるものと判
定し、フリップフロップ3をリセット状態に切替える。
However, if the input/output data and the read data do not match, it means that there is no address space in the address range from 64 bits onwards, so the memory element 1 installed at this time is 64 bits It is determined that the storage capacity is sufficient, and the flip-flop 3 is switched to the reset state.

すると、メモリ素子1のアドレス信号入力端子Xには切
替え接続ゲート4のナントゲートG2およびオアゲート
G3を介して1”が入力され、またアドレス信号入力端
子Yには切替え接続ゲート5のナントゲートG2および
オアゲートG3を介して信ecE2が入力される状態と
なり、メモリ素子1はアドレスバスADR−Busのア
ドレス信号A12〜AOによってアドレス空間が指定さ
れるようになる。
Then, 1'' is input to the address signal input terminal X of the memory element 1 via the Nant gate G2 and OR gate G3 of the switching connection gate 4, and 1'' is input to the address signal input terminal Y through the Nant gate G2 and the Nant gate G2 of the switching connection gate 5. The signal ecE2 is inputted via the OR gate G3, and the address space of the memory element 1 is designated by the address signals A12 to AO of the address bus ADR-Bus.

なお、図中の6はアドレス信号A14より上位側のアド
レス信号A15. A16をデコードし、これらの信号
の組合せによってメモリ素子1に対してチップイネーブ
ル信号CEIを与えるデコーダであり、これはプロセッ
サ2のアドレスバスADR・BLISが16ピツトで構
成されているので、メモリ素子1以外のメモリ素子をも
選択できるようにするために設けられているものである
Note that 6 in the figure indicates the address signal A15. which is higher than the address signal A14. This is a decoder that decodes A16 and provides a chip enable signal CEI to memory element 1 based on a combination of these signals. This is provided to enable selection of memory elements other than the above.

なお、この実施例においてメモリ素子1の入出力関係は
アドレス信号のみについて切替えているが、他のイ二号
についても切替え接続することもできる。またその切替
え接続はゲート回路素子を用いて行っているが、外部制
御が可能なリレー接点等を用いてもよい。
In this embodiment, the input/output relationship of the memory element 1 is switched only for the address signal, but it is also possible to switch and connect the other signals. Further, although the switching connection is performed using a gate circuit element, a relay contact or the like that can be externally controlled may also be used.

さらに、記憶容量の判定は2段階で行っているが、3段
階以上に亘って実施するように容易に構成することがで
きる。その場合は切替え接続ゲートを判定段階数に応じ
て設ければよい。
Furthermore, although the storage capacity determination is performed in two stages, it can be easily configured to be performed in three or more stages. In that case, switching connection gates may be provided according to the number of determination stages.

[発明の効果] 以上説明したように本発明によれば、実装されたメモリ
素子の記憶容量を自動的に判定して入出力関係を規定の
関係に切替え接続するため、メモリ素子を入れ替えた際
に手動の切替え操作を行う必要がなくなり、その切替え
操作ミス等による不測の事故を完全に防止することがで
きる。
[Effects of the Invention] As explained above, according to the present invention, since the storage capacity of the mounted memory element is automatically determined and the input/output relationship is switched to the specified relationship and the connection is made, when the memory element is replaced, This eliminates the need for manual switching operations, and completely prevents unexpected accidents caused by mistakes in switching operations.

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

第1図は本発明の一実施例を示づ回路図、第2図は従来
構成を示す回路図である。 1・・・メモリ素子、2・・・プロセッサ、3・・・フ
リップフロップ、4.5・・・切替え接続ゲート。 第1図
FIG. 1 is a circuit diagram showing an embodiment of the present invention, and FIG. 2 is a circuit diagram showing a conventional configuration. DESCRIPTION OF SYMBOLS 1...Memory element, 2...Processor, 3...Flip-flop, 4.5...Switch connection gate. Figure 1

Claims (1)

【特許請求の範囲】  記憶容量が異なる同一形状のメモリ素子を基板の同一
実装場所で入替えて使用するメモリ装置において、 データの読み書きアドレス範囲を切替え設定し、各読み
書きアドレス範囲で任意のデータの読み書きを行って正
常な読み書き動作が行なわれたか否かによって現在実装
されているメモリ素子の記憶容量を判定する判定手段と
、その判定結果に基づいて実装されているメモリ素子の
入出力を規定状態に切替え接続する切替手段とを備えて
成るメモリ装置。
[Claims] In a memory device in which memory elements of the same shape with different storage capacities are replaced at the same mounting location on a board, data read/write address ranges are switched and set, and arbitrary data can be read and written in each read/write address range. determining means for determining the storage capacity of the currently mounted memory element based on whether or not normal read/write operations have been performed; A memory device comprising: switching means for switching connection.
JP22028486A 1986-09-18 1986-09-18 Memory device Pending JPS6375851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22028486A JPS6375851A (en) 1986-09-18 1986-09-18 Memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22028486A JPS6375851A (en) 1986-09-18 1986-09-18 Memory device

Publications (1)

Publication Number Publication Date
JPS6375851A true JPS6375851A (en) 1988-04-06

Family

ID=16748759

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22028486A Pending JPS6375851A (en) 1986-09-18 1986-09-18 Memory device

Country Status (1)

Country Link
JP (1) JPS6375851A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03107750U (en) * 1990-02-20 1991-11-06

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60197993A (en) * 1984-03-21 1985-10-07 Toshiba Corp Memory contents reader
JPS61208151A (en) * 1985-03-12 1986-09-16 Ricoh Co Ltd Device for deciding capacity of data storage device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60197993A (en) * 1984-03-21 1985-10-07 Toshiba Corp Memory contents reader
JPS61208151A (en) * 1985-03-12 1986-09-16 Ricoh Co Ltd Device for deciding capacity of data storage device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03107750U (en) * 1990-02-20 1991-11-06

Similar Documents

Publication Publication Date Title
JPS6375851A (en) Memory device
JPH05233834A (en) Single chip microcomputer
JPS6375853A (en) Memory device
US4388707A (en) Memory selecting system
JPS6211749B2 (en)
JPS5892054A (en) Programmable chip enable circuit
JP2967825B2 (en) Microcomputer
JPS5842545B2 (en) Memory card block selection method
JP2975638B2 (en) Semiconductor integrated circuit
JPH0116193Y2 (en)
US5991212A (en) Semi-conductor integrated circuit device having an external memory and a test method therefor
KR0184154B1 (en) One chip micro-computer unit
JP2680013B2 (en) External I / O control circuit of programmable controller
JPS6230106Y2 (en)
JPS6124100A (en) Memory ic chip
JPH064480Y2 (en) Semiconductor memory device
KR890004224Y1 (en) Address expanding device for direct access memory
JPS63298515A (en) Controller for semiconductor memory cartridge
JPS62229452A (en) Peripheral module access system
JPH0632048B2 (en) Single-chip micro computer
JPS60233751A (en) Address decoding circuit
JPH0720977A (en) System setup type computer equipment
JPS63204342A (en) Memory device
JPS5920069A (en) One-chip microcomputer
JPH03191487A (en) Single chip microcomputer