JPS6219950A - Address error detection system for storage device - Google Patents

Address error detection system for storage device

Info

Publication number
JPS6219950A
JPS6219950A JP15909585A JP15909585A JPS6219950A JP S6219950 A JPS6219950 A JP S6219950A JP 15909585 A JP15909585 A JP 15909585A JP 15909585 A JP15909585 A JP 15909585A JP S6219950 A JPS6219950 A JP S6219950A
Authority
JP
Japan
Prior art keywords
address
storage
capacity
storage capacity
storage area
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
JP15909585A
Other languages
Japanese (ja)
Inventor
Hideyuki Saso
秀幸 佐相
Nobuyoshi Sato
信義 佐藤
Mitsuo Sakurai
桜井 三男
Masahiro Hitomi
政弘 一見
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP15909585A priority Critical patent/JPS6219950A/en
Publication of JPS6219950A publication Critical patent/JPS6219950A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To detect completely an address-over phenomenon by setting a storage area for the differential extra storage capacity before the storage area to be allocated in case a difference is produced between the using storage capacity and the real storage capacity. CONSTITUTION:A register part 4 stores the extra storage capacity 3C produced by the difference between the using storage capacity 3B and the real storage capacity 3A of a storage part 3. An address-over detecting part 7 delivers an error signal E when an address is carried out with an address larger than the capacity 3A of the part 3. Then the position of a head address 0 which receives actual access to be allocated by the capacity 3C of the part 4 is shifted. Thus an end address N is made correspondent to the terminal of the storage area of the capacity 3A. Then an error is detected in response to access larger than the using storage area.

Description

