JPH04170661A - Microprocessor system - Google Patents

Microprocessor system

Info

Publication number
JPH04170661A
JPH04170661A JP29924290A JP29924290A JPH04170661A JP H04170661 A JPH04170661 A JP H04170661A JP 29924290 A JP29924290 A JP 29924290A JP 29924290 A JP29924290 A JP 29924290A JP H04170661 A JPH04170661 A JP H04170661A
Authority
JP
Japan
Prior art keywords
microprocessor
host processor
shared memory
data
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP29924290A
Other languages
Japanese (ja)
Inventor
Takayoshi Yoshida
隆義 吉田
Hiroshi Hatanaka
啓 畠中
Noritaka Koyama
小山 法孝
Ikuo Oya
大宅 伊久雄
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP29924290A priority Critical patent/JPH04170661A/en
Publication of JPH04170661A publication Critical patent/JPH04170661A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To connect a host processor having different bit width to a miroprocessor by providing the microprocessor with the 1st and 2nd bidirectional buffers, an external output terminal and a changeover circuit. CONSTITUTION:The 1st bidirectional buffer 61 acts so as to connect the pre scribed W bits of the host processor 70 to the lower (or upper) W bits of a shared memory 80 having 2W-bit width. The 2nd bidirectional buffer 62 acts so as to connect the prescribed W bits of the processor 70 to the upper (or lower) W bits of the shared memory 80 based upon a changeover signal CH. The changeover signal CH is supplied to an external output terminal 60 comple mentally with the buffer 62, and when the host computer 70 is a processor with W-bit width, a changeover circuit 68 supplies the changeover signal to the buffer 62. Thus, the host processor having the different bit width can be connected to the microprocessor.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、少なくともマイクロプロセッサ、ホストプロ
セッサ及び共有メモリを有し、そのマイクロプロセッサ
及びホストプロセッサが共有メモリに対して排他的にア
クセスするマイクロプロセッサシステムに関するもので
ある。
Detailed Description of the Invention (Field of Industrial Application) The present invention relates to a microprocessor having at least a microprocessor, a host processor, and a shared memory, the microprocessor and the host processor having exclusive access to the shared memory. It's about systems.

(従来の技術) 従来、この種の技術としては、例えば第2図に示すよう
なものがあった。
(Prior Art) Conventionally, as this type of technology, there has been one shown in FIG. 2, for example.

第2図は、従来のマイクロプロセッサシステムの一構成
例を示す概略の構成ブロック図である。
FIG. 2 is a schematic block diagram showing an example of the configuration of a conventional microprocessor system.

このマイクロプロセッサシステムは、マイクロプロセッ
サ10、ホストプロセッサ30及び共有メモリ40を有
しており、マイクロプロセッサ10及び共有メモリ40
の組み合わせにより高速処理サブシステムを構成してい
る。
This microprocessor system includes a microprocessor 10, a host processor 30, and a shared memory 40.
The combination constitutes a high-speed processing subsystem.

マイクロプロセッサ10は、共有メモリ40にアクセス
しデータ処理等を行う機能と共に、ホストプロセッサ3
0及び共有メモリ40間の接続機能を有し、例えば32
ビツトのマイクロプロセッサ本体11を内蔵しており、
ホストプロセッサ側の接続端子として、ホストプロセッ
サ30からのデータ線に対して例えば32ビツト接続可
能なホスト側バス端子(以下、Hバス端子という)12
、典有メモリ側の接続端子として、データバス端子(以
下、Dバス端子という)13、アドレスバス端子(以下
、Aバス端子という)14、書込み信号出力用端子(以
下、WE端子という)15、及び読出し信号d力用端子
(以下、RE端子という)16をそれぞれ備えている。
The microprocessor 10 has the function of accessing the shared memory 40 and processing data, as well as the function of the host processor 3.
0 and the shared memory 40, for example, 32
Built-in BIT microprocessor body 11,
As a connection terminal on the host processor side, there is a host side bus terminal (hereinafter referred to as H bus terminal) 12 that can be connected to, for example, 32 bits to a data line from the host processor 30.
, a data bus terminal (hereinafter referred to as D bus terminal) 13, an address bus terminal (hereinafter referred to as A bus terminal) 14, a write signal output terminal (hereinafter referred to as WE terminal) 15, as connection terminals on the private memory side. and a read signal d power terminal (hereinafter referred to as an RE terminal) 16.

また、マイクロプロセッサ10内部においてば、Hバス
端子12及びDバス端子13間が32ビツトのデータ線
で、Hバス端子12及びAバス端子14間が16ビツト
のアドレス線でそれぞれ結ばれ、そのデータ線上にはホ
ストプロセッサ側用の双方向バッファ17が、アドレス
線上にはホストプロセッサ側用のアドレスレジスタ18
がそれぞれ設けられている。マイクロプロセッサ本体1
1には、32ビツトのデータ線がDバス端子13との間
に、16ビツトのアドレス線がAバス端子14との間に
それぞれ接続され、そのデータ線上にはマイクロプロセ
ッサ側用の双方向バッファ19が、アドレス線上にはマ
イクロプロセッサ側用のアドレスレジスタ20がそれぞ
れ設けられている。
Furthermore, inside the microprocessor 10, the H bus terminal 12 and the D bus terminal 13 are connected by a 32-bit data line, and the H bus terminal 12 and the A bus terminal 14 are connected by a 16-bit address line. A bidirectional buffer 17 for the host processor side is on the line, and an address register 18 for the host processor side is on the address line.
are provided for each. Microprocessor body 1
1, a 32-bit data line is connected to the D bus terminal 13, a 16-bit address line is connected to the A bus terminal 14, and a bidirectional buffer for the microprocessor side is connected to the data line. 19, and address registers 20 for the microprocessor side are provided on the address lines, respectively.

さらに、このマイクロプロセッサ10には、WE端子1
5及びRE端子16に対してそれぞれ書込み信号WE及
び読出し信号REを供給する信号発生口!@21が内蔵
されている。
Furthermore, this microprocessor 10 has a WE terminal 1.
A signal generation port that supplies write signal WE and read signal RE to terminal 5 and RE terminal 16, respectively! @21 is built-in.

ホストプロセッサ30は、マイクロプロセッサ10の外
部に設けられ、マイクロプロセッサ10を介して共有メ
モリ40との間でデータ授受等を行う機能を有し、例え
ば32ビツト幅のプロセッサで構成されている。このホ
ストプロセッサ30は、外部バスを介してマイクロプロ
セッサ10に接続されており、例えば32ビツトのデー
タ線がHバス端子12に接続されている。
The host processor 30 is provided externally to the microprocessor 10, has a function of exchanging data with the shared memory 40 via the microprocessor 10, and is composed of, for example, a 32-bit wide processor. This host processor 30 is connected to the microprocessor 10 via an external bus, and a 32-bit data line is connected to the H bus terminal 12, for example.

