JPS6043742A - Reading circuit of variable length data - Google Patents

Reading circuit of variable length data

Info

Publication number
JPS6043742A
JPS6043742A JP15098483A JP15098483A JPS6043742A JP S6043742 A JPS6043742 A JP S6043742A JP 15098483 A JP15098483 A JP 15098483A JP 15098483 A JP15098483 A JP 15098483A JP S6043742 A JPS6043742 A JP S6043742A
Authority
JP
Japan
Prior art keywords
data
memory
address
bits
digits
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
JP15098483A
Other languages
Japanese (ja)
Inventor
Tei Ishikawa
石川 禎
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP15098483A priority Critical patent/JPS6043742A/en
Publication of JPS6043742A publication Critical patent/JPS6043742A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled

Abstract

PURPOSE:To attain read-out of variable length data starting at an optional address and to match digits through a simple constitution. CONSTITUTION:The data head address A corresponding to the data to be read out and the number of digits of data information D showing the number of digits of said subject data are fed to a reading circuit of variable length data. A memory 10 has the output data width of 64 bits (16 digits) together with left and right memories 11 and 12 of 16X32 bits (8 digits) respectively. An independent read access is possible for the memories 11 and 12 of the memory 10 by addresses AL and AR produced by a memory address generating circuit 20 and based on the upper 5 bits of the address A. The data of 64 bits read out of the memory 10 is supplied to a data selection/positioning circuit 30 then outputted after putting close to the right the data having a designated number of digits starting at the data on a section area corresponding to the address A for matching digits.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、任意のアドレスから始まる任意のデータ長
(データ桁数)のデータの処理を行なう場合に好適する
可変長データ読出し回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a variable length data reading circuit suitable for processing data of an arbitrary data length (number of data digits) starting from an arbitrary address.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

一般に、この種の可変長データの処理を行なう場合、外
部から指定てれるアドレス(データ先頭アドレス)およ
びバイト数(データ長)に応じ、メモリからのデータ読
出1更には桁合せが必要となる。この可変長データの読
出し処理の方式には、マイクログロダラムレベルで行な
う方式と、ノ・−ドウエアにより行なう方式とがある。
Generally, when processing this type of variable length data, it is necessary to read the data from the memory and also perform digit alignment depending on the address (data start address) and the number of bytes (data length) specified from the outside. There are two methods for reading out variable-length data: one is at the microprogram level, and the other is by software.

前者の方式では、2回以上のメモリアクセスを必要とす
る場合が極めて多く、しかもデータのシフトも必要なた
め、データ読出し処理に長時間を袈する欠点があった。
The former method very often requires two or more memory accesses, and also requires data shifting, which has the drawback of requiring a long time for data read processing.

また、後者の方式では、高速処理のために、並列読出し
が可能なメモリ構成とし、メモリからの読出しデータを
データセレクタで桁合せして出力する・・−ドウエアが
採用芒れているが、読出し対象データの最長桁数が多い
ものの場合には、−・−ドウエア構成が複雑となる欠点
があった。なお、読出し対象データの最長桁数が多いも
のとしては、例えば4ビツトで1桁を表わすパック(P
ACK )形式の10進数がある。
In addition, in the latter method, for high-speed processing, the memory configuration is such that parallel reading is possible, and data read from the memory is digit-aligned using a data selector and output. If the target data has a large maximum number of digits, there is a drawback that the hardware configuration becomes complicated. Note that the data to be read out has a large maximum number of digits, for example, a pack (P
ACK ) format decimal number.

〔発明の目的〕[Purpose of the invention]

この発明は上記事惟に鑑みてなされたものでその目的は
、簡単な構成であシながら、任意のアドレスから始まる
可変長データの高速読出し並びに桁合せが行なえる可変
長データ読出し回路を提供することにある。
The present invention has been made in view of the above-mentioned problems, and its purpose is to provide a variable-length data readout circuit capable of high-speed reading and digit alignment of variable-length data starting from an arbitrary address while having a simple configuration. There is a particular thing.

