JPH0150036B2 - - Google Patents

Info

Publication number
JPH0150036B2
JPH0150036B2 JP59127826A JP12782684A JPH0150036B2 JP H0150036 B2 JPH0150036 B2 JP H0150036B2 JP 59127826 A JP59127826 A JP 59127826A JP 12782684 A JP12782684 A JP 12782684A JP H0150036 B2 JPH0150036 B2 JP H0150036B2
Authority
JP
Japan
Prior art keywords
data
control unit
control
read
clock
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.)
Expired
Application number
JP59127826A
Other languages
Japanese (ja)
Other versions
JPS618786A (en
Inventor
Yukinori Matsukawa
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 JP59127826A priority Critical patent/JPS618786A/en
Publication of JPS618786A publication Critical patent/JPS618786A/en
Publication of JPH0150036B2 publication Critical patent/JPH0150036B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • For Increasing The Reliability Of Semiconductor Memories (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、情報処理システムに於けるメモリア
クセスの制御方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a memory access control method in an information processing system.

近年半導体技術特に集積技術の進歩に伴い、1
つのパツケージに多数の論理素子を搭載すること
が可能となり、マイクロプロセツサ(MPU)や、
256Kビツトのランダムアクセスメモリ(RAM)
が安価で供給されるようになつた。
In recent years, with the advancement of semiconductor technology, especially integration technology, 1
It has become possible to mount a large number of logic elements in a single package, such as a microprocessor (MPU),
256K bits of random access memory (RAM)
became available at low prices.

このような高集積回路(LSI)、或いは複数の
LSIを搭載してより高度の機能を実現するように
したプリント板等では、外部との接続に必要な接
続端子の数に制限があり、例えば複数のLSIを搭
載するプリント板においては、プリント板に装着
し得る接続用ピンの数に制限があり、機能の高度
化が出来ないと言う問題が出て来ている。
Such highly integrated circuits (LSI) or multiple
For printed circuit boards equipped with LSIs to achieve more advanced functions, there is a limit to the number of connection terminals required for external connection.For example, for printed circuit boards equipped with multiple LSIs, There is a limit to the number of connection pins that can be attached to the device, making it impossible to improve functionality.

〔従来の技術〕[Conventional technology]

従来の、文字又は2値画像のデータを記憶し、
データの入れ換えのための書込やデイスプレイ表
示の為の読出しを行う所謂ALTER/DISPLAY
用のメモリの制御を例にとると、文字又は2値画
像の属性毎にメモリの制御単位を別にするので、
属性の種類の数によつて制御単位が増加すること
になり、制御線が増加することになる。
Stores conventional character or binary image data,
So-called ALTER/DISPLAY, which writes data for replacement and reads data for display display.
Taking memory control for example, we separate memory control units for each character or binary image attribute, so
The number of control units increases depending on the number of attribute types, and the number of control lines increases.

制御にMPUを用い、外部メモリとして夫々制
御単位となるRAMをn個使用する例では、各
RAM夫々に書込み指示線(WE)、読出し指示
(OE)線があり、又、各RAMに共通化可能な接
地線(GND)と電源供給線(Vcc)アドレス線
があり、更に、書込用、読出用を兼用し各RAM
に共通化可能なデータ線(バス)がある。
In an example where an MPU is used for control and n RAMs are used as external memory, each as a control unit, each
Each RAM has a write instruction line (WE) and a read instruction (OE) line, and each RAM has a common ground line (GND), power supply line (Vcc), and address line. , each RAM is also used for reading.
There is a data line (bus) that can be shared.

このようなn個のRAMをMPUに接続すると
なると、可能な限り共通化、兼用化を図つても、
例えば、1個のRAMの記憶容量を64Kb(8b×
8KW)とすると、データ線8本と、8KWをアド
レスする13ビツト(213)のためのアドレス線13
本が必要となり、総ピン数Nは N=2n+8+13+2 となり、n=8のとき、39本もの多数となるの
で、nが増大してもピン数が少なくて済む方式が
望まれていた。
When connecting such n RAMs to an MPU, even if you try to share and use them as much as possible,
For example, the storage capacity of one RAM is 64Kb (8b×
8KW), then 8 data lines and 13 address lines for 13 bits (2 13 ) addressing 8KW.
The total number of pins N is N = 2n + 8 + 13 + 2, and when n = 8, there are as many as 39 pins.Therefore, a system was desired that would require fewer pins even if n increased.

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

上記のn個のRAMをLSIパツケージ又はプリ
ント板に収容しようとすると、LSIパツケージ又
はプリント板に装着された接続ピン数の制限にか
かり、RAMの個数nを減らすことになり高密度
実装が制限される問題がある。
If you try to accommodate the above n RAMs in an LSI package or printed board, the number of connection pins mounted on the LSI package or printed board will be limited, which will limit the number of RAMs n, which will limit high-density packaging. There is a problem.

一方、前述のALTER/DISPLAY用のメモリ
等ではデータ転送速度が5Mb/s以下であり、
本発明はこのような低速の場合に所要接続ピン数
を最小にしてこの問題を解決せんとするものであ
る。
On the other hand, the data transfer speed of the memory for ALTER/DISPLAY mentioned above is less than 5Mb/s,
The present invention attempts to solve this problem by minimizing the number of connection pins required for such low speeds.

〔問題を解決するための手段〕[Means to solve the problem]

上記の本発明の目的は、複数の制御単位よりな
るメモリの各制御単位毎に、制御部がデータの書
込み及び読出しを行うメモリシステムにおいて、
前記メモリの全ての制御単位に書込データ、読出
データ及びアドレスデータ用の各シフトレジスタ
と、前記各制御単位に1段を対応させた制御単位
指定用シフトレジスタとを設け、該各シフトレジ
スタを全て従続接続してスキヤンチエーンを構成
し、該スキヤンチエーンの入力端と出力端とを前
記制御部に接続すると共に、前記制御部の制御に
より該スキヤンチエーンをシフトするためのスキ
ヤンクロツクパルスを発生するクロツク発生部と
を設け、前記制御部は、書込時には、該書込を行
う制御単位の指定データ、書込データ及びアドレ
スデータを準備し、クロツク発生部を制御して前
記スキヤンチエーンを所定段数シフトすることに
より、該各データを入力端か該指定された制御単
位の対応する各レジスタにセツトした後書込を行
い、読出時には、該読出を行う制御単位の指定デ
ータ及びアドレスデータを準備し、クロツク発生
部を制御して前記スキヤンチエーンを所定段数シ
フトすることにより、該各データを入力端から該
指定された制御単位の対応する各レジスタにセツ
トした後、前記指定した制御単位の読出シフトレ
ジスタに読出を行い、しかる後に再度クロツク発
生部を制御し所定段数シフトして前記読出用シフ
トレジスタのデータを前記出力端より受け取るこ
とにより読出を行うことを特徴とするメモリ制御
方式により達成される。
The object of the present invention is to provide a memory system in which a control section writes and reads data for each control unit of a memory consisting of a plurality of control units.
Each control unit of the memory is provided with respective shift registers for write data, read data, and address data, and a control unit designation shift register in which one stage corresponds to each control unit, and each of the shift registers is All are connected in series to form a scan chain, and the input end and output end of the scan chain are connected to the control section, and a scan clock pulse for shifting the scan chain is controlled by the control section. When writing, the control section prepares designation data, write data, and address data of a control unit for writing, and controls the clock generation section to generate the scan chain. By shifting a predetermined number of stages, each data is set in the input terminal or each register corresponding to the specified control unit, and then written. When reading, the specified data and address data of the control unit to be read are set. After setting each data from the input terminal to each register corresponding to the specified control unit by controlling the clock generation section and shifting the scan chain a predetermined number of stages, Achieved by a memory control method characterized in that reading is performed in the read shift register, and then the clock generator is controlled again to shift the data a predetermined number of stages, and the data in the read shift register is read by receiving the data from the output terminal. be done.

〔実施例〕〔Example〕

本発明の一実施例を図によつて説明する。 An embodiment of the present invention will be described with reference to the drawings.

図は本発明の一実施例の制御方式のブロツク図
である。
The figure is a block diagram of a control system according to an embodiment of the present invention.

SVP1は外部からの要求を受け、夫々制御単
位となつているn個のRAM3a〜3nの選択及
び読出し、書込みを行う制御部で後述する制御用
シフトレジスタ(図示省略)を有している。
The SVP 1 has a control shift register (not shown), which is a control section that receives requests from the outside and selects, reads, and writes n RAMs 3a to 3n, each of which is a control unit, to be described later.

各制御単位のRAM3a〜3nには、図のよう
に、夫々シフトレジスタを、書込レジスタ
WDREG4a〜4n、読出レジスタRDREG5a
〜5n及びアドレスレジスタADREG6a〜6n
として設けると共に、各段が夫々RAM3a〜3
nに対応するフリツプフロツプ(段)FF7a〜
7nを有する制御単位指定用シフトレジスタが設
けてある。
RAM3a to 3n of each control unit has a shift register and a write register, respectively, as shown in the figure.
WDREG4a to 4n, read register RDREG5a
~5n and address register ADREG6a~6n
In addition, each stage is provided with RAM 3a to 3 respectively.
Flip-flop (stage) FF7a~ corresponding to n
A control unit designation shift register having 7n is provided.

これらの、各制御単位のRAM3a〜3nに対
応して設けたシフトレジスタ4a〜4n,5a〜
5n,6a〜2n及び7a〜7nは、全てを従続
接続し(本実施例では、図において時計廻りに順
に従続接続)、入力端SIと出力端SOとは夫々制御
部SVP1の制御用シフトレジスタの出力端と入
力端に接続されて、本実施例ではループ状のスキ
ヤンチエーンを構成している。
These shift registers 4a to 4n, 5a to 4n are provided corresponding to the RAMs 3a to 3n of each control unit.
5n, 6a to 2n, and 7a to 7n are all serially connected (in this embodiment, serially connected clockwise in the figure), and the input end SI and output end SO are used for controlling the control unit SVP1, respectively. In this embodiment, it is connected to the output end and the input end of the shift register, forming a loop-shaped scan chain.

制御用シフトレジスタは、各制御単位の各レジ
スタの内の最大段数となるレジスタ(本実施例で
はアドレス用シフトレジスタADREG6a〜6
n)の段数とし、スキヤンチエーンの入力端SIと
出力端SOとに従続接続されている。
The control shift register is a register with the maximum number of stages among the registers of each control unit (in this embodiment, address shift registers ADREG6a to ADREG6
The number of stages is n), and the input end SI and the output end SO of the scan chain are connected in series.

スキヤンチエーンは、制御部SVP1がクロツ
ク発生部2を制御して発生するスキヤンクロツク
SCLKがその各段に供給されるようになつてお
り、発生クロツク数を制御することによりスキヤ
ンチエーンを所定段数シフト制御することが出来
るようになつている。
The scan chain is a scan clock generated by the control section SVP1 controlling the clock generation section 2.
SCLK is supplied to each stage, and by controlling the number of generated clocks, it is possible to shift the scan chain by a predetermined number of stages.

一方、制御部SVP1からは、書込指示信号WE
又は読出指示信号OEが出力されるようになつて
おり、図示のようにこの信号と制御単位指定用シ
フトレジスタの段FF7a〜7nの出力とのAND
によつて指定された制御単位のメモリが選択され
ると共に書込又は読出が指示されるようになつて
いる。
On the other hand, a write instruction signal WE is sent from the control unit SVP1.
Alternatively, a read instruction signal OE is output, and as shown in the figure, this signal is ANDed with the outputs of stages FF7a to 7n of the control unit designation shift register.
The memory of the control unit designated by is selected and writing or reading is instructed.

次に、書込、読出の動作を説明する。 Next, write and read operations will be explained.

書込時には、制御部SVP1は、アドレスデー
タ、書込データ及び書込を行う制御単位の指定デ
ータ(ビツト位置で指定)を順次制御レジスタの
所定段に準備し、クロツク発生部2を制御してス
キヤンチエーンを所定段数シフトすることによ
り、準備したデータをスキヤンチエーンの入力端
SIから指定した制御単位の対応する各レジスタに
セツトした後、制御部SVP1が書込指示信号WE
を送出し、指定されたRAMにおいて、アドレス
レジスタADREGのアドレスに書込シフトレジス
タWDREGから書込みを行う。
During writing, the control unit SVP1 sequentially prepares address data, write data, and data specifying the control unit to be written (specified by bit position) in a predetermined stage of the control register, and controls the clock generator 2. By shifting the scan chain a predetermined number of stages, the prepared data can be transferred to the input terminal of the scan chain.
After setting each register corresponding to the control unit specified by SI, the control unit SVP1 sends the write instruction signal WE.
The write shift register WDREG writes to the address of the address register ADREG in the specified RAM.

この各レジスタのセツト動作は、スキヤンチエ
ーンを構成した時、各シフトレジスタの各段のス
キヤンチエーン上の順番(位置)は分かつてお
り、制御シフトレジスタにデータを準備して、次
のデータの位置迄シフトさせ、次のデータを制御
シフトレジスタに準備して、更に次のデータの位
置迄シフトし……の動作を所要データについて所
定のシフト段数で行うことにより、準備したデー
タを各レジスタにセツトすることが出来る。この
原理は読出の場合も同様である。
This setting operation of each register is performed when a scan chain is configured, the order (position) of each stage of each shift register on the scan chain is divided, and data is prepared in the control shift register and the position of the next data is set. By performing the following operations for the required data at a predetermined number of shift stages, the prepared data is set in each register. You can. This principle is the same in the case of reading.

読出時には、制御部SVP1は、アドレスデー
タ及び読出を行う制御単位の指定データを準備
し、クロツク発生部2を制御してスキヤンチエー
ンを所定段数シフトすることにより、各データを
入力端SIから指定された制御単位の対応する各レ
ジスタにセツトした後、制御部SVP1が読出指
示信号0Eを送出し、指定した制御単位におい
て、アドレスレジスタADREGのアドレスのデー
タを読出シフトレジスタRDREGに読出を行い、
しかる後に再度クロツク発生部2を制御し所定段
数シフトして読出用シフトレジスタRDREGのデ
ータを出力端SOより制御シフトレジスタに受け
取ることにより読出を行うことが出来る。
At the time of reading, the control unit SVP1 prepares address data and specification data of the control unit to be read, and controls the clock generation unit 2 to shift the scan chain by a predetermined number of steps, thereby inputting each data as specified from the input terminal SI. After setting in each register corresponding to the specified control unit, the control unit SVP1 sends a read instruction signal 0E, reads the data at the address of the address register ADREG to the read shift register RDREG in the specified control unit, and
Thereafter, reading can be performed by controlling the clock generating section 2 again to shift the clock by a predetermined number of stages and receiving the data in the read shift register RDREG from the output terminal SO to the control shift register.

以上のように、本発明の方式によるデータの書
込、読出は、各レジスタをシフトレジスタとし
て、全シフトレジスタを従続接続して構成したス
キヤンチエーンのクロツクによるシフト動作によ
るので、転送スピードの点でスキヤンクロツク
SLCKの1クロツク毎に1ビツトの直列伝送と等
価になり、スキヤンクロツクSLCKの周期が
200nsならば、5Mb/s程度となるが、前述の
ALTER/DISPLAYのような目的には充分であ
る。
As described above, data writing and reading according to the method of the present invention is performed using a shift operation using a clock of a scan chain in which each register is used as a shift register and all shift registers are connected in series, so the transfer speed is reduced. scan clock
Each SLCK clock is equivalent to serial transmission of 1 bit, and the period of scan clock SLCK is
If it is 200ns, it will be about 5Mb/s, but as mentioned above
It is sufficient for purposes such as ALTER/DISPLAY.

一方、n個のRAMとして、従来の技術の項で
のべた例に本発明を適用すると、所要ピン数Nは (SI+SO)+(WE+0E) +(SLCK×2)+(GND+Vcc)=8 となり、nに比例して増加する部分がなくなり、
nは無関係となり、nが8の時は8/39≒1/4
に低減される。
On the other hand, when the present invention is applied to the example described in the prior art section for n RAMs, the required number of pins N is (SI+SO)+(WE+0E)+(SLCK×2)+(GND+Vcc)=8, The part that increases in proportion to n disappears,
n becomes irrelevant, and when n is 8, 8/39≒1/4
reduced to

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

以上説明したように、本発明によれば、
ALTER/DISPLAY等のように比較的低速の読
出、書込動作で済む用途で、複数の制御単位のメ
モリを接続ピン数を最少にして使用することが出
来る効果がある。
As explained above, according to the present invention,
For applications such as ALTER/DISPLAY that require relatively low-speed read and write operations, it is possible to use a plurality of control units of memory with a minimum number of connection pins.

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

図は本発明の一実施例のブロツク図である。図
に於いて、 1は制御部SVP、2はクロツク発生部、3a
〜3nはランダムアクセスメモリRAM、4a〜
4nは書込レジスタWDREG、5a〜5nは読出
レジスタRDREG、6a〜6nはアドレスレジス
タADREG、7a〜7nはフリツプフロツプFF、
である。
The figure is a block diagram of one embodiment of the present invention. In the figure, 1 is the control unit SVP, 2 is the clock generator, and 3a
~3n is random access memory RAM, 4a~
4n is a write register WDREG, 5a to 5n are read registers RDREG, 6a to 6n are address registers ADREG, 7a to 7n are flip-flops FF,
It is.

Claims (1)

【特許請求の範囲】 1 複数の制御単位よりなるメモリの各制御単位
毎に、制御部がデータの書込み及び読出しを行う
メモリシステムにおいて、 前記メモリの全ての制御単位に書込データ、読
出データ及びアドレスデータ用の各シフトレジス
タと、前記各制御単位に1段を対応させた制御単
位指定用シフトレジスタとを設け、該各シフトレ
ジスタを全て従続接続してスキヤンチエーンを構
成し、該スキヤンチエーンの入力端と出力端とを
前記制御部に接続すると共に、前記制御部の制御
により該スキヤンチエーンをシフトするためのス
キヤンクロツクパルスを発生するクロツク発生部
とを設け、 前記制御部は、書込時には、該書込を行う制御
単位の指定データ、書込データ及びアドレスデー
タを準備し、クロツク発生部を制御して前記スキ
ヤンチエーンを所定段数シフトすることにより、
該各データを入力端から該指定された制御単位の
対応する各レジスタにセツトした後書込を行い、 読出時には、該読出を行う制御単位の指定デー
タ及びアドレスデータを準備し、クロツク発生部
を制御して前記スキヤンチエーンを所定段数シフ
トすることにより、該各データを入力端から端指
定された制御単位の対応する各レジスタにセツト
した後、前記指定した制御単位の読出シフトレジ
スタに読出を行い、 しかる後に再度クロツク発生部を制御し所定段
数シフトして前記読出用シフトレジスタのデータ
を前記出力端より受け取ることにより読出を行う
ことを特徴とするメモリ制御方式。
[Scope of Claims] 1. In a memory system in which a control unit writes and reads data for each control unit of a memory consisting of a plurality of control units, write data, read data, and Each shift register for address data and a control unit designation shift register in which one stage corresponds to each control unit are provided, and all of the shift registers are connected in series to form a scan chain. an input terminal and an output terminal of the clock are connected to the control section, and a clock generation section that generates a scan clock pulse for shifting the scan chain under the control of the control section; At the time of writing, specifying data, write data, and address data of the control unit to be written are prepared, and the scan chain is shifted by a predetermined number of steps by controlling the clock generator.
Each data is set from the input terminal to each register corresponding to the specified control unit and then written. When reading, the specified data and address data of the control unit to be read are prepared, and the clock generator is activated. By controlling and shifting the scan chain a predetermined number of stages, each data is set from the input end to each register corresponding to the designated control unit, and then read out to the read shift register of the designated control unit. . A memory control system characterized in that reading is performed by subsequently controlling a clock generating section again to shift a predetermined number of stages and receiving data from the read shift register from the output terminal.
JP59127826A 1984-06-21 1984-06-21 Memory control system Granted JPS618786A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59127826A JPS618786A (en) 1984-06-21 1984-06-21 Memory control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59127826A JPS618786A (en) 1984-06-21 1984-06-21 Memory control system

Publications (2)

Publication Number Publication Date
JPS618786A JPS618786A (en) 1986-01-16
JPH0150036B2 true JPH0150036B2 (en) 1989-10-26

Family

ID=14969623

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59127826A Granted JPS618786A (en) 1984-06-21 1984-06-21 Memory control system

Country Status (1)

Country Link
JP (1) JPS618786A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100580179B1 (en) 2003-11-25 2006-05-16 삼성전자주식회사 Method and integrated circuit device for reducing simultaneous change output

Also Published As

Publication number Publication date
JPS618786A (en) 1986-01-16

Similar Documents

Publication Publication Date Title
EP0269106B1 (en) Semiconductor memory device
US4570222A (en) Information processor having information correcting function
JP2735173B2 (en) One-chip memory device
US4609996A (en) Memory access system for a computer system adapted to accept a memory expansion module
US5269012A (en) Stack memory system including an address buffer for generating a changed address by inverting an address bit
JPH0150036B2 (en)
JP2591514B2 (en) One-chip memory device
JPS59168983A (en) Semiconductor memory device
JP2605656B2 (en) One-chip memory device
JPH0458037B2 (en)
JPH0672910B2 (en) Test pattern memory circuit
JPH01171191A (en) Storage element with arithmetic function
JP2591515B2 (en) One-chip memory device
JPH0676581A (en) Synchronous type static memory
JPH0381180B2 (en)
JPS60181784A (en) Video ram
JPH0241058B2 (en)
JPH03183097A (en) Semiconductor memory device
JPH10105457A (en) Memory control system and memory control circuitt
JPH03141099A (en) Memory integrated circuit
JPS62229347A (en) Memory circuit access device
JPH0784860A (en) Information processing system
JPH07168783A (en) Memory structure
JPH1063572A (en) Memory circuit
JPH08123716A (en) Memory system