【発明の詳細な説明】 〔概 要〕 使用記(、”、$ fflと実記憶容?とに差がある場
合はその差の余剰記憶容量の記憶領域を割付すべき記1
、ff領域の前に位置させることにより、アドレスオー
バの検出が確実に行えるようにしたものである。
[Detailed Description of the Invention] [Summary] Usage Note (, ”, Note 1: If there is a difference between $ffl and real storage capacity, a storage area of surplus storage capacity corresponding to the difference should be allocated.
, ff areas, it is possible to reliably detect address overflow.

〔産業上の利用分野〕[Industrial application field]

本発明は使用記憶容量と実記憶容量とに差がある場合の
記1.a装置のアドレスエラー検出方式に係り、特に、
咳差による容量の記憶領域を割付すべき領域の前に位置
させるようにした記憶装置のアドレスエラー検出方式に
関する。
The present invention is applicable to 1. when there is a difference between the used storage capacity and the actual storage capacity. Regarding the address error detection method of a device, in particular,
The present invention relates to an address error detection method for a storage device in which a storage area whose capacity is determined by a difference in capacity is located before an area to be allocated.

最近では多種多様のOA機器が用いられるようになり、
それぞれの機器のビット構成は必ず同しではない。
Recently, a wide variety of OA equipment has been used,
The bit configuration of each device is not necessarily the same.

したがって、このようなビット構成の異なった多種多様
な機器に対してそれぞれ適した記憶装置を設けるには、
種々の容量の記憶装置を準備する必要があり、?!!造
上、多種少量の生産となりニス1−アップとなる。
Therefore, in order to provide storage devices suitable for a wide variety of devices with different bit configurations, it is necessary to
Do you need to prepare storage devices of various capacities? ! ! Due to the construction, a wide variety of products are produced in small quantities, and the varnish is 1-up.

そこで、一般的には、使用する機器による異なったビッ
ト構成の差を吸収すべく、また、将来のインターフェー
スを配慮した大きな容量の記憶装置が用いられている。
Therefore, in order to absorb differences in bit configurations depending on the equipment used, and in consideration of future interfaces, large capacity storage devices are generally used.

したがって、実記憶容量より使用記憶容量は小さくなる
ため、未使用の記憶領域が生じる。
Therefore, since the used storage capacity is smaller than the actual storage capacity, there is an unused storage area.

そこで、アドレス割付に際してはこのような未使用の記
憶領域あっても支障のないように割付されることが望ま
れている。
Therefore, when allocating addresses, it is desired that such unused storage areas be allocated without causing any problems.

〔従来の技術〕[Conventional technology]

従来は第3図の従来のブロック図に示すように構成され
ていた。
Conventionally, the configuration was as shown in the conventional block diagram shown in FIG.

CPUI側からのアドレス指定Aによりリードライト部
2を介して記憶部3の実記1、a容ff13Aに於ける
所定の記iQ領域がアクセスされるように構成されてい
る。
The configuration is such that a predetermined iQ area in the actual memory 1 and a capacity ff13A of the storage unit 3 is accessed via the read/write unit 2 by address designation A from the CPUI side.

このような記憶領域に対するアドレスの割付は先Off
アドレス0から最後尾アドレスNの使用記憶領域3Dを
前部に位置させ、後部には未使用の記イ、α領域3 E
 A<M −Zに位置されるように行われていた。
Allocation of addresses to such storage areas should be turned off first.
The used storage area 3D from address 0 to the last address N is located at the front, and the unused area is written at the rear, α area 3E.
It was done so that A<M-Z.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、このようなアドレスの割付では誤指定によりM
−Zのアドレスが指定された場合、その誤アドレスによ
るアドレスオーバが検出されないため、未使用の記憶領
域3Eに対するアクセスが可能となる。
However, with this kind of address assignment, M
If the -Z address is specified, address overflow due to the incorrect address will not be detected, and therefore it becomes possible to access the unused storage area 3E.

したがって、誤アドレス指定により本来なら未使用の記
す、α領域3日にデータが格納されるので、処理全体で
は矛盾を起こすという問題を有していた。
Therefore, due to incorrect address designation, data is stored on the third day of the α area, which is originally unused, resulting in a problem of inconsistency in the entire process.

即ち、書込んだはずのアドレスと読み出すアドレスとが
不一致になるという場合である。
In other words, there is a case where the address to be written and the address to be read do not match.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理ブロック図である。 FIG. 1 is a block diagram of the principle of the present invention.

第1図に示すように、記憶部(3)における使用記憶容
I(3B)と実記憶容量(3A)との容量の差による余
剰記憶容量(3C)を記憶するレジスタ部(4)および
記憶部(3)の実記憶容量値より大のアドレスでアクセ
スした時にエラー信号(E)を出力するアドレスオーバ
検1i[13(7)とを備えると共に、該レジスタ部 
(4)の咳余剰記憶容量(3C)により割付すべき実際
にアクセスされる先頭アドレス(0)の位置をシフトし
、最後尾アドレス(N)が該実記憶容量(3A)の記憶
領域の末端に対応するようにし、使用記す、α領域を越
えたアクセスに対応してエラーを検出するようにしたも
のである。
As shown in FIG. 1, there is a register section (4) and a memory for storing surplus storage capacity (3C) due to the difference in capacity between the used storage capacity I (3B) and the actual storage capacity (3A) in the storage section (3). an address overdetection detector 1i[13(7) which outputs an error signal (E) when access is made with an address larger than the actual storage capacity value of the register section (3);
Shift the position of the first address (0) that is actually accessed to be allocated according to the surplus storage capacity (3C) in (4), and the last address (N) is the end of the storage area of the actual storage capacity (3A). , and an error is detected in response to an access beyond the α area.

このように構成することによって前述の問題点は解決さ
れる。
With this configuration, the above-mentioned problems are solved.

〔作 用〕[For production]

即ち、記憶領域の割付に際しては、実記す、α容量と使
用記録容量との差による余剰記憶容量の記憶領域は使用
記憶容量による割付すべき記憶領域の前に位置さ′せて
割付を行うことにより、最後尾アドレスが常に記憶領域
の末端に割付されるようにしたものである。
That is, when allocating storage areas, the storage area with surplus storage capacity due to the difference between the α capacity and the used storage capacity should be located before the storage area to be allocated based on the used storage capacity. This ensures that the last address is always assigned to the end of the storage area.

これにより、アドレスオバーの検出が行え、従来のよう
に誤アドレスによるトラブルの発生を防止することがで
きる。
This makes it possible to detect address overflow and prevent troubles caused by erroneous addresses as in the prior art.

〔実施例〕〔Example〕

以下本発明を第2図によって詳細に説明する。 The present invention will be explained in detail below with reference to FIG.

第2図は本発明による一実施例のブロック図である。全
図を通じ、同一符号は同一対象物を示す。
FIG. 2 is a block diagram of an embodiment according to the present invention. The same reference numerals indicate the same objects throughout the figures.

実記憶容量3Aと使用記憶容量3Bとの差の余剰記憶容
量3Cを格納する設定回路4Bと、設定回路4Bからの
数値Mにより演算を行う演算回路4Aとによって構成さ
れたレジスタ部4を設け、CP LJ 1から指定され
たアドレス八によるアクセスは該レジスタ部4を介して
行われるように構成したものである。
A register unit 4 is provided, which includes a setting circuit 4B that stores a surplus storage capacity 3C that is the difference between the actual storage capacity 3A and the used storage capacity 3B, and an arithmetic circuit 4A that performs calculations based on the numerical value M from the setting circuit 4B. The configuration is such that access by address 8 designated from CP LJ 1 is performed via the register section 4.

そこで、アドレスの割付は余剰記憶領域に対する未使用
の記1.a領域3Eの0〜Mが確保され、次に使用すべ
き使用記1.q領域3Dの割付が行われ、記憶領域の末
端に最後尾アドレスを割付することができる。
Therefore, address allocation is necessary for unused unused storage areas.1. 0 to M in the a area 3E are secured, and the usage notes to be used next are 1. The q area 3D is allocated, and the last address can be allocated to the end of the storage area.

また、設定回路4Bに格納される余剰記憶容量3Cの数
値Mは指定により変更されるように形成する必要がある
Further, the numerical value M of the surplus storage capacity 3C stored in the setting circuit 4B needs to be configured so that it can be changed according to designation.

このように構成すると、指定されたアドレスAには常に
数値Mが加算されてアクセスされるため、使用記憶容量
を越えた場合には、当然そのアドレス値はM + N以
上となり、大きな記(,1領域を備えた装置のアドレス
オーバ検出部7によりアドレスオーバが検出される。
With this configuration, the specified address A is always accessed by adding the numerical value M, so if the memory capacity used is exceeded, the address value will naturally be greater than or equal to M + N, and a large address (, An address overflow is detected by the address overdetection section 7 of the device having one area.

したがって、未使用の記憶領域3Eの0〜Mをガードす
ることができ、更に、最後尾アドレスが記憶領域の末端
に割付られているため、余分な回路を設けることなく容
易に誤アドレス指定によるアドレスオーバの検出が可能
となる。
Therefore, it is possible to guard 0 to M of the unused storage area 3E, and furthermore, since the last address is assigned to the end of the storage area, it is possible to easily address addresses caused by incorrect address specification without providing any extra circuitry. It becomes possible to detect overflow.

また、このようなアドレスオーバの検出を行う検出部7
としては、例えば、比較回路6と実記憶容量3Aを記1
.aさせた容量設定部5とを設け、レジスタ部4から送
出されるA+Mのアドレスと実記10容量 3 Aとを
比較回路6によって比較し、A+Mのアドレスが実記憶
容量3Aよりオーバすることで検出が行え、アドレスオ
ーバを検出した場合は比較回路6よりCPUIにエラー
信号Eが通知される。
In addition, a detection unit 7 that detects such address overflow is provided.
For example, the comparison circuit 6 and the real storage capacity 3A are written as 1.
.. A comparison circuit 6 compares the address of A+M sent from the register section 4 with the actual storage capacity of 10 3 A, and detects when the address of A+M exceeds the actual storage capacity of 3 A. If address overflow is detected, the comparator circuit 6 notifies the CPU of the error signal E.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば未使用の記憶領域
の空きをガードすることができ、しかも、従来検出され
なかったアドレスオーバ′の検出を行うことができる。
As explained above, according to the present invention, it is possible to guard against the availability of unused storage areas, and moreover, it is possible to detect address overs, which have not been detected conventionally.

また、使用機器、または、インターフェースの変更によ
る使用記憶容量の変更が生じてもアドレスの割付を容易
に行うことができ、実用的効果は大である。
Further, even if the storage capacity used changes due to a change in the equipment or interface used, addresses can be easily allocated, which has a great practical effect.

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

第1図は本発明のブロック図。 第2図は本発明による一実施例のブロック図。 第3図は従来のブロック図を示す。 図において、 ■はCPU、       2はリードライト部。 3は記憶部、      4はレジスタ部。 7P−f日月の源5甲フ゛ロパバ図 矛 1 閃 不発ロ月(=Jろ一吏方七枦]のフ゛ロンフ囚牛 2 
区 憔氷のブロン2虐 茅 3 図
FIG. 1 is a block diagram of the present invention. FIG. 2 is a block diagram of an embodiment according to the present invention. FIG. 3 shows a conventional block diagram. In the figure, ■ is the CPU, and 2 is the read/write section. 3 is a storage section, and 4 is a register section. 7P-f The Source of Sun and Moon 5 A Flopaba Illustrated Spear 1 Fronf Prisoner of Fronfu Rozuki (=Jro Ichiro Shichisushi) 2
Bron 2 of Ku Hyo 3 Figure

Claims (1)

【特許請求の範囲】 所定のアドレス指定(A)により記憶部(3)の所定の
記憶領域がリードライト部(2)を介して、アクセスさ
れるよう該記憶領域に該アドレスの割付を行う記憶装置
のアドレスエラー検出方式であって、 前記記憶部(3)における使用記憶容量(3B)と実記
憶容量(3A)との容量の差による余剰記憶容量(3C
)を記憶するレジスタ部(4)および前記記憶部(3)
の実記憶容量値より大のアドレスでアクセスした時にエ
ラー信号Eを出力するアドレスオーバ検出部(7)とを
備えると共に、該レジスタ部(4)の該余剰記憶容量(
3C)により割付すべき実際にアクセスされる先頭アド
レス(0)の位置をシフトし、最後尾アドレス(N)が
該実記憶容量(3A)の記憶領域の末端に対応するよう
にし、使用記憶領域を越えたアクセスに対してエラーを
検出することを特徴とする記憶装置のアドレスエラー検
出方式。
[Scope of Claims] A memory that assigns addresses to a predetermined storage area of the storage unit (3) so that the predetermined storage area of the storage unit (3) can be accessed via the read/write unit (2) by specifying a predetermined address (A). An address error detection method of a device, which detects surplus storage capacity (3C) due to the difference in capacity between the used storage capacity (3B) and the actual storage capacity (3A) in the storage unit (3).
) and the storage unit (3)
an address overdetection section (7) that outputs an error signal E when accessed with an address larger than the actual storage capacity value of the register section (4);
3C), shift the position of the first address (0) to be allocated and actually accessed so that the last address (N) corresponds to the end of the storage area of the actual storage capacity (3A), and reduce the used storage area. An address error detection method for a storage device, characterized in that an error is detected for an access that exceeds the limit.
JP15909585A 1985-07-18 1985-07-18 Address error detection system for storage device Pending JPS6219950A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15909585A JPS6219950A (en) 1985-07-18 1985-07-18 Address error detection system for storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15909585A JPS6219950A (en) 1985-07-18 1985-07-18 Address error detection system for storage device

Publications (1)

Publication Number Publication Date
JPS6219950A true JPS6219950A (en) 1987-01-28

Family

ID=15686125

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15909585A Pending JPS6219950A (en) 1985-07-18 1985-07-18 Address error detection system for storage device

Country Status (1)

Country Link
JP (1) JPS6219950A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019144956A (en) * 2018-02-22 2019-08-29 オムロン株式会社 I/o management device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5295933A (en) * 1976-02-06 1977-08-12 Nec Corp Memory card selector
JPS57103200A (en) * 1980-12-19 1982-06-26 Fujitsu Ltd Memory package area compression system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5295933A (en) * 1976-02-06 1977-08-12 Nec Corp Memory card selector
JPS57103200A (en) * 1980-12-19 1982-06-26 Fujitsu Ltd Memory package area compression system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019144956A (en) * 2018-02-22 2019-08-29 オムロン株式会社 I/o management device

Similar Documents

Publication Publication Date Title
US8301829B2 (en) Flash memory device and flash memory system including buffer memory
GB1495332A (en) Memory having non-fixed relationships between addresses and storage locations
US6754778B2 (en) Memory controller and a cache for accessing a main memory, and a system and a method for controlling the main memory
JPS6219950A (en) Address error detection system for storage device
JPS6216294A (en) Memory device
US7634708B2 (en) Relocatable storage protect keys for system main memory
JPS6035694B2 (en) Main memory protection method
JPS5910000B2 (en) Memory error detection method
JPH02192096A (en) Selective refresh controller
JPH0395653A (en) Address error detecting method for data storage device
JPH04353946A (en) Confirming method for memory storage capacity
JPS6136669B2 (en)
KR960011730A (en) Information processing device
JPS60129860A (en) Detection system for addressing exception
CN1345450A (en) Method of operating integrated memory with writable memory cells and corresponding integrated memory
JPH04248641A (en) Memory controller
KR960024977A (en) Memory device access and effective storage area setting method
JPH02183845A (en) Control circuit for add-on memory
JPH01207851A (en) Address area detection system
JPH08235894A (en) Flash memory and flash memory control device
JPS62114053A (en) Information processor
JPH03283188A (en) Memory system
JPH06243028A (en) Memory address control method
JPH04281541A (en) Writing system to storage device with writing number of time restraint
JPH01140342A (en) Virtual computer system