(発明の概袈〕 この発明では、1桁nピット単位でアドレスが割当てら
れたO番地乃至21−1番地のアドレス空間が適用され
、読出し対象データの最長桁数がいであるデータ処理装
置において、8桁の出力データ幅の左および右メモリか
らなシ、2に+1 桁の出力データ幅を有するメモリで
あって、左および右メモリがそれぞれ第1種および第2
種アドレス情報でリードアクセスされるメモリが設けら
れている。上記左メモリに対する第1種アドレス情報と
しては、読出し対象データに対するデータ先頭アドレス
の上位i−に一1ビットを、昌該データ先頭アドレスの
fuj−にビット目のビット状態に応じて、七のまま或
いは+1 したものが用いられる。また、右メモリに対
する第2独アドレスイ6゛報としては、データ先頭アド
レスの上位1−に−1ビツトがそのまま用いられる。こ
れら第1種、第2程アドレス情報が左、右メモリに供給
されることにより、当該左、右メモリからそれぞれ読出
される2k 桁の読出しデータは、データ選択位置合せ
回路において、そのまま或いは左右入替えられて連結]
(+1 される。この2 桁の連結情報は、当該データ選択位置
合せ回路で上記データ先頭アドレスの下位にビットおよ
び読出し対象データの桁数を示すデータ桁数情報で指定
される桁数だけ左または右シフト畑れ、所定位置の2に
桁が読出しデータとして出力される。
(Summary of the Invention) In the present invention, in a data processing device in which an address space from address O to address 21-1 to which addresses are assigned in units of 1-digit n pits is applied, and the maximum number of digits of data to be read is A memory having an output data width of 2 + 1 digits, wherein the left and right memories are type 1 and type 2, respectively.
A memory is provided that is read accessed using seed address information. As the type 1 address information for the left memory mentioned above, 11 bits are placed in the high order i- of the data start address for the data to be read, and 7 bits are placed in the fuj- bit of the data start address, depending on the bit state. Alternatively, +1 is used. Further, as the second address information for the right memory, the high-order 1- bit of the data start address is used as is. By supplying these type 1 and type 2 address information to the left and right memories, the 2k-digit read data read from the left and right memories, respectively, is processed as is or with the left and right swapped in the data selection alignment circuit. connected]
(+1 is added. This 2-digit concatenation information is processed by the data selection and alignment circuit to the left or the left by the number of digits specified by the lower bit of the data start address and the data digit number information indicating the number of digits of the data to be read. When the digit is shifted to the right, the digit at the predetermined position 2 is output as read data.

〔発明の実施例〕[Embodiments of the invention]

第1図はこの発明の一実施例に係る可変長データ読出し
回路の概略構成を示す。この0J変長データ読出し回路
を含むデータ処理装置では、1 桁n ヒツト、例えば
4(−22)ビット単位でアドレスが割当てられたO番
地乃至21−1.例えば28−1(=255)番地(ν
1)ち16進表現で0016〜FF+6 )のアドレス
空間(128バイトのメモリ領域)が適用さnるものと
する。また、読出し対象データの最長データ桁数(デー
タ長)が井桁(2に+2ビツト)、例えば25桁(25
ビツト)であるものとする。即ち、この実施例では、1
桁(4ビツト)〜8桁(32ビツト)の任意の桁数のメ
モリデータが取扱われる。しかして、第1図に示す可変
長データ読出し回路には、読出し対象データに対するデ
ータ先頭アドレスAと、読出し対象データの桁数を示す
データ桁数情報りとが制御データとして与えられる。デ
ータ先頭アドレスAは、メモリアドレス空間が上述のよ
うに0016〜FF16(16進表現)であるため、第
Oビットao(MSB)〜第7ビツトa7(LSB)の
8ピツトで構成されている。また、データ桁数情報りは
、読出し対象データの最長桁数が25(−8)であるた
め、第0ピツトdo(MSB)〜第3ピッ) d3(L
SB)の4ビツトで構成されている。
FIG. 1 shows a schematic configuration of a variable length data reading circuit according to an embodiment of the present invention. In a data processing device including this 0J variable length data reading circuit, addresses O to 21-1, . For example, address 28-1 (=255) (ν
1) It is assumed that an address space (128-byte memory area) of 0016 to FF+6 in hexadecimal notation is applied. Also, the maximum number of data digits (data length) of the data to be read is double digits (2 + 2 bits), for example, 25 digits (25
bit). That is, in this example, 1
Memory data of any number of digits (4 bits) to 8 digits (32 bits) can be handled. Thus, the variable length data reading circuit shown in FIG. 1 is provided with a data start address A for the data to be read and data digit number information indicating the number of digits of the data to be read as control data. Since the memory address space is 0016 to FF16 (hexadecimal representation) as described above, the data start address A is composed of 8 pits from the 0th bit ao (MSB) to the 7th bit a7 (LSB). In addition, regarding the data digit number information, since the maximum number of digits of the data to be read is 25 (-8), the 0th pit do (MSB) to the 3rd pit) d3(L
It consists of 4 bits (SB).

&!1図において、符号JOで示されるメモリは、64
ビツト(2に+1−23+1=16術)の出力データ幅
(読出し対象データの最長桁数の2倍のデータ幅)を有
する。このメモリ10は、16X32 ビット(8桁)
の左メモリ11並びに右メモリ12からなっている。こ
の実施例では、第2図に示すようにメモリ10の各アド
レス毎に対応する64ビツトの領域を4ビツト(1桁)
単位で区分し、その各区分領域を、上述のアドレス空間
における各アドレス(00ra〜FF1e)に対応させ
ている。即ち、当該アドレス空間におけるアドレスX5
16*アドレスX11g+・・・アドレス×716(×
は016〜F+6 )を、左メモリ1ノのビットθ〜ビ
ット3.ビット4〜ビット7、・・・ビット28〜ビツ
ト3ノに対応させ、同じくアドレスX516*アドレス
×916.・・アドレス×F!6 を、右メモリ12の
ビットθ〜ビット 3 、ビ ッ ト 4〜 ビ ッ 
ト 7 、・・・ ビ ッ ト 2 8〜 ピッ)31
に対応させている。上記アドレス空間におけるアドレス
××16が左メモリ11.右メモリ12いずれの側の区
分領域に対応するかは、当I77ドレス××16 の下
位4ビツトの上位1ビツト、即ち当該アドレス××16
CL)上位(左)より5ビツト目のビットデータの論理
値で示される。また、この区分領域がメモリ10(左メ
モリ1)、右メモリ12)のどのアドレスに属するかは
、上記アドレス空間におけるアドレス××16 の上位
4ビツトで示される。この実施例では、メモリ10f構
成する左メモリ11並びに右メモリ12は、アドレスA
L * ARにょシ別別にリードアクセス町である。ア
ドレスAL I ARは、左メモリ11、右メモリ12
のワード数が16 (2i ×1 /zk+1 =2i
−に−1=28−3−1 =24 )であるため1.4
ビツトで構成されている。アドレスAL * ARは、
前記データ先頭アドレスAの上位5 (i−に二8−3
=5)ビットに基づいて、メモリアドレス生成回路2o
にょシ生成される。
&! In Figure 1, the memory designated by the symbol JO is 64
It has an output data width (data width twice the longest number of digits of the data to be read) of bits (2 + 1 - 23 + 1 = 16 bits). This memory 10 is 16x32 bits (8 digits)
It consists of a left memory 11 and a right memory 12. In this embodiment, as shown in FIG. 2, a 64-bit area corresponding to each address in the memory 10 is divided into 4 bits (1 digit).
It is divided into units, and each divided area is made to correspond to each address (00ra to FF1e) in the address space described above. That is, address X5 in the address space
16*address x11g+...address x716(x
016 to F+6), bit θ to bit 3 of left memory 1. Bits 4 to 7, . . . correspond to bits 28 to 3, and address X516*address*916.・Address×F! 6 to bit θ to bit 3 and bit 4 to bit 6 of right memory 12.
Bit 7,... Bit 2 8 ~ Pi) 31
It corresponds to Address XX16 in the above address space is left memory 11. Which side of the partitioned area of the right memory 12 corresponds to is determined by the upper 1 bit of the lower 4 bits of the I77 address xx16, that is, the corresponding address xx16.
CL) Indicated by the logical value of the 5th bit from the upper (left) bit data. Furthermore, which address in the memory 10 (left memory 1, right memory 12) this partitioned area belongs to is indicated by the upper 4 bits of address xx16 in the address space. In this embodiment, the left memory 11 and right memory 12 constituting the memory 10f are at address A
L*AR is a read access town. Address AL I AR is left memory 11, right memory 12
The number of words in is 16 (2i × 1 /zk+1 = 2i
−1=28−3−1=24), so 1.4
Consists of bits. Address AL * AR is
Upper 5 of the data start address A (i-ni 28-3
=5) Based on the bit, the memory address generation circuit 2o
Nyoshi is generated.

第3図はメモリアドレス生成回路2oの具体的構成を示
す。同図において符号21で示される加算器は、データ
先頭アドレスAの上位4ピツ)(ao−as)に1を加
える4ビツトの加算 ”複器である。加算器21の出方
(4ビツト)はデータセレクタ22の一方の入力端に入
力される。
FIG. 3 shows a specific configuration of the memory address generation circuit 2o. The adder indicated by the reference numeral 21 in the same figure is a 4-bit addition unit that adds 1 to the upper 4 bits (ao-as) of the data start address A. How to output the adder 21 (4 bits) is input to one input terminal of the data selector 22.

