JPH06187236A - Storage device - Google Patents

Storage device

Info

Publication number
JPH06187236A
JPH06187236A JP33406392A JP33406392A JPH06187236A JP H06187236 A JPH06187236 A JP H06187236A JP 33406392 A JP33406392 A JP 33406392A JP 33406392 A JP33406392 A JP 33406392A JP H06187236 A JPH06187236 A JP H06187236A
Authority
JP
Japan
Prior art keywords
data
address
data memory
contents
output
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.)
Granted
Application number
JP33406392A
Other languages
Japanese (ja)
Other versions
JP3309458B2 (en
Inventor
Yoshiko Saito
佳子 斉藤
Nobuo Asano
延夫 浅野
Mitsuru Uesugi
充 上杉
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 Holdings Corp
Original Assignee
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
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

Abstract

PURPOSE:To reduce the size of a data memory when corresponding data contents of plural data memories are regularly different by converting different data contents into corresponding data contents of the data memory when the different data in plural data tables at a data memory part are accessed. CONSTITUTION:A specific address is inputted to an input terminal 11 and the data memory part 12 is accessed. A data conversion part 13 converts the data contents of the data output from the data memory part 12 by using noncommon addresses and part of the data output and the output data are outputted from an output terminal 14. When the specific address is inputted to the data memory part 12 which is reduced in size by making the tables common in data memory constitution having plural data memory table whose corresponding data contents are regularly different, the contents of the address are outputted from the data memory part 12 and converted by the data conversion part 13 by using part of the specific address and the output data from the data memory, and the converted data contents are outputted.

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 calculations 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 by being incorporated 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 different data tables with corresponding data contents having a rule (in this example, the data tables 1, 2 are In 5th bit (counting the LSB as 0th bit, the same applies to the counting of the number of bits below), but other data are the same} I was taking it (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. Figure 6
First, when a designated address of the data memory 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 when the corresponding data contents among a plurality of data memories only differ according to 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, and when a plurality of data memories have different corresponding data contents according to a rule, a table is shared by simple control so that the data memories can be shared. It is an object of the present invention to provide an excellent storage device that is downsized.

【0006】[0006]

【課題を解決するための手段】本発明は上記目的を達成
するために、複数のデータテーブル間で一定則にしたが
って一部のデータのみが異なる複数のデータテーブルを
物理的に重ねて記憶したデータメモリ部と、上記データ
メモリ部の複数のデータテーブル中で異なるデータをア
クセスした際にこのデータ内容を物理的に重ねて記憶し
たデータメモリの対応するデータ内容に変換するデータ
変換部とを備えたものである。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides data in which a plurality of data tables that differ only in some data are physically overlapped and stored according to a certain rule among a plurality of data tables. A memory unit and a data conversion unit for converting different data in the plurality of data tables of the data memory unit into corresponding data contents of the data memory in which the data contents are physically overlapped and stored. It is a thing.

【0007】[0007]

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

【0008】[0008]

【実施例】図1は本発明の第1の実施例の構成を示す図
である。図1において、11はデータメモリの指定番地
を受け取る入力端子、12は入力端子11に接続された
データメモリ部であり、テーブルを共用化することで小
型化されている。13はデータメモリ部12に接続され
たデータ変換部であり、データメモリ部11がテーブル
を共用化しているので、指定番地によってはデータ内容
を変換する。14はデータメモリ部12とデータ変換部
13とに接続された出力端子であり、出力データを送出
する。
1 is a diagram showing the configuration of a first embodiment of the present invention. In FIG. 1, 11 is an input terminal for receiving a specified address of the data memory, and 12 is a data memory unit connected to the input terminal 11, which is miniaturized by sharing a table. Reference numeral 13 is a data conversion unit connected to the data memory unit 12. Since the data memory unit 11 shares a table, the data contents are converted depending on the designated address. An output terminal 14 is connected to the data memory unit 12 and the data conversion unit 13, and outputs 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, the logical memory structure as shown in FIG. 5A is used, and the data contents of the data table 1 and the data table 2 are different from each other 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),
The data memory unit 12 has a physical memory as shown in FIG. First, the designated address is input to the input terminal 11 to access the data memory unit 12. The data output from the data memory unit 12 is converted in the data conversion unit 13 by the 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"
If 0 '"is written in binary," 0100000000 "
However, in the present embodiment, the 0th bit to the 9th bit are the common address, and the 10th bit is the common external address.
That is, the input address of the input terminal 11 is "x'40".
In case of 0 '", the common address is" 000000000000 ",
The common external address is "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から出力する。
Further, 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 the figure
ta [5] is the output data d from the data memory unit 12.
The fifth bit in ATA [9: 0], that is, "0" for data table 1 and "1" for data table 2 is indicated. Further, data [9: 6,4: 0] is 0 in the output data data [9: 0] from the data memory unit 12.
The data string of the 4th bit to the 4th bit and the 6th bit to the 9th bit is shown. For example, in the case of data at the address "x'000 '" in the data table 1, "00001"
1111 ″. Further, address [10] indicates the 10th bit in the address, for example, “1” if the input address “x′400 ′” of the input terminal 11 is present.
address [9: 0] indicates a sequence of 0th bit to 9th bit in the input address of the input terminal 11, and, for example, if the input address of the input terminal 11 is "x'400 '", it is "0".
5000000 ″. At this time, if the data memory configuration is as shown in FIG.
By using ss [10] and a part of data output data [5], the data conversion unit 13 can be configured with one AND gate, and the output data is output from the output terminal 14.

【0011】なお、アドレスにおけるどの範囲のデータ
あるいはデータテーブル内のどの範囲内のデータを移動
させるかは、データメモリの構成に基づいて予め定めて
おき、これをソフトウェア等の制御により行えばよいも
のである。
The range of data in the address or the range of data in the data table to be moved may be determined in advance based on the configuration of the data memory and controlled by software or the like. 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 structure of the second embodiment having the function of addressing the data memory section in the above embodiment. In FIG. 4, reference numeral 21 is an input terminal for receiving a designated address, 22 is a multiplexer / latch unit connected to the input terminal 21, and the data from the input terminal 21 or the output from the latch unit 24 is the data to be accessed next. Select and hold the memory address. An address updating unit 23 is connected to the multiplexer / latch unit 22 and updates the address to be specified next. In this example, 1
Add one by one. Reference numeral 24 is 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. 1, respectively. 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の実施例と同様である。
The operation relating to the data memory addressing function of the second embodiment will be described next. 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) in which which data is selected is programmed in advance. 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 (address is "x'40"
In the case of 0 ′ ″, “0000000000”) is output to the address updating unit 23, and after updating (specifically, adding 1) for the next address designation, the updated data is latched by the latch unit 2
Hold at 4. Then, the multiplexer / latch unit 22
Then, the next designated address is selected and output to the data memory unit 25. At the same time, the series of operations of passing the common address to the address updating unit 23 is repeated. The operations of the data memory unit 25, the data conversion unit 26, and the output terminal 27 are the same as those in the first embodiment.

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

【0015】[0015]

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

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

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

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

【図3】本実施例の物理的メモリの構成の一例を示す図FIG. 3 is a diagram showing an example of a configuration of a physical memory of this 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 showing an example of a logical memory configuration. FIG. 5B is a diagram showing a main part of a physical memory configuration according to the present embodiment.

【図6】従来の記憶装置の構成を示すブロック図FIG. 6 is a block diagram showing 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 section 13, 26 Data conversion section 22 Multiplexer / latch section 23 Address updating section 24 Latch section

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数のデータテーブル間で一定則にした
がって一部のデータのみが異なる複数のデータテーブル
を物理的に重ねて記憶したデータメモリ部と、上記デー
タメモリ部の複数のデータテーブル中で異なるデータを
アクセスした際にこのデータ内容を物理的に重ねて記憶
したデータメモリの対応するデータ内容に変換するデー
タ変換部とを備えた記憶装置。
1. A data memory unit in which a plurality of data tables in which only some data differ according to a certain rule are physically overlapped and stored between a plurality of data tables, and in the plurality of data tables of the data memory unit. A storage device comprising a data conversion unit that converts different data contents into corresponding data contents of a data memory that is physically overlapped and stored when different data is accessed.
【請求項2】 現在アクセスしているデータテーブルの
指定番地を次にアクセスする指定番地に更新する番地更
新部と、この番地更新部で更新された指定番地と入力端
子から入力される任意の指定番地とを選択してデータメ
モリ部に出力するマルチプレクサ・ラッチ部とを備えた
請求項1記載の記憶装置。
2. An address updating unit for updating the specified address of the currently accessed data table to a specified address to be accessed next, and the specified address updated by this address updating unit and any specification input from the input terminal. The storage device according to claim 1, further comprising a multiplexer / latch unit for selecting an address and outputting the selected address to the 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 true JPH06187236A (en) 1994-07-08
JP3309458B2 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
JP3309458B2 (en) 2002-07-29

Similar Documents

Publication Publication Date Title
US4833657A (en) Semiconductor frame buffer memory
US4885581A (en) Digital-to-analog converter circuit
US4896301A (en) Semiconductor memory device capable of multidirection data selection and having address scramble means
EP0057096A2 (en) Information processing unit
JPS621047A (en) Semiconductor device containing memory circuit
JPH06187236A (en) Storage device
US5875147A (en) Address alignment system for semiconductor memory device
US7216215B2 (en) Data access method applicable to various platforms
WO1989000731A1 (en) Memory device
JPH0259560B2 (en)
JPS6232818B2 (en)
JPS6214919B2 (en)
JPH0218638A (en) Data control system
JP2882714B2 (en) State selection device
JP2524335B2 (en) A circuit device for converting a global address to a small address in a control technology system
JP3251265B2 (en) Memory output control circuit
JPH0550078B2 (en)
JPH04326139A (en) Memory device
JPS6061842A (en) Access system of structure memory
JPS61170843A (en) Memory control circuit
JPS61217995A (en) Memory device
JPH0410039A (en) Memory control system
JPS5991574A (en) Circuit for converting data array
JPH04195895A (en) Ic memory
JPS61222086A (en) Semiconductor memory element

Legal Events

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