JPH11119975A - Bit width converter - Google Patents

Bit width converter

Info

Publication number
JPH11119975A
JPH11119975A JP28840197A JP28840197A JPH11119975A JP H11119975 A JPH11119975 A JP H11119975A JP 28840197 A JP28840197 A JP 28840197A JP 28840197 A JP28840197 A JP 28840197A JP H11119975 A JPH11119975 A JP H11119975A
Authority
JP
Japan
Prior art keywords
bit
data
bit width
buffer
bits
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.)
Withdrawn
Application number
JP28840197A
Other languages
Japanese (ja)
Inventor
Kenji Yoshimura
憲嗣 善村
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP28840197A priority Critical patent/JPH11119975A/en
Publication of JPH11119975A publication Critical patent/JPH11119975A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve data transfer efficiency and to eliminate the waste of a storage area by arranging a read N-bit part and the M-bit part of a multiplexer output to the constitution of prescribed bit width data. SOLUTION: In an input circuit 10, N/M=32/1=32 pieces are gathered into one word of the internal bus width of 32 bits for data (m) composed of 1 bit of a data area 11 prior to data transfer to a bit width conversion buffer circuit 20, the data (n) composed of 32 bits are stored in a transfer area 12 with 32 words as one unit, and this one unit is sent out to the bit width conversion buffer circuit 20. For the data to be sent to an output circuit 30, (n) from an N part buffer memory 21 and (m) corresponding to (n) inside an M part buffer register 22 are selected in an M part multiplexer 25 by the designation of a read pointer 24 and they are arranged to (n)+(m)=L which is the constitution of prescribed 33-bit width data. That is, the 32 pieces of the prescribed 33-bit width data are turned into a single unit, the generation of a wasteful idle area is suppressed, and bit width conversion is performed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】複数語にわたるデータを所定
のビット幅データに変換する機能を備えたデータ転送バ
ッファ回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer buffer circuit having a function of converting data over a plurality of words into data having a predetermined bit width.

【0002】[0002]

【従来の技術】Nビット幅の内部バス112および格納
領域111で構成する転送元110において処理された
所定のLビット幅データを転送バッファ120を使用し
てビット幅変換をする従来の技術を図4を用いて説明す
る。
2. Description of the Related Art A conventional technique of converting predetermined L-bit width data processed at a transfer source 110 constituted by an N-bit width internal bus 112 and a storage area 111 using a transfer buffer 120 is shown. 4 will be described.

【0003】所定のLビット幅データは転送元110の
格納領域111にNビット部とMビット部のNビットか
ら成る2語に分けて格納されており、Mビット部には無
駄な空領域(図中アミカケで表示)が含まれている。
The predetermined L-bit width data is stored in the storage area 111 of the transfer source 110 in two words consisting of an N-bit part and an N-bit part of an M-bit part. (Indicated by Ami-kake in the figure).

【0004】格納領域111に格納されているデータを
Nビット幅の内部バス112を介して転送バッファ12
0に転送する場合、所定のLビット幅データ1語につい
てNビット部をN部バッファ121に転送し、Mビット
部をM部バッファ122に転送するために2回の転送処
理を行う。
The data stored in the storage area 111 is transferred to the transfer buffer 12 through an internal bus 112 having a width of N bits.
When transferring to 0, two transfer processes are performed to transfer the N-bit part to the N-part buffer 121 and the M-bit part to the M-part buffer 122 for one word of predetermined L-bit width data.

【0005】N部バッファ121とM部バッファ122
を同時に読み出して、所定のLビット幅データに整えて
外部バス123を介して外部回路に転送する。以上のよ
うに、従来技術では転送するデータ量の2倍のデータ転
送の回数が必要であった事、またデータ格納領域に無駄
な空き領域が含まれていた事等の課題があった。
[0005] N section buffer 121 and M section buffer 122
Are read out simultaneously, adjusted to predetermined L-bit width data, and transferred to an external circuit via the external bus 123. As described above, the conventional technique has problems that the number of times of data transfer is twice as large as the amount of data to be transferred, and that the data storage area includes a useless free area.

【0006】[0006]