データセレクタ22の他方の入力端にはデータ先頭アド
レスAの上位4ピツ)(aO〜a3)が供給される。ま
た、データセレクタ22の選択信号端にはデータ先頭ア
ドレスAの上位(左)よシ5ビット目のビットデータ、
即ち第4ピツ)a4が供給される。しかして、データセ
レクタ22はa4=”o”のときデータ先頭アドレスA
の上位4ビツト(ao−IL3)を辿択踵 a4=”l
”のとき加算器2ノの出力、即ちデータ先頭アドレスA
の上位4ビツト(ao−as)に1を加えた4ビツトデ
ータを・選択する。データセレクタ22の選択出力は前
記アドレスAL(’i4’r 1種アドレス情報)とし
て左メモリ11のアドレス入力端に供給される。また、
右メモリ12のアドレス入力端には、メモリアドレス生
成回路20によシ、データ先頭アドレスAの上位4ビツ
ト(a(1−as)がアドレスAa (第2種アドレス
情報)としてそのまま供給される。
The other input terminal of the data selector 22 is supplied with the upper four bits (aO to a3) of the data start address A. In addition, at the selection signal end of the data selector 22, bit data of the 5th bit from the upper (left) side of the data start address A,
That is, the fourth pit) a4 is supplied. Therefore, the data selector 22 selects the data start address A when a4="o".
Select the upper 4 bits (ao-IL3) of a4=”l
”, the output of adder 2, that is, the data start address A
Select 4-bit data obtained by adding 1 to the upper 4 bits (ao-as) of . The selected output of the data selector 22 is supplied to the address input terminal of the left memory 11 as the address AL ('i4'r type 1 address information). Also,
The upper 4 bits (a(1-as)) of the data start address A are supplied as is to the address input terminal of the right memory 12 by the memory address generation circuit 20 as the address Aa (second type address information).

ここで、データセレクタ22の選択出力をアドレスAL
とし、データ先頭アドレスAの上位4ビツト(ao−a
s)をアドレスARとする理由を説明する。この実施例
では、可変長データの読出しに際し、データ先頭アドレ
スAに対応するメモリ10内の区分領域が属する左メモ
リ11または右メモリ12のアドレスの8つの区分領域
のデータ(32ビツトのワードデータ)と、後続する8
つの区分領域のデータ(32ビ、トのワードデータ)と
の64ピツ)(16桁)のデータをメモリ10から読出
すようにしている。
Here, the selected output of the data selector 22 is set to the address AL.
The upper 4 bits of the data start address A (ao-a
The reason why s) is set as address AR will be explained. In this embodiment, when reading variable-length data, data (32-bit word data) in eight segmented areas at addresses in the left memory 11 or right memory 12 to which the segmented area in the memory 10 corresponding to the data start address A belongs is read. and the following 8
Data of 1 segmented area (32 bits, 64 bits of word data) (16 digits) is read out from the memory 10.

この実施例における読出し対象データの最長桁数は、前
述したように8桁(32ビツト)である。したがって、
メモリ10から読出すべきデータには、真に読出したい
データが必ず含まれる。データ先頭アドレスAに対応す
るメモリ10内の区分領域が左メモリ11に含まれてい
る場合、メモリ10から読出すべき64ビツト(16桁
)のデータは、(第2図からも明らかなように)データ
先頭アドレスAの上位4ビツト(aQ%a3)で示され
る左メモリ11.右メモリ12のアドレス位置の各ワー
ドデータ(32ビット)の連結情報となる。?cfLに
対し、データ先頭アドレスAに対応するメモリ10内の
区分領域が右メモリ11に含まれている場合、メモリ1
0から読出すべき64ビツト(16桁)のデータは、デ
ータ先頭アドレスAの上位4ピツ) (ao = aa
’)で示される右メモリ11のアドレス位置のワードデ
ータ(32ビツト)と、左メモリ11の次のアドレス位
置(即ちデータ先頭アドレスAの上位4ビツトに1を加
えた値の示すアドレス位置)のワードデータ(32ビツ
ト)の連結情報となる。ところで、データ先頭アドレス
Aに対応する区分領域が左メモリ1ノまたは右メモリ1
2のいずれの側に存在するかは、前述の説明から明らか
なように、データ先頭アドレスAの上位(左)よシ5ビ
ット目のビットデータ、即ち第4ピツ)a4の論理値で
示される。そこで、この実施例では、a4=”0”のと
きデータ先頭アドレスAの上位4ビツト(a(1〜a3
 )を選択し、a4=“1゛のときデータ先頭アドレス
Aの上位4ビツト(a(1−aa)に1を加えた4ビツ
トデータを選択するデータセレクタ22を設け、当該デ
ータセレクタ22の選択出力を左メモリ1ノに対するア
ドレスALとしている。また、右メモリ11に対するア
ドレスABとして、データ先頭アドレスAの上位4ピツ
)(ao−as)をそのまま用いている。そして、アド
レスAL 、 ARを左メモリ11#右メモリ12のア
ドレス入力端に供給してメモリリードアクセスを行なう
ことによシ、1回のアクセスで、真に読出した2データ
(最長32ビツト)を含む64ビツト(16桁)のデー
タを32ビツト×2の形で読出すようにしている。
The maximum number of digits of the data to be read in this embodiment is 8 digits (32 bits) as described above. therefore,
The data to be read from the memory 10 always includes data that is truly desired to be read. When the left memory 11 includes the partitioned area in the memory 10 corresponding to the data start address A, the 64-bit (16 digit) data to be read from the memory 10 is (as is clear from FIG. 2) ) The left memory 11 indicated by the upper 4 bits (aQ%a3) of the data start address A. This is the concatenation information of each word data (32 bits) at the address position of the right memory 12. ? For cfL, if the partitioned area in the memory 10 corresponding to the data start address A is included in the right memory 11, the memory 1
The 64-bit (16-digit) data to be read from 0 is the upper 4 bits of the data start address A) (ao = aa
The word data (32 bits) at the address location in the right memory 11 indicated by ') and the next address location in the left memory 11 (i.e., the address location indicated by the value obtained by adding 1 to the upper 4 bits of the data start address A). This is concatenated information of word data (32 bits). By the way, the partitioned area corresponding to the data start address A is either left memory 1 or right memory 1.
As is clear from the above explanation, which side of 2 is present is indicated by the logical value of the upper (left) 5th bit data of the data start address A (i.e., the 4th bit) a4. . Therefore, in this embodiment, when a4="0", the upper 4 bits of the data start address A (a(1 to a3
), and when a4="1", a data selector 22 is provided that selects the upper 4 bits of the data start address A (4-bit data obtained by adding 1 to a(1-aa)), and the selection of the data selector 22 The output is the address AL for the left memory 1. Also, as the address AB for the right memory 11, the upper 4 bits (ao-as) of the data start address A are used as is.Then, the addresses AL and AR are By supplying it to the address input terminal of memory 11# right memory 12 and performing memory read access, 64 bits (16 digits) including 2 data (maximum 32 bits) that have been truly read out can be read in one access. Data is read out in the form of 32 bits x 2.

メモリ10から読出された64ビツト(32ビツト×2
)のデータは、データ選択位置合せ回路30に供給され
る。データ選択位置合せ回路30は、メモリ10から読
出された64ビツトのデータを受け、データ先頭アドレ
スAに対応する区分領域のデータより始まる指定桁数の
データを右詰めにした形に桁合せ出力するものである。
64 bits (32 bits x 2) read from memory 10
) is supplied to the data selection and alignment circuit 30. The data selection alignment circuit 30 receives the 64-bit data read from the memory 10, aligns the digits, and outputs the specified number of digits of data starting from the data in the segmented area corresponding to the data start address A, right-justified. It is something.

第4図はデータ選択位置合せ回路30の具体的構成を示
す。同図において符号31.32で示されるデータセレ
クタは、メモリ10から32ビツト×2の形で読出され
た64ビツトのデータを、左から左メモリ11の読出し
出力(32ビツト)、右メモリ12の読出し出力(32
ビツト)の順で並べるか、或いはその逆に並べるかを選
択するものである。データセレクタ31.32の選択動
作により位置決定された64ビツトのデータは、シフタ
33に供給されるっ/フタ33は例えば左シフト可能な
シックであり、入力データ(64ビツト)ヲ指定シフト
桁斂だけ左シフトし、その結果の上位32ビツトを(デ
ータ読出し結果として)出力するものである。シフタ3
3のシフト桁数は4ビツトの加算器34の出力Eの下位
3ビットel−e3で示される。
FIG. 4 shows a specific configuration of the data selection and alignment circuit 30. In the figure, the data selectors indicated by reference numerals 31 and 32 select the 64-bit data read out from the memory 10 in the form of 32 bits x 2 from the left to the readout output (32 bits) of the left memory 11 and the readout output (32 bits) of the right memory 12. Readout output (32
You can select whether to arrange the bits in the order of bits or vice versa. The 64-bit data whose position is determined by the selection operation of the data selectors 31 and 32 is supplied to the shifter 33. The lid 33 is, for example, a thick type that can be shifted to the left, and the input data (64 bits) can be shifted to the designated shift digit. The upper 32 bits of the result are output (as the data read result). shifter 3
The number of shift digits of 3 is indicated by the lower 3 bits el-e3 of the output E of the 4-bit adder 34.

加算器34はデータ先頭アドレスAの下位3ビツトa5
〜a7とデータ桁斂情報D (do〜da)との和をめ
るのに用いられる。加算器34の出力E (e6− e
3 )の下位3ビットel−83は、メモIJ J O
から真に読出したいデータの次の桁が左メモリ1ノまた
は右メモリ12のどの区分領域に位置しているかを示す
。同じく加算器34の出力E(e6〜es )の最上位
ビットeOは、メモリ10から真に読出したいデータの
次の桁が、当該データの先頭桁の位置するメモリ(左メ
モリ11または右メモリ12)と同一のメモリに位置し
ているか否かを示す。明らかなように、eo二″0″は
請求めるデータの次の桁が当該求めるデータの先頭桁の
位置するメモリと同一のメモリに位置していることを示
す。これに対し、eQ−”1”は請求めるデータの次の
桁が当該データの先頭桁の位置するメモリと異なるメモ
リに位置していることを示す。
The adder 34 inputs the lower 3 bits a5 of the data start address A.
It is used to calculate the sum of ~a7 and data digit difference information D (do~da). Output E of adder 34 (e6- e
3) The lower 3 bits el-83 of the memo IJJO
This indicates in which partitioned area of the left memory 1 or right memory 12 the next digit of the data that is truly desired to be read is located. Similarly, the most significant bit eO of the output E (e6 to es) of the adder 34 indicates that the next digit of the data to be truly read from the memory 10 is located in the memory (left memory 11 or right memory 12) where the first digit of the data is located. ) is located in the same memory. As is clear, eo2"0" indicates that the next digit of the requested data is located in the same memory as the first digit of the desired data. On the other hand, eQ-"1" indicates that the next digit of the requestable data is located in a memory different from the memory in which the first digit of the data is located.

加算器34の出力Eの下位3ビツトe+〜e9はシフタ
33のシフト桁数を指定する情報とし7て当該シフタ3
3に供給される。また、加算器34の出力Eの最上位ビ
ットeoは排他的論理和回路(以下、EX −ORと称
する)35の一方の入力端に供給される。バー0R35
の他方の入力端にはデータ先頭アドレスAの上位(左)
よシ5ビット目のビットデータ、即ち第4ビツトa4が
供給される。EX−OR35の出力Sはデータセレクタ
31.32の遠択信号端に供給される。■−OR35の
出力Sは、a 4 : e oのとき、即ちa4 ::
9o ==” l″ またはa4”e6”0″のとき”
0″となる。同様に出力Sはa4〜e(1のとき、即ち
a4=″1”、eo二″0”またはa4二″0”r e
O二″1”のとき1”となる。ここでa4:eo二″0
″の場合をケース1、a4−0゛′、co=″1”の場
合をケース2、a4二“1”、eo−”0”の場合をケ
ース3、a4二“1°+eO二″1″の場合をケース4
と称すると、ケーストケース4に相当するメモリ10内
データ位置(求めようとしている最長8桁のデータのメ
モリ10内の格納位置)は第5図(a) 、 (b)−
第8図(、) 、 (b)で示される。ケース1は、第
5図(a) 、 (b)に示すようにデータ先頭アドレ
スAが×O夏6〜×616でデータ最終アドレスがX 
016〜X 616 (Xはo!6〜F16)ノ場合で
ある。また、ケース2は、第6図(a) 、 (b)に
示すようにデータ先頭アドレスAが×O16〜×716
でデータ最終アドレスが×716〜X Elgの場合で
ある。また、ケース3は、第7図(、) 、 (b)に
示すようにデータ先頭アドレスAが×816〜×E16
でデータ最終アドレスが×816〜×E16の場合であ
る。
The lower three bits e+ to e9 of the output E of the adder 34 are used as information 7 to specify the number of digits to be shifted by the shifter 33.
3. Further, the most significant bit eo of the output E of the adder 34 is supplied to one input terminal of an exclusive OR circuit (hereinafter referred to as EX-OR) 35. Bar 0R35
The other input terminal of is the upper (left) data start address A.
The fifth bit of bit data, ie, the fourth bit a4, is supplied. The output S of the EX-OR 35 is supplied to the far selection signal ends of the data selectors 31 and 32. ■-The output S of OR35 is when a4:eo, that is, a4::
9o == “l” or a4”e6”0”
0".Similarly, the output S is a4 to e (when 1, that is, a4="1", eo2"0" or a42"0"re
When O2 is "1", it becomes 1".Here, a4:eo2"0
case 1 if a4-0゛', co=“1”, case 2 if a42 “1”, case 3 if eo-“0”, a42 “1°+eO2”1 Case 4
Then, the data position in the memory 10 corresponding to case case 4 (the storage position in the memory 10 of the maximum 8-digit data to be obtained) is shown in FIGS. 5(a) and (b).
This is shown in Figures 8(,) and (b). In case 1, as shown in Fig. 5(a) and (b), the data start address A is ×O summer 6 to ×616, and the data end address is
016 to X 616 (X is o!6 to F16). In addition, in case 2, as shown in FIGS. 6(a) and (b), the data start address A is ×O16 to ×716.
This is a case where the data final address is x716 to xElg. In addition, in case 3, as shown in FIG. 7(,) and (b), the data start address A is
This is a case where the data final address is x816 to xE16.

更にケース4は、第8図(a) 、’ (b)に示すよ
うにデータ先頭アドレスAが×816〜X l”16で
データ最終アドレスがXFra a X1ts〜×61
6の場合である。
Furthermore, in case 4, as shown in FIGS. 8(a) and 8(b), the data start address A is x816~X1''16 and the data end address is XFra aX1ts~x61.
This is the case of 6.

データセレクタ31.32はEX−OR,95の出力S
が論理”0”の場合、即ちケース1またはケース4の場
合、メモリ10から読出される64ビツトのデータの配
列を32ビット単位で左右入替えるようにデータ選択動
作を行なう。
Data selectors 31 and 32 are EX-OR, 95 output S
When is logical "0", that is, in case 1 or case 4, a data selection operation is performed such that the arrangement of 64-bit data read from memory 10 is rearranged left and right in units of 32 bits.

即ちデータセレクタ31.32は、メモリ10から読出
される64ビツトのデータを、s二”o”K1弗カから
6.□、2゜、ヵ1.ヵ(3□ ・1ξ。
That is, the data selectors 31 and 32 select the 64-bit data read from the memory 10 from s2"o"K1 to 6. □, 2゜, □1. ka (3□ ・1ξ.

ビット)、左メモリ11の読出し出力(32ビツト)の
順に並べてシフタ33に出力する。一方、W−OR,9
5の出力Sが論理゛1”の場合、即ちケース2またはケ
ース3の場合、データセレクタ31.32はメモリlO
から読出される64ビツトのデータをそのまま出力する
ようにデータ選択動作を行なう。即ちデータセレクタ3
1.32は、左から左メモリ1ノの読出し出力(32ビ
ツト)、右メモリ12の読出し出力(32ビツト)の順
の並びでメモIJ Z Oから読出される64ビツトの
データを、S二″1”に応じてそのままシフタ33に出
力する。
bits) and the read output (32 bits) of the left memory 11 and output to the shifter 33. On the other hand, W-OR,9
If the output S of 5 is logic ``1'', that is, case 2 or case 3, the data selectors 31 and 32 select the memory lO
A data selection operation is performed so that the 64-bit data read from the memory is output as is. That is, data selector 3
1.32 converts the 64-bit data read from the memory IJZO in the order of the readout output (32 bits) from the left memory 1 and the readout output (32 bits) from the right memory 12 from the left to the S2. In response to "1", it is output as is to the shifter 33.

このように、この実施例では、EX−OR35の出力S
の論理値によって、シフタ33に出力される左メモリ1
1.右メモリ12からの各読出し出力(32ビツト)の
左、右位置が決定される。これは次の理由による。この
実施例では、求めるデータを含むメモリ10からの64
ビツトの読出しデータを左シフト操作することにより請
求めるデータが上位32ピツト中に右詰めされた形で存
在する方式を採用している。そこで前述のように左シフ
ト可能なシフタ33を用いると共に、シフタ33への6
4ビツト(16桁)の入力データ中のめるデータの次の
桁が当該入力データの下位32ビツト(8桁)側に存在
するように、Sの値に応じ庭左、右入替えを行なってい
る。
In this way, in this embodiment, the output S of EX-OR35
The left memory 1 is output to the shifter 33 according to the logical value of
1. The left and right positions of each read output (32 bits) from right memory 12 are determined. This is due to the following reason. In this example, 64
A system is adopted in which data that can be requested by left-shifting bit read data is present in the upper 32 pits in a right-aligned form. Therefore, as mentioned above, the shifter 33 that can be shifted to the left is used, and the
The data is rearranged to the left or right according to the value of S so that the next digit of the data to be inserted in the 4-bit (16-digit) input data is located on the lower 32-bit (8-digit) side of the input data.

今、ケース1の具体例としてデータ先頭アドレスAがX
116、データ桁数情報りが616 の場合を考えると
請求めるデータのメモリ10内データ位置はf!9図(
−)に示される通りとなF>、 7フタ33への出力デ
ータは第9図(b)に示される通シとなる。この場合、
加算器34の出力E(eo”−e3)は0111”とな
シ、シフタ33のシフト桁数として7が指定きれる。こ
れにより、シフタ33は第9図(b)に示される64ビ
ツトのデータを左に7桁(28ビツト)シフトし、その
上位8桁(32ビツト)を読出しデータとして出力する
。この結果、求めるデータが正しく右詰めされた形で得
られる。
Now, as a specific example of case 1, data start address A is
116, and the data digit number information is 616, the data position in the memory 10 of the requestable data is f! Figure 9 (
7. The output data to the lid 33 is as shown in FIG. 9(b). in this case,
The output E (eo"-e3) of the adder 34 is 0111", and 7 can be specified as the number of shift digits of the shifter 33. As a result, the shifter 33 shifts the 64-bit data shown in FIG. 9(b) seven digits (28 bits) to the left, and outputs the upper eight digits (32 bits) as read data. As a result, the desired data can be obtained correctly right-justified.

また、ケース2の具体例としてデータ先頭アドレスAが
X616、データ桁数情報りが8160場合を考えると
請求めるデータのメモリlo内データ位置は第10図(
、)に示される通シとなシ、シフタ33への出力データ
は第10図(b)に示される通りとなる。この場合、加
算器34の出力E (e6〜e3 )は”1110”と
なシ、シフタ33のシフト桁数として6が指定される。
Furthermore, as a specific example of case 2, if we consider the case where the data start address A is X616 and the data digit number information is 8160, the data position in the memory lo of the data that can be requested is shown in
, ), the output data to the shifter 33 is as shown in FIG. 10(b). In this case, the output E (e6 to e3) of the adder 34 is "1110", and 6 is specified as the number of shift digits of the shifter 33.

これにょシ、シフタ33は第10図(b)に示される6
4ビツトのデータを左に6桁(24ビツト)シフトし、
その上位8桁(32ビツト)を読出しデータとして出力
する。
In this case, the shifter 33 is 6 shown in FIG. 10(b).
Shift the 4-bit data to the left by 6 digits (24 bits),
The upper eight digits (32 bits) are output as read data.

丑だ、ケース3の具体例としてデータ先頭アト°レスA
が×816、データ桁数情報りが416の場合を考える
と請求めるデータのメモIJ J o内データ位置は第
11図(a)に示される通シとなり、シフタ33への出
力デ〜りi’li’l1図(b)に示される通りとなる
。この場合、加算器34の出力E (eo %@3)は
”1100″となり、シフタ33のシフト桁数として4
が4旨足される。こtにょシシフタ33は第11図(b
)に示される64ビツトのデータを左に4桁シフトし、
その上位8桁(32ビツト)全読出しデータとして出方
する。
As a concrete example of case 3, data start address A
If we consider the case where is ×816 and the data digit number information is 416, the data position in the memo IJJo of the data that can be requested is the same as shown in FIG. 11(a), and the output data to the shifter 33 is 'li'l1 As shown in Figure (b). In this case, the output E (eo%@3) of the adder 34 is "1100", and the number of shift digits of the shifter 33 is 4.
4 effects are added. The shifter 33 is shown in Fig. 11 (b).
) Shift the 64-bit data shown in 4 digits to the left,
The upper 8 digits (32 bits) are output as all read data.

更ニ、ケース具体例体例としてデータ先頭アドレスAが
×CI6、データ桁数情報りが816 の場合を考える
と請求めるデータのメモリIo内データ位置は第12図
(、)に示される通りとな力、シフタ33への出力デー
タは第12図(b)に示される通りとなる。この場合、
加算器34の出力E(eg−es)は”1100”とな
り、’/7タ33のシフト桁鶴として4が指定される。
Further, as a specific case example, if we consider the case where the data start address A is ×CI6 and the data digit number information is 816, the data position in the memory Io of the data that can be requested is as shown in Figure 12 (,). The force and output data to the shifter 33 are as shown in FIG. 12(b). in this case,
The output E (eg-es) of the adder 34 becomes "1100", and 4 is designated as the shift digit of the '/7 data 33.

これによりシフタ33は第12図(b)に示される64
ビツトのデータを左に4桁シフトし、その上位8桁(3
2ピント)を読出しデータとして出力する。
This causes the shifter 33 to move to 64 as shown in FIG. 12(b).
Shift the bit data 4 digits to the left, and then shift the upper 8 digits (3
2 pinto) is output as read data.

なお、前記実施例では、左シフト可能なシフタ33を用
いてデータ位置合せを行なうものとしたが、左、右シフ
ト可能なシックを用いることも可能である。第13図は
左、右シフト可能な/フタ4Iを用いたデータ選択位置
合せ回路30の構成を示す。なお、第4図と同一部分に
は同一符号が付されである。第13図の例では、データ
セレクタ31.32による左メモリ11゜右メモリ12
からの各読出しデータ(32ビツト)の左、右位置の決
定は、データ先頭アドレス人の第4ビツトa4(のイン
バータ42によるレベル反転出力)に応じて行なわれる
。この場合、a4二″1” のとき、左、右入替えが行
なわれる。加算器34の出力Eの下位3ピツ) e1〜
e3は減算器43によって固定1a 816(”100
0”)から減じられる。減算器43の出力E′の下位3
ビツトcl′〜83′はデータセレクタ44の一方の入
力端に供給される。データセレクタ44の他方の入力端
には加算器34の出力Eの下位3ビットeI−83が供
給される。址た、データセレクタ44の迫択信号端には
加算器34の出力Eの最上位ビットcoが供給される。
In the above embodiment, data alignment is performed using the shifter 33 that can be shifted to the left, but it is also possible to use a shifter that can be shifted to the left or right. FIG. 13 shows the configuration of a data selection and alignment circuit 30 using a lid 4I that can be shifted left and right. Note that the same parts as in FIG. 4 are given the same reference numerals. In the example of FIG. 13, the left memory 11° and the right memory 12 by the data selectors 31 and 32 are
The left and right positions of each read data (32 bits) are determined according to the fourth bit a4 (level inverted output by the inverter 42) of the data head address. In this case, when a42"1", left and right swapping is performed. The lower 3 bits of the output E of the adder 34) e1~
e3 is fixed by the subtractor 43 as 1a 816 ("100
0"). The lower 3 of the output E' of the subtracter 43
Bits cl'-83' are supplied to one input terminal of data selector 44. The other input terminal of the data selector 44 is supplied with the lower three bits eI-83 of the output E of the adder 34. The most significant bit co of the output E of the adder 34 is supplied to the selection signal end of the data selector 44.

しかしてデータセレクタ44はeQ−0”のときe1′
〜e3′を(右)シフト桁数指定情報としてシフタ4ノ
に選択出力する。同様にデータセレクタ44はeo二″
1”のとき01〜03を(左)シフト桁数指定情報とし
てシック41に選択出力する。このシフタ41には、上
記e6がシフト方向の指定情報として供給されている。
Therefore, when the data selector 44 is eQ-0'', e1'
~e3' is selectively outputted to shifter 4 as (right) shift digit number designation information. Similarly, the data selector 44 is
1'', 01 to 03 are selectively outputted to the chic 41 as (left) shift digit number designation information.The shifter 41 is supplied with the above e6 as shift direction designation information.

シフタ41はeQ二”0”のとき右シフト、eo;”■
”のとき左シフトを行なう。シフタ4ノの左または右シ
フト結果の上位32ビツト(8桁)が読出しデータとな
る。
The shifter 41 shifts to the right when eQ2 is "0", eo;"■
", a left shift is performed. The upper 32 bits (8 digits) of the left or right shift result of shifter 4 become read data.

城だ、前記実施例ではシフト結果の上位8桁(32ビツ
ト)全読出しデータとして出力する場合について説明し
たが、シフト結果の下位8桁(32ビツト)を読出しr
−夕として出方することも可能である。この場合には、
少なくとも右シフト用能なシックが必要となる。この場
合、シ7りに供給する左メモvlノ、右メモυJ2から
の各続出しデータ(32ピッl−) ノ左。
In the above embodiment, the upper 8 digits (32 bits) of the shift result are output as all read data, but the lower 8 digits (32 bits) of the shift result are output as read data.
-It is also possible to appear in the evening. In this case,
You will need at least a chic who can shift to the right. In this case, each successive data (32 pins) from the left memo Vl and the right memo υJ2 are supplied to the left.

右位置は、前述したケース1の場合のみ、左。The right position is left only in case 1 mentioned above.

右入替えをすることが好ましい。また、右シフト桁薮は
第13図に示す減算器43の出力E′の下位3ビツトe
l′〜e3′によって指定することが可能である。
It is preferable to perform right swapping. Furthermore, the right shift digits are the lower three bits e of the output E' of the subtracter 43 shown in FIG.
It can be specified by l' to e3'.

また、前記実施例では、指定桁数のデータを右詰めして
出力する場合について説明したが、この発明は左詰めさ
れたデータを必要とするものにも応用することは可能で
ある。更に前記実施例では、1桁4ビツト単位でアドレ
スが割当てられた0016〜FFts (O番地〜25
5番地)のアドレス空間を適用し、読出し対象データの
最長桁数が25桁(最長ビット数が4×23ビツト)で
あるデータ処理装置に実施した場合について説明したが
、一般に次に述べるデータ処理装置に応用できる。即ち
、この発明は、1桁nピット単位でアドレスが割当てら
れた0番地乃至2i−1番地のアドレス空間が適用され
、読出し対象データの最長桁数が2に桁(最長ビット数
がn×2 ビット)であるデータ処理装置に適用できる
。この場合、メモリ(メモリ10に対応うとして、2に
桁(n×2にビット幅)の左メモリ(左メモリ1)に対
応)および右メモリ(右ノモリ12ニ対応)カラナル2
に+1桁(n×2に+1ビット幅)のメモリ、即ち読出
し対象データの最長桁数(したがって読出しデータ@)
の2倍幅のメモリを用いる。また、左メモリに対するア
ドレス(第1種アドレス情報)として、データ先頭アド
レスの上位i−に一1ピットまたは当該上位i−に一1
ビットを+1したものを使用する。この場合、いずれを
使用するかは、データ先頭アドレスの上位(左から) 
i−にビット目のビット(第i−に一1ビット)の状態
によって決定される。また、右メモリに対するアドレス
(第2種アドレス情報)として、データ先頭アドレスの
上位i−に一1ビットをそのまま使用する。明らかなよ
うに前記実施例は、n=4゜i=8 、に=3の場合で
ある。
Further, in the above embodiment, a case has been described in which data of a specified number of digits is right-justified and output, but the present invention can also be applied to those requiring left-justified data. Further, in the above embodiment, addresses 0016 to FFts (O address to 25
Although we have explained the case where the address space of Address 5) is applied to a data processing device where the maximum number of digits of the data to be read is 25 digits (the maximum number of bits is 4 x 23 bits), the following data processing is generally applicable. Can be applied to equipment. That is, the present invention applies an address space from address 0 to address 2i-1 in which addresses are assigned in units of 1 digit n pits, and the maximum number of digits of the data to be read is 2 digits (the maximum number of bits is n x 2). It can be applied to data processing devices that are (bits). In this case, the memory (corresponding to memory 10, left memory (left memory 1) of 2 digits (n x 2 bit width)) and the right memory (corresponding to right memory 12) carinal 2
+1 digit (+1 bit width for n x 2) memory, that is, the maximum number of digits of the data to be read (therefore, the read data @)
Uses double-width memory. Also, as an address for the left memory (first type address information), 11 pits are placed in the upper i- of the data start address or 11 bits are placed in the upper i- of the data start address.
Use the bit with +1. In this case, which one to use depends on the upper part of the data start address (from the left).
It is determined by the state of the i-th bit (i-th bit 11). Further, as the address for the right memory (second type address information), the upper i- bits of the data start address are used as they are. As is clear, in the above embodiment, n=4°, i=8, and n=3.

〔発明の効果〕〔Effect of the invention〕

以上詳述したようにこの発明によれば、1回のメモリリ
ードアクセスで、指定されたアドレスから始まる指定桁
数のデータを含む2に+1桁のデータを読出すことがで
きる。更に、この発明によれば、この読出しデータに基
づいてめるデータが左または右詰めされた2に桁のデー
タe’&alfj#;J”Tj’9o co!、K、a
 (7)g q ’ l”によれば、メモリリート9ア
クセスが1回で済むため可変長データの高速読出しが可
能となる。
As described in detail above, according to the present invention, data of 2+1 digits including data of a specified number of digits starting from a specified address can be read with one memory read access. Further, according to the present invention, data based on the read data is left- or right-justified 2-digit data e'&alfj#;J"Tj'9o co!, K, a
(7) g q ′ l” allows high-speed reading of variable length data because the memory RET 9 only needs to be accessed once.

また、シフト動作によるデータ位置(桁)合せが行なえ
るため、ノ・−ドウエア構成が簡略化できる。
Furthermore, since data position (digit) alignment can be performed by shift operation, the hardware configuration can be simplified.

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

第1図はこの発明の一実施例に係るデータ読出し回路の
概略構成を示すブロック図、第2図は第1図に示す左メ
モリおよび右メモリの領域を4ビット単位で区分して得
られる各区分領域と適用アドレス空間における各アドレ
スとの対応関係f:説明する図、第3図は第1図に示す
メモリアドレス生成回路の具体的構成を示す回路図、第
4図は第1図に示すデータ選択位置合せ回路の具体的構
成を示す回路図、第5図乃至第8図はデータ先頭アドレ
スとデータ桁数との組合せによって4分類される可変長
データを説明する図、第9図乃至第12図は第5図乃至
第8図に対応する具体的な可変長データと、当該データ
を含むシフタ33への入力データとをそれぞれ説明する
図、第13図は第1図に示すデータ選択位置合せ回路の
変形例を示す図である。 10 メモリ、1ノ・・左メモリ、12・・・右メモリ
、20・・・メモリアドレス生成回路、21゜34・・
加算器、22,31,32.44・・データセレクタ、
30・・・データ選択位置合せ回路、33.41・・・
シフタ、43・・・減算器。 出願人代理人 弁理士 鈴 江 武 彦第3図 AL AR 第4図 テークtつ 第5図 (a) (b) (a) (b) 11 1111 11 第9 (a) 第101 第12 (b) 閃 (b) 図 (b) 図 (b) 一丁一%丁] ・11.・
FIG. 1 is a block diagram showing a schematic configuration of a data readout circuit according to an embodiment of the present invention, and FIG. 2 shows each area obtained by dividing the left memory and right memory areas shown in FIG. Correspondence relationship f between the segmented area and each address in the applied address space: An explanatory diagram, FIG. 3 is a circuit diagram showing the specific configuration of the memory address generation circuit shown in FIG. 1, and FIG. 4 is shown in FIG. 1. 5 to 8 are circuit diagrams showing the specific configuration of the data selection and alignment circuit. FIGS. 12 is a diagram illustrating specific variable length data corresponding to FIGS. 5 to 8 and input data to the shifter 33 including the data, and FIG. 13 is a diagram illustrating the data selection position shown in FIG. 1. It is a figure which shows the modification of a matching circuit. 10 memory, 1... left memory, 12... right memory, 20... memory address generation circuit, 21°34...
Adder, 22, 31, 32.44... data selector,
30...Data selection alignment circuit, 33.41...
Shifter, 43...Subtractor. Applicant's representative Patent attorney Takehiko Suzue Figure 3 AL AR Figure 4 Takes Figure 5 (a) (b) (a) (b) 11 1111 11 No. 9 (a) No. 101 No. 12 (b) ) Flash (b) Figure (b) Figure (b) 1 cho 1% cho] ・11.・

Claims (1)

【特許請求の範囲】 1桁nビット単位でアドレスが割当てられた0番地乃至
2i−1番地のアドレス空間が適用され、脱出し対象デ
ータの最長桁数が2 であるに+1 データ処理装置において、2 桁の出力データ幅を有す
るメモリであって、第1種アドレス情報が供給され、か
つ2桁の出力データ幅の左メモリ、および第2種アドレ
ス情報が供給され、かつい桁の出力データ幅の右メモリ
からな9、これら左および右ノ七りが異なるアドレス情
報で同時にリードアクセス可能なメモリと、読出し対象
データに対するデータ先頭アドレスの上位i−に一1ビ
ットを、当該データ先頭アドレスの上位i−にビット目
のビット状態にL−6じ、そのまま或いは+1し、上記
第1種アドレス情報として上記左メモリに出力する手段
と、上記データ先頭アドレスの上位i−に一1ビットを
上記第2種アドレス情報として上記右メモリに出力する
手段と、上記左および右メモリからそれぞれ読出される
2に桁の読出しデータがそのまま或に+1 いは左右入替えられて連結された2 桁の情報を、上記
データ先頭アドレスの下位にビット、および読出し対象
データの桁数を示すデータ桁数情報で指定される桁数だ
け左または右シフトし、所定位置の2に桁を読出しデー
タとして出力するデータ選択位置合せ回路とを具備する
ことを特徴とする可変長データ読出し回路。
[Claims] In a data processing device, an address space from address 0 to address 2i-1 to which addresses are assigned in units of n bits of one digit is applied, and the maximum number of digits of the target data to be escaped is 2+1. A memory having a two-digit output data width, to which the first type address information is supplied, and a left memory having a two-digit output data width, and a left memory having a two-digit output data width, and a left memory having a two-digit output data width; From the right memory, the left and right sides can be read simultaneously with different address information, and 11 bits are added to the upper i- of the data start address for the data to be read, and the upper i of the data start address is - means to add L-6 to the bit state of the bit-th bit, as it is, or increment it by +1, and output it to the left memory as the first type address information; A means for outputting the seed address information to the right memory, and a means for outputting the 2-digit information read from the left and right memories respectively, either as is, or with +1 left and right swapped and concatenated. Data selection positioning that shifts left or right by the number of digits specified by the bit at the lower end of the data start address and the data digit number information indicating the number of digits of the data to be read, and outputs the digit at the predetermined position 2 as read data. A variable length data reading circuit comprising:
JP15098483A 1983-08-19 1983-08-19 Reading circuit of variable length data Pending JPS6043742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15098483A JPS6043742A (en) 1983-08-19 1983-08-19 Reading circuit of variable length data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15098483A JPS6043742A (en) 1983-08-19 1983-08-19 Reading circuit of variable length data

