JPH05334238A - Bus size conversion circuit - Google Patents

Bus size conversion circuit

Info

Publication number
JPH05334238A
JPH05334238A JP14037192A JP14037192A JPH05334238A JP H05334238 A JPH05334238 A JP H05334238A JP 14037192 A JP14037192 A JP 14037192A JP 14037192 A JP14037192 A JP 14037192A JP H05334238 A JPH05334238 A JP H05334238A
Authority
JP
Japan
Prior art keywords
data
bus size
bus
mpu
control 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
JP14037192A
Other languages
Japanese (ja)
Inventor
Yutaka Asai
豊 浅井
Yukio Tsujino
幸生 辻野
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP14037192A priority Critical patent/JPH05334238A/en
Publication of JPH05334238A publication Critical patent/JPH05334238A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To provide a bus size conversion circuit in which a soft corresponding to a hard whose bus size is different from the soft can be allowed to have an interchangeability by providing a peripheral circuit in an MPU which is not equipped with a dynamic bus-sizing function. CONSTITUTION:This circuit is equipped with a data latch buffer 11 which latches the first small bus size data 16 K times (K is an integer), and converts the data into the second normal bus size data 15, and a control part 13 which prepares a memory control signal for controlling the latch operation. The control part 13 prepares a buffer control signal 18 and a memory control signal 19 K times in response to an execution cycle start signal 17 outputted by an MPU 10. The first small bus size data 16 are latched K times, and converted into the second normal bus size data 15 by the execution cycle start signal 17.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、マイクロコンピュータ
の周辺回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microcomputer peripheral circuit.

【0002】[0002]

【従来の技術】市販されているMPU(Micro Processor
Unit)には、ダイナミックバスサイジング機能を有する
ものと有さないものとが在る。例えば、モトローラ社の
MC68030には有り、MC68040には無い。
2. Description of the Related Art A commercially available MPU (Micro Processor)
Unit) includes those with and without the dynamic bus sizing function. For example, the MC68030 from Motorola has it, but the MC68040 does not.

【0003】ダイナミックバスサイジング機能がないM
PUにおいては、規定外のサイズのデータバスに対して
アクセスの実行を行うことができない。実行するには、
デバイスのデータバス幅に合わせたビットアクセスにソ
ースソフトを変更する必要があった。
M without dynamic bus sizing function
The PU cannot execute access to a data bus having an unspecified size. To run
It was necessary to change the source software for bit access according to the data bus width of the device.

【0004】[0004]

【発明が解決しようとする課題】上述のように従来、バ
スサイズの異なるデータへのアクセスが禁止されている
MPUにおいては、バスサイズの異なるMPUに対応し
たソフトウェアと互換性を有さないためこれらのソフト
を実行するには、ソースソフトを変更しなければならな
いという繁雑さがあった。
As described above, the MPU in which access to data having different bus sizes is conventionally prohibited is not compatible with software compatible with MPUs having different bus sizes. The source software had to be changed to run this software.

【0005】本発明の目的は、簡便なMPU周辺回路
で、より小さなバスサイズデータを規定の大きさのバス
サイズデータへ変換し、ソースソフトの変更を不要とす
るバスサイズ変換回路を提供することにある。
An object of the present invention is to provide a bus size conversion circuit which converts a smaller bus size data into a bus size data of a prescribed size by a simple MPU peripheral circuit and does not need to change the source software. It is in.

【0006】[0006]

【課題を解決するための手段】本発明は、第1のバスサ
イズのデータを第1のバスサイズのK倍(Kは整数)の
バスサイズを有する第2のデータに変換するバスサイズ
変換回路であって、MPUが出力する実行サイクル開始
信号に応答してメモリコントロール信号をK回生成する
制御部と、メモリコントロール信号に応答して第1のデ
ータをK回記憶して第2のデータに変換するバッファと
を有することを特徴とする。
According to the present invention, there is provided a bus size conversion circuit for converting data of a first bus size into second data having a bus size K times (K is an integer) the first bus size. And a control unit that generates the memory control signal K times in response to the execution cycle start signal output from the MPU, and stores the first data K times in response to the memory control signal and converts the first data into second data. And a buffer for conversion.

【0007】[0007]

【作用】MPUが出力する1つの実行サイクル信号に応
答して、制御部がK回メモリコントロール信号を生成し
て出力する。このメモリコントロール信号に応答してサ
イズの小さな第1のバスサイズのデータをK回ラッチす
ることにより、規定サイズの第2のデータが形成され
る。
In response to one execution cycle signal output from the MPU, the control unit generates and outputs the memory control signal K times. In response to the memory control signal, the data of the small first bus size is latched K times to form the second data of the specified size.

