JP2571090B2 - Address transmitting device and receiving device - Google Patents

Address transmitting device and receiving device

Info

Publication number
JP2571090B2
JP2571090B2 JP63065985A JP6598588A JP2571090B2 JP 2571090 B2 JP2571090 B2 JP 2571090B2 JP 63065985 A JP63065985 A JP 63065985A JP 6598588 A JP6598588 A JP 6598588A JP 2571090 B2 JP2571090 B2 JP 2571090B2
Authority
JP
Japan
Prior art keywords
address
input
addresses
offset
bus
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 - Lifetime
Application number
JP63065985A
Other languages
Japanese (ja)
Other versions
JPH01237862A (en
Inventor
浩 和田
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.)
NEC Home Electronics Ltd
Original Assignee
NEC Home Electronics 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 NEC Home Electronics Ltd filed Critical NEC Home Electronics Ltd
Priority to JP63065985A priority Critical patent/JP2571090B2/en
Publication of JPH01237862A publication Critical patent/JPH01237862A/en
Application granted granted Critical
Publication of JP2571090B2 publication Critical patent/JP2571090B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、アドレス・バスを介してアドレスを送受信
する装置に関する。
Description: TECHNICAL FIELD The present invention relates to a device for transmitting and receiving an address via an address bus.

[従来の技術] コンピュータのメモリには、CPUが直接アクセス可能
なメイン・メモリと、直接アクセスすることのできない
補助メモリとがある。コンピュータの処理能力の点から
みれば、メイン・メモリの容量が大きいほどよい。
2. Description of the Related Art Computer memories include a main memory that can be directly accessed by a CPU and an auxiliary memory that cannot be directly accessed. From the viewpoint of the processing capability of the computer, the larger the capacity of the main memory is, the better.

メイン・メモリの可能な容量(メイン・メモリ空間)
XはCPUからメモリに与えられるアドレスのビット数NA
できまり、log2X=NAの関係がある。現在広く普及して
いるマイクロコンピュータのアドレスは16ビットである
が、このアドレスによって直接アクセス可能なメイン・
メモリ空間Xは64Kバイトである。最近は、24ビットや3
2ビットのアドレスも採用され、メイン・メモリ空間X
も16Mバイト,4Gバイトと大容量になってきている。
Possible capacity of main memory (main memory space)
X is the number of bits NA of the address given from the CPU to the memory
That is, there is a relation of log2X = NA. Microcomputer addresses currently widely used are 16 bits, but the main address directly accessible by this address is used.
The memory space X is 64 Kbytes. Recently, 24 bit and 3
A 2-bit address is also used, and the main memory space X
Has become large capacity of 16MB and 4GB.

従来、コンピュータシステム内の異なるユニット間で
のアドレスの送受信は、アドレスのビット数と同じビッ
ト幅のアドレス・バスを介して行っていた。例えば、16
ビット・アドレス系のCPUとメモリ・コントローラの間
では、メモリの所望番地を指定する16ビットのアドレス
A0〜A15がCPUのアドレス・バス・バッファより16ビット
幅のアドレス・バス上に送出され、メモリ・コントロー
ラにおいて該アドレスA0〜A15がアドレス・バス上より
アドレス・バス・バッファに入力されそこからアドレス
・レジスタまたはアドレス・ラッチ回路に取り込まれ
る。
Conventionally, transmission and reception of addresses between different units in a computer system have been performed via an address bus having the same bit width as the number of bits of the addresses. For example, 16
A 16-bit address that specifies the desired address of the memory between the bit address type CPU and the memory controller.
A0 to A15 are sent out from the address bus buffer of the CPU onto an address bus having a width of 16 bits. In the memory controller, the addresses A0 to A15 are input to the address bus buffer from the address bus, and the addresses are input therefrom.・ It is taken into the register or the address latch circuit.

[発明が解決しようしする課題] 上述のようなシステムでは、CPUおよびメモリ・コン
トローラのアドレス端子ピンはそれぞれ16個である。こ
れが、24ビット,32ビットのアドレスになれば、それに
対応してアドレス端子ピンは24個,32個に増え、アドレ
ス・バスの幅(アドレス線の本数)も24本,32本に増え
る。
[Problem to be Solved by the Invention] In the system as described above, the CPU and the memory controller each have 16 address terminal pins. If this becomes a 24-bit or 32-bit address, the number of address terminal pins correspondingly increases to 24 or 32, and the width of the address bus (number of address lines) also increases to 24 or 32.

このようにアドレス端子ピンが多いと、CPUにしても
メモリ・コントローラにしても、内部のIC自体は小さい
のにパッケージが大型化するという不具合がある。ま
た、アドレス・バスの幅が広いと、プリント配線の設計
・レイアウトが難しくなる。
With such a large number of address terminal pins, there is a problem that the package becomes large although the internal IC itself is small in both the CPU and the memory controller. Also, if the width of the address bus is wide, it becomes difficult to design and layout the printed wiring.

そうかといってアドレスのビット数を少なくすれば、
上記のような問題は回避できても、メモリ空間が縮小し
てシステムの処理能力を犠牲にしてしまう。
However, if you reduce the number of bits in the address,
Even if the above problems can be avoided, the memory space is reduced and the processing capability of the system is sacrificed.