【発明が解決しようとする課題】以上述べたように、従
来技術でビット幅変換を行う場合には、転送効率が悪い
こと、格納領域に無駄が生じることなどの課題があっ
た。たとえば、L=33ビット、N=32ビット、M=
1ビット、データ量32語の場合では、転送回数は32
語×2回=64回となり、無駄な空領域は(32ビット
−1ビット)×32語=992ビット(32ビット/語
で31語となる)となる。本発明では、データ転送効率
の向上と格納領域の無駄をなくすことを目的としてい
る。
As described above, when bit width conversion is performed by the conventional technique, there are problems such as poor transfer efficiency and waste of storage area. For example, L = 33 bits, N = 32 bits, M =
In the case of 1 bit and data amount of 32 words, the transfer count is 32
The word x 2 times = 64 times, and the useless empty area is (32 bits-1 bit) x 32 words = 992 bits (32 words / word becomes 31 words). An object of the present invention is to improve data transfer efficiency and eliminate waste of a storage area.

【0007】[0007]

【課題を解決する手段】上記目的を達成するために、ビ
ット幅変換バッファ回路にNビットから成る入力データ
バスを経由して所定のLビット幅データを転送する前
に、所定のLビット幅データをNビット部とMビット部
に分け(N>M)、Nビット部をN/M語収集し、Mビ
ット部のN/M個をNビットからなる1語に収集し、転
送領域に格納する入力回路と、ビット幅変換バッファ回
路に、入力回路より送られたアドレスを保持する書き込
みポインタと、Nビット部をN/M語格納するN部バッ
ファメモリと、Mビット部をN/M個格納するNビット
からなるM部バッファレジスタと、N部バッファメモリ
とM部バッファレジスタの内容を出力回路に送出するた
めに読み出すアドレスを指示する読み出しポインタと、
読み出したNビット部に対応するMビット部を選択する
マルチプレクサと、読み出したNビット部とマルチプレ
クサ出力のMビットき部を所定のLビット幅データの構
成に整える手段を有する。
In order to achieve the above object, a predetermined L-bit width data is transferred to a bit-width conversion buffer circuit before the predetermined L-bit width data is transferred via an N-bit input data bus. Is divided into an N-bit part and an M-bit part (N> M), N / M words are collected from the N-bit part, N / M parts of the M-bit part are collected into one word composed of N bits, and stored in the transfer area. Input circuit, a write pointer for holding an address sent from the input circuit to a bit width conversion buffer circuit, an N-part buffer memory for storing N / M words in an N-bit part, and N / M M-bit parts. An M-part buffer register composed of N bits to be stored, a read pointer for indicating an address to read out the contents of the N-part buffer memory and the M-part buffer register to the output circuit,
It has a multiplexer for selecting an M-bit portion corresponding to the read N-bit portion, and means for adjusting the read N-bit portion and the M-bit portion of the multiplexer output to a predetermined L-bit width data configuration.

【0008】[0008]

【発明の実施の形態】本発明の実施例ではL=33ビッ
ト、N=32ビット、M=1ビットの構成の場合につい
て説明する。入力回路において、データ転送に先だち所
定のLビット幅データをNビット部とMビット部に分
け、分けられた個々のデータそれぞれをnとmで表わ
す。分けられたnはn1〜n32で構成する32語とm
はm1〜m32で構成する1語として転送領域に収集
し、ビット幅変換バッファ回路に送付する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In the embodiment of the present invention, a case where L = 33 bits, N = 32 bits and M = 1 bit will be described. In the input circuit, predetermined L-bit width data is divided into an N-bit portion and an M-bit portion prior to data transfer, and each of the divided data is represented by n and m. N divided into 32 words consisting of n1 to n32 and m
Are collected in the transfer area as one word composed of m1 to m32 and sent to the bit width conversion buffer circuit.

【0009】ビット幅変換バッファ回路において、入力
回路より送付されたnについては32ビット構成のN部
バッファメモリに格納し,1語に収納されたm1〜m3
2については32ビット構成の1語からなるM部バッフ
ァレジスタに格納する。
In the bit width conversion buffer circuit, n sent from the input circuit is stored in a 32-bit N-part buffer memory, and m1 to m3 stored in one word.
2 is stored in an M-part buffer register consisting of one word having a 32-bit configuration.