Publications (1)

Publication Number Publication Date
JPS6043742A true JPS6043742A (en) 1985-03-08

Family

ID=15508741

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15098483A Pending JPS6043742A (en) 1983-08-19 1983-08-19 Reading circuit of variable length data

Country Status (1)

Country Link
JP (1) JPS6043742A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62102497A (en) * 1985-10-28 1987-05-12 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Random access memory
JPS62194561A (en) * 1986-02-21 1987-08-27 Toshiba Corp Semiconductor storage device
JPS6383875A (en) * 1986-09-29 1988-04-14 Toshiba Corp Picture processor
JPS63223970A (en) * 1987-03-13 1988-09-19 Hitachi Ltd Information processor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52125240A (en) * 1976-04-14 1977-10-20 Fujitsu Ltd Data arrangement control system
JPS53109443A (en) * 1977-03-07 1978-09-25 Hitachi Ltd Data processor
JPS556667A (en) * 1978-06-30 1980-01-18 Fujitsu Ltd Data transfer system with buffer register

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52125240A (en) * 1976-04-14 1977-10-20 Fujitsu Ltd Data arrangement control system
JPS53109443A (en) * 1977-03-07 1978-09-25 Hitachi Ltd Data processor
JPS556667A (en) * 1978-06-30 1980-01-18 Fujitsu Ltd Data transfer system with buffer register

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62102497A (en) * 1985-10-28 1987-05-12 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Random access memory
JPH0531176B2 (en) * 1985-10-28 1993-05-11 Intaanashonaru Bijinesu Mashiinzu Corp
JPS62194561A (en) * 1986-02-21 1987-08-27 Toshiba Corp Semiconductor storage device
JPS6383875A (en) * 1986-09-29 1988-04-14 Toshiba Corp Picture processor
JPH0524538B2 (en) * 1986-09-29 1993-04-08 Tokyo Shibaura Electric Co
JPS63223970A (en) * 1987-03-13 1988-09-19 Hitachi Ltd Information processor