本発明は、かかる従来の問題点に鑑みてなされたもの
で、メモリ空間の縮小化を伴うことなくアドレス端子ピ
ンおよびアドレス・バスを削減してパッケージの小形化
・プリント配線の簡易化等を実現するアドレス送信装置
およびアドレス受信装置を提供することを目的とする。
The present invention has been made in view of such conventional problems, and realizes a reduction in package size and simplification of printed wiring by reducing address terminal pins and address buses without reducing the memory space. It is an object of the present invention to provide an address transmitting device and an address receiving device.

[課題を解決するための手段] 上記目的を達成するために、本発明のアドレス受信装
置は、送信されるべきアドレスを与えるアドレスセット
手段と;前回送信されたアドレスを保持するアドレス保
持手段と;アドレスセット手段の与えるアドレスとアド
レス保持手段の保持するアドレスとの差を演算するアド
レス減算手段と;このアドレス減算手段の出力の値が所
定値以内のときはその出力の値の有意な所定数の下位ビ
ットをオフセット・アドレスとしてアドレス・バス上に
送出し、アドレス減算手段の出力の値が該所定値を越え
るときは送信されるべきアドレスを複数の部分に分けて
それらの部分アドレスを時分割方式でアドレス・バス上
に送出するアドレス選択手段と;アドレス・バス上に送
出されたアドレスがオフセット・アドレスであるか部分
アドレスであるかを示すアドレス識別信号を出力するア
ドレス識別信号発生手段とを具備する構成とした。
[Means for Solving the Problems] In order to achieve the above object, an address receiving apparatus of the present invention includes an address setting means for giving an address to be transmitted; an address holding means for holding a previously transmitted address; Address subtraction means for calculating the difference between the address given by the address setting means and the address held by the address holding means; when the output value of the address subtraction means is within a predetermined value, a significant predetermined number of the output values When the value of the output of the address subtracting means exceeds the predetermined value, the address to be transmitted is divided into a plurality of parts, and the lower bits are sent to the address bus as offset addresses. Address selecting means for transmitting the address on the address bus, and the address transmitted on the address bus is an offset address. Address identification signal generating means for outputting an address identification signal indicating whether the address is a partial address or a partial address.

また、上記目的を達成するために、本発明のアドレス
受信装置は、アドレス・バス上のアドレスを入力するア
ドレス入力手段と;前回受信したアドレスを保持するア
ドレス保持手段と;アドレス入力手段の入力したアドレ
スとアドレス保持手段の保持するアドレスとを加算する
アドレス加算手段と;アドレス・バス上のアドレスが今
回受信されるべきアドレスと前回受信したアドレスとの
差を示す所定ビット数のオフセット・アドレスであるか
今回受信すべきアドレスの一部である所定ビット数の部
分アドレスであるかを示すアドレス識別信号を入力する
アドレス識別信号入力手段と:アドレス識別信号にした
がってアドレス入力手段の入力したアドレスまたはアド
レス加算手段の出力のいずれかを選択することにより、
今回受信すべきアドレスを取り込むアドレス取込手段と
を具備する構成とした。
According to another aspect of the present invention, there is provided an address receiving apparatus comprising: an address input unit for inputting an address on an address bus; an address holding unit for storing a previously received address; Address adding means for adding the address and the address held by the address holding means; and the address on the address bus is an offset address of a predetermined number of bits indicating the difference between the address to be received this time and the previously received address. An address identification signal input means for inputting an address identification signal indicating whether the address is a partial address having a predetermined number of bits which is a part of an address to be received this time; By choosing one of the means output
Address receiving means for receiving an address to be received this time.