【0008】[0008]

【実施例】以下に本発明の実施例を図面を参照して詳細
に説明する。図1は、本発明のダイナミックバスサイジ
ング回路の実施例であり、16ビットメモリに対するダ
イナミックバスサイジングの機能ブロック図を示してい
る。なお、ダイナミックバスサイジング機能とは、8ビ
ットまたは16ビットのデータバスを持つデバイスに対
しMPUから32ビットアクセスをした場合、実行サイ
クルを4回または2回に分割して行う機能をいう。
Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 1 shows an embodiment of the dynamic bus sizing circuit of the present invention, and shows a functional block diagram of the dynamic bus sizing for a 16-bit memory. The dynamic bus sizing function refers to a function of performing an execution cycle in four or two times when a 32-bit access is made from the MPU to a device having an 8-bit or 16-bit data bus.

【0009】ダイナミックバスサイジング回路は、MC
68040MPU10の他に、データラッチバッファ1
1、I/O制御用メモリ12および制御部13とにより
構成されている。MC68040MPU10のデータバ
ス15は、データラッチバッファ11の出力端子と、デ
ータラッチバッファ11の入力端子は、I/O制御用メ
モリ12の出力端子と接続16される。MPU10の制
御信号17は制御部13の入力端子へ、また、制御部1
3を経た出力信号のうちバッファコントロール信号18
がデータラッチバッファ11へ、メモリコントロール信
号19がI/O制御用メモリ12へ接続される。
The dynamic bus sizing circuit is an MC
68040MPU10, data latch buffer 1
1, an I / O control memory 12 and a control unit 13. The data bus 15 of the MC68040MPU 10 is connected 16 to the output terminal of the data latch buffer 11 and the input terminal of the data latch buffer 11 to the output terminal of the I / O control memory 12. The control signal 17 of the MPU 10 is sent to the input terminal of the control unit 13, and the control unit 1
The buffer control signal 18 of the output signals that have passed 3
Is connected to the data latch buffer 11, and the memory control signal 19 is connected to the I / O control memory 12.

【0010】データラッチバッファ11はI/O制御用
メモリ12から出力される16ビット/データを2デー
タ毎に保持し、32ビット/データとする。I/O制御
用メモリ12は、MPU10のアクセスとのタイミング
を取るために設けられている。制御部13は、MPU1
0の制御信号17に同期して、32ビット/データにデ
ータを編成するためのコントロール信号を生成する部で
ある。制御部13が生成するコントロール信号の形態は
図2に示されている。
The data latch buffer 11 holds 16 bits / data output from the I / O control memory 12 for every 2 data, and makes 32 bits / data. The I / O control memory 12 is provided for timing with the access of the MPU 10. The control unit 13 uses the MPU 1
This is a unit for generating a control signal for organizing data into 32 bits / data in synchronization with the control signal 17 of 0. The form of the control signal generated by the control unit 13 is shown in FIG.

【0011】図2のタイミングチャートは制御部13の
入力信号17および出力信号18、19の形態を表して
いる。同図の反転TS信号21は、MPU10がメモリ
12に対し出力するアクセス信号である。また、反転T
A信号22は、反転TS信号21に対する応答信号であ
る。制御部13はMPU10が出力する1の反転TS信
号21を受け、I/O制御用メモリ12に対しメモリコ
ントロール信号を2回出力し、反転TS信号21の発生
後I/O制御用メモリ12に2回アクセスを実行し、反
転TA信号22をMPU10へ出力する。I/O制御用
メモリ12は制御部13から2回のアクセスを受け、同
アクセスに応動し、16ビット/データを2個出力す
る。I/O制御用メモリ12から出力された2個の16
ビット/データは、データラッチバッファ11でラッチ
される。データラッチバッファ11でラッチされた2個
の16ビット/データは、1個の32ビット/データと
してMPU10によって読み込まれる。
The timing chart of FIG. 2 shows the forms of the input signal 17 and the output signals 18 and 19 of the control unit 13. The inverted TS signal 21 in the figure is an access signal output from the MPU 10 to the memory 12. Also, inversion T
The A signal 22 is a response signal to the inverted TS signal 21. The control unit 13 receives the 1 inverted TS signal 21 output from the MPU 10, outputs the memory control signal to the I / O control memory 12 twice, and outputs the inverted TS signal 21 to the I / O control memory 12 after the inverted TS signal 21 is generated. The access is executed twice and the inverted TA signal 22 is output to the MPU 10. The I / O control memory 12 receives two accesses from the control unit 13 and outputs two 16 bits / data in response to the two accesses. Two 16 output from the I / O control memory 12
The bit / data is latched by the data latch buffer 11. The two 16 bits / data latched by the data latch buffer 11 are read by the MPU 10 as one 32 bits / data.

