JPH02176959A - Bus selecting circuit - Google Patents
Bus selecting circuitInfo
- Publication number
- JPH02176959A JPH02176959A JP63331126A JP33112688A JPH02176959A JP H02176959 A JPH02176959 A JP H02176959A JP 63331126 A JP63331126 A JP 63331126A JP 33112688 A JP33112688 A JP 33112688A JP H02176959 A JPH02176959 A JP H02176959A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- bus
- data
- address
- terminal
- 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.)
- Granted
Links
Landscapes
- Information Transfer Systems (AREA)
- Microcomputers (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はバス選択回路に関し、特にマイクロプロセッサ
のバスを制御するバス選択回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a bus selection circuit, and more particularly to a bus selection circuit that controls a bus of a microprocessor.
従来、外部記憶装置に蓄積された命令コードやデータに
よりプログラム制御されるマイクロプロセッサにおいて
、外部記憶装置のプログラム格納領域を指定する複数ビ
ットのアドレス信号の一部の信号端子或は全ての信号端
子と命令コードやデータを入出力する信号端子とを共有
し、アドレス信号と命令コードやデータとを時分割して
入出力する従来のバス選択回路では、命令コードやデー
タを入出力する信号端子のバスのビット幅(バスサイズ
)を与えられた命令により、または集積回路製作時にお
いて選択している。Conventionally, in a microprocessor that is program-controlled by instruction codes and data stored in an external storage device, some or all signal terminals of a multi-bit address signal specifying a program storage area of the external storage device are used. In conventional bus selection circuits that share signal terminals for inputting and outputting instruction codes and data, and inputting and outputting address signals and instruction codes and data in a time-sharing manner, the bus for signal terminals that input and output instruction codes and data The bit width (bus size) of the bus is selected by a given instruction or at the time of integrated circuit fabrication.
例えば、従来のマイクロプロセッサではデータ信号のバ
スサイズを8ビツトから16ビツトに切り換えることが
できたが、そのバス制御方式はデータ信号端子とアドレ
ス信号端子とを共用し時分割に使用するマルチプレック
スバス制御方式に固定されている。For example, in conventional microprocessors, it was possible to switch the data signal bus size from 8 bits to 16 bits, but the bus control method was a multiplex bus that shared the data signal terminal and address signal terminal and was used for time division. The control method is fixed.
上述した外部記憶装置に蓄積された命令コードやデータ
によりプログラム制御されるマイクロプロセッサでは、
−船釣にこのプログラムコードの基本的なビット長が決
まっており、命令やデータを規定するコードはこの基本
単位の倍数となっている。従って、この基本単位のビッ
ト数(バスサイズ)の入出力端子をもってデータや実行
命令コードに相当するビット分を時分割に入出力してい
る。In the microprocessor that is program-controlled by instruction codes and data stored in the external storage device mentioned above,
- The basic bit length of this program code is fixed for boat fishing, and the code that specifies commands and data is a multiple of this basic unit. Therefore, bits corresponding to data and execution instruction codes are input/output in a time-division manner using input/output terminals having the number of bits in this basic unit (bus size).
また、前記外部記憶装置のプログラム格納領域を指定す
るアドレス情報もマイクロプロセッサが出力しているが
、このアドレス情報の出力端子を前記命令やデータの入
出力端子と兼用して時分割に出力するバス制御方式(マ
ルチプレックスバス制御方式)と、専用のアドレス出力
端子を備えるバス制御方式(セパレートバス制御方式)
とがある。The microprocessor also outputs address information specifying the program storage area of the external storage device, and the output terminal of this address information is also used as the input/output terminal for the instructions and data, and a bus is used to output the information in a time-sharing manner. A control method (multiplex bus control method) and a bus control method with a dedicated address output terminal (separate bus control method)
There is.
データの基本ビット長、いわゆるバスサイズやマルチプ
レックスバス制御方式やセパレートバス制御方式は、命
令の処理実行の速度に対する要請やマイクロプロセッサ
を応用したシステムの規模によって選択されるが、大規
模集積回路で構成されるマイクロプロセッサでは外部端
子数の制限もあり、バスサイズやバス制御方式はこれら
の要請に基づきそれぞれ別個に対応している。The basic bit length of data, the so-called bus size, and the multiplex bus control method or separate bus control method are selected depending on the speed of instruction processing and the scale of the system that uses a microprocessor. There is also a limit to the number of external terminals in the microprocessor that is configured, and the bus size and bus control method are handled individually based on these requirements.
しかしながら、マイクロプロセッサをとりまく外部環境
となる周辺デバイスもバスサイズやバス制御方式に密接
に対応しており、種々の環境に対し共通のマイクロプロ
セッサでは適用しにくい欠点がある。However, the peripheral devices that form the external environment surrounding the microprocessor also closely correspond to the bus size and bus control method, which has the drawback that it is difficult to apply a common microprocessor to various environments.
本発明の目的は、かかるマルチプレックスバス制御方式
およびセパレートバス制御方式共に一つのマイクロプロ
セッサで対応することのできるバス選択回路を提供する
ことにある。An object of the present invention is to provide a bus selection circuit that can handle both the multiplex bus control method and the separate bus control method using a single microprocessor.
本発明のバス選択回路は、バスコントロールユニットと
エグゼキュートユニットを有し、外部記憶装置に蓄積さ
れた命令コードやデータによりプログラム制御されるマ
イクロプロセッサのバス選択回路において、前記外部記
憶装置のプログラム格納領域を指定する複数ビットのア
ドレス信号の一部の信号端子或は全ての信号端子と前記
命令コードやデータを入出力する信号端子とを共有し、
前記アドレス信号と前記命令コードやデータとを時分割
に入出力する手段と、前記命令コードやデータを入出力
する信号端子数の語長を縮小し、前記アドレス信号の信
号端子をわけて、前記アドレス信号と前記命令コードや
データとを同時に入出力する手段とを前記バスコントロ
ールユニットに有し、これら両手段を前記エグゼキュー
トユニットからの制御信号により駆動するように構成さ
れる。The bus selection circuit of the present invention includes a bus control unit and an execute unit, and is a bus selection circuit for a microprocessor that is program-controlled by instruction codes and data stored in an external storage device. sharing some or all signal terminals of a multi-bit address signal specifying an area and a signal terminal for inputting and outputting the instruction code and data;
means for time-divisionally inputting and outputting the address signal and the instruction code and data, reducing the word length of the number of signal terminals for inputting and outputting the instruction code and data, and separating the signal terminals for the address signal; The bus control unit includes means for simultaneously inputting and outputting an address signal and the instruction code or data, and both means are configured to be driven by a control signal from the execute unit.
次に、本発明の実施例を図面を参照して説明するや
第1図は本発明の一実施例を示すマイクロプロセッサの
バス選択回路図である。Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a bus selection circuit diagram of a microprocessor showing an embodiment of the present invention.
第1図に示すように、マイクロプロセッサはデータの送
受を制御するバスコントロールユニット(以下、BCU
と称す)1と、命令の実行や演算等を制御するエクゼキ
ュートユニット(以下、EXUと称す)2とで構成され
、外部記憶装置(図示省略)にデータを書き込んだり、
記憶されているデータを読み出したりする。このマイク
ロプロセッサのBCUI内部のデータ信号のバスサイズ
は16ビツト幅であり、内部のアドレス信号のバスサイ
ズは20ビツト幅である。As shown in Figure 1, the microprocessor is a bus control unit (hereinafter referred to as BCU) that controls data transmission and reception.
It consists of an Execute Unit (hereinafter referred to as EXU) 2 that controls the execution of instructions and calculations, etc., and writes data to an external storage device (not shown).
Read stored data. The bus size of the data signal inside the BCUI of this microprocessor is 16 bits wide, and the bus size of the internal address signal is 20 bits wide.
かかるマイクロプロセッサのBCUIにおいて、バス3
は下位8ビツト(Do〜D7)のデータバス、バス4は
上位8ビツト(D8〜D、15)のデータバス、バスラ
は下位8ビツト(AO〜A7)のアドレスバス、バス6
は上位12ビツト(A8〜A19)のアドレスバスであ
り、これらバス3〜6は共にEXU2に接続されている
。また、FF7はEXU2により、セパレートバス制御
方式の場合セットされルベルとなり、マルチプレックス
バス制御方式の場合リセットされOレベルとなるフリッ
プフロップである。このフリップフロップ7の出力信号
(SB/MB)8はルベルではセパレートバス制御を、
0レベルではマルチプレックスバス制御を示し、セパレ
ートバス制御方式とマルチプレックス制御方式を切換え
るための信号である。また、HB/L B信号9はEX
U2より出力されセパレートバス制御の場合に必要な信
号であり、ルベルの場合にはバス4にマイクロプロセッ
サ外部の端子からデータを入出力する場合を示し、0レ
ベルの場合にはバス3にマイクロプロセッサ外部の端子
からデータを入出力する場合を示す。2人力ANDゲー
ト10はSB/MB信号8とHB/L B信号9とを入
力し、セレクタ13を制御する。このセレクタ13は制
御入力がルベルのとき、バス(D8−D15)4をデー
タ信号端子16に接続し、制御入力が0レベルのとき、
バス(Do−D7)3をデータ信号端子DA16に接続
する。一方、2人力NORゲート11はSB/MB信号
8とアドレスストローブ信号(ASTB)12とを入力
し、その出力によりセレクタ14を制御する。このセレ
クタ14は制御入力がルベルのとき、バス(D8〜D1
5)4をAD兼用端子17に接続し、制御入力がOレベ
ルのとき、バス(AO〜A7)5をAD兼用端子17に
接続する。特に、AD兼用端子17は8ビット幅で、セ
パレートバス制御方式のときは下位のアドレス信号を出
力し、マルチプレックスバス制御方式のときは下位のア
ドレス信号と上位のデータ信号を時分割で出力する。In the BCUI of such a microprocessor, bus 3
is a data bus for the lower 8 bits (Do to D7), bus 4 is a data bus for the upper 8 bits (D8 to D, 15), bus is an address bus for the lower 8 bits (AO to A7), and bus 6
is an address bus for upper 12 bits (A8 to A19), and these buses 3 to 6 are both connected to EXU2. Further, FF7 is a flip-flop which is set by EXU2 to become a level in the case of the separate bus control method, and reset to become O level in the case of the multiplex bus control method. The output signal (SB/MB) 8 of this flip-flop 7 is used for separate bus control in Lebel.
The 0 level indicates multiplex bus control, and is a signal for switching between the separate bus control method and the multiplex control method. Also, the HB/LB signal 9 is EX
This signal is output from U2 and is necessary for separate bus control. In the case of Lebel, it indicates the case where data is input/output from the external terminal of the microprocessor to bus 4. If it is at 0 level, the microprocessor is connected to bus 3. The case where data is input/output from an external terminal is shown. The two-man-powered AND gate 10 inputs the SB/MB signal 8 and the HB/LB signal 9 and controls the selector 13. This selector 13 connects the bus (D8-D15) 4 to the data signal terminal 16 when the control input is level 0, and when the control input is at level 0,
Bus (Do-D7) 3 is connected to data signal terminal DA16. On the other hand, the two-man power NOR gate 11 inputs the SB/MB signal 8 and the address strobe signal (ASTB) 12, and controls the selector 14 by its output. This selector 14 selects the bus (D8 to D1) when the control input is level.
5) 4 is connected to the AD terminal 17, and when the control input is at O level, the bus (AO to A7) 5 is connected to the AD terminal 17. In particular, the AD dual-purpose terminal 17 has an 8-bit width, and outputs a lower address signal when using the separate bus control method, and outputs a lower address signal and an upper data signal in a time-sharing manner when using the multiplex bus control method. .
前述したASTB信号12はEXU2から供給され、マ
イクロプロセッサの外部端子であるASTB端子15か
ら外部記憶装置に対して送出されるマルチプレックスバ
ス制御方式の場合に必要な信号である。このASTB信
号12がルベルのときには端子AD兼用端子17にアド
レス信号が出力されるタイミングを示し、また0レベル
のときにはAD兼用端子17にデータ信号が出力される
タイミングを示している。更に、前述したアドレス信号
端子18もマイクロプロセッサの外部端子であり、バス
(A8−A19)6に接続されている。The above-mentioned ASTB signal 12 is supplied from the EXU 2 and is a necessary signal in the case of the multiplex bus control method in which it is sent from the ASTB terminal 15, which is an external terminal of the microprocessor, to an external storage device. When this ASTB signal 12 is a level, it indicates the timing at which an address signal is output to the AD terminal 17, and when it is at 0 level, it indicates the timing at which a data signal is output to the AD terminal 17. Furthermore, the aforementioned address signal terminal 18 is also an external terminal of the microprocessor and is connected to the bus (A8-A19) 6.
以下、上述した両制御方式のそれぞれに切換えたときの
動作について説明する。The operation when switching to each of the above-mentioned control methods will be explained below.
まず、セパレートバス制御方式に切り換えたときの動作
を述べる。First, the operation when switching to the separate bus control method will be described.
この場合、マイクロプロセッサに接続されるメモリ装置
等の外部機器は、アドレス信号が示すひとつの番地につ
いて、8ビット幅のデータ信号を持つものとする。In this case, it is assumed that an external device such as a memory device connected to the microprocessor has an 8-bit width data signal for one address indicated by the address signal.
セパレートバス制御方式に切換える場合は、命令等によ
ってEXU2がフリップフロップ7をセットするための
信号を出力する。セットされたフリップフロップ7によ
り、SB/MB信号8がルベルとなり、セパレートバス
制御を示す。When switching to the separate bus control method, the EXU 2 outputs a signal for setting the flip-flop 7 in response to a command or the like. The set flip-flop 7 causes the SB/MB signal 8 to become a level, indicating separate bus control.
第2図は第1図に示すバス選択回路をかかるセパレート
バス制御方式に切換えたときのタイミング図である。FIG. 2 is a timing diagram when the bus selection circuit shown in FIG. 1 is switched to such a separate bus control method.
第2図に示すように、T1〜T4はマイクロプロセッサ
の同期をとるクロックAのタイミングを示し、この4つ
のタイミングで1バスサイクルとなる。このとき、前述
したEXU2は、HB/LB信号9がルベルのとき、バ
ス(D8−D15)4を介して、またH B / L
B信号9が0レベルのとき、バス(Do−D7)3を介
してデータ信号Bの入力をタイミングT3の間に行い、
−方データ信号Cの出力をタイミングT1からT4の間
におこなう、また、アドレス信号りの出力はバス(AO
−A7)5およびバス(A8−A19)6を介してタイ
ミングT1からT4の間に行われる。As shown in FIG. 2, T1 to T4 indicate the timing of clock A for synchronizing the microprocessor, and these four timings constitute one bus cycle. At this time, when the HB/LB signal 9 is level, the above-mentioned EXU 2 also outputs the HB/L signal via the bus (D8-D15) 4.
When the B signal 9 is at the 0 level, the data signal B is inputted via the bus (Do-D7) 3 during the timing T3,
- The data signal C is output from timing T1 to T4, and the address signal is output from the bus (AO
-A7)5 and bus (A8-A19)6 between timings T1 and T4.
まず、SB/MB信号8によりゲート11の出力は0レ
ベルなので、AD兼用端子17はバス(AO−A7)5
に接続され、下位8ピツ、■・のアドレス信号が出力さ
れる。First, since the output of the gate 11 is at 0 level due to the SB/MB signal 8, the AD terminal 17 is connected to the bus (AO-A7) 5.
The address signals for the lower 8 bits, ■, are output.
また、アドレス信号りはAD兼用端子17およびアドレ
ス信号端子18のアドレス信号の出力のタイミングを示
しており、タイミングT1がらタイミングT4の間、バ
ス(AO−A7)5およびバス(A8−A19)6に2
0ビット幅のアドレス信号が出力され、そのままAD兼
用端子17およびアドレス信号端子18にアドレス信号
が出力される。Further, the address signal indicates the output timing of the address signal from the AD dual-purpose terminal 17 and the address signal terminal 18, and from timing T1 to timing T4, the bus (AO-A7) 5 and the bus (A8-A19) 6 to 2
A 0-bit width address signal is output, and the address signal is directly output to the AD terminal 17 and the address signal terminal 18.
一方、データ信号の下位8ビツトを入出力する場合には
、EXU2はHB/L B信号9をoレベルとする。こ
れによりANDゲート1oは0レベルを出力するので、
セレクタ13によりバス(Do−D7)3はデータ信号
端子16に接続される。従って、データ信号端子16に
接続された外部機器からアドレス信号によって指定され
たアドレスのデータがバス(DO−D7)3へ入出力さ
れる。On the other hand, when inputting/outputting the lower 8 bits of the data signal, the EXU 2 sets the HB/LB signal 9 to the o level. As a result, AND gate 1o outputs 0 level, so
The selector 13 connects the bus (Do-D7) 3 to the data signal terminal 16. Therefore, data at the address specified by the address signal from the external device connected to the data signal terminal 16 is input/output to/from the bus (DO-D7) 3.
すなわち、データBはデータ信号端子16がらのデータ
入力のタイミングを示しており、タイミングT3でデー
タ信号は入力される。また、データCはデータ信号端子
16からのデータ出力タイミングを示しており、タイミ
ングT1からT4の間でデータ信号は出力される。That is, data B indicates the timing of data input from the data signal terminal 16, and the data signal is input at timing T3. Furthermore, data C indicates the data output timing from the data signal terminal 16, and the data signal is output between timings T1 and T4.
このようにして、セパレートバス制御方式における1バ
スサイクルが終了すると、次のバスサイクルでデータ信
号の上位8ビツトを入出力する。次のバスサイクルでE
XU2はHB/L B信号9をルベルにすると、SB/
MB信号8がルベルになっているので、これによりAN
Dゲート10はルベルを出力し、セレクタ13によりバ
ス(D8−D15)4はデータ信号端子16に接続され
る。すなわち、データ信号端子16に接続された外部機
器からアドレス信号によって指定されたアドレスのデー
タ信号がバス(D8−D15)4へ入出力される。この
ときEXU2は、アドレス信号が上位8ビツトのデータ
があるアドレスを指定するように出力しなければならな
い。In this manner, when one bus cycle in the separate bus control method is completed, the upper eight bits of the data signal are input/output in the next bus cycle. E on next bus cycle
XU2 is HB/L If B signal 9 is set to SB/L,
Since MB signal 8 is in rubel, this causes AN
The D gate 10 outputs a level, and the selector 13 connects the bus (D8-D15) 4 to the data signal terminal 16. That is, a data signal at an address specified by an address signal from an external device connected to the data signal terminal 16 is input/output to/from the bus (D8-D15) 4. At this time, EXU 2 must output an address signal so that the upper 8 bits of data specify the address.
以上のように、バスサイクルを2回繰り返すことにより
、16ビツト幅のデータ信号をマイクロプロセッサに入
力することができる。As described above, by repeating the bus cycle twice, a 16-bit wide data signal can be input to the microprocessor.
次に、マイクロプロセッサの制御方式をマルチプレック
スバス制御方式に切り換えたときの動作を述べる。Next, the operation when the microprocessor control method is switched to the multiplex bus control method will be described.
この場合、マイクロプロセッサに接続される外部機器は
アドレス信号が示すひとつの番地について16ビツト幅
のデータ信号を持つものとする。In this case, it is assumed that the external device connected to the microprocessor has a 16-bit width data signal for one address indicated by the address signal.
このマルチプレックスバス制御方式に切り換える場合は
、命令等によってEXU2がフリップフロップ7をリセ
ットするための信号を出力する。When switching to this multiplex bus control method, the EXU 2 outputs a signal for resetting the flip-flop 7 in response to a command or the like.
リセットされたフリップフロップ7により、SB/MB
信号8が0レベルとなるのでマルチプレックスバス制御
を示す。By the reset flip-flop 7, SB/MB
Since signal 8 is at the 0 level, multiplex bus control is indicated.
第3図は第1図に示すバス選択回路をかかるマルチプレ
ックスバス制御方式に切り換えたときのタイミング図で
ある。FIG. 3 is a timing diagram when the bus selection circuit shown in FIG. 1 is switched to such a multiplex bus control system.
第3図に示すように、期間Tl、T2.T3゜T4はマ
イクロプロセッサの同期をとるクロックAのタイミング
を示し、この4つのタイミングで1バスサイクルを形成
する。EXU2はバス(Do−D7)3およびバス(D
8−D15)4を介してデータ信号の入力をタイミング
T3の間に行い、またデータ信号の出力をタイミングT
1からT4の間に行う、一方、アドレス信号の出力はバ
ス(AO−A7)5およびバス(A8−A19)6を介
してタイミングT1からT4の間に行う。As shown in FIG. 3, periods Tl, T2 . T3 and T4 indicate the timing of clock A that synchronizes the microprocessor, and these four timings form one bus cycle. EXU2 connects bus (Do-D7)3 and bus (D
8-D15) 4, the data signal is input during timing T3, and the data signal is output at timing T3.
On the other hand, the output of the address signal is performed between timing T1 and T4 via bus (AO-A7) 5 and bus (A8-A19) 6.
また、Eはデータ入力時のAD兼用端子17の信号のタ
イミング、Fはデータ出力時のAD兼用端子17の信号
のタイミングをそれぞれ示し、信号GはASTB信号1
2を表わし、タイミングT1にルベルとなる。また、H
はデータ入力時のデータ信号端子16の信号のタイミン
グで、データ信号の下位8ビツトをタイミングT3に入
力する。■はデータ出力時のデータ信号端子16の信号
のタイミングで、データ信号の下位8ビツトをタイミン
グT1からタイミングT4の聞出力する。Jはアドレス
信号端子18の信号のタイミングで、アドレス信号上位
12ビツトをタイミングT1からT4の聞出力する。Further, E indicates the timing of the signal of the AD terminal 17 at the time of data input, F indicates the timing of the signal of the AD terminal 17 at the time of data output, and the signal G indicates the ASTB signal 1.
2 and becomes a rubel at timing T1. Also, H
inputs the lower 8 bits of the data signal at timing T3 at the timing of the signal at the data signal terminal 16 during data input. (3) is the timing of the signal at the data signal terminal 16 during data output, and the lower 8 bits of the data signal are output from timing T1 to timing T4. J outputs the upper 12 bits of the address signal from timing T1 to T4 at the timing of the signal at the address signal terminal 18.
丈ず、タイミングTIで、ASTB信号12をルベルに
すると、NORゲート11はOレベルを出力するので、
AD兼用端子17はバス(AO−A7)5に接続される
。従って、AD兼用端子17にはアドレス信号の下位8
ビット信号が出力される。When the ASTB signal 12 is set to level at timing TI, the NOR gate 11 outputs the O level, so
The AD/AD terminal 17 is connected to the bus (AO-A7) 5. Therefore, the lower 8 of the address signal is connected to the AD terminal 17.
A bit signal is output.
次に、タイミングT2からT4までは、ASTB信号1
2は0レベルであり、且つSB/MB信号8も0レベル
であるので、NORゲート11はルベルとなり、AD兼
用端子17はバス(D8−D15)4に接続される。デ
ータ信号の上位8ビツトの入力はタイミングT3の間行
われ、データ信号の上位8ビツトの出力はタイミングT
2からT4の間行われる。Next, from timing T2 to T4, ASTB signal 1
2 is at the 0 level, and the SB/MB signal 8 is also at the 0 level, so the NOR gate 11 becomes a level, and the AD dual-purpose terminal 17 is connected to the bus (D8-D15) 4. The input of the upper 8 bits of the data signal is performed during timing T3, and the output of the upper 8 bits of the data signal is performed at timing T3.
2 to T4.
マイクロプロセッサに接続された外部機器はASTB端
子15の信号により、AD兼用端子17に出力された信
号がアドレス信号かデータ信号かを知ることができる。An external device connected to the microprocessor can determine whether the signal output to the AD terminal 17 is an address signal or a data signal from the signal at the ASTB terminal 15.
また、SB/MB信号8が0レベルであるので、AND
ゲート10の出力は0レベルになり、バス(Do−D7
)3はデータ信号端子16に接続されている。Also, since the SB/MB signal 8 is at 0 level, the AND
The output of gate 10 becomes 0 level, and the bus (Do-D7
) 3 is connected to the data signal terminal 16.
以上、AD兼用端子17をASTB信号12によってア
ドレス信号とデータ信号とに切り換えることによって、
マルチプレックス制御方式でデータ信号の入出力および
アドレス信号の出力が行える。As described above, by switching the AD terminal 17 between the address signal and the data signal using the ASTB signal 12,
Data signal input/output and address signal output can be performed using multiplex control method.
以上、本発明の一実施例について説明したが、この地番
こも例えば、フリップフロラ113を取り除き、集積回
路製作時に信号SB/MB14をルベルにするか、0レ
ベルにするかを選択してもよい。Although one embodiment of the present invention has been described above, it is also possible to remove the flip roller 113 and select whether to set the signal SB/MB14 to a level or a 0 level at the time of manufacturing an integrated circuit.
以上説明したように、本発明のバス選択回路は端子数を
増やさずにデータ信号のバスサイズを変え、マルチプレ
ックスバス制御方式およびセパレートバス制御方式を一
つのマイクロプロセッサで実現することができるという
効果がある。As explained above, the bus selection circuit of the present invention has the advantage that it is possible to change the data signal bus size without increasing the number of terminals, and to realize a multiplex bus control method and a separate bus control method with a single microprocessor. There is.
すなわち、本発明では端子数を増やさないので、集積回
路で構成するのに有利であり、またバス制御方式を容易
に選択できるので、自由に周辺機器の構成を選択するこ
とができる。That is, since the present invention does not increase the number of terminals, it is advantageous to configure it with an integrated circuit, and since the bus control method can be easily selected, the configuration of peripheral devices can be freely selected.
第1図は本発明の一実施例を示すマイクロプロセッサの
バス選択回路図、第2図は第1図に示すバス選択回路を
セパレートバス制御方式にしたときのタイミング図、第
3図は同じく第1図に示すバス選択回路をマルチプレッ
クスバス制御方式にしたときのタイミング図である
1・・・バスコントロールユニット(BCU)、2・・
・エグゼキュートユニット(EXU)、3・・・下位ビ
ットデータ(Do−D7)バス、4・・・上位とットデ
ータ(D8−D15)バス、5・・・下位ビットアドレ
ス(AO−A7)バス、6・・・上位ビットアドレス(
A8−A19)バス、7・・・フリップフロップ、8・
・・セパレートバス・マルチプレックスバス切り換え(
SB/MB)信号、9・・・上位ビット下位とツトデー
タ切り換え(HB/LB)信号、10・・・2人力AN
Dゲート、11・・・2人力NORゲート、12・・・
アドレスストローブ(ASTB)信号、13.14・・
・セレクタ、15・・・アドレスストローブ(ASTB
)端子、16・・・データ信号端子、17・・・アドレ
ス・データ信号(AD)兼用端子、18・・・アドレス
信号(A8−A19)端子。FIG. 1 is a bus selection circuit diagram of a microprocessor showing an embodiment of the present invention, FIG. 2 is a timing diagram when the bus selection circuit shown in FIG. This is a timing diagram when the bus selection circuit shown in Figure 1 is configured as a multiplex bus control system.
・Execute unit (EXU), 3...lower bit data (Do-D7) bus, 4...upper bit data (D8-D15) bus, 5...lower bit address (AO-A7) bus, 6... Upper bit address (
A8-A19) Bus, 7...Flip-flop, 8.
・Separate bus/multiplex bus switching (
SB/MB) signal, 9... Upper bit lower and lower data switching (HB/LB) signal, 10... 2 manual AN
D gate, 11...2-man power NOR gate, 12...
Address strobe (ASTB) signal, 13.14...
・Selector, 15...Address strobe (ASTB
) terminal, 16... data signal terminal, 17... address/data signal (AD) combined terminal, 18... address signal (A8-A19) terminal.
Claims (1)
を有し、外部記憶装置に蓄積された命令コードやデータ
によりプログラム制御されるマイクロプロセッサのバス
選択回路において、前記外部記憶装置のプログラム格納
領域を指定する複数ビットのアドレス信号の一部の信号
端子或は全ての信号端子と前記命令コードやデータを入
出力する信号端子とを共有し、前記アドレス信号と前記
命令コードやデータとを時分割に入出力する手段と、前
記命令コードやデータを入出力する信号端子数の語長を
縮小し、前記アドレス信号の信号端子をわけて、前記ア
ドレス信号と前記命令コードやデータとを同時に入出力
する手段とを前記バスコントロールユニットに有し、こ
れら両手段を前記エグゼキュートユニットからの制御信
号により駆動することを特徴とするバス選択回路。In a bus selection circuit of a microprocessor that has a bus control unit and an execute unit and is program-controlled by instruction codes and data stored in an external storage device, a multi-bit address that specifies a program storage area of the external storage device Means for inputting and outputting the address signal and the instruction code and data in a time-sharing manner by sharing a signal terminal for inputting and outputting the instruction code and data with some or all of the signal terminals of the signal; The bus controller includes a means for simultaneously inputting and outputting the address signal and the instruction code and data by reducing the word length of the number of signal terminals for inputting and outputting the instruction code and data, and separating the signal terminals for the address signal. 1. A bus selection circuit comprising a bus selection circuit in a unit and driving both of these means by a control signal from the execution unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63331126A JP2536609B2 (en) | 1988-12-28 | 1988-12-28 | Bus selection circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63331126A JP2536609B2 (en) | 1988-12-28 | 1988-12-28 | Bus selection circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH02176959A true JPH02176959A (en) | 1990-07-10 |
JP2536609B2 JP2536609B2 (en) | 1996-09-18 |
Family
ID=18240162
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63331126A Expired - Lifetime JP2536609B2 (en) | 1988-12-28 | 1988-12-28 | Bus selection circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2536609B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5918027A (en) * | 1995-12-15 | 1999-06-29 | Nec Corporation | Data processor having bus controller |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57185542A (en) * | 1981-02-17 | 1982-11-15 | Digital Equipment Corp | Multimode central processor |
-
1988
- 1988-12-28 JP JP63331126A patent/JP2536609B2/en not_active Expired - Lifetime
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57185542A (en) * | 1981-02-17 | 1982-11-15 | Digital Equipment Corp | Multimode central processor |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5918027A (en) * | 1995-12-15 | 1999-06-29 | Nec Corporation | Data processor having bus controller |
Also Published As
Publication number | Publication date |
---|---|
JP2536609B2 (en) | 1996-09-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5832248A (en) | Semiconductor integrated circuit having CPU and multiplier | |
JPS5933553U (en) | processor | |
US5021990A (en) | Output pulse generating apparatus | |
JPH02176959A (en) | Bus selecting circuit | |
US5414866A (en) | One-chip microcomputer with parallel operating load and unload data buses | |
KR940002478B1 (en) | Information processing equipment | |
JPS6334795A (en) | Semiconductor storage device | |
US5918027A (en) | Data processor having bus controller | |
EP0923010A2 (en) | Programmable controller | |
CA1202727A (en) | Microcomputer variable duty cycle signal generator | |
JPS61282946A (en) | Programmable controller | |
JP2555580B2 (en) | Storage device control system | |
JPH09212479A (en) | Single chip microcomputer | |
JPS6015969B2 (en) | Microinstruction address generation method | |
JPH03214275A (en) | Semiconductor integrated circuit | |
JPH0353360A (en) | Setting system for data prescribing lsi working range | |
JPH08161009A (en) | Programmable controller | |
KR19990079125A (en) | Implementation of numerical control device using single central processor | |
JPH04303247A (en) | Microcomputer device | |
JPS6129906A (en) | programmable logic controller | |
JPH0635794A (en) | Timing control method and apparatus for computer system | |
JPS6381536A (en) | One-chip microcomputer | |
JPH06195295A (en) | Output port circuit | |
JPH01108648A (en) | Memory start setting method | |
JPH04311247A (en) | Bus controller |