【0010】出力回路に送出するための読み出しについ
ては、読み出しポインタの指定によりN部バッファメモ
リからnを、M部バッファレジスからnに対応するmを
マルチプレクサを通して選択する。このnとmを所定の
Lビット幅データの構成に整えてLビット幅の出力デー
タバスを介して出力回路に送出する。
For reading for sending to the output circuit, n is selected from the N-part buffer memory and m corresponding to n from the M-part buffer register through the multiplexer according to the designation of the read pointer. These n and m are arranged in a predetermined L-bit width data configuration and sent to an output circuit via an L-bit width output data bus.

【0011】以上により、例えばデータ32個をビット
幅変換する場合については、従来技術では64回のデー
タ転送が必要であったが、本発明のビット幅変換バッフ
ァ回路に依れば33回のデータ転送でビット幅変換作業
を完了することができる。また、入力回路の格納領域の
無駄な空領域については,従来方式では32ビット31
語の空領域が発生していたが、本発明のビット幅変換バ
ッファ回路に依れば空領域の発生を抑止することができ
る。
As described above, for example, when 32 bits of data are to be converted into a bit width, 64 times of data transfer are required in the prior art. However, according to the bit width conversion buffer circuit of the present invention, 33 times of data transfer are required. Bit width conversion can be completed by transfer. In addition, the useless empty area of the storage area of the input circuit is 32 bits 31 in the conventional method.
Although an empty area of a word has been generated, the generation of an empty area can be suppressed according to the bit width conversion buffer circuit of the present invention.

【0012】[0012]

【実施例1】以下に請求項1についての一実施例を説明
する。図1は本発明に係わるビット幅変換装置の構成図
である。図1に示すようにビット幅変換装置は、入力回
路10、ビット幅変換バッファ回路20、出力回路30
およびそれぞれの回路を接続する、入力データバス1
3、入力アドレスバス14、出力データバス26から構
されている。
[Embodiment 1] An embodiment of the present invention will be described below. FIG. 1 is a configuration diagram of a bit width conversion device according to the present invention. As shown in FIG. 1, the bit width conversion device includes an input circuit 10, a bit width conversion buffer circuit 20, and an output circuit 30.
And an input data bus 1 for connecting respective circuits.
3, an input address bus 14, and an output data bus 26.

【0013】内部バス幅32ビットの入力回路10にお
いて、データ領域11に示すように最終的にデータ処理
を行う出力回路30の所定のLビット幅データはNビッ
ト部とMビット部に分割され、1語32ビットで2語構
成の情報として処理されている。
In an input circuit 10 having an internal bus width of 32 bits, predetermined L-bit width data of an output circuit 30 which finally performs data processing as shown in a data area 11 is divided into an N-bit portion and an M-bit portion. It is processed as information of two words consisting of 32 bits per word.

【0014】入力回路10において、ビット幅変換バッ
ファ回路20へのデータ転送に先だちデータ領域11の
1ビットからなるデータmについてN/M=32/1=
32個を内部バス幅32ビットの1語に収集し、32ビ
ットからなるデータnを32語とを1単位として転送領
域12に格納し、この1単位をビット幅変換バッファ回
路20に送出する。
In the input circuit 10, prior to data transfer to the bit width conversion buffer circuit 20, N / M = 32/1 =
Thirty-two bits are collected into one word having an internal bus width of 32 bits, the 32-bit data n is stored in the transfer area 12 in units of 32 words, and this one unit is sent to the bit width conversion buffer circuit 20.

【0015】ビット幅変換バッファ回路20は、N部バ
ッファメモリ21、M部バッファレジスタ22、書き込
みポインタ(WTPT)23、読み出しポインタ(RD
PT)24、M部マルチプレクサ(MPX)25とバッ
ファの書き込み/読み出しを制御する制御回路27で構
成されている。
The bit width conversion buffer circuit 20 includes an N buffer memory 21, an M buffer register 22, a write pointer (WTPT) 23, and a read pointer (RD).
PT) 24, an M section multiplexer (MPX) 25, and a control circuit 27 for controlling writing / reading of a buffer.

【0016】入力回路10から送付されるデータは、入
力アドレスバス14を介して送られるアドレスを書き込
みポインタ(WTPT)23にラッチして、その指定に
より32ビット構成の1語に集約されたm1〜m32は
M部バッファレジスタ22に、n1〜n32で構成され
る32語のデータはN部バッファメモリ21に書き込ま
れる。
In the data sent from the input circuit 10, an address sent via the input address bus 14 is latched by a write pointer (WTPT) 23, and m1 to m1 are integrated into one word of a 32-bit configuration by designation. m32 is written to the M buffer register 22, and 32-word data consisting of n1 to n32 is written to the N buffer memory 21.