【0012】以上の処理によって16ビットのデータバ
ス幅を持つデバイスに対してソフトウェアを変更するこ
となく、32ビットアクセスを行うことが可能となる。
8ビット/データのデータバス幅を持つデバイスに対し
ては、MPUの反転TS信号21に対し、I/O制御用
メモリへ4回アクセスを行うことにより上記と同様の結
果を得ることができる。
Through the above processing, 32-bit access can be performed to a device having a 16-bit data bus width without changing software.
For a device having a data bus width of 8 bits / data, the same result as above can be obtained by accessing the I / O control memory four times with respect to the inverted TS signal 21 of the MPU.

【0013】[0013]

【発明の効果】本発明のバスサイズ変換回路をMPUの
周辺回路として設けることにより、ダイナミックバスサ
イジング機能を持ったMPUと同等の機能が生じる。本
機能により、バスサイズの異なるMPUに対応したソフ
トウェア間に、互換性を持たせることができる。
By providing the bus size conversion circuit of the present invention as a peripheral circuit of the MPU, a function equivalent to that of the MPU having a dynamic bus sizing function is produced. With this function, software compatible with MPUs having different bus sizes can be made compatible with each other.

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

【図1】本発明のバスサイズ変換回路の回路構成を示す
機能ブロック図である。
FIG. 1 is a functional block diagram showing a circuit configuration of a bus size conversion circuit of the present invention.

【図2】図1の動作を表すタイムチャート図である。FIG. 2 is a time chart diagram showing the operation of FIG.

【符号の説明】[Explanation of symbols]

10 MPU 11 データラッチバッファ 12 I/O制御用メモリ 13 制御部 10 MPU 11 Data Latch Buffer 12 I / O Control Memory 13 Controller

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 第1のバスサイズのデータを前記第1の
バスサイズのK倍(Kは整数)のバスサイズを有する第
2のデータに変換するバスサイズ変換回路であって、M
PUが出力する実行サイクル開始信号に応答してメモリ
コントロール信号をK回生成する制御部と、前記メモリ
コントロール信号に応答して前記第1のデータを前記K
回記憶して第2のデータに変換するバッファとを有する
ことを特徴とするバスサイズ変換回路。
1. A bus size conversion circuit for converting data of a first bus size into second data having a bus size K times (K is an integer) the first bus size, wherein M is a bus size conversion circuit.
A control unit for generating a memory control signal K times in response to an execution cycle start signal output from the PU, and the first data for the K data in response to the memory control signal.
A bus size conversion circuit comprising: a buffer that stores the data twice and converts the data into second data.
JP14037192A 1992-06-01 1992-06-01 Bus size conversion circuit Pending JPH05334238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14037192A JPH05334238A (en) 1992-06-01 1992-06-01 Bus size conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14037192A JPH05334238A (en) 1992-06-01 1992-06-01 Bus size conversion circuit

Publications (1)

Publication Number Publication Date
JPH05334238A true JPH05334238A (en) 1993-12-17

Family

ID=15267274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14037192A Pending JPH05334238A (en) 1992-06-01 1992-06-01 Bus size conversion circuit

Country Status (1)

Country Link
JP (1) JPH05334238A (en)

Similar Documents

Publication Publication Date Title
JP2957177B2 (en) Micro computer
JP3289704B2 (en) Microcomputer
JPH02210685A (en) Dram controller
JPH05334238A (en) Bus size conversion circuit
KR970004088B1 (en) Digital signal processor for simultaneously processing left and right signals
JPH11259417A (en) Bus access system and bus access controller
JP2867449B2 (en) Microprocessor with address translation function
JPS5965356A (en) Single-chip microcomputer
JPH05120205A (en) Processor system with address conversion device for dma transfer and dma transfer method
JPH04141734A (en) Internal register access circuit
JPH01100650A (en) Information processor
JPH11143819A (en) Bus size circuit
JPH09114779A (en) Wait control system for information processor
JPH05181811A (en) Interruption control signal generator for multi-processor system
JPH04112251A (en) Microcomputer
JPS6214866B2 (en)
JPH0497457A (en) Cache controller
JPS61286956A (en) Data processor
JPS6368924A (en) System for controlling data processing of microprocessor
JPH02171812A (en) Operating speed increasing circuit for processor having no wait state function
JPH081631B2 (en) DMA controller
JPH0287254A (en) External memory access system
JPH0581445A (en) Microcomputer lsi
JPS59122041A (en) Polling system
JPH03276218A (en) Electronic circuit controller