JPS59173868A - Address control system - Google Patents

Address control system

Info

Publication number
JPS59173868A
JPS59173868A JP58049272A JP4927283A JPS59173868A JP S59173868 A JPS59173868 A JP S59173868A JP 58049272 A JP58049272 A JP 58049272A JP 4927283 A JP4927283 A JP 4927283A JP S59173868 A JPS59173868 A JP S59173868A
Authority
JP
Japan
Prior art keywords
address
memory
buffer memory
chips
chip
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
JP58049272A
Other languages
Japanese (ja)
Inventor
Takehisa Miyagi
宮城 剛久
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 JP58049272A priority Critical patent/JPS59173868A/en
Publication of JPS59173868A publication Critical patent/JPS59173868A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/06Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication
    • G06F12/0646Configuration or reconfiguration
    • G06F12/0653Configuration or reconfiguration with centralised address assignment

Abstract

PURPOSE:To facilitate control of addresses for input and output by constituting a buffer memory with plural chips in response to the address and selecting these chips. CONSTITUTION:A decoder 1 decodes addresses A11-A13 among access addresses A0-A15 which are given to a buffer memory and accordingly delivers selectively the chip selection signal CS to memory chips 2-4 constituting a data memory of the buffer memory from AND circuits 7-9. These chips 2-4 to which data are set among buffer memories constitute a buffer memory together with memory chips 5 and 6.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は特に6にの容量のバッファ・メモリのアドレス
制御方式に係シ、特に6にの容量のバッファ・メモリが
入力データ用と出力データ用のアドレス・カウンタを持
ち、これらのカウンタの値によシデータを入力したシ、
データを出力する制御を行う際に6にの2倍の12にの
メモリ空間を仮定し、入力アドレスと出力アドレスとの
差の計算を容易にするようにしたアドレス制御方式に関
するものである。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention particularly relates to an address control method for a buffer memory with a capacity of 6. A system that has address counters and inputs data to the values of these counters,
The present invention relates to an address control method that assumes a memory space of 12 times 6 when controlling data output, and facilitates calculation of the difference between an input address and an output address.

〔技術の背景、従来技術及びその問題点〕例えば磁気デ
ィスク装置に対してデー、夕をリード/ライトするとき
、磁気ディスク制御装置にバッファ・メモリを設け、こ
れにリード/ライト・デー夕を一時記入する。このとき
バッファ・メモリはFiFo (First−in s
 First−owt)的に使用される。