【0017】出力回路30に送付するデータは、読み出
しポインタ(RDPT)24の指定によりN部バッファ
メモリ21からnとM部バッファレジスタ22内のnに
対応するmをM部マルチプレクサ25で選択し、所定の
33ビット幅データの構成であるn+m=Lに整えられ
る。そして33ビット幅の出力データバス26を介し出
力回路30に送付される。
The data to be sent to the output circuit 30 is selected from the N buffer memory 21 by the designation of the read pointer (RDPT) 24 and m corresponding to n in the M buffer register 22 by the M multiplexer 25. The data is adjusted to n + m = L, which is a structure of predetermined 33-bit width data. Then, the data is sent to the output circuit 30 via the output data bus 26 having a width of 33 bits.

【0018】ビット幅変換バッファ20に対する書き込
み/読み出しは、制御回路27で作成される「FUL
L」「EMPTY」の2信号によって制御される。入力
回路10がn1〜n32とm1〜m32をそれぞれN部
バッファメモリ21とM部バッファレジスタ22の全領
域への書き込みが完了すると「FULL」信号がONと
なり、以降のデータ送出は抑止され、出力回路30にデ
ータを送出のための読み出しが可能となる。N部バッフ
ァメモリ21とM部バッファレジスタ22の全データ3
2語の読み出しが完了すると「EMPTY」信号がON
になり、入力回路10に送出すべきデータがあればデー
タ送出が可能となる。
The writing / reading to / from the bit width conversion buffer 20 is performed by "FUL" generated by the control circuit 27.
L and “EMPTY”. When the input circuit 10 completes the writing of n1 to n32 and m1 to m32 into all the areas of the N buffer memory 21 and the M buffer register 22, the "FULL" signal is turned ON, the subsequent data transmission is suppressed, and the Reading for sending data to the circuit 30 becomes possible. All data 3 of N section buffer memory 21 and M section buffer register 22
When the reading of two words is completed, the "EMPTY" signal turns on.
When there is data to be sent to the input circuit 10, data can be sent.

【0019】以上の処理により、所定の33ビット幅デ
ータの32個を1単位として、33回の転送回数で、か
つ無駄な空領域の発生を抑止してビット幅変換が行われ
る。
With the above processing, the bit width conversion is performed with the number of transfer times of 33 and the generation of useless empty areas suppressed, with 32 predetermined 33-bit width data as one unit.

【0020】[0020]

【実施例2】以下に請求項2についての一実施例を図2
を用いて説明する。入力回路10の転送領域12に収集
された1語からなるMビット部はm1〜m32で構成さ
れているので、Nビット部のn1〜n32に対応するデ
ータが1語に集約されている。このため、先にMビット
部1語をM部バッファレジスタ22に書き込んでおけ
ば、次にNビット部の第一番目のデータn1がN部バッ
ファメモリ21に書き込まれた時点で所定の33ビット
幅データの第一番目のデータ(n1とm1)が揃い、直
ちに出力回路30に送出すための読み出しが開始でき
る。
[Embodiment 2] An embodiment of claim 2 will be described below with reference to FIG.
This will be described with reference to FIG. Since the M-bit part consisting of one word collected in the transfer area 12 of the input circuit 10 is composed of m1 to m32, data corresponding to n1 to n32 of the N-bit part is collected into one word. Therefore, if one word of the M-bit part is written in the M-part buffer register 22 first, then when the first data n1 of the N-bit part is written in the N-part buffer memory 21, a predetermined 33 bits are written. As soon as the first data (n1 and m1) of the width data is completed, reading for sending to the output circuit 30 can be started immediately.

【0021】本実施例の読み出し制御は、M部バッファ
レジスタ22への書き込み完了と書き込みポインタ(W
TPT)23と読み出しポインタ(RDPT)24の値
を比較して、WTPT>RDPTならば読み出し可能と
することで行われる。図2においては、網かけ部分が書
き込み済の領域を示している。
In the read control of this embodiment, the completion of writing to the M buffer register 22 and the writing pointer (W
This is performed by comparing the value of the read pointer (RDPT) 24 with the value of the read pointer (RDPT) 24, and if WTPT> RDPT, enables reading. In FIG. 2, a shaded portion indicates a written area.

【0022】以上の処理により、ビット幅変換バッファ
回路20から出力回路30へ所定の33ビット幅データ
に変換して送付するのに、Nビット部の32語とMビッ
ト部の1語の全情報が入力回路10からビット幅変換バ
ッファ回路20に送付されるのを待つ必要がなくなり、
転送効率が向上する。
By performing the above processing, the bit width conversion buffer circuit 20 converts the data into predetermined 33-bit width data to the output circuit 30 and sends the converted data to the N-bit portion 32 words and the M-bit portion 1 word. Need not wait for the input circuit 10 to be sent from the input circuit 10 to the bit width conversion buffer circuit 20,
Transfer efficiency is improved.

【0023】[0023]

【実施例3】以下に請求項3についての一実施例を説明
する。N部バッファメモリ21とM部バッファレジスタ
22を1組として、同じ回路をバンクAとバンクBの2
組設けバンクAとバンクBを交互に使用することで転送
効率が向上できるがこの方法ではハードウェアが増加す
る。本実施例では、M部バッファレジスタ22だけを2
組設けるだけで、前記2組の回路を設ける方法に比べ少
ない回路構成で転送効率の向上を図るものである。
[Embodiment 3] An embodiment of claim 3 will be described below. With the N buffer memory 21 and the M buffer register 22 as one set, the same circuit is
The transfer efficiency can be improved by alternately using the group-provided banks A and B, but this method requires more hardware. In this embodiment, only the M buffer register 22 is set to 2
By simply providing a set, the transfer efficiency is improved with a smaller circuit configuration than the method of providing the two sets of circuits.

【0024】図3は本実施例の構成図である。バンクB
用M部バッファレジスタ221、バンクB用M部マルチ
プレクサ222、バンク切替えマルチプレクサ223と
バンク指定回路224が本実施例における追加回路であ
る。具体的な動作は、入力回路10からN部バッファメ
モリ21とM部バッファレジスタ22へ33語の全デー
タ書き込みが終了後、次に送付するm1〜m32をバン
クB用M部バッファレジスタ221に書き込む。
FIG. 3 is a block diagram of the present embodiment. Bank B
The M section buffer register 221 for bank, the M section multiplexer 222 for bank B, the bank switching multiplexer 223, and the bank designation circuit 224 are additional circuits in this embodiment. Specifically, after all data of 33 words have been written from the input circuit 10 to the N buffer memory 21 and the M buffer register 22, the next sent m1 to m32 are written to the bank B M buffer register 221. .

【0025】以後、ビット幅変換バッファ回路20にお
いて、出力回路30に送付するためにN部バッファメモ
リ21とM部バッファレジスタ22から読み出しポイン
タ24の指定するそれぞれnとmを順次読み出してい
く。この時、読み出しが終わったN部バッファメモリ領
域に、次に送付するデータnを書き込める様に制御す
る。この制御により、N部バッファメモリ21が「EM
PTY」になる前に、送付する次のデータをビット幅変
換バッファ回路20に準備できる。
Thereafter, in the bit width conversion buffer circuit 20, n and m specified by the read pointer 24 are sequentially read from the N buffer memory 21 and the M buffer register 22 for transmission to the output circuit 30. At this time, control is performed so that data n to be transmitted next can be written in the N-part buffer memory area from which reading has been completed. With this control, the N-part buffer memory 21 stores “EM
Before becoming “PTY”, the next data to be sent can be prepared in the bit width conversion buffer circuit 20.

【0026】N部バッファメモリ21とM部バッファレ
ジスタ22の32語からなる全データを読み出し「EM
PTY」信号がONになった時点で、バンク指定回路2
24が反転しバンクB用M部バッファレジスタ221指
定に切り替わる。そして次に送付するm1〜m32をM
部バッファレジスタ22に書き込む。以後、「EMPT
Y」信号がONになる毎に本操作を繰り返す。
All data consisting of 32 words of the N-part buffer memory 21 and the M-part buffer register 22 are read and read as "EM
When the “PTY” signal is turned on, the bank designating circuit 2
24 is inverted to switch to the bank B M section buffer register 221 designation. Then, m1 to m32 to be sent next are M
Write to the section buffer register 22. Since then, "EMPT
This operation is repeated every time the "Y" signal is turned ON.

【0027】本実施例での入力回路10からのビット幅
変換バッファ回路20への書き込みは、次ぎに送付する
m1〜m32がM部バッファレジスタへの書き込まれて
いることと、書き込みポインタ(WTPT)23と読み
出しポインタ(RDPT)24の値を比較して、WTP
T<RDPTならば書き込み可能とすることで制御され
る。
In this embodiment, writing from the input circuit 10 to the bit width conversion buffer circuit 20 is performed in such a manner that m1 to m32 to be transmitted next are written to the M buffer register and a write pointer (WTPT). 23 and the value of the read pointer (RDPT) 24, and
If T <RDPT, it is controlled by enabling writing.

【0028】以上の通り、M部バッファレジスタだけを
2組設けることにより、N部バッファメモリ21の32
語の全てが読み出されるのを待たず、次の送付データを
前もって入力回路10からビット幅変換バッファ回路2
0に送出できるので,ビット幅変換バッファ回路20の
使用効率の向上が図れる。
As described above, by providing two sets of only the M section buffer register, the 32
Without waiting for all the words to be read, the next transmission data is sent from the input circuit 10 to the bit width conversion buffer circuit 2 in advance.
Since it can be transmitted to 0, the use efficiency of the bit width conversion buffer circuit 20 can be improved.

【0029】なお、本発明の実施例では、N部バッファ
メモリ21として、メモリを使用してFIFOを構成し
ているが、シフトレジスタを用いる構成においても本発
明は適用できることは自明である。
In the embodiment of the present invention, a FIFO is configured using a memory as the N-part buffer memory 21, but it is obvious that the present invention can be applied to a configuration using a shift register.

【0030】[0030]

【発明の効果】以上述べたように本発明に係わるビット
幅変換装置によれば、ビット幅の異なる回路間のデータ
転送においてビット幅変換を行う上で、データ転送回数
の削減、バッファ使用効率向上とバッファ容量削減が図
れる。
As described above, according to the bit width conversion apparatus according to the present invention, when performing bit width conversion in data transfer between circuits having different bit widths, the number of data transfers is reduced and the buffer use efficiency is improved. Buffer capacity can be reduced.

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

【図1】本発明のビット幅変換装置の構成図である。FIG. 1 is a configuration diagram of a bit width conversion device of the present invention.

【図2】本発明の第2の実施例の構成図である。FIG. 2 is a configuration diagram of a second embodiment of the present invention.

【図3】本発明の第3の実施例の構成図である。FIG. 3 is a configuration diagram of a third embodiment of the present invention.

【図4】従来方法の構成図である。FIG. 4 is a configuration diagram of a conventional method.

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

10 入力回路 11 データ領域 12 転送領域 13 入力データバス 14 入力アドレスバス 20 ビット幅変換バッファ回路 21 N部バッファメモリ 22 M部バッファレジスタ 23 書き込みポインタ 24 読み出しポインタ 25 M部マルチプレクサ 26 出力データバス 27 制御回路 30 出力回路 DESCRIPTION OF SYMBOLS 10 Input circuit 11 Data area 12 Transfer area 13 Input data bus 14 Input address bus 20 Bit width conversion buffer circuit 21 N part buffer memory 22 M part buffer register 23 Write pointer 24 Read pointer 25 M part multiplexer 26 Output data bus 27 Control circuit 30 output circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 所定のLビット幅データをNビットから
なるNビット部とMビットからなるMビット部に分け
(N>M)、Nビット部をN/M語収集し、Mビット部
のN/M個をNビットから成る1語に収集し、それぞれ
転送領域に格納する入力回路と、 前記入力回路部から送られたアドレスを保持する書き込
みポインタと、前記入力回路部の転送領域よりNビット
からなる入力データバスを経由して送られたNビット部
のデータを前記書き込みポインタの値にしたがってN/
M語格納するN部バッファメモリと、前記入力回路部の
転送領域より前記入力データバスを経由して送られたM
ビット部のデータをN/M個格納するNビットから成る
M部バッファレジスタと、前記N部バッファメモリの読
み出しアドレスを指示するとともに、読み出したNビッ
ト部に対応するM部バッファレジスタ内におけるMビッ
ト部を指示する読み出しポインタと、前記読み出しポイ
ンタにより指示されたMビット部を選択出力するマルチ
プレクサと、前記N部バッファメモリから読み出したN
ビット部と前記マルチプレクサ出力のMビット部を所定
のLビット幅データに整える手段とからなるビット幅変
換回路部とを備えることを特徴とするビット幅変換装
置。
1. A predetermined L-bit width data is divided into an N-bit part consisting of N bits and an M-bit part consisting of M bits (N> M), and the N-bit part is collected by N / M words, and the M-bit part is collected. An input circuit that collects N / M pieces into one word composed of N bits and stores them in a transfer area, a write pointer that holds an address sent from the input circuit section, and N from the transfer area of the input circuit section. According to the value of the write pointer, N / bit data transmitted through the input data bus consisting of
An N-part buffer memory for storing M words, and M transmitted from the transfer area of the input circuit part via the input data bus.
An N-bit buffer register consisting of N bits for storing N / M data of a bit portion, a read address of the N-port buffer memory, and an M bit in the M-port buffer register corresponding to the read N-bit portion A read pointer for designating an N-bit buffer, a multiplexer for selectively outputting the M-bit portion designated by the read pointer,
A bit width conversion device, comprising: a bit width conversion circuit including a bit portion and a unit for adjusting an M bit portion of the multiplexer output to predetermined L bit width data.
【請求項2】 請求項1において、Nビット部をN部バ
ッファメモリに書き込む前にMビット部をM部バッファ
レジスタに書き込んでおき、Nビット部が少なくとも1
語でもN部バッファメモリに書き込まれると直ちに、M
部バッファレジスタおよびN部バッファメモリからの読
み出しを行う手段を備えることを特徴とするビット幅変
換装置。
2. The method according to claim 1, wherein the M-bit part is written into the M-part buffer register before the N-bit part is written into the N-part buffer memory, and the N-bit part is at least one.
As soon as a word is written into the N-part buffer memory, M
A bit width conversion device comprising: means for reading data from an external buffer register and an N buffer memory.
【請求項3】 請求項2において、M部バッファレジス
タを2組設け、N部バッファメモリの読み出し済領域に
入力回路からの次の送出データを書き込む手段を備える
ことを特徴とするビット幅変換装置。
3. The bit width conversion device according to claim 2, further comprising: two sets of M section buffer registers, and means for writing the next transmission data from the input circuit to a read area of the N section buffer memory. .
JP28840197A 1997-10-21 1997-10-21 Bit width converter Withdrawn JPH11119975A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28840197A JPH11119975A (en) 1997-10-21 1997-10-21 Bit width converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28840197A JPH11119975A (en) 1997-10-21 1997-10-21 Bit width converter

Publications (1)

Publication Number Publication Date
JPH11119975A true JPH11119975A (en) 1999-04-30

Family

ID=17729740

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28840197A Withdrawn JPH11119975A (en) 1997-10-21 1997-10-21 Bit width converter

Country Status (1)

Country Link
JP (1) JPH11119975A (en)

Similar Documents

Publication Publication Date Title
JPH09198862A (en) Semiconductor memory
JPH11119975A (en) Bit width converter
JP3028932B2 (en) I / O buffer memory circuit
JP3675948B2 (en) Data conversion method and apparatus
JP3416246B2 (en) Image processing device
JP2514473B2 (en) Parallel processor
JP3520570B2 (en) Memory access control device
JP2002215563A (en) Dma controller
JP2697619B2 (en) N-point FFT dedicated processor
JPH04360425A (en) Semiconductor storage device
JPH0833869B2 (en) Data processing device
JP3039043B2 (en) Parallel processor
JP2821176B2 (en) Information processing device
JPH10112178A (en) Fifo memory and its manufacture
JP2541117B2 (en) Data access device
JP2518387B2 (en) Serial data transmission circuit
JPH06208614A (en) Image processor
JPH0255821B2 (en)
JPH0567035A (en) Data alignment system for dma transfer
JPH06266638A (en) Semiconductor memory
JPH0540622A (en) Digital signal processor
JPS6116364A (en) Vector data processor
JPH04172266A (en) Scan-in/out method
JPS5886635A (en) Data processor
JPH0713765A (en) Fast data transfer device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050104