共有メモリ40は、マイクロプロセッサ10及びホスト
プロセッサ30の外部に設けられ、マイクロプロセッサ
本体11及びホストプロセッサ30により排他的にアク
セスされるものであり、例えば最大容量が64kwX3
2ビットのスタティックRAM″′C′構成され、32
ビツトのデータ線を介してDバス端子13に、16ビツ
トのアドレス線を介してAバス端子14に、書込み信号
線を介してWE端子15に、読出し信号線を介してRE
端子16にそれぞれ接続されている。
The shared memory 40 is provided outside the microprocessor 10 and the host processor 30, is accessed exclusively by the microprocessor main body 11 and the host processor 30, and has a maximum capacity of, for example, 64 kW x 3.
Consists of 2-bit static RAM'''C', 32
The data is connected to the D bus terminal 13 via the bit data line, to the A bus terminal 14 via the 16-bit address line, to the WE terminal 15 via the write signal line, and to the RE via the read signal line.
They are connected to terminals 16, respectively.

次に、動作を説明する。Next, the operation will be explained.

最初にマイクロプロセッサ本体11が休止している時、
ホストプロセッサ30はマイクロプロセッサ本体11が
処理すべきデータとプログラム(またはコマンド列)を
共有メモリ40に転送(データ転送)する。この時、ホ
ストプロセッサ30は、先ず、アドレス信号をアドレス
レジスタ18側に送って転送先を指定し、次に、データ
及びプログラム等を、Hバス端子12、双方向バッファ
17、Dバス端子13を介して共有メモリ40に送る。
When the microprocessor main body 11 is at rest for the first time,
The host processor 30 transfers the data and program (or command string) to be processed by the microprocessor main body 11 to the shared memory 40 (data transfer). At this time, the host processor 30 first sends an address signal to the address register 18 side to designate the transfer destination, and then transfers data, programs, etc. to the H bus terminal 12, bidirectional buffer 17, and D bus terminal 13. The data is sent to the shared memory 40 via the shared memory 40.

共有メモリ40内にデータ及びプログラム等が転送され
た後、マイクロプロセッサ本体11は、アドレスレジス
タ20及び双方向バッファ19を介し、Dバス端子13
及びAバス端子14を経由して、共有メモリ40内のプ
ログラムを読出し、そのプログラムに基づいて共有メモ
リ40内のデータに対してデータ処理を行い、その処理
結果を共有メモリ40内に格納する。
After data, programs, etc. are transferred into the shared memory 40, the microprocessor main body 11 transfers the data to the D bus terminal 13 via the address register 20 and the bidirectional buffer 19.
The program in the shared memory 40 is read out via the A bus terminal 14, data processing is performed on the data in the shared memory 40 based on the program, and the processing result is stored in the shared memory 40.

マイクロプロセッサ本体11がデータ処理を終えると、
ホストプロセッサ30は、Hバス端子112等を介して
共有メモリ40内の処理結果を読出す。
When the microprocessor body 11 finishes processing the data,
The host processor 30 reads the processing results in the shared memory 40 via the H bus terminal 112 and the like.

以上の動作に際して、共有メモリ40は、マイクロプロ
セッサ本体11及びホストプロセッサ30によりいずれ
からも32ビット単位で排他的にアクセスされ、その書
込み及び読出しはそれぞれ信号発生図821からWE端
子15及びRE端子16を介して入力される書込み信号
WE及び読出し信号RE (例えばいずれもパルス信号
)が与えられることにより実行される。
During the above operation, the shared memory 40 is accessed exclusively in units of 32 bits by both the microprocessor main body 11 and the host processor 30, and writing and reading thereof are performed from the signal generation diagram 821 to the WE terminal 15 and the RE terminal 16, respectively. This is executed by applying a write signal WE and a read signal RE (for example, both are pulse signals) inputted via the .

このような従来のマイクロプロセッサシステムでは、書
込み信号WE及び読出し信号REなどの制御信号を発生
する信号発生図&@21や、接続用回路素子である双方
向バッファ17.19等が、マイクロプロセッサ本体1
1と共にマイクロプロセッサ10に内蔵されており、比
較的コンパクトなシステムを構成している。
In such a conventional microprocessor system, the signal generation diagram &@21 that generates control signals such as the write signal WE and the read signal RE, and the bidirectional buffers 17 and 19 that are connection circuit elements are connected to the microprocessor main body. 1
1 and is built into the microprocessor 10, constituting a relatively compact system.

(発明が解決しようとする課題) しかしながら、上記構成のマイクロプロセッサシステム
では、次のような課題があった。
(Problems to be Solved by the Invention) However, the microprocessor system having the above configuration has the following problems.

(a>ホストプロセッサ30は、共有メモリ40に対し
てデータ転送の機能しか果たしていないにもかかわらず
、マイクロプロセッサ10において、32ビツトのデー
タ線分のHバス端子12を占有している。これに伴って
、マイクロプロセッサ10では、その端子数に応じて面
積が大形化し、また、端子の密接度が増して外部配線等
が密接化・複雑化し、引き回し等に起因して配線のレイ
アウトが困難となってしまう。
(a> Although the host processor 30 only performs the function of data transfer to the shared memory 40, it occupies the H bus terminal 12 of the 32-bit data line in the microprocessor 10. As a result, the area of the microprocessor 10 increases in proportion to the number of its terminals, and the closeness of the terminals increases, making external wiring etc. denser and more complex, making wiring layout difficult due to routing, etc. It becomes.

従って、従来のマイクロプロセッサシステムでは、端子
の十分な利用効率の向上が図られておらず、マイクロプ
ロセッサ10が大形化し、外部配線等の密接化・複雑化
等を招いて、システム全体の信頼性が低下してしまう。
Therefore, in conventional microprocessor systems, the utilization efficiency of terminals has not been sufficiently improved, the microprocessor 10 has become larger, external wiring has become closer and more complex, and the reliability of the entire system has been reduced. Sexuality decreases.

(b)第2図のマイクロプロセッサシステムでは、マイ
クロプロセッサ10と共有メモリ40との組み合わせに
より高速処理サブシステムが構成され、その高速処理サ
ブシステムは、外部バスを介してホストプロセッサ30
と結合している。このように、従来のマイクロプロセッ
サシステムでは、ホストプロセッサ30が高速処理サブ
システムに対して比較的疎な結合が許容されているので
、例えばホストプロセッサ30を16ビツI・システム
に置き換えるようなことも考えられるが、従来のシステ
ムでは高速処理サブシスデム側にこれに対処する手段が
ないために、ビット幅の異なるホストプロセッサについ
ての結合が困難であった。
(b) In the microprocessor system shown in FIG. 2, a high-speed processing subsystem is configured by the combination of the microprocessor 10 and the shared memory 40, and the high-speed processing subsystem is connected to the host processor 3 via an external bus.
is combined with In this way, in conventional microprocessor systems, the host processor 30 is allowed to be relatively loosely coupled to the high-speed processing subsystem, so it is possible to replace the host processor 30 with a 16-bit I system, for example. However, in conventional systems, there is no means to deal with this on the high-speed processing subsystem side, making it difficult to combine host processors with different bit widths.

本発明は、前記従来技術が持っていた課題として、端子
の十分な利用効率の向上が図られていない点、ビット幅
の異なるホストプロセッサの結合が困難な点について解
決したマイクロプロセッサシステムを提供するものであ
る。
The present invention provides a microprocessor system that solves the problems of the above-mentioned conventional technology, such as the failure to sufficiently improve the utilization efficiency of terminals and the difficulty in connecting host processors with different bit widths. It is something.

(課題を解決するための手段) 第1の発明は、前記課題を解決するために、2Wビット
幅(Wは正の整数)を有するマイクロプロセッサ本体を
内蔵したマイクロプロセッサと、所定のWビットを含む
ビット幅を有するホストプロセッサと、前記2Wビット
幅を有し、前記マイクロプロセッサ本体及びホストプロ
セッサにより排他的にアクセスされる共有メモリとを、
備えたマイクロプロセッサシステムにおいて、以下のよ
うな手段を講じたものである。
(Means for Solving the Problems) In order to solve the above problems, a first invention provides a microprocessor having a built-in microprocessor main body having a 2W bit width (W is a positive integer), and a microprocessor having a predetermined W bit width. a host processor having a bit width including; a shared memory having the 2W bit width and accessed exclusively by the microprocessor main body and the host processor;
In this microprocessor system, the following measures are taken.

即ち、前記ホストプロセッサの所定のWビットを前記共
有メモリの下位または上位Wビットに結ぶ第1の双方向
バッファと、切換信号に基づき前記ホストプロセッサの
所定のWビットを前記共有メモリの上位または下位Wビ
ットに結ぶ第2の双方向バッファと、前記第2の双方向
バッファと相補的に切換信号が供給される外部出力端子
と、前記ホストプロセッサのビット幅に応じて前記切換
信号を前記第2の双方向バッファまたは外部出力端子の
いずれか一方へ出力する切換回路とを、前記マイクロプ
ロセッサに設けたものである。
That is, a first bidirectional buffer connects a predetermined W bit of the host processor to the lower or upper W bit of the shared memory; and a first bidirectional buffer connects the predetermined W bit of the host processor to the upper or lower W bit of the shared memory based on a switching signal. a second bidirectional buffer connected to the W bit; an external output terminal to which a switching signal is supplied complementary to the second bidirectional buffer; The microprocessor is provided with a switching circuit for outputting to either the bidirectional buffer or the external output terminal.

第2の発明は、第1の発明において、前記ホストプロセ
ッサは、前記2Wビット幅を有するプロセッサで構成し
、かつ、前記外部出力端子を介して入力される切換信号
に基づき、前記ホストプロセッサの所定のWビット以外
のWビットを前記共有メモリの上位または下位Wビット
に結ぶ第3の双方向バッファを、前記マイクロプロセッ
サの外部に設けたものである。
In a second aspect of the invention, based on the first aspect, the host processor is configured with a processor having the 2W bit width, and a predetermined value of the host processor is determined based on a switching signal inputted via the external output terminal. A third bidirectional buffer is provided outside the microprocessor to connect W bits other than the W bits of the microprocessor to the upper or lower W bits of the shared memory.

(作用) 第1の発明によれば、以上のようにマイクロプロセッサ
システムを構成したので、前記第1の双方向バッファは
、前記ホストプロセッサの所定のWビットを前記共有メ
モリの下位(または上位)Wビットに結ぶように働く。
(Operation) According to the first invention, since the microprocessor system is configured as described above, the first bidirectional buffer transfers a predetermined W bit of the host processor to the lower (or upper) of the shared memory. Works to connect to the W bit.

前記第2の双方向バッファは、切換信号に基づき前記ホ
ストプロセッサの所定のWビットを前記共有メモリの上
位(または下位)Wビットに結ぶように働く。
The second bidirectional buffer serves to connect a predetermined W bit of the host processor to the upper (or lower) W bit of the shared memory based on a switching signal.

前記外部出力端子は、前記第2の双方向バッファと相補
的に切換信号が供給され、前記切換回路は、例えば前記
ホストプロセッサがWビット幅のプロセッサの場合に前
記切換信号を前記第2の双方向バッファへ供給し、前記
ホストプロセッサが2Wビット幅のプロセッサの場合に
前記切換信号を前記外部出力端子へ供給するように働く
A switching signal is supplied to the external output terminal in a complementary manner to the second bidirectional buffer, and the switching circuit supplies the switching signal to the second bidirectional buffer, for example, when the host processor is a W-bit width processor. When the host processor is a 2W bit wide processor, the switching signal is supplied to the external output terminal.

よって、この第1の発明では、例えば前記ホストプロセ
ッサをWピッ1−福のプロセッサで構成した場合、該ホ
ス1へプロセッサは、前記所定のWビ・71・により、
前記第1の双方向バッファを介して前記共有メモリの下
位くまたは上位)Wビットとの間で信号の授受等を行い
、かつ前記第2の双方向バッファを介して前記共有メモ
リの上位(または下位)Wビットとの間で信号の授受等
を行う。
Therefore, in this first invention, for example, when the host processor is configured with a W-P1-F processor, the processor to the host 1 is configured to perform
Signals are exchanged with the lower or upper bits of the shared memory via the first bidirectional buffer, and the upper bits of the shared memory are transferred via the second bidirectional buffer. Signals are exchanged with the lower (lower) W bit.

第2の発明によれば、第1の発明において、前記ホス1
へプロセッサを2Wビット幅のプロセッサで構成し、か
つ前記第3の双方向バッファを設けなので、該ホストプ
ロセッサは、前記所定のWビットにより、前記第1の双
方向バッファを介して前記共有メモリの下位(または上
位)Wビットとの間で信号の授受等を行い、また前記所
定のWビット以外の残りのWビットにより、前記第3の
双方向バッファを介して前記共有メモリの上位(または
下位)Wビットとの間で信号の授受等を行う。
According to a second invention, in the first invention, the host 1
Since the host processor is configured with a processor with a 2W bit width and the third bidirectional buffer is provided, the host processor uses the predetermined W bits to read data from the shared memory via the first bidirectional buffer. Signals are exchanged with the lower (or upper) W bits, and the remaining W bits other than the predetermined W bits are used to transmit signals to and from the upper (or lower) W bits of the shared memory via the third bidirectional buffer. ) Transfers signals to and from the W bit.

従って、前記課題を解決できるのである。Therefore, the above problem can be solved.

(実施例) 第1図は、本発明の第1の実施例を示すマイクロプロセ
ッサシステムの概略の構成ブロック図である。
(Embodiment) FIG. 1 is a schematic block diagram of a microprocessor system showing a first embodiment of the present invention.

このマイクロプロセッサシステムは、例えばマイクロプ
ロセッサ50、ホストプロセッサ7o、及び共有メモリ
80を有しており、マイクロプロセッサ50及び共有メ
モリ8oの組み合わせにより高速処理サブシステムを構
成している。
This microprocessor system includes, for example, a microprocessor 50, a host processor 7o, and a shared memory 80, and the combination of the microprocessor 50 and shared memory 8o constitutes a high-speed processing subsystem.

マイクロプロセッサ50は、例えば共有メモリ80にア
クセスしてデータ処理を行う機能と共に、ホストプロセ
ッサ70及び共有メモリ80間の接続機能を有し、例え
ば32ビツト幅(W= 16 >のマイクロプロセッサ
本体51を内蔵している。
The microprocessor 50 has, for example, a function of accessing the shared memory 80 and processing data, and a function of connecting between the host processor 70 and the shared memory 80. Built-in.

このマイクロプロセッサ50には、ホストプロセッサ側
の接続端子として、ホストプロセッサ70からのデータ
線に対して例えば16ビツト分接続可能なHバス端子5
2、共有メモリ側の接続端子として、データ上位16ビ
ツトDU用データバス端子(以下、DUババス子という
)53、データ下位16ビツトDL用データバス端子(
以下、DLババス子という)54、Aバス端子うヲ、上
位側書込み信号出力用端子(以下、WEU端子という)
ヲ6、下位1則書込み信号出力用端子(以下、WEL端
子という)57、書込み信号出力用のRE端子″58、
さらに本実施例の特徴に係わる端子である、選択信号S
EL入力用の外部入力端子5つ、及び切換信号CH出力
用の外部出力端子60などがそれぞれ設けられている。
The microprocessor 50 has an H bus terminal 5, which can be connected to a data line from the host processor 70, for example, for 16 bits, as a connection terminal on the host processor side.
2. As connection terminals on the shared memory side, there are a data bus terminal (hereinafter referred to as DU bus terminal) 53 for upper 16 bits of data DU and a data bus terminal (DL) for lower 16 bits of data (
(hereinafter referred to as DL Babasu) 54, A bus terminal (hereinafter referred to as WEU terminal), upper side write signal output terminal (hereinafter referred to as WEU terminal)
6. Lower one rule write signal output terminal (hereinafter referred to as WEL terminal) 57, write signal output RE terminal ``58,
Furthermore, the selection signal S, which is a terminal related to the characteristics of this embodiment,
Five external input terminals for EL input, an external output terminal 60 for outputting a switching signal CH, and the like are provided.

また、マイクロプロセッサ50の内部においては、例え
ばHバス端子52及びDLババス子54間、Hバス端子
52及びDUババス子53間、及びHバス端子52及び
Aバス端子55間がそれぞれ16ビツトのデータ線等で
接続され、各線上には、ホストプロセッサ側用の第1の
双方向バッファ61、第2の双方向バッファ62及びア
ドレスレジスタ63がそれぞれ設けられている。マイク
ロプロセッサ本体51には、データ上位16ビツトDU
用のデータ線がDUババス子53との間に、データ下位
16ビツトDL用のデータ線がDLバス端子54との間
に、16ビツトのアドレス線がAバス端子55との間に
それぞれ接続され、各線上には、マイクロプロセッサ側
用の双方向バッファ64、双方向バッファ65及びアド
レスレジスタ66がそれぞれ設けられている。
Further, inside the microprocessor 50, for example, 16-bit data is stored between the H bus terminal 52 and the DL bus terminal 54, between the H bus terminal 52 and the DU bus terminal 53, and between the H bus terminal 52 and the A bus terminal 55. A first bidirectional buffer 61, a second bidirectional buffer 62, and an address register 63 for the host processor side are provided on each line. The microprocessor body 51 contains the upper 16 bits of data DU.
A data line for the lower 16 bits of data DL is connected between the DL bus terminal 54, and a 16-bit address line is connected between the A bus terminal 55. , a bidirectional buffer 64, a bidirectional buffer 65, and an address register 66 for the microprocessor are provided on each line.

ここで、アドレスレジスタ63及び66は、例えばそれ
ぞれホストプロセッサ測及びマイクロプロセッサ側のア
ドレス信号の一時記憶機能等を有し、フリップフロップ
等を用いて構成されている。
Here, the address registers 63 and 66 each have a function of temporarily storing an address signal on the host processor side and a microprocessor side, for example, and are constructed using flip-flops or the like.

また、双方向バッファ61,62,64.65は、例え
ば信号を選択的に通過させる機能などを有し、−例とし
てトライステートバッファ回路等を用いて構成されてい
る。なお、双方向バッファ62については、切換信号C
Hが供給されている時にのみ機能するように構成されて
いる。
Further, the bidirectional buffers 61, 62, 64, and 65 have, for example, a function of selectively passing a signal, and are configured using, for example, a tri-state buffer circuit. Note that for the bidirectional buffer 62, the switching signal C
It is configured to function only when H is supplied.

さらに、このマイクロプロセッサ50には、WEU端子
56、WEL端子57、及びRE端子58にそれぞれ上
位側書込み信号WEU、下位側書込み信号WEL、及び
読出し信号REを供給する信号発生回路67と、切換回
路68とが内蔵されている。
Furthermore, this microprocessor 50 includes a signal generation circuit 67 that supplies an upper write signal WEU, a lower write signal WEL, and a read signal RE to the WEU terminal 56, WEL terminal 57, and RE terminal 58, respectively, and a switching circuit. 68 is built-in.

ここで、切換回路68は、Hバス端子52に接続される
ホストプロセッサのビット幅に応じて設定される選択信
号SELに基づき、切換fs号CH(例えばエネーブル
信号)を双方向バッファ62または外部出力端子60の
いずれか一方へ出力する回路であり、例えばグー1〜回
路等で構成され、信号線を介して外部入力端子59、外
部出力端子60及び双方向バッファ62にそれぞれ接続
されている。本実施例においてこの切換回路68は、例
えば選択信号SELがローレベル(Low)に固定され
た場合に切換信号CHを第2の双方向バッファ62のみ
に出力し、選択信号SELがハイレベルに固定された場
合に切換信号CHを外部出力端子60のみに出力するよ
うに設定されている。
Here, the switching circuit 68 outputs the switching fs number CH (for example, an enable signal) to the bidirectional buffer 62 or external output based on the selection signal SEL set according to the bit width of the host processor connected to the H bus terminal 52. This is a circuit that outputs to either one of the terminals 60, and is composed of, for example, circuits 1 to 1, and is connected to an external input terminal 59, an external output terminal 60, and a bidirectional buffer 62, respectively, via signal lines. In this embodiment, the switching circuit 68 outputs the switching signal CH only to the second bidirectional buffer 62 when the selection signal SEL is fixed at a low level (Low), and the selection signal SEL is fixed at a high level. The switching signal CH is set to be output only to the external output terminal 60 when the external output terminal 60 is activated.

、ホストプロセッサ70は、マイクロプロセッサ50の
外部に設けられ、例えばマイクロプロセッサ50を弁上
て共有メモリ80との間でデータ授受等を行う機能を有
し、例えば16ビツト幅のプロセッサで構成されている
。このホストプロセッサ70は、外部バスを介してマイ
クロプロセッサ50に接続されており、例えば16ビツ
トのデータ線がHバス端子52に接続されている。
The host processor 70 is provided externally to the microprocessor 50, has the function of transmitting and receiving data to and from the shared memory 80, for example, by controlling the microprocessor 50, and is composed of, for example, a 16-bit wide processor. There is. This host processor 70 is connected to the microprocessor 50 via an external bus, and a 16-bit data line is connected to the H bus terminal 52, for example.

共有メモリ80は、マイクロプロセッサ70及び共有メ
モリ80の外部に設けられ、マイクロプロセッサ70及
び共有メモリ80により排他的にアクセスされるもので
あり、例えば最大容量が64kwx32ビットのスタテ
ィックRAMで構成されている。この共有メモリ80は
、例えばデータ上位16ビツトDU用のデータ線を介し
てDUババス子53に、データ下位16ビツトDL用の
データ線を介してDLババス子54に、16ビツトのア
ドレス線を介してAバス端子55に、上位側書込み信号
WEU用の信号線を介してWEU端子56に、下位側書
込み信号WEL用の信号線を介してWEL端子57に、
読出し信号RE用の信号線を介してRE端子58にそれ
ぞれ接続されている。
The shared memory 80 is provided outside the microprocessor 70 and the shared memory 80, is accessed exclusively by the microprocessor 70 and the shared memory 80, and is composed of, for example, a static RAM with a maximum capacity of 64 kW x 32 bits. . This shared memory 80 is connected to the DU bus terminal 53 via a data line for the upper 16 bits of data DU, to the DL bus terminal 54 via a data line for the lower 16 bits of data DL, and via a 16-bit address line. to the A bus terminal 55, to the WEU terminal 56 via the signal line for the upper write signal WEU, to the WEL terminal 57 via the signal line for the lower write signal WEL,
They are each connected to an RE terminal 58 via a signal line for read signal RE.

次に、動作を説明する。Next, the operation will be explained.

切換回路68に入力されている選択信号SELがローレ
ベルとなると、双方向バッファ68が機能(エネーブル
)する。最初にマイクロプロセッサ本体51が休止して
いる時、ホストプロセッサ70は、例えばデータとプロ
グラム(またはコマンド列)を共有メモリ80に転送(
データ転送)する。このホストプロセッサ70によるデ
ータ転送は、例えば以下のようにして行われる。
When the selection signal SEL input to the switching circuit 68 becomes low level, the bidirectional buffer 68 functions (enables). When the microprocessor main body 51 is initially at rest, the host processor 70 transfers, for example, data and programs (or command sequences) to the shared memory 80 (
data transfer). This data transfer by the host processor 70 is performed, for example, as follows.

ホストプロセッサ70は、転送先のアドレスを示すアド
レス信号をアドレスレジスタ63を介して共有メモリ8
0側に出力すると共に、先ず、データ上位16ビツトの
書込みデータ信号を出力す。
The host processor 70 sends an address signal indicating the transfer destination address to the shared memory 8 via the address register 63.
At the same time as outputting to the 0 side, first, a write data signal of the upper 16 bits of data is outputted.

る。この書込みデータ信号は、16ビツトのデータ線を
介しHバス端子52を通ってマイクロプロセッサ50に
入り、双方向バッファ61及び62を経由してそれぞれ
DLババス子54及びDUババス子53を介して共有メ
モリ80側に出力される。この時、信号発生回路67に
よって上位側書込み信号WEUが発生し、その上位側書
込み信号WEUがWEU端子56を介して共有メモリ8
0に出力されて、共有メモリ80では、DU端子53か
らのデータ上位16ビツトの書込みデータ信号がアドレ
ス信号で指定されたアドレスの上位16ビ71・に書込
まれる。
Ru. This write data signal enters the microprocessor 50 through the H bus terminal 52 via a 16-bit data line, passes through bidirectional buffers 61 and 62, and is shared via the DL bus terminal 54 and the DU bus terminal 53, respectively. It is output to the memory 80 side. At this time, the upper side write signal WEU is generated by the signal generation circuit 67, and the upper side write signal WEU is sent to the shared memory 8 via the WEU terminal 56.
0, and in the shared memory 80, the write data signal of the upper 16 bits of data from the DU terminal 53 is written to the upper 16 bits 71 of the address specified by the address signal.

次に、ホストプロセッサ70は、データ下位16ビツト
の書込みデータ信号を出力する。この書込みデータ信号
は、16ビツトのデータ線を介しHバス端子52を通っ
てマイクロプロセッサ50に入り、双方向バッファ61
及び62を経由してそれぞれDL端子54及びDUババ
ス子53を介して共有メモリ80側に出力される。この
時、信号発生回路67によって下位側書込み信号WEL
が発生し、その下位側書込み信号WELがWEL端子5
7を介して共有メモリ80に出力されて、共有メモリ8
0では、DL端子54からのデータ下位16ビツトの書
込みデータ信号がアドレス信号で指定されたアドレスの
下位16ビツトに書込まれる。
Next, the host processor 70 outputs a write data signal for the lower 16 bits of data. This write data signal enters the microprocessor 50 through the H bus terminal 52 via a 16-bit data line, and enters the bidirectional buffer 61.
and 62, and are output to the shared memory 80 side via the DL terminal 54 and the DU Babasu child 53, respectively. At this time, the signal generation circuit 67 generates the lower side write signal WEL.
is generated, and the lower side write signal WEL is sent to WEL terminal 5.
7 to the shared memory 80, and the shared memory 8
0, the write data signal of the lower 16 bits of data from the DL terminal 54 is written to the lower 16 bits of the address specified by the address signal.

以上のようにして、ホストプロセッサ70からのデータ
及びプログラムなどが共有メモリ80に転送された後、
例えばマイクロプロセッサ本体51が動作を開始する。
After the data, programs, etc. from the host processor 70 are transferred to the shared memory 80 as described above,
For example, the microprocessor main body 51 starts operating.

マイクロプロセッサ本体51は、アドレスレジスタ66
及びAバス端子ラヲを介してアドレス信号によるアドレ
スの指定を行い、双方向バッファ64及びDU端子33
を介してデータ上位16ビツトのデータ信号の授受を、
また双方向バッファ65及びDL端子54を介してデー
タ下位16ビツトのデータ信号の授受をそれぞれ行い、
ホストプロセッサ70から共有メモリ80に転送された
プログラム及びデータ等に基づきデータ処理を行って、
その処理結果を共有メモリ80に格納する。
The microprocessor main body 51 has an address register 66
The address is specified by an address signal via the A bus terminal Raw and the bidirectional buffer 64 and the DU terminal 33.
The data signal of the upper 16 bits of data is sent and received via
Also, data signals of the lower 16 bits of data are exchanged via the bidirectional buffer 65 and the DL terminal 54, respectively.
Performs data processing based on the program, data, etc. transferred from the host processor 70 to the shared memory 80,
The processing results are stored in the shared memory 80.

マイクロプロセッサ本体51がデータ処理を終了し、処
理結果を共有メモリ80に格納すると、ホス1−プロセ
ッサ70は、例えば以下のようにしてその処理結果の読
出しを行う。
When the microprocessor body 51 finishes data processing and stores the processing results in the shared memory 80, the host 1-processor 70 reads the processing results, for example, as follows.

ホストプロセッサ70は、読出す先のアドレスを示すア
ドレス信号をアドレスバッファ63を介して共有メモリ
80側に出力すると共に、信号発生回n67によって読
出し信号REを発生する。
The host processor 70 outputs an address signal indicating the address to be read to the shared memory 80 side via the address buffer 63, and also generates a read signal RE by the signal generation circuit n67.

この読出し信号REはRE端子58を介して共有メモリ
80に出力される。これにより、共有メモリ80のデー
タ上位16ビツi−の読出しデータ信号がDUババス子
53を介して双方向バッファ62側に出力され、データ
下位16ビツトの読出しデータ信号がDLババス子54
を介して双方向バッファ61制に出力される。この時、
例えば双方向バッファ62はHバス端子52側へ1工号
を通過させ、双方向バッファ61は信号を通過させない
ようにそれぞれ制御されて、共有メモリ80からのデー
タ上位16ビツトの読出しデータ信号のみがHバス端子
52を通り、16ビツトのデータ線を介してホストプロ
セッサ70によって取り込まれる。
This read signal RE is output to the shared memory 80 via the RE terminal 58. As a result, the read data signal of the upper 16 data bits i- of the shared memory 80 is output to the bidirectional buffer 62 side via the DU bus terminal 53, and the read data signal of the lower 16 data bits is output to the DL bus terminal 54.
The signal is output to the bidirectional buffer 61 system via the . At this time,
For example, the bidirectional buffer 62 is controlled to pass one code to the H bus terminal 52 side, and the bidirectional buffer 61 is controlled so as not to pass a signal, so that only the read data signal of the upper 16 bits of data from the shared memory 80 is transmitted. It passes through the H bus terminal 52 and is taken in by the host processor 70 via a 16-bit data line.

ホストプロセッサ70が共有メモリ80のデータ上位1
6ビツトの読出しデータ信号を取り込んだ後、双方向バ
ッファ61がHバス端子52側に信号を通過させ、双方
向バッファ61が信号を通過させないように制御されて
、共有メモリ80からのデータ下位16ビツトの読出し
データ信号のみがHバス端子52を通り、16ビツトの
データ線を介してホストプロセッサ70によって取り込
まれる。このようにして、ホストプロセッサ70は、マ
イクロプロセッサ50を経由して共有メモリ80内の処
理結果を読出す。
The host processor 70 stores the top 1 data in the shared memory 80.
After taking in the 6-bit read data signal, the bidirectional buffer 61 passes the signal to the H bus terminal 52 side, and the bidirectional buffer 61 is controlled so as not to pass the signal, and the lower 16 data from the shared memory 80 are transferred. Only the bit read data signal passes through the H bus terminal 52 and is taken in by the host processor 70 via the 16-bit data line. In this way, the host processor 70 reads the processing results in the shared memory 80 via the microprocessor 50.

この第1の実施例では、次のような利点を有している。This first embodiment has the following advantages.

本実施例では、マイクロプロセッサ50に、外部出力端
子60、第1、第2の双方向バッファ61.62及び切
換回路68を設け、選択信号SELの設定によって切換
回路68が切換信号CHを双方向バッファ62へ出力し
て双方向バッファ62を機能させるようにし、またマイ
クロプロセッサ50のHバス端子52に、ホストプロセ
ッサ70からのデータ線として16ビツト分が接続され
るようにした。このような本実施例のマイクロプロセッ
サシステムでは、ホストプロセッサ70を16ビツト幅
のプロセッサで構成した場合、そのホストプロセッサ7
0で、32ビツト幅の共有メモリ80に対して16ビツ
ト単位でアクセスできる。
In this embodiment, the microprocessor 50 is provided with an external output terminal 60, first and second bidirectional buffers 61 and 62, and a switching circuit 68, and the switching circuit 68 converts the switching signal CH into two directions according to the setting of the selection signal SEL. The data is output to the buffer 62 to make the bidirectional buffer 62 function, and 16 bits are connected to the H bus terminal 52 of the microprocessor 50 as a data line from the host processor 70. In the microprocessor system of this embodiment, when the host processor 70 is configured with a 16-bit wide processor, the host processor 7
0, the 32-bit wide shared memory 80 can be accessed in 16-bit units.

従って、本実施例のマイクロプロセッサシステムでは、
マイクロプロセッサ50の端子数を従来に比べて削減で
きて端子の利用効率を向上させることができ、マイクロ
プロセッサ50の小形化を図れ、端子の密接度に起因す
る外部配線パターンの密接化・複雑化及びレイアウトの
困難化等を解決でき、システム全体の信頼性を向上させ
ることができる。
Therefore, in the microprocessor system of this embodiment,
The number of terminals on the microprocessor 50 can be reduced compared to the conventional one, improving the efficiency of terminal usage, making the microprocessor 50 more compact, and making the external wiring pattern closer and more complex due to the closeness of the terminals. This also makes it possible to solve problems such as difficulty in layout and improve the reliability of the entire system.

第3図は、本発明の第2の実施例を示すマイクロプロセ
ッサシステムの概略の構成ブロック図である。図中、第
1図と共通の要素には共通の符号が付されている。
FIG. 3 is a schematic block diagram of a microprocessor system showing a second embodiment of the present invention. In the figure, common elements with those in FIG. 1 are given the same reference numerals.

このマイクロプロセッサシステムは、第1図のマイクロ
プロセッサシステムと同様にマイクロプロセッサ50及
び共有メモリ80を有している。
This microprocessor system includes a microprocessor 50 and a shared memory 80, similar to the microprocessor system of FIG.

ここで、共有メモリ80は、データ上位16ビツトDU
用のデータ線を介してDUババス子53に、データ下位
16ビツトDL用のデータ線を介してDLババス子54
に、16ビツトのアドレス線を介してAバス端子55に
、書込み信号線を介してWEL端子ラフに、読出し信号
線を介してRE端子58にそれぞれ接続されている。ま
た、マイクロプロセラサラ0の外部には、ホストプロセ
ッサ90及び第3の双方向バッファ100が設けられて
いる。
Here, the shared memory 80 stores the upper 16 bits of data DU
The data line for the lower 16 bits of data is connected to the DU bus child 53 via the data line for the DL, and the DL bus child 54 is connected to the DL bus child 54 through the data line for the lower 16 bits of data DL.
In addition, it is connected to the A bus terminal 55 via a 16-bit address line, to the WEL terminal rough via a write signal line, and to the RE terminal 58 via a read signal line. Furthermore, a host processor 90 and a third bidirectional buffer 100 are provided outside the microprocessor processor 0.

ホストプロセッサ90は、第1図のマイクロプロセッサ
80とほぼ同様の機能を有するが、例えば32ビツト幅
のプロセッサで構成されており、そのデータ下位16ビ
ツトDLが16ビツI−のデータ線を介してマイクロプ
ロセッサ50のHバス端子52に接続されている。
The host processor 90 has almost the same functions as the microprocessor 80 in FIG. It is connected to the H bus terminal 52 of the microprocessor 50.

第3の双方向バッファ100は、切換信号CHの供給に
より動作して例えば信号を選択的に通過させるなどの機
能を有し、外部出力端子60に信号線を介して接続され
ると共に、ホストプロセッサ90のデータ上位16ビツ
トDUと共有メモリ80のデータ上位16ビツトDU側
のデータ線にそれぞれ16ビツトのデータ線を介して接
続されている。
The third bidirectional buffer 100 is operated by the supply of the switching signal CH, and has a function of selectively passing a signal, for example, and is connected to the external output terminal 60 via a signal line, and is connected to the host processor. The upper 16 bits of data DU of 90 and the data line of the upper 16 bits of data DU of shared memory 80 are connected to each other via 16 bit data lines.

なお、第3図のマイクロプロセッサシステムにおいて、
マイクロプロセッサ50は、切換回路68に供給される
選択信号SELがハイレベル(High)に固定されて
いる。また、WEL端子57を共有メモリ80の書込み
信号線に接続しており、WEU端子56は、不要となり
共有メモリ80へは接続されていない。
In addition, in the microprocessor system shown in Fig. 3,
In the microprocessor 50, the selection signal SEL supplied to the switching circuit 68 is fixed at a high level (High). Further, the WEL terminal 57 is connected to the write signal line of the shared memory 80, and the WEU terminal 56 is unnecessary and is not connected to the shared memory 80.

次に、動作を説明する。Next, the operation will be explained.

切換回路68へ入力される選択信号SELがハイレベル
なので、切換回路68は切換信号CHを外部出力端子6
0を介して双方向バッファ100に供給し、双方向バッ
ファ100が機能(エネーブル)し、双方向バッファ6
2は機能停止(ディスエネーブル)した状態となってい
る。
Since the selection signal SEL input to the switching circuit 68 is at a high level, the switching circuit 68 outputs the switching signal CH to the external output terminal 6.
0 to the bidirectional buffer 100, the bidirectional buffer 100 functions (enables), and the bidirectional buffer 6
2 is in a disabled state.

最初にマイクロプロセッサ本体51が休止している時、
ホストプロセッサ90は、例えばデータとプログラム(
またはコマンド列)を共有メモリ80に転送(データ転
送)する。このホストプロセッサ90によるデータ転送
は、例えば以下のようにして行われる。
When the microprocessor main body 51 is at rest for the first time,
The host processor 90, for example, stores data and programs (
or a command string) to the shared memory 80 (data transfer). This data transfer by the host processor 90 is performed, for example, as follows.

ホストプロセッサ90により、転送先のアドレスを示す
アドレス信号がアドレスバッファ63を介して共有メモ
リ80側に出力されると共に、データ下位16ビツトの
書込みデータ信号がHバス端子52を介してマイクロプ
ロセッサ50に入り、双方向バッファ61を通って、D
Lババス子54を介して共有メモリ80のデータ下位1
6ビツトDLに出力される。これと共に、ホストプロセ
ッサ90からのデータ上位16ビツI−の書込みデータ
信号が、マイクロプロセッサ50を通らずに、双方向バ
ッファ100を経由して、共有メモリ80のデータ上位
16ビツトDUに出力される。この後、信号発生回路6
7が書込み信号WELを発生し、その書込み信号WEL
がWEL端子57を介して共有メモリ80に入力される
と、ホストプロセッサ70からの書込みデータ信号がそ
れぞれ共有メモリ80に取り込まれる。
The host processor 90 outputs an address signal indicating the transfer destination address to the shared memory 80 side via the address buffer 63, and a write data signal of the lower 16 bits of data is output to the microprocessor 50 via the H bus terminal 52. and passes through the bidirectional buffer 61 to D.
The lower 1 data of the shared memory 80 via the L Baba child 54
Output to 6-bit DL. At the same time, the write data signal of the upper 16 bits of data I- from the host processor 90 is output to the upper 16 bits of data DU of the shared memory 80 via the bidirectional buffer 100 without passing through the microprocessor 50. . After this, the signal generation circuit 6
7 generates a write signal WEL, and the write signal WEL
When input to the shared memory 80 via the WEL terminal 57, each write data signal from the host processor 70 is taken into the shared memory 80.

ホストプロセッサ90から共有メモリ80へのデータ転
送が終了すると、マイクロプロセッサ本体5−Lによる
データ処理が第1の実施例の場合と同様にして行われ、
その処理結果が共有メモリ80に格納される。
When the data transfer from the host processor 90 to the shared memory 80 is completed, data processing by the microprocessor main body 5-L is performed in the same manner as in the first embodiment,
The processing results are stored in the shared memory 80.

マイクロプロセッサ本体51がデータ処理を終えると、
ホストプロセッサ90は共有メモリ80内の処理結果の
読出しを例えば次のようにして行う。
When the microprocessor body 51 finishes processing the data,
The host processor 90 reads the processing results in the shared memory 80, for example, as follows.

ホストプロセッサ90は、先ず読出し先を示すアドレス
信号をアドレスバッファ63を介して共有メモリ80側
へ出力し、信号発生回路67により読出し信号REをR
E端子58を介して共有メモリ80側に出力する。する
と、アドレス信号に応じて、データ下位16ビツトの読
出しデータ信号がマイクロプロセッサ50の双方向バッ
ファ61を経由してHバス端子う2を介してホストプロ
セッサ90側に入力され、またデータ上位16ビツトの
読出しデータ信号が双方向バッファ100を経由してホ
ストプロセッサ90側に入力されて、ホストプロセッサ
90がこれらの読出し信号を取り込み、共有メモリ80
からの処理結果の読出しが行われる。
The host processor 90 first outputs an address signal indicating the read destination to the shared memory 80 side via the address buffer 63, and the signal generating circuit 67 outputs the read signal RE to the shared memory 80 side.
It is output to the shared memory 80 side via the E terminal 58. Then, in response to the address signal, the read data signal of the lower 16 bits of data is inputted to the host processor 90 side via the bidirectional buffer 61 of the microprocessor 50 via the H bus terminal 2, and the read data signal of the upper 16 bits of data is inputted to the host processor 90 side via the H bus terminal 2. read data signals are input to the host processor 90 side via the bidirectional buffer 100, and the host processor 90 takes in these read signals and stores them in the shared memory 80.
The processing results are read from the .

この第2の実施例では、次のような利点を有している。This second embodiment has the following advantages.

本実施例て′は、マイクロプロセラサラ0に外部出力端
子60、双方向バッファ61.62及び切換回路68を
設け、かつその外部出力端子60に双方向バッファ10
0を接続した。そのため、ホストプロセッサ90を32
ピツ)へのプロセッサで構成した場合に、マイクロプロ
セッサ50の構成を変更することなく、例えばHバス端
子52がデータ線について16ビツトだけ許容する構成
のままで、システムを構成でき、ホストプロセッサ90
は32ビット単位で共有メモリ80にアクセスできる。
In this embodiment, the microprocessor processor 0 is provided with an external output terminal 60, bidirectional buffers 61 and 62, and a switching circuit 68, and the external output terminal 60 is provided with a bidirectional buffer 10.
0 was connected. Therefore, the host processor 90 is
When configured with a processor for the host processor 90, the system can be configured without changing the configuration of the microprocessor 50, for example, with the H bus terminal 52 allowing only 16 bits for the data line.
can access the shared memory 80 in units of 32 bits.

さらには、双方向バッファ100はマイクロプロッサ5
0の外部に設けられ、切換信号CHのみが与えられて動
作する構成にしたので、第1の実施例と同様にマイクロ
プロセッサ50の小形化を図れ、配線パターンの密接度
・複雑度を低減でき、また配線の引き回しなどに起因す
る配線レイアウトの困難化を除去できて、システム全体
の信頼性を向上させることができる。
Furthermore, the bidirectional buffer 100 is a microprocessor 5.
Since the microprocessor 50 is provided externally to the microprocessor 0 and is operated by receiving only the switching signal CH, the microprocessor 50 can be made smaller as in the first embodiment, and the density and complexity of the wiring pattern can be reduced. Furthermore, it is possible to eliminate difficulties in wiring layout due to wiring routing, etc., and improve the reliability of the entire system.

本実施例からも分かるように、マイクロプロセッサ50
を用いたマイクロプロセッサシステムでは、端子の利用
効率を向上さぜつつ、ホストプロセッサの互換性が得ら
れ、かつシステムの高信頼性を達成できる。
As can be seen from this embodiment, the microprocessor 50
A microprocessor system using this system improves the efficiency of terminal usage, provides compatibility with the host processor, and achieves high system reliability.

なお、本発明は、図示の実施例に限定されず、種々の変
形が可能である。その変形例としては、例えば次のよう
なものが挙げられる。
Note that the present invention is not limited to the illustrated embodiment, and various modifications are possible. Examples of such modifications include the following.

(I>第1及び第2の実施例のマイクロプロセッサシス
テムは、その構成等の種々の変形が可能である。
(I> The microprocessor systems of the first and second embodiments can be modified in various ways, including their configurations.

例えば、マイクロプロセッサ50は、他の回路構成を付
加したりしてもよいし、ホストプロセッサ70.90は
バスドライバ等として機能をするように設定してもよい
し、共有メモリ80は、例えばダイナミックRAMなど
で構成するようにしてもよい。
For example, the microprocessor 50 may have other circuit configurations added to it, the host processor 70.90 may be set to function as a bus driver, etc., and the shared memory 80 may have, for example, a dynamic It may also be configured with RAM or the like.

また、上記実施例では、32ビツトのシステムについて
説明したが、本発明のマイクロプロセッサシステムは、
任意ビット(長)幅W(Wは正の整数)のシステムに対
して適用が可能である。
Further, in the above embodiment, a 32-bit system was explained, but the microprocessor system of the present invention
It is applicable to systems with arbitrary bit (long) width W (W is a positive integer).

(II)上記実施例のマイクロプロセッサシステムて゛
は、それぞれ1つずつのマイクロプロセッサ50、ホス
トプロセッサ70(または90)、共有メモリ80から
構成される場合を例示したが、例えば共有メモリ40が
マイクロプロセッサ50以外のマイクロプロセッサから
アクセスされたり、あるいはホストプロセッサ70(ま
たは90)が複数のサブシステムに対してアクセスした
りするなどの、複合的なシステム構成であってもよい。
(II) The microprocessor system of the above embodiment is exemplified as being composed of one microprocessor 50, one host processor 70 (or 90), and one shared memory 80. The host processor 70 (or 90) may have a complex system configuration, such as access from other microprocessors or host processor 70 (or 90) accessing multiple subsystems.

(III)上記実施例では、典型的な動作を例示したが
、マイクロプロセッサシステムの構成の変更等に伴って
、動作例の変更も適宜可能である。
(III) In the above embodiment, a typical operation was illustrated, but the operation example can be changed as appropriate as the configuration of the microprocessor system is changed.

(発明の効果) 以上詳細に説明したように、本発明によれば、前記マイ
クロプロセッサに第1の双方向バッファ、第2の双方向
バッファ、外部出力端子及び切換回路を設け、その外部
出力端子に第3の双方向バッファを接続するだけで、前
記ホストプロセッサが前記2Wビット幅及びWビット幅
のいずれのプロセッサで構成された場合に対しても結合
が可能となり、前記ホストプロセッサの互換性が得られ
る。
(Effects of the Invention) As described in detail above, according to the present invention, the microprocessor is provided with a first bidirectional buffer, a second bidirectional buffer, an external output terminal, and a switching circuit, and the external output terminal By simply connecting a third bidirectional buffer to the host processor, it is possible to connect the host processor to either the 2W bit width processor or the W bit width processor, thereby increasing the compatibility of the host processor. can get.

さらには、前記マイクロプロセッサが端子数の少ないよ
りコンパクトなものとなり、配線等に起因してシステム
全体の信頼性の向上が可能となる。
Furthermore, the microprocessor becomes more compact with fewer terminals, and the reliability of the entire system can be improved due to wiring and the like.

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

第1図は本発明の第1の実施例を示すマイクロプロセッ
サシステムの概略の構成ブロック図、第2図は従来のマ
イクロプロセッサシステムの一構成例を示す概略の構成
ブロック図、第3図は本発明の第2の実施例を示すマイ
クロプロセッサシステムの概略の構成図である。 50・・・マイクロプロセッサ、51・・・マイクロプ
ロセッサ本体、60・・・外部出力端子、61・・・第
1の双方向バッファ、62・・・第2の双方向バッファ
、68・・・切換回路、70.90・・・ホストプロセ
ッサ、80・・・共有メモリ、100・・・第3の双方
向バッファ、CH・・・切換信号。
FIG. 1 is a schematic block diagram of a microprocessor system according to a first embodiment of the present invention, FIG. 2 is a schematic block diagram of a conventional microprocessor system, and FIG. 3 is a block diagram of a conventional microprocessor system. FIG. 2 is a schematic configuration diagram of a microprocessor system showing a second embodiment of the invention. 50...Microprocessor, 51...Microprocessor main body, 60...External output terminal, 61...First bidirectional buffer, 62...Second bidirectional buffer, 68...Switching Circuit, 70.90...Host processor, 80...Shared memory, 100...Third bidirectional buffer, CH...Switching signal.

Claims (1)

【特許請求の範囲】 1、2Wビット幅(Wは正の整数)を有するマイクロプ
ロセッサ本体を内蔵したマイクロプロセッサと、所定の
Wビットを含むビット幅を有するホストプロセッサと、
前記2Wビット幅を有し、前記マイクロプロセッサ本体
及びホストプロセッサにより排他的にアクセスされる共
有メモリとを、備えたマイクロプロセッサシステムにお
いて、前記ホストプロセッサの所定のWビットを前記共
有メモリの下位または上位Wビットに結ぶ第1の双方向
バッファと、 切換信号に基づき前記ホストプロセッサの所定のWビッ
トを前記共有メモリの上位または下位Wビットに結ぶ第
2の双方向バッファと、 前記第2の双方向バッファと相補的に切換信号が供給さ
れる外部出力端子と、 前記ホストプロセッサのビット幅に応じて前記切換信号
を前記第2の双方向バッファまたは外部出力端子のいず
れか一方へ出力する切換回路とを、前記マイクロプロセ
ッサに設けたことを特徴とするマイクロプロセッサシス
テム。 2、請求項1記載のマイクロプロセッサシステムにおい
て、 前記ホストプロセッサは、前記2Wビット幅を有するプ
ロセッサで構成し、 かつ、前記外部出力端子を介して入力される切換信号に
基づき、前記ホストプロセッサの所定のWビット以外の
Wビットを前記共有メモリの上位または下位Wビットに
結ぶ第3の双方向バッファを、 前記マイクロプロセッサの外部に設けたマイクロプロセ
ッサシステム。
[Scope of Claims] A microprocessor with a built-in microprocessor main body having a bit width of 1 or 2 W (W is a positive integer), a host processor having a bit width including a predetermined W bit,
In a microprocessor system comprising a shared memory having a 2W bit width and accessed exclusively by the microprocessor main body and a host processor, a predetermined W bit of the host processor is set to a lower or upper part of the shared memory. a first bidirectional buffer that connects to the W bit; a second bidirectional buffer that connects a predetermined W bit of the host processor to the upper or lower W bit of the shared memory based on a switching signal; an external output terminal to which a switching signal is supplied complementary to the buffer; and a switching circuit that outputs the switching signal to either the second bidirectional buffer or the external output terminal depending on the bit width of the host processor. A microprocessor system, characterized in that the microprocessor is provided with: 2. The microprocessor system according to claim 1, wherein the host processor is configured with a processor having the 2W bit width, and the predetermined switching signal of the host processor is determined based on a switching signal input via the external output terminal. A microprocessor system comprising: a third bidirectional buffer that connects W bits other than the W bits of the shared memory to upper or lower W bits of the shared memory, provided outside the microprocessor.
JP29924290A 1990-11-05 1990-11-05 Microprocessor system Pending JPH04170661A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29924290A JPH04170661A (en) 1990-11-05 1990-11-05 Microprocessor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29924290A JPH04170661A (en) 1990-11-05 1990-11-05 Microprocessor system

Publications (1)

Publication Number Publication Date
JPH04170661A true JPH04170661A (en) 1992-06-18

Family

ID=17869992

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29924290A Pending JPH04170661A (en) 1990-11-05 1990-11-05 Microprocessor system

Country Status (1)

Country Link
JP (1) JPH04170661A (en)

Similar Documents

Publication Publication Date Title
JPS61156358A (en) Bus converter
JP2995752B2 (en) Bus architecture conversion circuit
JPH04170661A (en) Microprocessor system
JPH0365745A (en) Ic card
JPH06332796A (en) Circuit board controller
JPH07226079A (en) Semiconductor memory
JP3164848B2 (en) Memory access circuit
JP2975638B2 (en) Semiconductor integrated circuit
JP3353877B2 (en) Memory device
JPS63129438A (en) Memory controller
JPH09326813A (en) Communication terminal equipment
KR950006547Y1 (en) Process double time common memory access circuit
JPH0462653A (en) Electronic computer and extension device module
JPH10228416A (en) Data processor
JP2563807B2 (en) Direct memory access control circuit
JPS63155215A (en) Information processor
JPH0561812A (en) Information processing system
JPH1031647A (en) Cpu board having data bus width conversion control circuit
JPH046029B2 (en)
JPH01269132A (en) Microcomputer
JPS6012657B2 (en) Storage device
KR19990011185A (en) Data buffer memory expansion circuit of I / O board
JPH0552979B2 (en)
JPS62192996A (en) Read access system for memory
JPH03121545A (en) Ic memory card