[Technical background, prior art, and problems thereof] For example, when reading/writing data to a magnetic disk device, a buffer memory is provided in the magnetic disk control device, and the read/write data is temporarily stored in the buffer memory. Fill out. At this time, the buffer memory is FiFo (First-in-s
used in a first-of-its-kind manner.

ところで、このバッファ・メモリの容量が2 K。By the way, the capacity of this buffer memory is 2K.

4に、8に、16K・・・・・・というように 2n 
 の構成であれば、2倍空間を仮定しても入力アドレス
は2n の大きさ分の下位ビットのみをみればバッファ
・メモリにアクセスできるので、最上位ビットを考慮せ
ずにアクセス゛可能となるのでアドレスやチップセレク
トに劉して特別なことをする必要はない。したがって、
従来、このよりな2n の容量のバッファ・メモリを使
用して2倍空間を仮定したときでもそのアドレスやチッ
プセレクトに対する特別な回路構成をとる必要はなかっ
た。
4, 8, 16K, etc. 2n
With this configuration, even if we assume double space, the input address can access the buffer memory by looking at only the lower bits of the size 2n, so it is possible to access the buffer memory without considering the most significant bit. There is no need to do anything special with the address or chip select. therefore,
Conventionally, even when a double space was assumed using a buffer memory with a capacity of 2n, there was no need for a special circuit configuration for the address and chip select.

しかしながら実装上の制約とか2回路構成の都合等によ
シロにの容量のバッファ・メモリを使用することが必要
となることがある。そうすると。
However, due to mounting restrictions or the convenience of a two-circuit configuration, it may be necessary to use a buffer memory with a small capacity. Then.

上位ビットを無視して下位ヒツトのみによりバッファ・
メモリをアクセスすることはできない。
The buffer is created using only the lower bits, ignoring the upper bits.
Memory cannot be accessed.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、このような問題を改善して6K(Dア
ドレスを有するバッファ・メモリを使用した場合でもそ
の下位の特定数のビットによシ入出力用のアドレスの管
理を容易にするために、アドレス空間を実容量6にの2
倍の12Kにした場合においてもその仮想アドレスをバ
ッファ・メモリのアクセスに必要な実ブトレスに変換す
るアドレス制御方式を提供することである。
An object of the present invention is to improve such problems and to facilitate the management of input/output addresses using a specific number of lower bits even when using a buffer memory having 6K (D addresses). In this case, the address space is reduced to 2 to 6 real capacity.
An object of the present invention is to provide an address control method that converts a virtual address into a real address necessary for accessing a buffer memory even when the number of addresses is doubled to 12K.

〔発明の構成〕[Structure of the invention]

この目的を達成するために2本発明のアドレス制御方式
では、データ入力用のアドレス・カウンタとデータ出力
用のアドレス・カウンタとノ(ソファ・メモリを備え、
データを上記バッファ・メモリに入力後このバッファ・
メモリが空いているときに出力するように使用7するよ
うにしたメモリ回路において、上記バッファ番メモリを
アドレスに応じて複数のチップで構成するとともにこれ
らのチップを選択するチップセレクト発生手段を設け。
In order to achieve this object, the address control method of the present invention has two address counters for data input and an address counter for data output.
After inputting data to the above buffer memory, this buffer
In the memory circuit which is used to output when the memory is vacant, the buffer number memory is constituted by a plurality of chips according to addresses, and a chip select generation means is provided for selecting these chips.

上記入力アドレス・カウンタの上位の特定ビットを上記
チップセレクト発生手段によシブコードして特定のチッ
プを選択し、この選択されたチップと上記入力用アドレ
ス・カウンタの下位ビットにより実アドレス空間を定め
るようにしたことを特徴とする。
The upper specific bits of the input address counter are coded by the chip select generation means to select a specific chip, and the actual address space is determined by the selected chip and the lower bits of the input address counter. It is characterized by the following.

〔発明の実施例〕[Embodiments of the invention]

本発明の一実施例を第11二第3図にもとづき説明する
An embodiment of the present invention will be described based on FIGS. 112 and 3.

第1図は本発明の一実施例構成図、第2図はメモリ構成
説明図、第3図はアドレス説明図である。
FIG. 1 is a configuration diagram of an embodiment of the present invention, FIG. 2 is a diagram illustrating a memory configuration, and FIG. 3 is a diagram illustrating an address.

図中、1はデコーダ、2〜4は2’K X 8ピツトの
データ用のメモリ・チップ、5,6は4に×1ビットの
パリティ用のメモリ・チップ、7〜9はアンド回路、1
0.11はナンド回路、12゜13はインバータである
In the figure, 1 is a decoder, 2 to 4 are memory chips for 2'K x 8 pit data, 5 and 6 are memory chips for 4 x 1 bit parity, 7 to 9 are AND circuits, 1
0.11 is a NAND circuit, and 12°13 is an inverter.

デコーダ1はバッファ・メモリへのアクセス・アドレス
AO〜A15  のうち、  All 、 Ala、A
13のアドレスをデコードしてこれに応じてアンド回路
7〜9よシ選択的にバッファ・メモリのデータ用メモ゛
りを構成するメモリ・チップ2.3;4へのチップ・セ
レクト信°号C8を出力するものである。
Decoder 1 selects All, Ala, and A among the access addresses AO to A15 to the buffer memory.
A chip select signal C8 is sent to the memory chips 2.3 and 4 which selectively configure the data memory of the buffer memory by decoding the address of 13 and selectively using AND circuits 7 to 9 accordingly. This outputs the following.

メモリ・チップ2〜4はバッファ舎メモリのうちデータ
がセットされるものであシ、パリティ用のメモリ・チッ
プ59.6とともにバッファ・メモリを構成する。
Memory chips 2 to 4 are the ones in the buffer memory in which data is set, and constitute the buffer memory together with the parity memory chip 59.6.

バッファ・メモリは、第2図に示す如く構成されている
The buffer memory is configured as shown in FIG.

このバッファ・メモリはデータが記入されるデータ用の
メモリ・チップ2〜4及びノぞリテイ・ビットが記入さ
れるパリティ用のメモリ・チップ5゜6等により構成さ
れているが、メモ′す・チップ2は実アドレスが01(
−1にの範囲のものであシ。
This buffer memory is composed of data memory chips 2 to 4 in which data is written and parity memory chips 5 to 6 in which parity bits are written. Chip 2 has a real address of 01 (
It must be in the range -1.

データ用のメモリ・チップ3は実アドレスが2″に〜3
にの範囲のものでラシ、メモリ・チップ4は実アドレス
が4に〜5にの範囲のものである。そしてパリティ用の
メモリ・チップ5は実アドレスがOK〜3にの範囲のも
のであり、メモリ・チップ6は実アドレスが4〜5にの
範囲のものである。
Memory chip 3 for data has a real address of 2″~3
Memory chip 4 has real addresses in the range 4 to 5. The parity memory chip 5 has real addresses in the range OK to 3, and the memory chip 6 has real addresses in the range 4 to 5.

本発明では、入力アドレスについては)くソファ・メモ
リの容量が6にバイトであるのに対してその2倍の12
にバイトと仮定しておシ、第2図点線で示す如(,6に
−BKの範囲を仮想する。そしてこの6に−BKの仮想
アドレスを第2図の実線で示す如く各メモリ・チップに
対応させる。すなわち入力アドレス6に〜7Kに対して
はメモリ・チップ2に記入し、8に〜“9Kに対しては
メモリ・チップ3に記入し、AK−BKに対してはメモ
リ・チップ4に記入する。パリティピットに対しても同
様に、6に〜9Kに対してはメモリ・チップ5に記入り
、AK−BKに対してはメモリ・チップ6に記入する。
In the present invention, for input addresses, the capacity of the sofa memory is 12 bytes, which is twice that.
As shown by the dotted line in Figure 2, the range of -BK is assumed to be 6. Then, the virtual address of -BK is assigned to each memory chip as shown by the solid line in Figure 2. That is, for input address 6 to 7K, write to memory chip 2, for input address 8 to 9K, write to memory chip 3, and for AK-BK, write to memory chip 2. Similarly, for parity pits, 6 to 9K are written to memory chip 5, and AK-BK are written to memory chip 6.

ところでメモリ・チップ2,3.4は、上記の如<2に
バイトの容量であり、゛第3図に示す如く。
By the way, the memory chips 2, 3, and 4 have a capacity of <2 bytes as described above, and as shown in FIG.

AO−Alo 4 テノ11ビットでぞのアドレス管理
示することができる。
AO-Alo 4 teno 11 bits can indicate the address management.

そしてAll〜A13の3ピツ)・のアドレスにょシO
K〜IK、2に〜3に、4に〜5Kl ol(〜’i’
、に、8)(〜9に、AK−BKの範囲を解読すること
ができる。この場合、上記の如<6に〜7にはOK〜I
Kの場合と同様にメモリ・チップ2を指定してお凱 s
K 〜9には2に〜3にと同様にメモリ・チップ3を指
定し、AK−BKは4に〜5にと同様にメモリ・チップ
4を指定している。
And the address of 3 pins from All to A13)
K~IK, 2~3, 4~5Kl ol(~'i'
, to 8) (to 9), it is possible to decipher the range AK-BK. In this case, as above, <6 to 7 is OK to I
As in the case of K, specify memory chip 2 and select
K to 9 specifies memory chip 3 in the same way as 2 to 3, and AK-BK specifies memory chip 4 in the same way as 4 to 5.

それ故、デコーダ1にょシアドレス信号のうちAll〜
A13を解読して、これに応じてアンド回路7.8,9
よシメモリ・チップ2,3.4に対し選択的にチップ・
セレクト信号C8を出力し、このチップ・セレクト信号
C8によシ指定されたメモリ・チップに対しアドレス信
号の下位11ビツトAO〜AIOによシ指定されたアド
レス領域にアクセスすることによシ、所定の領域にアク
セスすることができる。かくして6に−BKの仮想アド
レス空間はOK〜5にのアドレス空間に必らず変換され
ることになる。
Therefore, all of the address signals in the decoder 1 are
Decipher A13 and use AND circuits 7.8, 9 accordingly.
Selective memory chips 2, 3, and 4
By outputting the select signal C8 and accessing the address area specified by the lower 11 bits AO to AIO of the address signal for the memory chip specified by the chip select signal C8, the memory chip specified by the chip select signal C8 is accessed. area can be accessed. Thus, the virtual address space of 6-BK is necessarily converted to the address space of OK-5.

なお第1図において、ゲート信号は「1」が出力されて
おシ、シたがってメモリ・チップ2または3が選択され
ているときアンド回路9は「0」を出力するので、イン
バータ13は「1」を出力し、ナンド回路11はl’−
OJを出力するが、ナンド回路10は「1」を出力して
メモリ・チップ5を選択するチップ・セレクト信号C8
が印加されることになる。そしてメモリ・チップ4が選
択されているときはアンド回路9から「1」が出力され
るので、ナンド回路11は「1」を出力してメモリ・チ
ップ6が選択されることになるが、このときナンド回路
loは「o」を出力するのでメモリ・チップ5は非選択
となる。
In FIG. 1, the gate signal is output as "1", so when memory chip 2 or 3 is selected, AND circuit 9 outputs "0", so inverter 13 outputs "0". 1'', and the NAND circuit 11 outputs l'-
OJ is output, but the NAND circuit 10 outputs "1" and the chip select signal C8 selects the memory chip 5.
will be applied. When memory chip 4 is selected, "1" is output from AND circuit 9, so NAND circuit 11 outputs "1" and memory chip 6 is selected. At this time, the NAND circuit lo outputs "o", so the memory chip 5 becomes non-selected.

なお、第1図において、アドレス信号AO〜A 16及
びゲート信号は図示省略したDMAC(ダイレクト・メ
モリ・アクセス制御装置)より出力され。
In FIG. 1, address signals AO to A16 and gate signals are output from a DMAC (direct memory access control device) not shown.

データは図示省略したデータ・バスにょシ送出される。Data is sent out on a data bus (not shown).

そして入力アドレスがCKのアドレスのとき。And when the input address is the CK address.

出力アドレスが必らず6Kを越えているので、この時点
で入力アドレス及び出力アドレスから6Kを引いて実ア
ドレスに戻しておく。
Since the output address always exceeds 6K, at this point, 6K is subtracted from the input address and output address to return to the real address.

なお1本発明において実容t6にの2倍分のアドレス空
間を用意する理由は、6にの境界を越えている際中にア
ドレスを実アドレスに変更できないためと、入力アドレ
スが6Kを越えた時点で実アドレスの零からに変更して
しまうとアドレス差計算かやシにくいためである。
Note 1: In the present invention, the reason for preparing an address space twice as much as the real address space for t6 is that the address cannot be changed to a real address while exceeding the boundary of t6, and also because the input address exceeds 6K. This is because if the real address is changed from zero at this point, it will be difficult to calculate the address difference.

また6Kを越えるとパリティ用のメモリもOK〜3に用
のメモリ・チップ5に変換される。このため実際は、パ
リティ用のメモリ嗜チップ6の後半分の2に部分は使用
されない。
Moreover, when the number exceeds 6K, the parity memory is also converted to the memory chip 5 for OK to 3. Therefore, in reality, the second half of the second half of the parity memory chip 6 is not used.

tのように2本発明では、6に容量のバッファ・メモリ
をFi Fo的に使用した場合、入力アドレスと出力ア
ドレスの差は決して6に以上にならないことに着目しく
例えば出力アドレスが0であるとすると入力アドレスは
5FFFであシ、決して6000にはならない。これは
バッファ・メモリが6にであることによる)、これの倍
の12にの空間を仮定することにより(例えば出力アド
レスが5FFFであれば入力アドレスはBFFEつまシ
実アドレスでは5FFE)、入出力のアドレス差計算を
容易にすることができる。もし実アドレスでアドレス差
計算を行うとき5 FFF −5FFFとなシ、答がマ
イナスの値となるためアドレス差計算が容易ではないが
、BFFE−5FFFの計算は答が正のため容易である
In the present invention, it is noted that when a buffer memory with a capacity of 6 is used in a FIFO manner, the difference between the input address and the output address will never be more than 6. For example, if the output address is 0. Then, the input address will be 5FFF and will never be 6000. This is due to the fact that the buffer memory is 6), and by assuming a space twice this (12) (for example, if the output address is 5FFF, the input address is BFFE, and the actual address is 5FFE), the input/output address difference calculation can be facilitated. If the address difference calculation is performed using the real address, 5FFF - 5FFF, the answer will be a negative value, so calculating the address difference will not be easy, but calculating BFFE - 5FFF will be easy because the answer will be positive.

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

、本発明によれば6にのバッファ・メモリをFiF。 , according to the present invention, the buffer memory of 6 is FiF.

のように使用するとき入出力用のアドレス管理を容°易
にすることができる。したがって2にのメモリ・チップ
を4個使用して構成した8にのバッファ・メモリを使用
する場合よシ、コストを安くでき、メモリ・チップの実
装ス4−スもわずかに節約することができる。
Address management for input and output can be made easier when used as in . Therefore, when using an 8-sized buffer memory configured using 4 2-sized memory chips, the cost can be lowered, and the mounting space of the memory chips can also be slightly saved. .

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

第1図は本発明の一実施例構成図、第2図はメモリ構成
説明図、第3図はアドレス説明図である。 図中、1はデコーダ、2〜4はデータ用のメモリ・チッ
プ、5,6はパリティ用のメモリ・チップ、7〜9はア
ンド回路、10,11はナンド回路、12.13はイン
バータである。 特許出願人 富士通株式会社
FIG. 1 is a configuration diagram of an embodiment of the present invention, FIG. 2 is a diagram illustrating a memory configuration, and FIG. 3 is a diagram illustrating an address. In the figure, 1 is a decoder, 2 to 4 are memory chips for data, 5 and 6 are memory chips for parity, 7 to 9 are AND circuits, 10 and 11 are NAND circuits, and 12 and 13 are inverters. . Patent applicant Fujitsu Limited

Claims (1)

【特許請求の範囲】 データ入力用のアドレス・カウンタとデータ出力用のア
ドレス・カウンタとバッファ・メモリを備え、データを
上記バッファ・メモリに人力後このバッファ・メモリが
空いているときに出力するように使用するようにしたメ
モリ回路において。 上記バッファ・メモリをアドレスに応じて複数のチップ
で構成するとともにこれらのチップを選択するチップセ
レクト発生手段を設け、上記入力アドレスΦカウンタの
上位の特定ビットを上記チップセレクト発生手段によシ
ブコードして特定のチップを選択し、この選択されたチ
ップと上記入力用アドレス・カウンタの下位ビットによ
シ実アドレス空間を定めるようにしたことを特徴とする
アドレス制御方式。
[Scope of Claims] An address counter for data input, an address counter for data output, and a buffer memory are provided, and data is manually input to the buffer memory and then output when the buffer memory is free. In memory circuits designed for use in The buffer memory is configured with a plurality of chips according to addresses, and a chip select generation means is provided for selecting these chips, and the upper specific bit of the input address Φ counter is coded by the chip select generation means. An address control method characterized in that a specific chip is selected and a real address space is determined by the selected chip and the lower bits of the input address counter.
JP58049272A 1983-03-24 1983-03-24 Address control system Pending JPS59173868A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58049272A JPS59173868A (en) 1983-03-24 1983-03-24 Address control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58049272A JPS59173868A (en) 1983-03-24 1983-03-24 Address control system

Publications (1)

Publication Number Publication Date
JPS59173868A true JPS59173868A (en) 1984-10-02

Family

ID=12826200

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58049272A Pending JPS59173868A (en) 1983-03-24 1983-03-24 Address control system

Country Status (1)

Country Link
JP (1) JPS59173868A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6261135A (en) * 1985-09-11 1987-03-17 Nec Corp Cache memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6261135A (en) * 1985-09-11 1987-03-17 Nec Corp Cache memory

Similar Documents

Publication Publication Date Title
JPS59173868A (en) Address control system
JPS58158754A (en) Controlling system
JP3931593B2 (en) Data writing circuit
JPH07334420A (en) Extended memory control circuit
JPH0462648A (en) Storage device
JP2845491B2 (en) Graph data plane pack conversion circuit
JP2769384B2 (en) Arithmetic control IC and information processing device
JPS6143362A (en) Integrated circuit device
JPH03191450A (en) Defective chip substituting circuit for memory card
JPH0219921A (en) First-in/first-out memory
JPS59114657A (en) Memory interface circuit of microcomputer
JPH0793039B2 (en) Memory address control circuit
JPH05189304A (en) Semiconductor storage device
JPS6121541A (en) Storage circuit
JPS58150184A (en) Storage device
JPS61276046A (en) Data processor with memory diagnostic function
JPH10105475A (en) Parity memory device and parity memory circuit
JPS6093508A (en) Inputting and outputting method of process signal
JPS62298990A (en) High speed memory device
JPS62154286A (en) Write access system for rewritable memory
JPS63234490A (en) Memory element
JPH03211641A (en) Address designation method for memory device
JPS62216059A (en) Check system for storage device
JPS6289085A (en) Data transfer
JPH04268936A (en) Memory device