Similar Documents

Publication Publication Date Title
US7117232B2 (en) Method and apparatus for providing packed shift operations in a processor
JP3924307B2 (en) Arithmetic operation apparatus and arithmetic operation method
US7480686B2 (en) Method and apparatus for executing packed shift operations
US20020184480A1 (en) Vectorized table lookup
US4296468A (en) Address conversion unit for data processing system
US6560691B2 (en) Modulus address generator and method for determining a modulus address
US4691282A (en) 16-bit microprocessor system
JPS6043742A (en) Reading circuit of variable length data
JP2502836B2 (en) Preprocessing device for division circuit
US20050256996A1 (en) Register read circuit using the remainders of modulo of a register number by the number of register sub-banks
US5710731A (en) Combined adder and decoder digital circuit
JPS5968058A (en) Floating point multiplier
JP3741464B2 (en) DRAM access method
US20030126402A1 (en) Device and method for information processing
EP0444624A2 (en) Apparatus for generating an address to access a memory
JPH05113928A (en) Image memory device
JPH0553920A (en) Structural address generator
JP3055558B2 (en) n-bit arithmetic unit
JPS6148177B2 (en)
JPH04130549A (en) Memory device
KR830000265B1 (en) Information processing device
JPH05266059A (en) Address generating circuit
JPS63205767A (en) Bit reversing device
JPH0313011A (en) Binary to decimal converter
JPS59106047A (en) Microcomputer