[作用] アドレス送信装置においては、アドレス受信装置へ送
信されるべきアドレスがそのままの形(ビット数)でア
ドレス・バス上に送出されるのではなく、このアドレス
よりもビット数の少ない(例えば、半数の)オフセット
・アドレスまたは部分アドレスが代わりにアドレス・バ
ス上に送出される。送出されるアドレスがオフセット・
アドレスになるか部分アドレスになるかは、今回送信さ
れるべきアドレスと前回送信されたアドレスとの差が所
定の範囲内に入るかどうかできまる。すなわち、その差
が所定の範囲内に入ればオフセット・アドレスが送出さ
れ、入らなければ部分アドレスが時分割方式で送出され
る。一般に、CPU等で扱われるアドレスは大きくジャン
プすることは少なく所定の範囲内に入る率が多いので、
オフセット・アドレスの送出される頻度が高く、部分ア
ドレスの送出される頻度は少ない。
[Operation] In the address transmitting device, the address to be transmitted to the address receiving device is not sent out on the address bus in the same form (number of bits), but has a smaller number of bits than this address (for example, The (half) offset address or partial address is sent out on the address bus instead. The transmitted address is offset
Whether the address is to be an address or a partial address is determined by whether or not the difference between the address to be transmitted this time and the previously transmitted address falls within a predetermined range. That is, if the difference falls within a predetermined range, the offset address is transmitted, and if not, the partial address is transmitted in a time division manner. In general, addresses handled by the CPU, etc., do not jump greatly and have a high rate of falling within a predetermined range.
The frequency of transmitting the offset address is high, and the frequency of transmitting the partial address is low.

このようなアドレス送信装置のアドレス端子ピンの数
およびアドレス・バスのビット数は、オフセット・アド
レス,部分アドレスのビット数と同じ数で足りる。
The number of address terminal pins and the number of bits of the address bus of such an address transmitting device need only be the same as the number of bits of the offset address and the partial address.

アドレス受信装置においては、アドレス送信装置より
アドレス・バスを介して送られてきた所定ビット数(例
えば、受信されるべきアドレスの半分のビット数)のオ
フセット・アドレスまたは部分アドレスが入力されると
ともに、それらのアドレスを識別する信号が入力され
る。そして、オフセット・アドレスが入力された場合
は、前回のアドレスとそのオフセット・アドレスとが加
算されて、今回受信されるべきアドレスが再生される。
部分アドレスが時分割方式で入力された場合は、それら
が合体されて今回受信されるべきアドレスが再生され
る。
In the address receiving device, an offset address or a partial address of a predetermined number of bits (for example, half the number of bits to be received) sent from the address transmitting device via the address bus is input, and Signals for identifying those addresses are input. When the offset address is input, the previous address and the offset address are added, and the address to be received this time is reproduced.
When partial addresses are input in a time-division manner, they are combined and the address to be received this time is reproduced.

このようなアドレス受信装置のアドレス端子ピンの数
は、オフセット・アドレス,部分アドレスのビット数と
同じ数で足りる。また、アドレス・バスは、オフセット
・アドレス,部分アドレスを伝送するだけのビット幅
(ビット数)をもつもので足りる。
The number of address terminal pins of such an address receiving device may be the same as the number of bits of the offset address and the partial address. The address bus only needs to have a bit width (the number of bits) enough to transmit the offset address and the partial address.

[実施例] 図は、本発明の一実施例によるアドレス送信装置とア
ドレス受信装置の回路構成を示す。
Embodiment FIG. 1 shows a circuit configuration of an address transmitting device and an address receiving device according to an embodiment of the present invention.

この実施例において、アドレス送信装置はCPU10で、
アドレス受信装置はメモリ・コントローラ20である。こ
のシステムでは、16ビットのアドレスによって64Kバイ
トのメイン・メモリ空間がアクセス可能となっている。
In this embodiment, the address transmitting device is the CPU 10,
The address receiving device is the memory controller 20. In this system, a 64-Kbyte main memory space can be accessed by a 16-bit address.

CPU10 CPU10において、アドレス・バッファ11はアドレス入
力手段で、プログラム・カウンタまたはアドレス・レジ
スタ(図示せず)からの16ビットのアドレスA0〜A15を
入力する。このアドレスA0〜A15は、メモリ・コントロ
ーラ20に対して送信されるべきものである。
CPU 10 In the CPU 10, the address buffer 11 is an address input means for inputting 16-bit addresses A0 to A15 from a program counter or an address register (not shown). The addresses A0 to A15 are to be transmitted to the memory controller 20.

アドレス・バッファ11に入力されたアドレスA0〜A15
はその出力端子よりアドレス減算回路12の一方の入力端
子に与えられるとともにアドレス・ラッチ回路13の入力
端子に与えられる。さらに、アドレスA0〜A15は下位の
8ビットA0〜A7と上位の8ビットA8〜A15とに分けられ
てそれぞれセレクタ回路14の第1および第2入力端子に
与えられる。
Addresses A0 to A15 input to address buffer 11
Is supplied from its output terminal to one input terminal of the address subtraction circuit 12 and to the input terminal of the address latch circuit 13. Further, the addresses A0 to A15 are divided into lower 8 bits A0 to A7 and upper 8 bits A8 to A15, and applied to the first and second input terminals of the selector circuit 14, respectively.

アドレス・ラッチ回路13は、アドレス保持手段であ
り、前回に送信されたアドレス、つまりアドレス・バッ
ファ11に前回入力された16ビットのアドレスA′0〜
A′15を保持しており、これをアドレス減算回路12の他
方の入力端子に与える。
The address latch circuit 13 is an address holding means, and is a previously transmitted address, that is, a 16-bit address A'0 previously input to the address buffer 11.
A'15 is held and applied to the other input terminal of the address subtraction circuit 12.

アドレス減算回路12は、今回のアドレスA0〜A15から
前回のアドレスA′0〜A′15を減算して、その差a0〜
a15を出力する。このアドレス減算回路の出力a0〜a15の
下位8ビットa0〜a7はオフセット・アドレスとしてセレ
クタ回路14の第3入力端子に与えられ、上位9ビットa7
〜a15は制御回路16に与えられる。
The address subtraction circuit 12 subtracts the previous address A'0 to A'15 from the current address A0 to A15 and calculates the difference a0 to
Outputs a15. The lower 8 bits a0 to a7 of the outputs a0 to a15 of this address subtraction circuit are supplied to the third input terminal of the selector circuit 14 as offset addresses, and the upper 9 bits a7
To a15 are given to the control circuit 16.

制御回路16は、アドレス減算回路12より受けた9ビッ
トa7〜a15のビット状態に基づいて差a0〜a15の値が所定
の範囲内に入るかどうかを判定する。すなわち、a8〜a1
5の全ビットが“0"であるときa0〜a15の値は0〜+127
の範囲内にあり、a8〜a15の全ビットが“1"であるときa
0〜a15の値は−128〜0の範囲内にある。a8〜a15のビッ
ト状態がそれ以外のときは、a0〜a15の値は−128〜+12
7の範囲外にある。
The control circuit 16 determines whether the values of the differences a0 to a15 fall within a predetermined range based on the bit status of the 9 bits a7 to a15 received from the address subtraction circuit 12. That is, a8 to a1
When all 5 bits are "0", the values of a0 to a15 are 0 to +127.
When all bits a8 to a15 are "1"
The values of 0 to a15 are in the range of -128 to 0. When the bit status of a8 to a15 is other than that, the value of a0 to a15 is -128 to +12
Out of range 7.

a0〜a15の値が−128〜+127の範囲内であるとき、制
御回路16は切替制御信号S2によってセレクタ回路14にそ
の第3入力、つまりオフセット・アドレスa0〜a7を選択
させる。この結果、オフセット・アドレスa0〜a7はアド
レス・バス・バッファ15を介して8ビット幅のアドレス
・バス30上に送出される。この時、制御回路16は制御線
31上に出力するアドレス識別信号DEを“0"とする。
When the values of a0 to a15 are in the range of -128 to +127, the control circuit 16 causes the selector circuit 14 to select its third input, that is, the offset address a0 to a7, by the switching control signal S2. As a result, the offset addresses a0 to a7 are sent out onto the address bus 30 having a width of 8 bits via the address bus buffer 15. At this time, the control circuit 16
The address identification signal DE to be output on 31 is set to “0”.

a0〜a15の値が−128〜+127の範囲を越えるとき、制
御回路16は切替制御信号S2によってセレクタ回路14にそ
の第1入力と第2入力とを時分割で順次選択させる。こ
の結果、今回のアドレスA0〜A15の下位8ビットA0〜A7
と上位8ビットA8〜A15とが時分割方式でアドレス・バ
ス・バッファ15を介して8ビットのアドレス・バス30上
に送出される。この際、制御回路16は、最初に下位8ビ
ットA0〜A7が送出される時にアドレス識別信号DEを“1"
に立ち上げ、次に上位8ビットA8〜A15が送出される時
にアドレス識別信号DEを“0"に立ち下げる。
When the value of a0 to a15 exceeds the range of -128 to +127, the control circuit 16 causes the selector circuit 14 to sequentially select the first input and the second input in a time division manner by the switching control signal S2. As a result, the lower 8 bits A0 to A7 of the current address A0 to A15
And the upper 8 bits A8 to A15 are sent out onto the 8-bit address bus 30 via the address bus buffer 15 in a time-division manner. At this time, the control circuit 16 sets the address identification signal DE to "1" when the lower 8 bits A0 to A7 are first transmitted.
Then, when the upper 8 bits A8 to A15 are sent out, the address identification signal DE falls to "0".

このように、セレクタ回路14,アドレス・バス・バッ
ファ15および制御回路16はアドレス選択手段を構成し、
制御回路16はさらにアドレス識別信号発生手段としても
機能する。なお、制御回路16はアドレス送出後にアドレ
ス・ラッチ回路13にラッチ・パルスS1を送り、アドレス
・バッファ11からのアドレスA0〜A15をラッチさせる。
これによって、アドレス・ラッチ回路13の保持するアド
レスが更新される。
Thus, the selector circuit 14, the address bus buffer 15 and the control circuit 16 constitute an address selecting means,
The control circuit 16 further functions as an address identification signal generating means. After sending the address, the control circuit 16 sends a latch pulse S1 to the address latch circuit 13 to latch the addresses A0 to A15 from the address buffer 11.
Thus, the address held by the address latch circuit 13 is updated.

以上のように、CPU10においては、メモリ・コントロ
ーラ20へ送信されるべきアドレスA0〜A15がそのままの
形で16ビットのアドレス・バス上に送出されるのではな
く、このアドレスA0〜A15と前回のアドレスA′0〜
A′15との差a0〜a15の値が所定値(−128〜+127)以
内であれば8ビットのオフセット・アドレスa0〜a7が16
ビットのアドレスA0〜A15の代わりとして8ビットのア
ドレス・バス30上に送出され、a0〜a15の値が所定値を
越えるときはアドレスA0〜A15を2分割した8ビットの
部分アドレス(A0〜A7,A8〜A15)が8ビットのアドレス
・バス30上に送出される。しかして、後述するメモリ・
コントローラ(受信装置)20において、オフセット・ア
ドレスa0〜a7と前回のアドレスA′0〜A15′とが加算
されて、または2つの部分アドレスA0〜A7,A8〜A15が合
体されることによって今回のアドレスA0〜A15が再生さ
れることにより、結果的には16ビットのアドレスA0〜A1
5が送信されたことになる。
As described above, in the CPU 10, the addresses A0 to A15 to be transmitted to the memory controller 20 are not transmitted as they are on the 16-bit address bus. Address A'0
If the value of the difference a0 to a15 from A'15 is within a predetermined value (-128 to +127), the 8-bit offset address a0 to a7 becomes 16
When the values of a0 to a15 exceed a predetermined value, they are sent out on the 8-bit address bus 30 in place of the bit addresses A0 to A15. , A8 to A15) are sent out on the 8-bit address bus 30. Therefore, the memory
In the controller (receiver) 20, the offset addresses a0 to a7 and the previous addresses A'0 to A15 'are added, or the two partial addresses A0 to A7 and A8 to A15 are merged. The reproduction of the addresses A0 to A15 results in the 16-bit addresses A0 to A1
5 has been sent.

これにより、64Kの・メインメモリ空間に対してCPU10
のアドレス端子ピンは8個で足り制御線31に対する端子
ピン1個を加えても合計9個であるから、従来のアドレ
ス端子ピンが16個であったのと比較すれば、約半減した
ことになり、CPUのパッケージを小形化することが可能
となる。また、アドレス・バス30も従来の半分の8ビッ
ト幅であるから、プリント配線が狭くなってスペースを
とらず設計しやすくなる。
As a result, the CPU 10
The number of address terminal pins is eight, and even if one terminal pin for the control line 31 is added, the total is nine. Therefore, compared with the conventional case where the number of address terminal pins is 16, the number of address terminal pins has been reduced by about half. This makes it possible to reduce the size of the CPU package. Also, since the address bus 30 has an 8-bit width which is half that of the conventional address bus, the printed wiring is narrowed and the design is easy without taking up space.

なお、オフセット・アドレスa0〜a7のときは1回の送
出で済むのに対し、部分アドレス(A0〜A7,A8〜A15)の
ときは時分割で2回の送出を必要とし送信時間が長くな
る。しかし、次のような理由により、オフセット・アド
レスが送出される頻度が部分アドレスのそれよりも格段
に多いので、それ程の支障にはならない。
In the case of offset addresses a0 to a7, only one transmission is required, whereas in the case of partial addresses (A0 to A7, A8 to A15), two transmissions are required in a time-division manner, and the transmission time is long. . However, for the following reason, the frequency of sending the offset address is much higher than that of the partial address, so that it does not cause much trouble.

すなわち、CPU10から送出されるアドレス情報は、主
に命令フェッチ,データ・リード,データ・ライト用の
3種のいずれかである。命令フェッチは、ジャンプ命令
やコール命令以外は前回の命令コードよりも1つ増分し
たアドレスの命令コードを抽出するものであり、命令フ
ェッチに続くデータ・リードまたはデータ・ライトは命
令コードのアドレスよりそれほど離れていないアドレス
に対して行われることが多い。したがって、CPU10から
送出されるべきアドレスA0〜A15と前回送出されたアド
レスA′0〜A′15との差の値は−128〜+127の範囲内
に入ることが多い。このことは、(1回の送出ですむ)
オフセット・アドレスを送出する頻度が多く、(2回の
送出を必要とする)部分アドレスを送出する頻度は少な
いことを意味する。
That is, the address information sent from the CPU 10 is mainly one of three types: instruction fetch, data read, and data write. An instruction fetch extracts an instruction code at an address incremented by one from the previous instruction code except for a jump instruction or a call instruction, and a data read or data write following the instruction fetch is much less than the address of the instruction code. Often done for addresses that are not far apart. Therefore, the value of the difference between the addresses A0 to A15 to be sent from the CPU 10 and the addresses A'0 to A'15 sent last time often falls within the range of -128 to +127. This means (one transmission is enough)
This means that the frequency of sending the offset address is high, and the frequency of sending the partial address (requiring twice) is low.

メモリ・コントローラ20 メモリ・コントローラ20において、アドレス・バス・
バッファ21はアドレス入力手段で、アドレス・バス30上
の8ビットのアドレス(a0〜a7,A0〜A7,A8〜A15)を入
力する。アドレス・バス・バッファ21の入力したアドレ
スはアドレス加算回路22の一方の入力端子に与えられる
とともに、セレクタ回路23の第1入力端子に与えられ
る。アドレス加算回路22の他方の入力端子には、アドレ
ス・ラッチ回路25に保持されている16ビットの前回のア
ドレスA′0〜A′15が与えられる。
Memory controller 20 In the memory controller 20, the address bus
The buffer 21 is an address input means for inputting 8-bit addresses (a0 to a7, A0 to A7, A8 to A15) on the address bus 30. The address input from the address bus buffer 21 is supplied to one input terminal of an address adding circuit 22 and to a first input terminal of a selector circuit 23. The other input terminal of the address addition circuit 22 is supplied with 16-bit previous addresses A'0 to A'15 held in the address latch circuit 25.

アドレス・バス・バッファ21の入力したアドレスがオ
フ・セット・アドレスa0〜a7であるとき、アドレス加算
回路22はこのオフ・セット・アドレスa0〜a7と前回のア
ドレスA′0〜A′15とを加算した値、つまり今回受信
すべきアドレスA0〜A15を生成(再生)する。この加算
に際して、8ビットのオフセット・アドレスa0〜a7は16
ビットのデータに変換される。すなわち、a7が“1"であ
れば(11111111)が、a7が“0"であれば(00000000)
が、オフセット・アドレスa0〜a7の上位に付加される。
When the address input to the address bus buffer 21 is an offset address a0-a7, the address adding circuit 22 compares the offset address a0-a7 with the previous address A'0-A'15. The added value, that is, addresses A0 to A15 to be received this time are generated (reproduced). In this addition, the 8-bit offset addresses a0 to a7 are 16
Converted to bit data. That is, if a7 is "1" (11111111), if a7 is "0" (00000000)
Are added to the upper part of the offset addresses a0 to a7.

アドレス加算回路22より出力されたアドレスA0〜A15
はセレクタ回路23の第2入力端子に与えられる。この
時、制御回路26は、制御線31上より“0"のアドレス識別
信号DEを受けることによりオフセット・アドレスが入力
されたことを識別し、切替制御信号S3によってセレクタ
回路23に第2入力のアドレスA0〜A15を選択させるとと
もに、その後段のアドレス・ラッチ回路24にラッチ・パ
ルスS4を与えてアドレスA0〜A15を取り込ませる。アド
レス・ラッチ回路24に取り込まれたアドレスA0〜A15
は、そこから直接または間接的にメモリに与えられる。
このアドレスA0〜A15は16ビットであるから、64Kバイト
のメイン・メモリ空間にアクセスすることが可能であ
る。また、アドレスA0〜A15はアドレス・ラッチ回路25
にラッチされ、前回のアドレスA′0〜A′15と入れ替
わる。
Addresses A0 to A15 output from address addition circuit 22
Is supplied to a second input terminal of the selector circuit 23. At this time, the control circuit 26 recognizes that the offset address has been input by receiving the address identification signal DE of “0” from the control line 31 and outputs the second input to the selector circuit 23 by the switching control signal S3. Addresses A0 to A15 are selected, and a latch pulse S4 is given to the subsequent address latch circuit 24 to fetch addresses A0 to A15. Addresses A0 to A15 captured by address latch circuit 24
Is directly or indirectly provided to memory from there.
Since these addresses A0 to A15 are 16 bits, it is possible to access a 64K byte main memory space. Addresses A0 to A15 are address latch circuits 25.
, And are replaced with the previous addresses A'0 to A'15.

アドレス・バス・バッファ21の入力したアドレスが部
分アドレス(A0〜A7,A8〜A15)であるとき、制御回路26
は制御線31より“1"のアドレス識別信号DEを受けること
により部分アドレスの入力を検出してセレクタ23に第1
入力を選択させる。これにより、バッファ21からの部分
アドレスA0〜A7,A8〜A15はセレクタ回路23を通ってアド
レス・ラッチ回路24に順次取り込まれる。この際、制御
回路26は、最初の部分アドレスA0〜A7の入力に同期した
アドレス識別信号DEの立ち上がりと、次の部分アドレス
A8〜A15の入力に同期したアドレス識別信号DEの立ち下
がりとにそれぞれ応動してアドレス・ラッチ回路24にラ
ッチ・パルスS4を与える。また、この場合も、制御回路
26は、ラッチ・パルスS5をアドレス・ラッチ回路25に与
えて、そこで保持されるアドレスを更新させる。
When the address input to the address bus buffer 21 is a partial address (A0 to A7, A8 to A15), the control circuit 26
Receives the address identification signal DE of "1" from the control line 31, detects the input of the partial address, and supplies the first address to the selector 23.
Select input. Thereby, the partial addresses A0 to A7 and A8 to A15 from the buffer 21 are sequentially taken into the address latch circuit 24 through the selector circuit 23. At this time, the control circuit 26 controls the rising edge of the address identification signal DE synchronized with the input of the first partial address A0 to A7 and the next partial address.
The latch pulse S4 is supplied to the address latch circuit 24 in response to the falling of the address identification signal DE synchronized with the inputs of A8 to A15. Also in this case, the control circuit
26 supplies the latch pulse S5 to the address latch circuit 25 to update the address held there.

このように、メモリ・コントローラ20においては、CP
U10より8ビットのアドレス・バス30を介して送られて
きた8ビットのオフセット・アドレスa0〜a7または部分
アドレスA0〜A7,A8〜A15が入力されるとともに、それら
のアドレスを識別する信号DEが入力され、オフセット・
アドレスの場合は前回受信された16ビットのアドレス
A′0〜A′15とそのオフセット・アドレスとが加算さ
れることにより、部分アドレスA0〜A7,A8〜A15の場合は
それらが合体させられることにより、今回受信されるべ
き16ビットのアドレスA0〜A15が再生される。
Thus, in the memory controller 20, the CP
The 8-bit offset addresses a0 to a7 or the partial addresses A0 to A7 and A8 to A15 sent from the U10 via the 8-bit address bus 30 are input, and a signal DE for identifying those addresses is input. Input and offset
In the case of addresses, the previously received 16-bit addresses A'0 to A'15 and their offset addresses are added, and in the case of partial addresses A0 to A7 and A8 to A15, they are combined. Thus, the 16-bit addresses A0 to A15 to be received this time are reproduced.

これにより、64Kバイトのメイン・メモリ空間に対し
てメモリ・コントローラ20のアドレス端子ピンは8個で
足り、制御線31に対する端子ピン1個を加えても合計9
個であるから、従来のアドレス端子ピンが16個であった
のと比較すれば、約半減したことになり、コントローラ
20のパッケージを小形化することが可能となる。
As a result, eight address terminal pins of the memory controller 20 are sufficient for a 64 Kbyte main memory space, and even if one terminal pin for the control line 31 is added, a total of nine address terminal pins are required.
Since the number of address pin pins is 16 in the past, the number has been reduced by about half.
20 packages can be miniaturized.

以上、CPUとメモリ・コントローラとの間で16ビット
のアドレスを送受信する一実施例を説明したが、本発明
は24ビット・アドレスや32ビット・アドレス等の送受信
に対しても適用可能であり、また他のユニット間のアド
レス送受信にも適用可能である。
As described above, one embodiment of transmitting and receiving a 16-bit address between the CPU and the memory controller has been described.However, the present invention is applicable to transmission and reception of a 24-bit address, a 32-bit address, and the like. Also, the present invention can be applied to address transmission and reception between other units.

[発明の効果] 本発明は、上述したように構成されていることによ
り、次のような効果を奏する。
[Effects of the Invention] The present invention has the following effects by being configured as described above.

本発明のアドレス送信装置においては、送信すべきア
ドレスをそのままの形(ビット数)でアドレス・バス上
に送出するのではなく、このアドレスよりもビット数が
少なくて済む所定数(例えば半数の)オフセット・アド
レスまたは部分アドレスを該送信すべきアドレスの代わ
りとしてアドレス・バス上に送出するようにしたので、
メモリ空間を縮小することなくアドレス端子ピンの数を
半減することができ、ひいてはパッケージを小形化する
ことが可能である。また、アドレス・バスのビット数も
半減するので、プリント配線が簡易になり設計しやすく
なる。また、オフセット・アドレスの送出(1回送出)
頻度を高くして部分アドレス送出(時分割送出)頻度を
低くすることができるので、送信時間のタイムラグを抑
えることが可能である。
In the address transmitting apparatus of the present invention, the address to be transmitted is not sent out as it is (the number of bits) on the address bus, but a predetermined number (for example, half) of which the number of bits is smaller than this address. Since the offset address or the partial address is transmitted on the address bus instead of the address to be transmitted,
The number of address terminal pins can be halved without reducing the memory space, and thus the size of the package can be reduced. Also, since the number of bits of the address bus is reduced by half, the printed wiring is simplified and the design becomes easier. Transmission of offset address (transmission once)
Since the frequency can be increased and the partial address transmission (time division transmission) frequency can be reduced, the time lag of the transmission time can be suppressed.

本発明のアドレス受信装置においては、アドレス・バ
スを介して送られてくる所定ビット数(例えば、受信さ
れるべきアドレスの半分のビット数)のオフセット・ア
ドレスまたは部分アドレスを入力し、オフセット・アド
レスを入力した場合は前回のアドレスとそのオフセット
・アドレスとを加算することで、部分アドレスを入力し
た場合は各部分アドレスを合体することで、今回受信さ
れるべきアドレスを再生するようにしたので、メモリ空
間を縮小することなくアドレス端子ピンの数を半減する
ことができ、ひいてはパッケージを小形化することが可
能である。また、アドレス・バスのビット数も半減する
ので、プリント配線が簡易になり設計しやすくなる。
In the address receiving apparatus of the present invention, an offset address or a partial address having a predetermined number of bits (for example, half the number of bits to be received) sent via the address bus is input, and the offset address is input. If you enter the address, the previous address and its offset address are added, and if you enter a partial address, the addresses to be received this time are reproduced by combining the partial addresses. The number of address terminal pins can be halved without reducing the memory space, and thus the size of the package can be reduced. Also, since the number of bits of the address bus is reduced by half, the printed wiring is simplified and the design becomes easier.

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

図は、本発明の一実施例によるアドレス送信装置とアド
レス受信装置の回路構成を示すブロック図である。 図において、 10……CPU、 11……アドレス・バッファ、 12……アドレス減算回路、 13……アドレス保持回路、 14……セレクタ回路、 15……アドレス・バス・バッファ、 16……制御回路、 20……メモリ・コントローラ、 21……アドレス・バス・バッファ、 22……アドレス加算回路、 23……セレクタ回路、 24……アドレス・ラッチ回路、 25……アドレス・ラッチ回路、 26……制御回路、 30……アドレス・バス、 31……制御線。
FIG. 1 is a block diagram showing a circuit configuration of an address transmitting device and an address receiving device according to one embodiment of the present invention. In the figure, 10 ... CPU, 11 ... address buffer, 12 ... address subtraction circuit, 13 ... address holding circuit, 14 ... selector circuit, 15 ... address bus buffer, 16 ... control circuit, 20: Memory controller, 21: Address bus buffer, 22: Address adding circuit, 23: Selector circuit, 24: Address latch circuit, 25: Address latch circuit, 26: Control circuit , 30… address bus, 31… control lines.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】送信されるべきアドレスを与えるアドレス
セット手段と、 前回送信されたアドレスを保持するアドレス保持手段
と、 前記アドレスセット手段の与えるアドレスと前記アドレ
ス保持手段の保持するアドレスとの差を演算するアドレ
ス減算手段と、 前記アドレス減算手段の出力の値が所定値以内のときは
その出力の値の有意な所定数の下位ビットをオフセット
・アドレスとしてアドレス・バス上に送出し、前記アド
レス減算手段の出力の値が前記所定値を越えるときは前
記送信されるべきアドレスを複数の部分に分けてそれら
の部分アドレスを時分割方式でアドレス・バス上に送出
するアドレス選択手段と、 アドレス・バス上に送出されたアドレスが前記オフセッ
ト・アドレスであるか前記部分アドレスであるかを示す
アドレス識別信号を出力するアドレス識別信号発生手段
と、 を具備することを特徴とするアドレス送信装置。
An address setting means for giving an address to be transmitted; an address holding means for holding a previously transmitted address; and a difference between an address given by the address setting means and an address held by the address holding means. Address subtracting means for performing an operation, and when the value of the output of the address subtracting means is within a predetermined value, sending out a significant predetermined number of lower-order bits of the output value to the address bus as an offset address; Address selecting means for dividing the address to be transmitted into a plurality of parts when the output value of the means exceeds the predetermined value, and transmitting those partial addresses on an address bus in a time-division manner; An address identification indicating whether the address sent above is the offset address or the partial address. An address transmitting apparatus, comprising: an address identification signal generating unit that outputs another signal.
【請求項2】アドレス・バス上のアドレスを入力するア
ドレス入力手段と 前回受信したアドレスを保持するアドレス保持手段と、 前記アドレス入力手段の入力したアドレスと前記アドレ
ス保持手段の保持するアドレスとを加算する加算手段
と、 アドレス・バス上のアドレスが今回受信されるべきアド
レスと前回受信したアドレスとの差を示す所定ビット数
のオフセット・アドレスであるか今回受信すべきアドレ
スの一部である所定ビット数の部分アドレスであるかを
示すアドレス識別信号を入力するアドレス識別信号入力
手段と、 前記アドレス識別信号にしたがって前記アドレス入力手
段の入力したアドレスまたは前記加算手段の出力のいず
れかを選択することにより、今回受信すべきアドレスを
取り込むアドレス取込手段と、 を具備することを特徴とするアドレス受信装置。
2. An address input means for inputting an address on an address bus, an address holding means for holding a previously received address, and adding an address input by the address input means and an address held by the address holding means. Adding means for adding a predetermined bit which is an offset address of a predetermined number of bits indicating a difference between an address to be received this time and an address previously received or a part of an address to be received this time Address identification signal input means for inputting an address identification signal indicating whether the address is a partial address, and selecting either the address input by the address input means or the output of the addition means according to the address identification signal. Address capturing means for capturing an address to be received this time. Address receiving apparatus, characterized in that.
JP63065985A 1988-03-18 1988-03-18 Address transmitting device and receiving device Expired - Lifetime JP2571090B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63065985A JP2571090B2 (en) 1988-03-18 1988-03-18 Address transmitting device and receiving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63065985A JP2571090B2 (en) 1988-03-18 1988-03-18 Address transmitting device and receiving device

Publications (2)

Publication Number Publication Date
JPH01237862A JPH01237862A (en) 1989-09-22
JP2571090B2 true JP2571090B2 (en) 1997-01-16

Family

ID=13302814

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63065985A Expired - Lifetime JP2571090B2 (en) 1988-03-18 1988-03-18 Address transmitting device and receiving device

Country Status (1)

Country Link
JP (1) JP2571090B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3928730B2 (en) 2004-06-25 2007-06-13 セイコーエプソン株式会社 Semiconductor device, microcomputer and electronic device

Also Published As

Publication number Publication date
JPH01237862A (en) 1989-09-22

Similar Documents

Publication Publication Date Title
US5497501A (en) DMA controller using a predetermined number of transfers per request
US5359717A (en) Microprocessor arranged to access a non-multiplexed interface or a multiplexed peripheral interface
KR100385871B1 (en) Interrupt controller
EP0062431B1 (en) A one chip microcomputer
JPS6142306B2 (en)
US4831513A (en) Memory initialization system
JP2571090B2 (en) Address transmitting device and receiving device
US5444852A (en) I/O device interface having buffer mapped in processor memory addressing space and control registers mapped in processor I/O addressing space
KR960035290A (en) Method and apparatus for bus loading distribution in a data processing system
US5414866A (en) One-chip microcomputer with parallel operating load and unload data buses
US4802125A (en) Memory access control apparatus
JPH01305460A (en) Inter-processor communication system
KR100340295B1 (en) Signal processor
US4388707A (en) Memory selecting system
EP0352806A2 (en) Cache memory and access controller using such memory
JPS6014435B2 (en) Storage device
JP2726127B2 (en) Shared memory access control circuit
JPS60175149A (en) Interruption control device
JPS63197251A (en) Information processor
JP2814849B2 (en) Communication control device
JPH0553829A (en) Microcomputer
JPH04109350A (en) Data write control device
JPS62180585A (en) Chip selecting circuit
JPH05128279A (en) One-chip microcomputer
JPH05298266A (en) Inter-processor communication system for multiprocessor