JP3309458B2 - Storage device - Google Patents

Storage device

Info

Publication number
JP3309458B2
JP3309458B2 JP33406392A JP33406392A JP3309458B2 JP 3309458 B2 JP3309458 B2 JP 3309458B2 JP 33406392 A JP33406392 A JP 33406392A JP 33406392 A JP33406392 A JP 33406392A JP 3309458 B2 JP3309458 B2 JP 3309458B2
Authority
JP
Japan
Prior art keywords
data
address
unit
data memory
memory
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.)
Expired - Fee Related
Application number
JP33406392A
Other languages
Japanese (ja)
Other versions
JPH06187236A (en
Inventor
佳子 斉藤
延夫 浅野
充 上杉
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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP33406392A priority Critical patent/JP3309458B2/en
Publication of JPH06187236A publication Critical patent/JPH06187236A/en
Application granted granted Critical
Publication of JP3309458B2 publication Critical patent/JP3309458B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、データメモリを用いて
各種演算を行うディジタル信号処理プロセッサにおける
記憶装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage device in a digital signal processor for performing various operations using a data memory.

【0002】[0002]

【従来の技術】図6は従来のディジタル信号処理プロセ
ッサに内蔵されて用いられる記憶装置を示している。従
来は論理的なメモリ構成において、例えば図5(a)に
示すようにデータテーブル間で対応するデータ内容が規
則を持って異なるデータテーブルが複数面ある場合{こ
の例では、データテーブル1、2において、5ビット目
(LSBを0ビット目としてカウントする。以下、ビッ
ト数のカウントについてはこれと同様である。)が異な
るが、他のデータは等しくなっている}にもそのままの
メモリ構成をとっていた(図7)。図6において、51
は入力端子、52はデータメモリ部、53は出力端子で
ある。
2. Description of the Related Art FIG. 6 shows a storage device used in a conventional digital signal processor. Conventionally, in a logical memory configuration, for example, as shown in FIG. 5A, when there are a plurality of data tables in which corresponding data contents between the data tables are different according to rules. , The 5th bit (LSB is counted as the 0th bit; hereinafter, the counting of the number of bits is the same as above) is different, but the other data are equal. (Fig. 7). In FIG. 6, 51
Is an input terminal, 52 is a data memory unit, and 53 is an output terminal.

【0003】上記従来例の動作について説明する。図6
において、まず入力端子51からデータメモリ指定番地
が入力されると、その指定番地でデータメモリ部52に
アクセスされ、その指定番地の内容が出力端子53に出
力されるようになっている。
The operation of the above conventional example will be described. FIG.
First, when a data memory designated address is input from the input terminal 51, the data memory unit 52 is accessed at the designated address, and the contents of the designated address are output to the output terminal 53.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来の記憶装置では、複数のデータメモリ間で対応するデ
ータ内容が規則を持って異なるだけの場合であっても、
そのままのメモリ構成をとっているためメモリ領域が大
きくなってしまい、小型化が図れないという問題があっ
た。
However, in the above-mentioned conventional storage device, even if the corresponding data contents among the plurality of data memories are different only by rules,
Since the memory configuration is used as it is, the memory area becomes large, and there is a problem that miniaturization cannot be achieved.

【0005】本発明は、このような従来の問題を解決す
るものであり、複数のデータメモリ間で対応するデータ
内容が規則を持って異なる場合には簡単な制御でテーブ
ルを共用させ、データメモリの小型化を図る優れた記憶
装置を提供することを目的とするものである。
The present invention solves such a conventional problem. When the data contents corresponding to a plurality of data memories differ according to rules, the tables can be shared by simple control, and the data memories can be shared. It is an object of the present invention to provide an excellent storage device which can reduce the size of the device.

【0006】[0006]

【課題を解決するための手段】本発明は上記目的を達成
するために、複数のデータテーブル間で対応するアドレ
スにおけるデータが一定則にしたがって前記データの
部のビットデータのみが異なる複数のデータテーブルを
共用化して記憶したデータメモリ部と、上記データメモ
リ部の複数のデータテーブル中で異なるデータをアクセ
スした際にこのデータ内容を共用化して記憶したデータ
メモリの対応するデータ内容に変換するデータ変換部と
を備えたものである。
In order to achieve the above object, the present invention achieves the above object by providing a corresponding address between a plurality of data tables.
Some bits data only different data tables of the data data according to a certain rule in the scan
Data converting unit for converting a data memory unit for storing and sharing, the corresponding data contents of the data memory storing shared the data content when accessing different data in a plurality of data tables in the data memory section It is provided with.

【0007】[0007]

【作用】本発明は、上記構成により次のような作用を有
する。まず、対応するデータ内容が規則を持って異なる
データメモリテーブルを複数面持つデータメモリ構成
を、テーブルを共用化することで小型化したデータメモ
リ部に、指定番地が入力されると、その番地の内容がデ
ータメモリ部から読み出される。そして、データ変換部
において、指定番地の一部とデータメモリからの出力デ
ータの一部とを用いて、データメモリから読み出された
データ内容が変換され、正しいデータ内容が出力され
る。このように簡単な制御を施すことによりデータメモ
リの小型化が可能になる。
The present invention has the following operation by the above configuration. First, when a designated address is input to a data memory configuration in which a corresponding data content has a plurality of data memory tables having different rules according to a rule, and the table is shared, a designated address is input. The contents are read from the data memory unit. Then, the data conversion unit converts the data content read from the data memory using a part of the designated address and a part of the output data from the data memory, and outputs a correct data content. By performing such simple control, the size of the data memory can be reduced.

【0008】[0008]

【実施例】図1は本発明の第1の実施例の構成を示す図
である。図1において、11はデータメモリの指定番地
を受け取る入力端子、12は入力端子11に接続された
データメモリ部であり、テーブルを共用化することで小
型化されている。13はデータメモリ部12に接続され
たデータ変換部であり、データメモリ部11がテーブル
を共用化しているので、指定番地によってはデータ内容
を変換する。14はデータメモリ部12とデータ変換部
13とに接続された出力端子であり、出力データを送出
する。
FIG. 1 is a diagram showing the configuration of a first embodiment of the present invention. In FIG. 1, reference numeral 11 denotes an input terminal for receiving a designated address of a data memory, and reference numeral 12 denotes a data memory unit connected to the input terminal 11, which is miniaturized by sharing a table. Reference numeral 13 denotes a data conversion unit connected to the data memory unit 12. Since the data memory unit 11 shares a table, the data conversion is performed depending on the designated address. Reference numeral 14 denotes an output terminal connected to the data memory unit 12 and the data conversion unit 13, and sends out output data.

【0009】次に上記実施例の動作について説明する。
上記実施例において、例えば図5(a)に示すような論
理メモリ構成をもち、データ内容がデータテーブル1と
データテーブル2とで5ビット目の1ビットだけ異なる
(データテーブル1では″0″、データテーブル2で
は″1″)ような場合に、データテーブル1とデータテ
ーブル2のテーブルを共用化(図5(b)参照)して、
図3に示すような物理的メモリをデータメモリ部12に
持つ。まず、指定番地が入力端子11に入力され、デー
タメモリ部12にアクセスする。データメモリ部12か
らのデータ出力は、データ変換部13において、共通外
番地とデータ出力の一部(共用化したデータテーブル間
で異なるデータ)によってデータ内容の変換が行われ
る。ここで、入力端子11の入力アドレス″x’40
0’″を2進表記にした場合、″0100000000
00″となるが、本実施例では、0ビット目〜9ビット
目を共通番地、10ビット目を共通外番地としている。
つまり、入力端子11の入力アドレスが″x’40
0’″の場合、共通番地が″0000000000″、
共通外番地が″1″となる。
Next, the operation of the above embodiment will be described.
In the above embodiment, for example, a logical memory configuration as shown in FIG. 5A is used, and the data contents of the data table 1 and the data table 2 are different by one bit of the fifth bit (“0” in the data table 1, In the case of "1" in the data table 2, the tables of the data table 1 and the data table 2 are shared (see FIG. 5B), and
The data memory unit 12 has a physical memory as shown in FIG. First, the designated address is input to the input terminal 11 and accesses the data memory unit 12. The data output from the data memory unit 12 is converted in the data conversion unit 13 by a common external address and a part of the data output (data different between the shared data tables). Here, the input address “x′40” of the input terminal 11
When "0 '" is expressed in binary notation, "010000000000"
In this embodiment, the 0th bit to the 9th bit are set as a common address, and the 10th bit is set as a non-common address.
That is, the input address of the input terminal 11 is "x'40
0 '", the common address is" 0000000000000 ",
The common external address becomes "1".

【0010】また、図2は5ビット目が常にデータテー
ブル1では″0″、データテーブル2では″1″の場合
の具体構成とその処理状態を示す図であり、図中のda
ta[5]は、データメモリ部12からの出力データd
ata[9:0]中の5ビット目、つまり、データテー
ブル1ならば″0″、データテーブル2ならば″1″を
示す。また、data[9:6,4:0]は、データメ
モリ部12からの出力データdata[9:0]中の0
ビット目〜4ビット目及び6ビット目〜9ビット目のデ
ータ列を示し、例えば、データテーブル1におけるアド
レス″x’000’″のデータであれば、″00001
1111″となる。また、adress[10]はアド
レス中の10ビット目、例えば、入力端子11の入力ア
ドレ″スx’400’″ならば、″1″を示す。また、
adress[9:0]は入力端子11の入力アドレス
中の0ビット目〜9ビット目の列を示し、例えば、入力
端子11の入力アドレス″x’400’″ならば、″0
000000000″を示す。このとき、図5のような
データメモリ構成であれば、指定番地のうちのadre
ss[10]、データ出力の一部のdata[5]を用
いて、ANDゲート1つでデータ変換部13が構成で
き、その出力データを出力端子14から出力する。
FIG. 2 is a diagram showing a specific configuration and a processing state when the fifth bit is always "0" in the data table 1 and "1" in the data table 2, and da in FIG.
ta [5] is output data d from the data memory unit 12
The fifth bit in data [9: 0], that is, "0" for data table 1 and "1" for data table 2. Also, data [9: 6,4: 0] is 0 in the output data data [9: 0] from the data memory unit 12.
A data string of the fourth to fourth bits and the sixth to ninth bits indicates, for example, the data of the address “x'000 '” in the data table 1 is “00001”.
The address [10] indicates the 10th bit in the address, for example, “1” if the input address “x′400” of the input terminal 11.
The address [9: 0] indicates a column of the 0th to 9th bits in the input address of the input terminal 11, and for example, if the input address of the input terminal 11 is "x'400", "0"
0000000000 ". At this time, if the data memory configuration is as shown in FIG.
Using ss [10] and a part of data [5] of the data output, the data converter 13 can be configured with one AND gate, and the output data is output from the output terminal 14.

【0011】なお、アドレスにおけるどの範囲のデータ
あるいはデータテーブル内のどの範囲内のデータを移動
させるかは、データメモリの構成に基づいて予め定めて
おき、これをソフトウェア等の制御により行えばよいも
のである。
It should be noted that the range of data in the address or the range of data in the data table to be moved is determined in advance based on the configuration of the data memory, and this may be performed under the control of software or the like. It is.

【0012】また、図4は、上記実施例にデータメモリ
部へのアドレッシングを行う機能を備えた第2の実施例
の構成を示す図である。図4において、21は指定番地
を受け取る入力端子、22は入力端子21に接続された
マルチプレクサ・ラッチ部であり、入力端子21からの
データまたはラッチ部24からの出力である次にアクセ
スすべきデータメモリ番地を選択して保持する。23は
マルチプレクサ・ラッチ部22に接続された番地更新部
であり、次に指定する番地に更新する。この例では、1
ずつ加算する。24は番地更新部23で更新された番地
を保持するラッチ部である。25はデータメモリ部、2
6はデータ変換部であり、これらはそれぞれ図1に示す
データメモリ部12、データ変換部13に等しい。27
は出力端子である。
FIG. 4 is a diagram showing the configuration of a second embodiment having a function of addressing a data memory unit in the above embodiment. In FIG. 4, 21 is an input terminal for receiving a designated address, 22 is a multiplexer / latch unit connected to the input terminal 21, and data to be accessed next which is data from the input terminal 21 or output from the latch unit 24. Select and hold a memory address. Reference numeral 23 denotes an address updating unit connected to the multiplexer / latch unit 22, which updates the address to the next designated address. In this example, 1
Add each time. Reference numeral 24 denotes a latch unit that holds the address updated by the address updating unit 23. 25 is a data memory unit, 2
Reference numeral 6 denotes a data conversion unit, which is equivalent to the data memory unit 12 and the data conversion unit 13 shown in FIG. 27
Is an output terminal.

【0013】次に上記第2の実施例のデータメモリアド
レッシング機能に関する動作を説明する。まず、データ
メモリ指定番地を入力端子21より受け取り、マルチプ
レクサ・ラッチ部22では、入力端子21からのデータ
またはラッチ部24に保持されたデータのいずれかを選
択、保持する。具体的には、どちらのデータを選択する
かを予めプログラミングした制御部(図示せず)の指示
に基づいてこの動作を行う。マルチプレクサ・ラッチ部
22で選択、保持されたデータをデータメモリ部25に
出力すると同時に、共通番地(アドレスが″x’40
0’″の場合、″0000000000″)を番地更新
部23に出力し、次の番地指定のために更新(具体的に
は1だけ加算)された後、更新後のデータをラッチ部2
4で保持する。そして、マルチプレクサ・ラッチ部22
で次の指定番地が選択され、データメモリ部25に出力
される。それと同時にその共通番地が番地更新部23に
渡される、という一連の動作が繰り返される。データメ
モリ部25、データ変換部26、出力端子27の動作
は、第1の実施例と同様である。
Next, the operation relating to the data memory addressing function of the second embodiment will be described. First, the designated address of the data memory is received from the input terminal 21, and the multiplexer / latch unit 22 selects and holds either the data from the input terminal 21 or the data held in the latch unit 24. Specifically, this operation is performed based on an instruction from a control unit (not shown) which has previously programmed which data is to be selected. The data selected and held by the multiplexer / latch unit 22 is output to the data memory unit 25, and at the same time, the common address (the address is “x′40”).
In the case of 0 '"," 000000000000 "is output to the address updating unit 23, and after being updated (specifically, only 1 is added) for the next address designation, the updated data is latched by the latch unit 2.
Hold at 4. The multiplexer / latch unit 22
Selects the next designated address and outputs it to the data memory unit 25. At the same time, a series of operations in which the common address is passed to the address updating unit 23 are repeated. The operations of the data memory unit 25, the data conversion unit 26, and the output terminal 27 are the same as in the first embodiment.

【0014】このように、上記第1、第2の実施例によ
れば、複数のデータテーブル間で対応するデータ内容が
規則を持って異なる場合には、これらのデータを重ねて
記憶し、共通しているデータはそのまま出力し、複数の
テーブル間で異なるデータを読み出すときには、所望の
データが読み出せるようにデータ変換を行うことによ
り、データテーブルを共用化させることができ、データ
メモリの小型化を図ることができる。
As described above, according to the first and second embodiments, when the corresponding data contents differ among a plurality of data tables according to rules, these data are stored in an overlapped manner and shared. When the data is output as it is and different data is read between a plurality of tables, the data table can be shared by performing data conversion so that the desired data can be read, thereby reducing the size of the data memory. Can be achieved.

【0015】[0015]

【発明の効果】本発明は上記実施例から明らかなよう
に、複数のデータテーブル間で対応するデータ内容が規
則を持って異なる場合に、これらのデータを重ねて記憶
し、共通しているデータはそのまま出力し、複数のテー
ブル間で異なるデータを読み出すときには、所望のデー
タが読み出せるようにデータ変換を行うことにより、デ
ータテーブルを共用化させることができ、データメモリ
の小型化を図ることができる。
As is clear from the above embodiment, when the corresponding data contents differ among a plurality of data tables according to rules, the present invention stores these data in a superimposed manner and stores the common data. Is output as it is, and when reading different data among a plurality of tables, data conversion can be performed so that desired data can be read, so that the data tables can be shared and the size of the data memory can be reduced. it can.

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

【図1】本発明の第1の実施例の構成を示すブロック図FIG. 1 is a block diagram showing a configuration of a first exemplary embodiment of the present invention.

【図2】第1の実施例における動作を説明する図FIG. 2 is a diagram illustrating an operation in the first embodiment.

【図3】本実施例の物理的メモリの構成の一例を示す図FIG. 3 is a diagram illustrating an example of a configuration of a physical memory according to the embodiment;

【図4】本発明の第2の実施例を示すブロック図FIG. 4 is a block diagram showing a second embodiment of the present invention.

【図5】(a)は、論理的メモリ構成の一例を示す図 (b)は、本実施例における物理的メモリ構成の要部を
示す図
FIG. 5A is a diagram illustrating an example of a logical memory configuration. FIG. 5B is a diagram illustrating a main part of a physical memory configuration in the present embodiment.

【図6】従来の記憶装置の構成を示すブロック図FIG. 6 is a block diagram illustrating a configuration of a conventional storage device.

【図7】従来の論理的メモリ構成の一例を示す図FIG. 7 is a diagram showing an example of a conventional logical memory configuration;

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

12、25 データメモリ部 13、26 データ変換部 22 マルチプレクサ・ラッチ部 23 番地更新部 24 ラッチ部 12, 25 data memory unit 13, 26 data conversion unit 22 multiplexer / latch unit 23 address update unit 24 latch unit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平3−65097(JP,A) 特開 昭62−284444(JP,A) 特開 平2−168498(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 12/00 - 12/06 ────────────────────────────────────────────────── (5) References JP-A-3-65097 (JP, A) JP-A-62-284444 (JP, A) JP-A-2-168498 (JP, A) (58) Survey Field (Int.Cl. 7 , DB name) G06F 12/00-12/06

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のデータテーブル間で対応するアド
レスにおけるデータが一定則にしたがって前記データの
一部のビットデータのみが異なる複数のデータテーブル
を共用化して記憶したデータメモリ部と、上記データメ
モリ部の複数のデータテーブル中で異なるデータをアク
セスした際にこのデータ内容を共用化して記憶したデー
タメモリの対応するデータ内容に変換するデータ変換部
とを備えた記憶装置。
1. An address corresponding to a plurality of data tables.
A data memory unit only <br/> part of bit data of the data is stored in common the plurality of different data tables according to the data is constant law in less varies in a plurality of data tables in the data memory section A data conversion unit that, when accessing data, shares the data content and converts the data content into a corresponding data content of a stored data memory.
【請求項2】 現在アクセスしているデータテーブルの
指定番地を次にアクセスする指定番地に更新する番地更
新部と、この番地更新部で更新された指定番地と入力端
子から入力される任意の指定番地とを選択してデータメ
モリ部に出力するマルチプレクサ・ラッチ部とを備えた
請求項1記載の記憶装置。
2. An address updating unit for updating a designated address of a currently accessed data table to a designated address to be accessed next, and a designated address updated by the address updating unit and an arbitrary designation inputted from an input terminal. 2. The storage device according to claim 1, further comprising a multiplexer / latch unit for selecting an address and outputting the selected address to a data memory unit.
JP33406392A 1992-12-15 1992-12-15 Storage device Expired - Fee Related JP3309458B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33406392A JP3309458B2 (en) 1992-12-15 1992-12-15 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33406392A JP3309458B2 (en) 1992-12-15 1992-12-15 Storage device

Publications (2)

Publication Number Publication Date
JPH06187236A JPH06187236A (en) 1994-07-08
JP3309458B2 true JP3309458B2 (en) 2002-07-29

Family

ID=18273095

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33406392A Expired - Fee Related JP3309458B2 (en) 1992-12-15 1992-12-15 Storage device

Country Status (1)

Country Link
JP (1) JP3309458B2 (en)

Also Published As

Publication number Publication date
JPH06187236A (en) 1994-07-08

Similar Documents

Publication Publication Date Title
US4833657A (en) Semiconductor frame buffer memory
JPS6340317B2 (en)
EP0314034A2 (en) Logic operation circuit
US4885581A (en) Digital-to-analog converter circuit
JPS6234182B2 (en)
US4896301A (en) Semiconductor memory device capable of multidirection data selection and having address scramble means
JP3309458B2 (en) Storage device
WO1989000731A1 (en) Memory device
JPH0612608B2 (en) Semiconductor memory device
JPS60150148A (en) Virtual address mapping using 2-level conversion buffer
US7216215B2 (en) Data access method applicable to various platforms
US20030126402A1 (en) Device and method for information processing
US4128899A (en) Associated read/write memory
JPH08115268A (en) Memory circuit device
JPH0259560B2 (en)
JP2842094B2 (en) Huffman decoding circuit
JPH0535519B2 (en)
JP3357693B2 (en) Emulation memory mapping circuit and emulation system
JPH0218638A (en) Data control system
JPS63188250A (en) Memory circuit for optional word length
JPS6232818B2 (en)
JP3149296B2 (en) Semiconductor memory
JPH0410039A (en) Memory control system
JPS61170843A (en) Memory control circuit
JPS61222086A (en) Semiconductor memory element

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees