Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0542701B2 - - Google Patents
[go: Go Back, main page]

JPH0542701B2 - - Google Patents

Info

Publication number
JPH0542701B2
JPH0542701B2 JP9281385A JP9281385A JPH0542701B2 JP H0542701 B2 JPH0542701 B2 JP H0542701B2 JP 9281385 A JP9281385 A JP 9281385A JP 9281385 A JP9281385 A JP 9281385A JP H0542701 B2 JPH0542701 B2 JP H0542701B2
Authority
JP
Japan
Prior art keywords
data
address
cpu
control circuit
buffer memory
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 - Fee Related
Application number
JP9281385A
Other languages
Japanese (ja)
Other versions
JPS61250760A (en
Inventor
Kyoya Tsutsui
Yoshitaka Kurauchi
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP9281385A priority Critical patent/JPS61250760A/en
Publication of JPS61250760A publication Critical patent/JPS61250760A/en
Publication of JPH0542701B2 publication Critical patent/JPH0542701B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 以下の順序でこの発明を説明する。[Detailed description of the invention] The invention will be explained in the following order.

A 産業上の利用分野 B 発明の概要 C 従来の技術(第6図,第7図) D 発明が解決しようとする問題点 E 問題点を解決するための手段(第1図) F 作用(第2図) G 実施例(第3図〜第5図) H 発明の効果 A 産業上の利用分野 この発明はCPUとI/Oレジスタが別の基板
に設けられるような大規模システムにおいて、そ
のCPUからI/Oレジスタへのデータの転送を
行なう技術に関する。
A. Field of industrial application B. Outline of the invention C. Prior art (Figs. 6 and 7) D. Problem to be solved by the invention E. Means for solving the problem (Fig. 1) F. Effect (Fig. 1) (Figure 2) G Example (Figures 3 to 5) H Effect of the invention A Industrial field of application This invention is applicable to large-scale systems in which the CPU and I/O registers are provided on separate boards. The present invention relates to technology for transferring data from an I/O register to an I/O register.

B 発明の概要 この発明はCPUからこれと別基板のI/Oレ
ジスタにデータを転送する場合に、転送制御回路
とバツフアメモリとをCPU側に、イネーブル制
御回路をI/Oレジスタ側にそれぞれ設け、
CPUからのデータをバツフアメモリを介して
I/Oレジスタ側に転送するようにするととも
に、バツフアメモリからの読み出しの開始時に制
御信号を転送制御回路よりイネーブル制御回路に
供給し、バツフアメモリの読み出しと同時にI/
Oレジスタを順次イネーブルにしてこれにデータ
を書き込むようにしたことによつて、CPU基板
とI/Oレジスタ基板間の接続線をできるだけ少
くできるようにしたものである。
B. Summary of the Invention This invention provides, when transferring data from a CPU to an I/O register on a separate board, a transfer control circuit and a buffer memory are provided on the CPU side, and an enable control circuit is provided on the I/O register side.
Data from the CPU is transferred to the I/O register side via the buffer memory, and a control signal is supplied from the transfer control circuit to the enable control circuit at the start of reading from the buffer memory.
By sequentially enabling the O registers and writing data into them, the number of connection lines between the CPU board and the I/O register board can be minimized.

C 従来の技術 CPUからのデータはI/Oレジスタを介して
外部の装置に伝送される。大規模なシステムの場
合、CPUとI/Oレジスタとが別の基板に設け
られるが、このとき、CPU側から制御信号を
I/Oレジスタ側に供給してI/Oレジスタへの
CPUからのデータの転送を制御しなければなら
ない。
C. Prior Art Data from the CPU is transmitted to external devices via I/O registers. In the case of large-scale systems, the CPU and I/O registers are installed on separate boards, but in this case, control signals are supplied from the CPU side to the I/O registers to control the I/O registers.
It must control the transfer of data from the CPU.

第6図はこのようなデータ転送装置の従来の一
例では、1はCPU10が配置される基板、2は
複数のI/Oレジスタ50,51,52……が載置
される基板である。この例の場合、基板2側に
は、また、ラツチイネーブル制御回路6が設けら
れる。
FIG. 6 shows a conventional example of such a data transfer device, where 1 is a board on which a CPU 10 is placed, and 2 is a board on which a plurality of I/O registers 5 0 , 5 1 , 5 2 . . . are placed. be. In this example, a latch enable control circuit 6 is also provided on the substrate 2 side.

そして、CPU10からのデータバス11は
I/Oレジスタ50,51,52……の入力端に接
続されて、CPU10からデータDATAが各I/
Oレジスタ50,51,52……に供給される。ま
た、CPU10からのアドレスバス12とコント
ロールバス13はともにラツチイネーブル制御回
路6に接続されて、アドレス信号ADRS及びコン
トロール信号CTLがこのラツチイネーブル制御
回路6に供給される。
The data bus 11 from the CPU 10 is connected to the input terminals of the I/O registers 5 0 , 5 1 , 5 2 .
It is supplied to O registers 5 0 , 5 1 , 5 2 . Further, both the address bus 12 and the control bus 13 from the CPU 10 are connected to the latch enable control circuit 6, and the address signal ADRS and the control signal CTL are supplied to the latch enable control circuit 6.

そして、CPU10からのデータDATAの転送
は次のようにされる。すなわち、CPU10より
データバス11を通じてデータDATAが送出さ
れるとき、同時にアドレスバス12を通じてその
データのアドレスデータADRSが送出される。
The data DATA is transferred from the CPU 10 as follows. That is, when data DATA is sent out from the CPU 10 through the data bus 11, address data ADRS of that data is sent out through the address bus 12 at the same time.

ラツチイネーブル制御回路6からはコントロー
ル信号CTL及びアドレスデータADRSから、特
定の番地を示すデータに対し、複数のレジスタの
うち1つのI/Oレジスタをラツチイネーブルと
するイネーブル信号が得られ、そのイネーブル状
態とされるレジスタにデータDATAがラツチさ
れる。同様にして異なる番地になると、異なるレ
ジスタにデータDATAがラツチされる。こうし
て、CPU10からのデータDATAはアドレスデ
ータADRSに対応して複数のI/Oレジスタ50
1,52……に転送される。この場合、I/Oレ
ジスタ50,51,52……はCPU10からのアド
レスデータADRSのうち転送のためとして指定さ
れる番地の数と同数設けられ、各レジスタ50
1,52……のそれぞれは各アドレスと1:1の
関係をもつようにされる。例えば0番地のデータ
はレジスタ50にラツチされるものである。
From the control signal CTL and the address data ADRS, the latch enable control circuit 6 obtains an enable signal that enables one I/O register among a plurality of registers to latch for data indicating a specific address, and determines the enable state. Data DATA is latched in the register. Similarly, when a different address is reached, data DATA is latched into a different register. In this way, data DATA from the CPU 10 is sent to a plurality of I/O registers 5 0 ,
Transferred to 5 1 , 5 2 .... In this case, the same number of I/O registers 5 0 , 5 1 , 5 2 . . . are provided as the number of addresses designated for transfer among the address data ADRS from the CPU 10, and each register 5 0 ,
Each of 5 1 , 5 2 . . . has a 1:1 relationship with each address. For example, data at address 0 is latched in register 50 .

なお、ラツチイネーブル制御回路6は、第7図
の例のようにCPU10側の基板1に設けてもよ
い。この第7図例の場合には、基板1と基板2間
の接続線はデータバス11と、ラツチイネーブル
制御回路6からの複数のI/Oレジスタ50,5
,52……5nの数分のラツチイネーブル信号を
伝送する接続線140,141,142……14n
である。
Note that the latch enable control circuit 6 may be provided on the board 1 on the CPU 10 side as in the example shown in FIG. In the case of this example in FIG .
Connection lines 14 0 , 14 1 , 14 2 ... 14 n that transmit latch enable signals for the number of 1 , 5 2 ... 5n
It is.

D 発明が解決しようとする問題点 第6図例の場合、CPU10のすべてのバス、
すなわちデータバス11、アドレスバス12、コ
ントロールバス13をすべてドライブしてI/O
レジスタ側でコントロールするものであり、基板
1と2との間の接続線として多くの信号線を必要
として、保守性、信頼性の点で問題がある。
D Problems to be solved by the invention In the case of the example in Figure 6, all buses of the CPU 10,
In other words, data bus 11, address bus 12, and control bus 13 are all driven to perform I/O.
It is controlled on the register side, and requires many signal lines as connection lines between the boards 1 and 2, which poses problems in terms of maintainability and reliability.

また、第7図例の場合でも、I/Oレジスタの
1つにつき1本の制御線で必要とななり、I/O
レジスタの数が多数になつた場合、第6図例と同
様の問題が生じる。
In addition, even in the case of the example in FIG. 7, one control line is required for each I/O register, and the I/O
When the number of registers becomes large, a problem similar to the example in FIG. 6 occurs.

E 問題点を解決するための手段 第1図はこの発明装置の一例のブロツク図であ
る。
E. Means for Solving the Problems FIG. 1 is a block diagram of an example of the apparatus of this invention.

すなわち、基板1側にはバツフアメモリ20及
び転送制御回路300が設けられる。また、基板
2側にはイネーブル制御回路60が設けられる。
That is, a buffer memory 20 and a transfer control circuit 300 are provided on the substrate 1 side. Furthermore, an enable control circuit 60 is provided on the substrate 2 side.

CPU10からのアドレスバス12及びコント
ロールバス13は、転送制御回路300と接続さ
れ、またデータバス11はバツフアメモリ20と
接続される。
Address bus 12 and control bus 13 from CPU 10 are connected to transfer control circuit 300, and data bus 11 is connected to buffer memory 20.

また、所定のクロツクパルスCK(これはCPU
10で作成したものを用いることができる)が転
送制御回路300に供給される。
Also, a predetermined clock pulse CK (this is
10 can be used) is supplied to the transfer control circuit 300.

転送制御回路300からはメモリ20のチツプ
セレクト信号CSと読み出し及び書き込みアドレ
スデータが得られ、バツフアメモリ20に供給さ
れる。さらに、この転送制御回路300からはバ
ツフアメモリ20よりの読み出し開始時にクロツ
クパルスCKに同期してイネーブルスタート信号
ESが得られ、これが基板2側のイネーブル制御
回路60に供給される。このイネーブル制御回路
60は例えばシフトレジスタで構成され、信号
ESはそのデータ入力端に供給される。また、ク
ロツクパルスCKがこのイネーブル制御回路60
を構成するシフトレジスタのクロツク端子に供給
される。このシフトレジスタ60に供給するクロ
ツクパルスは、パルスCKと同期したものであれ
ば、基板2側において作成したものを用いること
ができる。
A chip select signal CS and read and write address data of the memory 20 are obtained from the transfer control circuit 300 and supplied to the buffer memory 20. Furthermore, the transfer control circuit 300 sends an enable start signal in synchronization with the clock pulse CK at the start of reading from the buffer memory 20.
ES is obtained and supplied to the enable control circuit 60 on the board 2 side. This enable control circuit 60 is composed of, for example, a shift register, and has a signal
ES is applied to its data input. Also, the clock pulse CK is applied to this enable control circuit 60.
This signal is supplied to the clock terminal of the shift register that makes up the clock. The clock pulse supplied to this shift register 60 can be one generated on the substrate 2 side as long as it is synchronized with the pulse CK.

また、CPU10からは書き込み制御信号
MWTCがバツフアメモリ20に供給されて、こ
のメモリ20の書き込み、読み出しが制御され
る。
In addition, a write control signal is sent from the CPU10.
MWTC is supplied to buffer memory 20, and writing and reading of this memory 20 is controlled.

そして、バツフアメモリ20から読み出された
データがI/Oレジスタ50,51,52……5n
に供給される。この例の場合、バツフアメモリ2
0のアドレスと複数のI/Oレジスタ50,51
2……5nとは1:1の対応がつくようにされ
ている。
Then, the data read from the buffer memory 20 is transferred to the I/O registers 50 , 51 , 52 ...5n.
is supplied to In this example, buffer memory 2
0 address and multiple I/O registers 5 0 , 5 1 ,
There is a 1:1 correspondence with 5 2 ...5n.

F 作用 CPU10からのデータDATAは、転送制御回
路300により通常のメモリアクセスが行なわれ
てバツフアメモリ20に書き込まれる。すなわ
ち、CPU10よりデータDATAが送出されると
ともにアドレスデータADRSが送出され、さら
に、書き込み制御信号MWTCがバツフアメモリ
20に供給される。そして、転送制御回路300
よりバツフアメモリ20にチツプセレクト信号
CSが供給されるとともにアドレスデータADRS
がそのまま供給されて、このメモリ20にはアド
レスデータADRSに従つてデータDATAが書き
込まれることになる。
F. Effect Data DATA from the CPU 10 is written into the buffer memory 20 through normal memory access by the transfer control circuit 300. That is, the CPU 10 sends data DATA and address data ADRS, and furthermore, a write control signal MWTC is supplied to the buffer memory 20. Then, the transfer control circuit 300
Chip select signal to buffer memory 20
CS is supplied and address data ADRS
is supplied as is, and data DATA is written into this memory 20 in accordance with address data ADRS.

次にコントロールバス13を介して読み出しコ
マンドが転送制御回路300に供給されると、こ
の転送制御回路300でクロツクパルスCK(第2
図A)に同期したアドレスデータADRB(同図
B)がバツフアメモリ20に供給されるとともに
チツプセレクト信号CSが供給される。このとき
書き込み制御信号MWTCは書き込み状態とはな
つていないため、バツフアメモリ20は読み出し
状態となり、データDATA(第2図C)が転送制
御回路300からのアドレスデータADRBに従
つて順次読み出される。
Next, when a read command is supplied to the transfer control circuit 300 via the control bus 13, the transfer control circuit 300 clocks the clock pulse CK (second
Address data ADRB (FIG. B) synchronized with FIG. A) is supplied to the buffer memory 20, and a chip select signal CS is also supplied. At this time, since the write control signal MWTC is not in the write state, the buffer memory 20 is in the read state, and the data DATA (FIG. 2C) is sequentially read out in accordance with the address data ADRB from the transfer control circuit 300.

この読み出し開始時に、転送制御回路300よ
り信号ES(第2図D)が基板2のイネーブル制御
回路60に供給される。したがつてこのイネーブ
ル制御回路60からはクロツクパルスCKに同期
して順次例えばハイレベルとなるイネーブル信号
EN0,EN1,EN2……EN8,EN9……(同図E,
F,G……H,I……)が得られ、I/Oレジス
タ50,51,52……がアドレスデータの変化に
同期して順次イネーブル状態になり、読み出され
たデータDATAがI/Oレジスタ50,51,52
……に順次ラツチされる。
At the start of this readout, the transfer control circuit 300 supplies the signal ES (FIG. 2D) to the enable control circuit 60 of the substrate 2. Therefore, the enable control circuit 60 outputs an enable signal that sequentially becomes, for example, a high level in synchronization with the clock pulse CK.
EN 0 , EN 1 , EN 2 ... EN 8 , EN 9 ... (E,
F, G...H, I...) are obtained, and the I/O registers 5 0 , 5 1 , 5 2 ... are sequentially enabled in synchronization with the change in address data, and the read data DATA is obtained. are I/O registers 5 0 , 5 1 , 5 2
...is sequentially latched.

G 実施例 第3図はこの発明装置を画像処理システムの画
像処理制御データの転送に用いた場合の第1図例
の具体的一実施例で、同図において破線より左側
が基板1側を示し、破線より右側は画像処理装置
側を示す。
G. Embodiment FIG. 3 shows a specific embodiment of the example shown in FIG. 1 when this invention device is used for transferring image processing control data of an image processing system. In the figure, the left side of the broken line indicates the substrate 1 side. , the right side of the broken line indicates the image processing device side.

この例においては、バツフアメモリ20にはデ
ータバス11を通じたCPU10からの制御信号
や制御パラメータ等の画像制御データDATAが
そのデータ入力端に供給される。
In this example, the buffer memory 20 is supplied with image control data DATA such as control signals and control parameters from the CPU 10 via the data bus 11 at its data input terminal.

また、このバツフアメモリ20には0番地から
3番地までの4つのアドレスに書き込みをするも
のとする。したがつて、アドレスバス12のアド
レスデータADRSのうち0番地から3番地を示す
ものは、このバツフアメモリ20用のアドレスデ
ータとされる。
It is also assumed that data is written to four addresses from address 0 to address 3 in this buffer memory 20. Therefore, of the address data ADRS on the address bus 12, those indicating addresses 0 to 3 are address data for this buffer memory 20.

基板2側、この例では画像処理装置側にはこの
4つのアドレスに対応して4つのI/Oレジスタ
50〜53が設けられ、この4つのI/Oレジス
タ50〜53に対し、バツフアメモリ20より読
み出された制御データが供給される。
On the board 2 side, in this example, on the image processing device side, four I/O registers 50 to 53 are provided corresponding to these four addresses. The read control data is supplied.

また、このバツフアメモリ20にはCPU10
から書き込み制御信号MWTCが供給され、この
信号MWCTがローレベルのとき、書き込み可能
状態となり、ハイレベルのときは読み出し可能状
態となる。もつとも、このバツフアメモリ20は
後述するチツプセレクト信号CSがローレベルの
ときメモリアクセス可能となり、そのときに信号
MWTCがハイレベルかローレベルかで読み出し
状態か書き込み状態になる。
In addition, this buffer memory 20 has a CPU 10
A write control signal MWTC is supplied from the device, and when this signal MWCT is at a low level, it is in a writable state, and when it is at a high level, it is in a readable state. However, this buffer memory 20 can be accessed when the chip select signal CS, which will be described later, is at a low level, and at that time the signal
The state is read or written depending on whether MWTC is high or low.

31はアドレスデータ切換用のマルチプレクサ
で、アドレスバス12を通じたCPU10からの
アドレスデータADRSがその一方の入力端Aに供
給される。
31 is a multiplexer for switching address data, and address data ADRS from the CPU 10 via the address bus 12 is supplied to one input terminal A of the multiplexer.

30番代の番号を付すのは転送制御回路300
を構成するもので、30はバツフアメモリ20の
アドレスカウンタで、このカウンタ30からのア
ドレスデータADRBがマルチプレクサ31の他
方の入力端Bに供給される。
Transfer control circuit 300 is numbered in the 30s.
30 is an address counter of the buffer memory 20, and address data ADRB from this counter 30 is supplied to the other input terminal B of the multiplexer 31.

41はこのカウンタ30に供給されるクロツク
パルスCKの入力端で、この例の場合、クロツク
パルスCKは5MHz(周期200nsec)とされている。
Reference numeral 41 denotes an input terminal for the clock pulse CK supplied to the counter 30. In this example, the clock pulse CK is 5 MHz (period: 200 nsec).

32はアドレスデコーダで、アドレスバス12
のアドレスデータが、バツフアメモリ20のアド
レスを指定するものであるとき、その出力SEが
ローレベルになる。この出力SEはマルチプレク
サ31のセレクト端子に供給され、この出力SE
がローレベルのときはマルチプレクサ31より入
力端Aに供給されるアドレスデータADRSがその
出力に得られ、この出力SEがハイレベルのとき
はマルチプレクサ31よりは入力端Bに供給され
るアドレスデータADRBがその出力に得られる。
32 is an address decoder, and address bus 12
When the address data specifies the address of the buffer memory 20, its output SE becomes low level. This output SE is supplied to the select terminal of multiplexer 31, and this output SE
When is at a low level, the address data ADRS supplied from the multiplexer 31 to the input terminal A is obtained at its output, and when this output SE is at a high level, the address data ADRB supplied from the multiplexer 31 to the input terminal B is obtained from the multiplexer 31. You get that output.

アドレスデコーダ32の出力SEは、また、ア
ンドゲート38に供給される。このアンドゲート
38の出力はチツプセレクト信号CSとなり、こ
の信号CSはバツフアメモリ20のチツプセレク
ト端子に供給される。
The output SE of address decoder 32 is also supplied to AND gate 38. The output of this AND gate 38 becomes a chip select signal CS, and this signal CS is supplied to the chip select terminal of the buffer memory 20.

また、33はバツフアメモリ20のアドレスを
順次に指定するとき、最初のアドレスに等しいデ
ータを発生するスタートアドレス発生回路、34
は最後のアドレスに等しいデータを発生するエン
ドアドレス発生回路である。この例の場合、スタ
ートアドレス発生回路33からは0番地を示すア
ドレスデータが、エンドアドレス発生回路34か
らは3番地を示すアドレスデータがそれぞれ得ら
れる。
33 is a start address generation circuit that generates data equal to the first address when sequentially specifying addresses in the buffer memory 20; 34;
is an end address generation circuit that generates data equal to the last address. In this example, address data indicating address 0 is obtained from the start address generation circuit 33, and address data indicating address 3 is obtained from the end address generation circuit 34.

また、35はエンドアドレス一致検出回路で、
カウンタ30からのアドレスデータADBがエン
ドアドレス発生回路34よりのエンドアドレスと
等しいか否かを検出し、両者が不一致のときハイ
レベル、両者が一致したときローレベルになる出
力PIがこれより得られる。
Further, 35 is an end address match detection circuit,
It is detected whether the address data ADB from the counter 30 is equal to the end address from the end address generation circuit 34, and an output PI is obtained which becomes high level when the two do not match and becomes low level when the two match. .

この一致検出出力PIはアドレスカウンタ30
のストツプ端子に供給され、出力PIがローレベ
ルになるとカウンタ30はカウント動作が停止さ
れる。
This match detection output PI is the address counter 30
When the output PI becomes low level, the counter 30 stops counting.

一致検出出力PIは、また、タイミング調整用
のラツチ回路36及びノアゲート37を介してチ
ツプセレクト信号CSの形成用のアンドゲート3
8に供給される。
The coincidence detection output PI is also connected to an AND gate 3 for forming a chip select signal CS via a latch circuit 36 for timing adjustment and a NOR gate 37.
8.

39はラツチイネーブル発生回路で、これはア
ドレスカウンタ30よりのアドレスデータADB
を受けて、レジスタ50〜53のそれぞれのイネ
ーブル信号EN0〜EN3を形成する。この場合、レ
ジスタ50〜53はバツフアメモリ20のアドレ
スと対応しており、0番地に対してはレジスタ5
0、1番地に対してはレジスタ51、2番地に対
してはレジスタ52、3番地に対してはレジスタ
53が対応するようにされている。
39 is a latch enable generation circuit, which receives address data ADB from address counter 30.
In response, enable signals EN 0 -EN 3 for registers 50 - 53 are formed, respectively. In this case, registers 50 to 53 correspond to addresses in the buffer memory 20, and register 5 corresponds to address 0.
A register 51 corresponds to addresses 0 and 1, a register 52 corresponds to address 2, and a register 53 corresponds to address 3.

この例においてはデータ転送は画像信号への影
響を考慮して垂直ブランキング期間内になされ
る。
In this example, data transfer is performed within the vertical blanking period in consideration of the influence on the image signal.

40は転送スタートパルス発生回路で、入力端
子42を通じて垂直同期パルスがこれには供給さ
れるとともに、入力端子41からのクロツクパル
スCKが供給されて、このクロツクパルスCKに同
期したスタートパルスSTがこれより得られる。
40 is a transfer start pulse generation circuit, to which a vertical synchronizing pulse is supplied through an input terminal 42, and a clock pulse CK is also supplied from an input terminal 41, from which a start pulse ST synchronized with this clock pulse CK is obtained. It will be done.

以上の構成において、バツフアメモリ20への
CPU10よりの制御データの書き込み動作につ
いて説明する。
In the above configuration, the buffer memory 20 is
The operation of writing control data from the CPU 10 will be explained.

第4図はCUP10からバツフアメモリ20の
0番地に書き込みをなす場合のタイムチヤート
で、以下、これに沿つて説明する。
FIG. 4 is a time chart when writing from the CPU 10 to address 0 of the buffer memory 20, and will be explained below along with this.

先ず、CPU10からアドレスバス12を通じ
てアドレスデータADRS(第4図A)として0番
地の情報が送出される。すると、アドレスデコー
ダ32ではこれが判別されて、バツフアメモリ2
0がアクセスされたと判断し、その出力SE(同図
B)がローレベルとなる。したがつて、マルチプ
レクサ31からはCPU10からのアドレスデー
タADRSが得られ(同図C)、これがバツフアメ
モリ20のアドレス入力端に供給される。
First, information on address 0 is sent from the CPU 10 via the address bus 12 as address data ADRS (FIG. 4A). Then, the address decoder 32 determines this, and the buffer memory 2
It is determined that 0 has been accessed, and its output SE (B in the same figure) becomes low level. Therefore, address data ADRS from the CPU 10 is obtained from the multiplexer 31 (see C in the figure), and is supplied to the address input terminal of the buffer memory 20.

アドレスデコーダ32の出力SEがローレベル
になると、アンドゲート38からのチツプセレク
ト信号CS(同図E)もローレベルになり、バツフ
アメモリ20はアクテイブ状態になる。そして、
データバス11に書き込むべきデータDATAが
CPU10より送出され(同図D)、その後、書き
込み制御信号MWTC(同図F)がローレベルとな
つて、バツフアメモリ20の0番地にそのデータ
が書き込まれる。
When the output SE of the address decoder 32 becomes low level, the chip select signal CS from the AND gate 38 (E in the figure) also becomes low level, and the buffer memory 20 becomes active. and,
The data DATA to be written to data bus 11 is
The data is sent from the CPU 10 (D in the figure), and then the write control signal MWTC (F in the figure) becomes low level, and the data is written to address 0 of the buffer memory 20.

そして、この書き込み終了後、書き込み制御信
号MWTCがハイレベルに戻つて書き込みデイス
エーブルとされ、CPU10からのアドレスデー
タADRSが変わつて、0〜3番地以外になると、
アドレスデコーダ32の出力SEがハイレベルに
なり、マルチプレクサ31からはカウンタ30か
らのアドレスデータADRBが得られる状態にな
るとともにアンドゲート38の出力CSはハイレ
ベルとなり、バツフアメモリ20は非動作状態と
なり、1つの書き込みサイクルが終了する。
Then, after this write is completed, the write control signal MWTC returns to high level and write is disabled, and when the address data ADRS from the CPU 10 changes to an address other than 0 to 3,
The output SE of the address decoder 32 becomes high level, the address data ADRB from the counter 30 is obtained from the multiplexer 31, and the output CS of the AND gate 38 becomes high level, the buffer memory 20 becomes inactive, and 1 One write cycle is completed.

バツフアメモリ20の他の1番地、2番地、3
番地のアドレスへの書き込みも同様にしてなされ
る。なお、複数番地に1回の書き込みサイクルで
順次書き込むこともできる。
Other addresses 1, 2, and 3 of buffer memory 20
Writing to the address is done in the same way. Note that it is also possible to sequentially write to multiple addresses in one write cycle.

次に、このように書き込まれた制御データのバ
ツフアメモリ20からレジスタ50〜53への転
送動作について説明する。
Next, the operation of transferring the control data written in this way from the buffer memory 20 to the registers 50 to 53 will be explained.

入力端子42を通じて垂直同期パルスVD(第
5図A及びB、なお、第5図Bは拡大図)が転送
スタートパルス発生回路40に供給されると、こ
れよりクロツクパルスCK(同図C)に同期したス
タートパルスST(同図D)が得られ、これがアド
レスカウンタ30のプリセツト端子に供給され、
アドレス発生回路33からのスタートアドレスカ
ウント値、すなわち「0」にカウンタ30はプリ
セツトされる。
When the vertical synchronizing pulse VD (Fig. 5 A and B, FIG. 5 B is an enlarged view) is supplied to the transfer start pulse generation circuit 40 through the input terminal 42, it is synchronized with the clock pulse CK (Fig. 5 C). A start pulse ST (D in the same figure) is obtained, which is supplied to the preset terminal of the address counter 30.
The counter 30 is preset to the start address count value from the address generation circuit 33, ie, "0".

すると、アドレスデータADRBが0番地のデ
ータになるため、エンドアドレス一致検出回路3
5では出力PI(同図F)がハイレベルになり、カ
ウンタ30はカウント動作を開始し、クロツクパ
ルスCKをカウントしてアドレスデータADB(同
図E)は0番地、1番地、2番地、3番地と順次
歩進する。
Then, the address data ADRB becomes data at address 0, so the end address match detection circuit 3
At 5, the output PI (F in the figure) becomes high level, the counter 30 starts counting, counts the clock pulse CK, and sets the address data ADB (E in the figure) to addresses 0, 1, 2, and 3. Step by step.

このとき、CPU10からは0〜3番地を示す
アドレスデータADRSは送出されず、このため、
アドレスデコーダ32の出力SEはハイレベルで
あるので、マルチプレクサ31よりはこのアドレ
スカウンタ30のカウント値出力ADRBが得ら
れる。
At this time, the address data ADRS indicating addresses 0 to 3 is not sent from the CPU 10, and therefore,
Since the output SE of the address decoder 32 is at a high level, the count value output ADRB of the address counter 30 is obtained from the multiplexer 31.

また、一致検出回路35の出力PIがハイレベ
ルとなることから、ノアゲート37の出力がロー
レベルとなり、したがつてアンドゲート38の出
力であるチツプセレクト信号CS(同図G)もロー
レベルとなり、メモリ20がアクセス可能とな
る。
Furthermore, since the output PI of the coincidence detection circuit 35 becomes high level, the output of the NOR gate 37 becomes low level, and therefore the chip select signal CS (G in the same figure) which is the output of the AND gate 38 also becomes low level. Memory 20 becomes accessible.

そして、この垂直ブランキング期間では、
CPU10からの書き込み制御信号MWTCはハイ
レレベルであるので、バツフアメモリ20は読み
出し状態となり、このバツフアメモリ20からは
アドレスデータADRBにより、0,1,2,3
番地のデータD0,D1,D2,D3(第5図H)が読
み出される。
And in this vertical blanking period,
Since the write control signal MWTC from the CPU 10 is at a high level, the buffer memory 20 is in the read state, and the buffer memory 20 reads 0, 1, 2, 3 according to the address data ADRB.
Address data D0, D1, D2, D3 (FIG. 5H) are read out.

一方、このとき、アドレスデータADRBは、
また、ラツチイネーブル発生回路39に供給さ
れ、これにおいて0番地のデータが検知される
と、イネーブルスタート信号ES(第5図I)が得
られる。そして、これがイネーブル制御回路とし
てのシフトレジスタ61に供給される。したがつ
て、このシフトレジスタ61においては、クロツ
クパルスCKにより、このスタート信号ESが順次
転送されて、バツフアメモリ20の各読み出し番
地に対応してI/Oレジスタ50〜53をクロツ
クパルスCKの1周期分の期間ずつイネーブル信
号EN0,EN1,EN2,EN3(第5図J,K,L,
M)がローレベルとなり、データD0,D1,D2,
D3がそれぞれレジスタ50,51,52,53
に書き込まれる。すなわち、例えば0番地のアド
レスデータの期間にはイネーブル信号EN0がロー
レベルとなり、メモリ20より読み出されたデー
タD0がレジスタ50に書き込まれる。
On the other hand, at this time, the address data ADRB is
It is also supplied to the latch enable generating circuit 39, and when data at address 0 is detected therein, an enable start signal ES (FIG. 5I) is obtained. This is then supplied to a shift register 61 as an enable control circuit. Therefore, in this shift register 61, the start signal ES is sequentially transferred by the clock pulse CK, and the I/O registers 50 to 53 are shifted for one cycle of the clock pulse CK in correspondence with each read address of the buffer memory 20. Enable signals EN 0 , EN 1 , EN 2 , EN 3 for each period (J, K, L,
M) becomes low level, and data D0, D1, D2,
D3 is register 50, 51, 52, 53 respectively
will be written to. That is, for example, during the period of address data at address 0, the enable signal EN 0 becomes low level, and the data D0 read from the memory 20 is written into the register 50.

カウンタ30の出力データADBが3番地のデ
ータになると、一致検出回路35の出力PI(第5
図F)がローレベルになる。しかし、ラツチ回路
36の出力はこの出力PIよりもクロツクパルス
CKの1周期分遅れてローレベルになるので、ア
ンドゲート38よりのチツプセレクト信号CSは
3番地のデータをメモリ20より読み出してレジ
スタ53に書き込んだ後、ハイレベルとなつてデ
イスエーブルとなる。
When the output data ADB of the counter 30 reaches the data at address 3, the output PI (5th address) of the coincidence detection circuit 35
Figure F) becomes low level. However, the output of the latch circuit 36 is less clock pulsed than this output PI.
Since it becomes low level with a delay of one cycle of CK, the chip select signal CS from the AND gate 38 reads the data at address 3 from the memory 20 and writes it to the register 53, and then becomes high level and becomes disabled.

そして、出力PIによりカウンタ30はカウン
ト動作停止となり、出力データADRBは次の垂
直ブランキング期間のスタートパルスSTによつ
てスタートアドレスにプリセツトされるまで3番
地のままとなる。
Then, the counter 30 stops counting due to the output PI, and the output data ADRB remains at address 3 until it is preset to the start address by the start pulse ST of the next vertical blanking period.

以上のデータ転送動作は垂直同期パルスVDの
前縁の時点から1μsec程度で行なわれ、CPU10
が垂直同期パルスを検出している間に転送が終了
することになる。したがつて、バツフアメモリ2
0にはいつでもCPU10から制御データを書き
込める状態にある。
The above data transfer operation is performed in about 1 μsec from the leading edge of the vertical synchronization pulse VD, and the CPU 10
The transfer ends while detecting the vertical synchronization pulse. Therefore, buffer memory 2
0 is in a state where control data can be written by the CPU 10 at any time.

以上の例は転送スタートパルスは、この発明装
置が画像処理装置に応用された場合であるので、
垂直ブランキング期間とするためCPUの外部よ
りの垂直同期パルスに基づいて形成したが、これ
に限らず、CPU10より転送スタートパルスを
得るようにしてもよい。
In the above example, the transfer start pulse is a case where the device of the present invention is applied to an image processing device, so
Although the vertical blanking period is formed based on a vertical synchronizing pulse from outside the CPU, the present invention is not limited to this, and a transfer start pulse may be obtained from the CPU 10.

また、イネーブル制御回路60はシフトレジス
タに限らないことは言うまでもない。
Furthermore, it goes without saying that the enable control circuit 60 is not limited to a shift register.

また、前述したように、I/Oレジスタ側の基
板2において、クロツクパルスCKと同期したク
ロツクが得られれば、このクロツクパルスCKは
基板1側から基板2側に送信する必要はない。
Furthermore, as described above, if a clock synchronized with the clock pulse CK is obtained on the board 2 on the I/O register side, it is not necessary to transmit this clock pulse CK from the board 1 side to the board 2 side.

なお、クロツクパルスCKを基板2側で作成し
て基板1側に送信するようにしても勿論よい。
Of course, the clock pulse CK may be generated on the board 2 side and transmitted to the board 1 side.

H 発明の効果 この発明によれば、CPUからの複数のデータ
をバツフアメモリを介してI/Oレジスタに書き
込むようにしたので、1つ1つのデータの書き込
みを制御せずにI/Oレジスタに書き込むことが
できる。この場合に、CPUからI/Oレジスタ
側への制御線はI/Oレジスタのイネーブル制御
回路へのスタートパルスの供給線のみでよく、従
来のものに比べてI/Oレジスタが多数になつて
も非常に少なくて済む。
H Effects of the Invention According to this invention, multiple pieces of data from the CPU are written to the I/O register via the buffer memory, so writing to the I/O register is possible without controlling the writing of each piece of data. be able to. In this case, the control line from the CPU to the I/O register side only needs to be a line for supplying start pulses to the enable control circuit of the I/O register, and there are more I/O registers than in the conventional system. It also requires very little.

そして、基板間の線数が減つたことにより、信
頼性が向上し、保守性も向上するものである。
Furthermore, since the number of wires between the boards is reduced, reliability is improved and maintainability is also improved.

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

第1図はこの発明装置の一例のブロツク図、第
2図はその説明のためのタイムチヤート、第3図
はこの発明装置の具体的構成の一例のブロツク
図、第4図及び第5図はその説明のためのタイム
チヤート、第6図及び第7図は従来の装置の一例
のブロツク図である。 1はCPU側の基板、2はI/Oレジスタ側の
基板、50,51,52……はI/Oレジスタ、1
0はCPU、11はデータバス、12はアドレス
バス、13はコントロールバス、20はバツフア
メモリ、60はイネーブル制御回路、61はシフ
トレジスタ、300は転送制御回路である。
FIG. 1 is a block diagram of an example of the device of this invention, FIG. 2 is a time chart for explaining the same, FIG. 3 is a block diagram of an example of a specific configuration of the device of this invention, and FIGS. 4 and 5 are A time chart for explaining the same, and FIGS. 6 and 7 are block diagrams of an example of a conventional device. 1 is the board on the CPU side, 2 is the board on the I/O register side, 5 0 , 5 1 , 5 2 ... is the I/O register, 1
0 is a CPU, 11 is a data bus, 12 is an address bus, 13 is a control bus, 20 is a buffer memory, 60 is an enable control circuit, 61 is a shift register, and 300 is a transfer control circuit.

Claims (1)

【特許請求の範囲】 1 CPUと複数のI/Oレジスタが別の基板に
設けられ、CPUからのデータが上記複数のI/
Oレジスタに転送される装置において、 上記CPU側には転送制御回路とバツフアメモ
リとが設けられ、上記複数のI/Oレジスタ側に
はこの複数のレジスタへのイネーブル信号の供給
を制御するイネーブル制御回路が設けられ、上記
転送制御回路は所定のクロツク信号に従つて動作
し、これによりバツフアメモリに対し上記CPU
からのデータの書き込みが上記CPUからのアド
レスに従つてなされ、この書き込まれたデータが
上記クロツク信号のタイミングで読み出されると
ともに、この読み出しの開始時、イネーブル制御
信号が上記転送制御回路より上記イネーブル制御
回路に供給され、このイネーブル制御回路より上
記複数のI/Oレジスタを順次イネーブルにする
信号が上記クロツク信号に同期したクロツク信号
に従つて順次得られ、これにより上記バツフアメ
モリより読み出されたデータが上記複数のI/O
レジスタに順次ストアされるようになされたデー
タ転送装置。
[Claims] 1. A CPU and a plurality of I/O registers are provided on separate boards, and data from the CPU is transmitted to the plurality of I/O registers.
In the device for transferring data to the O register, the CPU side is provided with a transfer control circuit and a buffer memory, and the plurality of I/O registers is provided with an enable control circuit that controls the supply of enable signals to the plurality of registers. is provided, and the transfer control circuit operates according to a predetermined clock signal, thereby controlling the buffer memory to the CPU.
Data is written in accordance with the address from the CPU, and the written data is read out at the timing of the clock signal, and at the start of reading, the enable control signal is sent from the transfer control circuit to the enable control circuit. A signal is supplied to the circuit and sequentially enables the plurality of I/O registers from the enable control circuit in accordance with a clock signal synchronized with the clock signal, whereby the data read from the buffer memory is The above multiple I/Os
A data transfer device that stores data sequentially in registers.
JP9281385A 1985-04-30 1985-04-30 Data transfer device Granted JPS61250760A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9281385A JPS61250760A (en) 1985-04-30 1985-04-30 Data transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9281385A JPS61250760A (en) 1985-04-30 1985-04-30 Data transfer device

Publications (2)

Publication Number Publication Date
JPS61250760A JPS61250760A (en) 1986-11-07
JPH0542701B2 true JPH0542701B2 (en) 1993-06-29

Family

ID=14064853

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9281385A Granted JPS61250760A (en) 1985-04-30 1985-04-30 Data transfer device

Country Status (1)

Country Link
JP (1) JPS61250760A (en)

Also Published As

Publication number Publication date
JPS61250760A (en) 1986-11-07

Similar Documents

Publication Publication Date Title
US4368514A (en) Multi-processor system
US4615017A (en) Memory controller with synchronous or asynchronous interface
US6032274A (en) Method and apparatus for compressed data testing of more than one memory array
US5452443A (en) Multi-processor system with fault detection
CN100446116C (en) Method and apparatus for setting and compensating read latency in high-speed DRAM
EP0186006A2 (en) Multiprocessor system
JP2009104651A (en) Method and apparatus for determining actual write latency and accurately aligning start of data capture with arrival of data at memory device
KR20010013743A (en) Method and system for storing and processing multiple memory addresses
JP4374503B2 (en) Method and apparatus for local control signal generation in a memory device
AU707923B2 (en) Method and apparatus for adapting an asynchronous bus to a synchronous circuit
KR100288177B1 (en) Memory access control circuit
US4855901A (en) Apparatus for transferring data between a microprocessor and a memory
JPH0792779B2 (en) Data transfer controller
JPH0232656B2 (en)
JPH0542701B2 (en)
JPH024021B2 (en)
GB2234372A (en) Mass memory device
US5325515A (en) Single-component memory controller utilizing asynchronous state machines
JPS6326753A (en) Memory bus control method
SU1501156A1 (en) Device for controlling dynamic memory
JPS63311553A (en) Synchronization control system microprocessor peripheral circuit
JP3027447B2 (en) Online information control method
JP3078594B2 (en) Image storage device
JPS5844426Y2 (en) Inter-processor information transfer device
JP3158530B2 (en) Semiconductor memory device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees