JPH0567395A - Memory circuit - Google Patents

Memory circuit

Info

Publication number
JPH0567395A
JPH0567395A JP3227598A JP22759891A JPH0567395A JP H0567395 A JPH0567395 A JP H0567395A JP 3227598 A JP3227598 A JP 3227598A JP 22759891 A JP22759891 A JP 22759891A JP H0567395 A JPH0567395 A JP H0567395A
Authority
JP
Japan
Prior art keywords
data
memory
bit
memory units
address
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
JP3227598A
Other languages
Japanese (ja)
Other versions
JP3089726B2 (en
Inventor
Toyoo Kiuchi
豊雄 木内
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP03227598A priority Critical patent/JP3089726B2/en
Publication of JPH0567395A publication Critical patent/JPH0567395A/en
Application granted granted Critical
Publication of JP3089726B2 publication Critical patent/JP3089726B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Static Random-Access Memory (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To suppress memory capacity, that is, a hardware quantity to the irreducible minimum and to read a data with a different bit width at a high speed by one time of a memory access since the memory area of respective coefficient memory are utilized efficiently and effectively. CONSTITUTION:The coefficient memory 1a-1d reading the data in 8 bits from an address specified by address signals ADa, ADb are provided. Multiplexers 2a-2d selecting the output of the coefficient memory 1a-1d by selective signals SSa-SSd are provided. A selective control circuit 4 outputting the selective signals SSa-SSd selecting the output of the coefficient memory 1a-1d so as to coincide to the effective bit number of an output data OUT in accordance with a mode signal MOD, and to uniformize a selected the number of times is provided. An address control circuit 5 outputting the address signals ADa, ADd updating the address in accordance with the reading of the data of the coefficient memory 1a-1d is provided.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はメモリ回路に関し、特に
ディジタルオーディオデータ信号処理等に用いられ異な
るビット幅のデータを格納し読出すメモリ回路に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory circuit, and more particularly to a memory circuit used for digital audio data signal processing or the like for storing and reading data having different bit widths.

【0002】[0002]

【従来の技術】従来、この種のメモリ回路、例えばディ
ジタルオーディオデータ信号処理に用いられる係数メモ
リ等においては、この係数メモリからデータを読出する
際には、1個のデータを読出すために複数回メモリをア
クセスするか、メモリの一部を空領域として1個のデー
タを1回のメモリアクセスで読出す等の方法が取られて
いた。
2. Description of the Related Art Conventionally, in a memory circuit of this type, for example, a coefficient memory used for digital audio data signal processing, when reading data from this coefficient memory, a plurality of data are read in order to read one data. A method of accessing the memory once or reading one piece of data in one memory access by using a part of the memory as an empty area has been adopted.

【0003】ディジタルオーディオデータ、例えばCD
(コンパクトディスク)等に記録されているデータは、
通常20Hzから20KHz程度の帯域の音声データを
イディジタル記録したものであり、音声再生の際のデー
タ処理は、一般にCD等から読出されたデータを複数個
のバンドバスフィルタを通して帯域分割し、この分割処
理後の各データに対して個別にフィルタ処理等を行なっ
ている。
Digital audio data, eg CD
The data recorded on (Compact Disc) etc.
Normally, audio data in a band of about 20 Hz to 20 KHz is digitally recorded. For data processing during audio reproduction, data read from a CD or the like is generally band-divided through a plurality of band-pass filters, and this division is performed. Filtering or the like is individually performed on each processed data.

【0004】1例を挙げると、CDから読出されたデー
タを帯域分割するフィルタとして、通過帯域が250H
z以下、250Hzから500Hz、500Hzから1
KHz、1KHzから2KHz、2KHzから4KH
z、4KHzから8KHz、8KHz以上等のフィルタ
がある。
As an example, as a filter for band-dividing the data read from the CD, the pass band is 250H.
z or less, 250 Hz to 500 Hz, 500 Hz to 1
KHz, 1KHz to 2KHz, 2KHz to 4KH
There are filters such as z, 4 KHz to 8 KHz, and 8 KHz or more.

【0005】これらのフィルタ通過後のデータに対して
フィルタ演算を行なう際の係数データのビット幅は一般
に各帯域毎に異なっており、500Hz以下のデータに
対しては32ビット程度の係数が用いられ、8KHz以
上のデータに対しては16ビット程度の係数が用いられ
る。また、500Hzから8KHzまでの各帯域に対す
る係数は24ビット程度が用いられる場合が多い。
The bit width of coefficient data when the filter operation is performed on the data after passing through these filters is generally different for each band, and a coefficient of about 32 bits is used for data of 500 Hz or less. , A coefficient of about 16 bits is used for data of 8 KHz or more. In addition, a coefficient of about 24 bits is often used for each band from 500 Hz to 8 KHz.

【0006】一方、従来のオーディオ信号処理装置にお
いては、これらの係数を格納するメモリとして、1回の
メモリアクセスで読出される係数データのビット幅は固
定である、すなわちデータ長とメモリアドレスとが1対
1に対応しているRAM(ランダムアクセスメモリ)等
が用いられていた。
On the other hand, in the conventional audio signal processing device, as a memory for storing these coefficients, the bit width of the coefficient data read in one memory access is fixed, that is, the data length and the memory address. A RAM (Random Access Memory) etc. corresponding to one-to-one was used.

【0007】例えば、この固定ビット幅が16ビットの
メモリの場合、16ビット係数は1回のメモリアクセス
で読出されるが、24ビットまたは32ビットの係数を
読出すためには、メモリを2回アクセスする必要があっ
た。このことは、この係数を用いたフィルタ演算の処理
スピードの低下を招く。
For example, in the case of a memory having a fixed bit width of 16 bits, a 16-bit coefficient is read by one memory access, but in order to read a 24-bit or 32-bit coefficient, the memory is read twice. Had to access. This causes a decrease in processing speed of the filter calculation using this coefficient.

【0008】また、固定ビット幅が32ビットのメモリ
の場合、すべての係数が1回のメモリアクセスで読出さ
れるが、メモリのうち16ビットの係数を格納した領域
では半分、24ビットの係数を格納した領域では1/3
が未使用となっていた。このことはメモリ回路のハード
ウェア量の増大を意味する。
Further, in the case of a memory having a fixed bit width of 32 bits, all the coefficients are read out by one memory access, but in the area where the 16-bit coefficient is stored in the memory, half or 24 bits of the coefficient are stored. 1/3 in the stored area
Was unused. This means an increase in the hardware amount of the memory circuit.

【0009】また、各帯域を通過したデータに対するフ
ィルタ処理は、音像定位や反射音合成等のアプリケーシ
ョン毎に異なる処理を行なう必要があり、このため各帯
域毎に使用する係数のビット数は一般にアプリケーショ
ンにより大幅に異なる。
Further, the filtering process for the data passing through each band needs to be different for each application such as sound image localization and reflected sound synthesis. Therefore, the number of bits of the coefficient used for each band is generally determined by the application. Varies significantly.

【0010】このような従来の技術を記載した文献とし
ては、「DSPシステムの実現手法と活用徹底研究」4
〜13頁(T−2338 日本工業技術センター198
9年11月)等がある。
[0010] As a document describing such a conventional technique, "A realization method of a DSP system and a thorough study of its utilization" 4
Pp. 13 (T-2338 Japan Industrial Technology Center 198
(November 9) etc.

【0011】[0011]

【発明が解決しようとする課題】上述した従来のメモリ
回路は、1回のメモリアクセスで読出されるデータのビ
ット幅は固定となっていてデータとメモリアドレスとが
1対1に対応しており、異なるビット幅のデータが必要
なときには、必要とする1つのデータに対して複数回メ
モリアクセスをするか、1データ当りのビット幅を大き
くして必要とするビットだけを使用する構成となってい
るので、前者の場合には処理スピードが低下するという
欠点があり、後者の場合には未使用のメモリ領域がある
ためにハードウェア量が増大するという欠点があった。
In the above-mentioned conventional memory circuit, the bit width of the data read by one memory access is fixed, and the data and the memory address correspond to each other on a one-to-one basis. When data with different bit widths are required, the required one data is accessed a plurality of times, or the bit width per data is increased to use only the required bits. Therefore, in the former case, there is a drawback that the processing speed is reduced, and in the latter case, there is a drawback that the amount of hardware increases because there is an unused memory area.

【0012】後者の場合、16ビットのデータを64ワ
ード、24ビットのデータを256ワード、32ビット
のデータを32ワード格納するメモリを32ビット×
(64+256+32)ワードのRAMで構成した場
合、 32×(64+256+32)−16×64−24×256−32×32 =11264−8192=3072 すなわち3072ビット分の余分なメモリ領域が生ず
る。
In the latter case, a memory for storing 64 bits of 16-bit data, 256 words of 24-bit data, and 32 words of 32-bit data is 32 bits ×
In the case of a RAM of (64 + 256 + 32) words, 32 * (64 + 256 + 32) -16 * 64-24 * 256-32 * 32 = 11264-8192 = 3072, that is, an extra memory area of 3072 bits is generated.

【0013】なお、上述の64ワード,256ワード,
32ワード等のワード数はオーディオ信号処理装置によ
り実現するアプリケーションにより大幅に異なる。この
ため従来から、データのビット幅によりメモリ内の格納
アドレスを制限することは不都合であった。
The above-mentioned 64 words, 256 words,
The number of words such as 32 words greatly differs depending on the application realized by the audio signal processing device. Therefore, conventionally, it has been inconvenient to limit the storage address in the memory by the bit width of the data.

【0014】本発明の目的は、ハードウェア量を増大さ
せることなく異なるビット幅のデータを高速に読出する
ことができるメモリ回路を提供することにある。
An object of the present invention is to provide a memory circuit capable of reading data of different bit widths at high speed without increasing the amount of hardware.

【0015】[0015]

【課題を解決するための手段】本発明のメモリ回路は、
それぞれ対応するアドレス信号により指定されたアドレ
スから所定ビット単位のデータを読出する複数のメモリ
部と、これら各メモリ部とそれぞれ対応して設けられ対
応する選択信号の内容に従って前記メモリ部から読出さ
れた所定ビット単位のデータの1つを選択して出力する
複数のマルチプレクサと、これら各マルチプレクサの各
ビット出力端とそれぞれ対応して接続しそれぞれ対応す
る位どりのビットデータを伝達する複数本のデータバス
と、出力データの有効ビット数を決定するモード信号に
従って、前記複数のメモリ部のうちの所定のメモリ部か
ら読出された所定ビット単位のデータを前記各メモリ部
の選択される回数が均一化されるように順次選択しかつ
これら選択されたメモリ部から読出された所定ビット単
位のデータが前記出力データの有効ビットの位どりに合
致するように決定された内容をもつ前記各選択信号を出
力する選択回路と、読出されたデータが前記マルチプレ
クサにより選択される前記各メモリ部のアドレスを順次
更新する前記アドレス信号を出力するアドレス制御回路
と、前記モード信号に従って前記複数本のデータバスに
伝達されたデータをこのモード信号の指定する有効ビッ
ト数の出力データとして出力する選択回路とを有してい
る。
The memory circuit of the present invention comprises:
A plurality of memory units for reading out data in a predetermined bit unit from an address designated by a corresponding address signal, and a memory unit read out from the memory unit according to the contents of a corresponding selection signal provided corresponding to each memory unit. A plurality of multiplexers for selecting and outputting one of the data in a predetermined bit unit, and a plurality of data buses connected to corresponding bit output ends of the multiplexers and transmitting bit data of corresponding ranks. According to a mode signal that determines the number of effective bits of the output data, the data of a predetermined bit unit read from a predetermined memory unit of the plurality of memory units is made uniform in the number of times selected by each of the memory units. Data in a predetermined bit unit read sequentially from these selected memory units as described above. Of the selection signals having the contents determined so as to match the order of the effective bits of the force data, and the addresses of the respective memory units where the read data are selected by the multiplexer are sequentially updated. An address control circuit for outputting the address signal, and a selection circuit for outputting the data transmitted to the plurality of data buses according to the mode signal as output data of the effective bit number designated by the mode signal. There is.

【0016】[0016]

【実施例】次に本発明の実施例について図面を参照して
説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0017】図1は本発明の第1の実施例を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a first embodiment of the present invention.

【0018】この実施例は、それぞれ対応する9ビット
のアドレス信号ADa,ADbにより指定されたアドレ
スから8ビット単位のデータを読出す384ワードの4
つのRAM型の係数メモリ1a〜1dと、これら各係数
メモリ1a〜1dとそれぞれ対応して設けられ対応する
選択信号SSa〜SSdの内容に従って各係数メモリ1
a〜1dから読出された8ビット単位のデータの1つを
選択して入力して出力する4つのマルチプレクサ2a〜
2dと、これら各マルチプレクサ2a〜2dの各ビット
出力端とそれぞれ対応して接続しそれぞれ対応する位ど
りのビットデータを伝達する32本の係数データバス3
と、出力データOUT(この実施例では係数データ)の
有効ビット数を決定するモード信号MOD及びインクリ
メント信号INCxに従って4つの係数メモリ1a〜1
dのうちの所定のメモリ部から読出された8ビット単位
のデータを各係数メモリ1a〜1dの選択される回数が
均一化されるように順次選択しかつこれら選択された係
数メモリから読出された8ビット単位のデータが出力デ
ータOUTの有効ビットの位どりに合致するように決定
された内容をもつ各選択信号SSa〜SSdを出力する
選択回路4と、制御回路51及びアドレスカウンタ5
2,53を備え、モード信号MOD及びインクリメント
信号INCを入力し、読出されたデータがマルチプレク
サ2a〜2dにより選択される各係数メモリのアドレス
を順次更新するアドレス信号ADa,ADbを出力する
アドレス制御回路5と、モード信号MODに従って32
本の係数データバス3に伝達されたデータをこのモード
信号MODの指定する有効ビット数のデータとその上位
側が“0”である32ビットの出力データOUT(係数
データ)として出力する選択回路6とを有し、乗算器1
0へ出力データOUTを供給する構成となっている。な
お乗算器10は、24ビットのディジタルオーディオデ
ータADTと出力データOUTとの積を算出し、55ビ
ットのディジタルオーディオデータADTxとして出力
する。なお、アドレス信号ADは係数メモリ1a〜1d
の初期アドレスを決定する。
In this embodiment, 4 of 384 words for reading 8-bit data from an address designated by corresponding 9-bit address signals ADa and ADb, respectively.
One RAM type coefficient memory 1a to 1d and each coefficient memory 1 according to the contents of the corresponding selection signals SSa to SSd provided corresponding to each of the coefficient memories 1a to 1d.
Four multiplexers 2a to 2a to select, input, and output one of 8-bit unit data read from a to 1d
2d and 32 coefficient data buses 3 connected to the bit output terminals of the multiplexers 2a to 2d, respectively, and transmitting the bit data of the corresponding order.
And the four coefficient memories 1a to 1 according to the mode signal MOD and the increment signal INCx which determine the number of effective bits of the output data OUT (coefficient data in this embodiment).
Data of 8-bit units read from a predetermined memory portion of d are sequentially selected so that the number of times of selection of each coefficient memory 1a to 1d is made uniform, and read from these selected coefficient memories. A selection circuit 4 that outputs each selection signal SSa to SSd having contents determined so that 8-bit unit data matches the order of valid bits of the output data OUT, a control circuit 51, and an address counter 5.
An address control circuit that includes the input signals 2 and 53, inputs the mode signal MOD and the increment signal INC, and outputs the address signals ADa and ADb for sequentially updating the addresses of the coefficient memories whose read data is selected by the multiplexers 2a to 2d. 5 and 32 according to the mode signal MOD
A selection circuit 6 for outputting the data transmitted to the coefficient data bus 3 of the book as data of an effective bit number designated by the mode signal MOD and 32-bit output data OUT (coefficient data) whose upper side is "0". And has a multiplier 1
The output data OUT is supplied to 0. The multiplier 10 calculates the product of the 24-bit digital audio data ADT and the output data OUT, and outputs it as 55-bit digital audio data ADTx. The address signal AD is used as the coefficient memories 1a to 1d.
Determine the initial address of.

【0019】インクリメント信号INCは、乗算器10
へ入力される32ビットの係数データ(OUT)を更新
するタイミング毎にパルス信号を出力する信号である。
The increment signal INC is supplied to the multiplier 10
It is a signal that outputs a pulse signal at each timing of updating the 32-bit coefficient data (OUT) input to.

【0020】モード信号MODは乗算器10へ入力され
る32ビットの係数データ(OUT)のうち、有効けた
数(有効ビット数)が16ビット(以下16ビットモー
ドという)の時“01”、有効けた数が24ビット(以
下24ビットモードという)の時“10”、有効けた数
が32ビット(以下32ビットモードという)の時“1
1”となる2ビット幅のモード指定信号である。
The mode signal MOD is "01" when the number of effective digits (the number of effective bits) of the 32-bit coefficient data (OUT) input to the multiplier 10 is 16 bits (hereinafter referred to as 16-bit mode). "10" when the number of digits is 24 bits (hereinafter referred to as 24-bit mode), "1" when the number of effective digits is 32 bits (hereinafter referred to as 32-bit mode)
It is a 2-bit wide mode designating signal of 1 ″.

【0021】マルチプレクサ2a〜2dは、選択信号S
Sa〜SSdの内容が“00”の時係数メモリ1aから
のデータを選択に出力し、“01”の時係数メモリ1b
からのデータを選択して出力し、“10”の時係数メモ
リ1aからのデータを選択して入力し、“11”の時係
数メモリ1dからのを選択して出力する。
The multiplexers 2a to 2d have a selection signal S.
When the contents of Sa to SSd are "00", the data from the coefficient memory 1a is selectively output, and when "01", the coefficient memory 1b is output.
The data from 1 is selected and outputted, the data from the coefficient memory 1a is selected and inputted when "10", and the data from the coefficient memory 1d is selected and outputted when "11".

【0022】アドレスカウンタ52,53は9ビットの
アドレス信号ADの値を初期値としてその後アドレス制
御信号ADC1,ADC2によるパルスが入力される度
にその立ち上りエッジのタイミングで値を+1(1イン
クリメント)する。
The address counters 52 and 53 use the value of the 9-bit address signal AD as an initial value, and each time a pulse is subsequently input by the address control signals ADC1 and ADC2, the value is incremented by 1 (incremented by 1) at the timing of its rising edge. ..

【0023】制御回路51の内部構成例とその動作を説
明するためのタイミングチャートを図2(a),(b)
に示す。
2A and 2B are timing charts for explaining an internal configuration example of the control circuit 51 and its operation.
Shown in.

【0024】図2(a)において、511はインクリメ
ント信号INCのパルスの個数をカウントする2ビット
カウンタ、マルチプレクサ512,513は各モード信
号MODの内容により3入力のうちの1入力を選択して
出力するマルチプレクサで、32ビットモードの時、共
に“1”に相当する電源電圧VDDを選択し、16ビット
モードの時、共に2ビットカウンタ511の下位ビット
出力のインクリメント信号INC1の反転信号を選択す
る。また、24ビットモードの時、マルチプレクサ51
3はNANDゲートG2の出力を選択する。
In FIG. 2A, 511 is a 2-bit counter that counts the number of pulses of the increment signal INC, and multiplexers 512 and 513 select and output one of three inputs according to the contents of each mode signal MOD. In the 32-bit mode, the multiplexer selects the power supply voltage VDD corresponding to "1", and in the 16-bit mode, selects the inverted signal of the increment signal INC1 of the lower bit output of the 2-bit counter 511. .. In the 24-bit mode, the multiplexer 51
3 selects the output of the NAND gate G2.

【0025】以下、インクリメント信号INC1,IN
C2の内容が“00”である状態をステップ0、“0
1”である状態をステップ1、“10”である状態をス
テップ2、“11”である状態をステップ3という。
In the following, the increment signals INC1 and IN
When the content of C2 is “00”, the steps 0, “0
The state of "1" is called step 1, the state of "10" is called step 2, and the state of "11" is called step 3.

【0026】各モードの各ステップに対する選択信号S
Sa〜SSdの内容と、この選択信号SSa〜SSdに
より選択される係数メモリ1a〜1dの出力との関係を
図3に示す。
Select signal S for each step in each mode
FIG. 3 shows the relationship between the contents of Sa to SSd and the outputs of the coefficient memories 1a to 1d selected by the selection signals SSa to SSd.

【0027】図3から分るように、16ビットモードで
は、ステップ0のとき係数メモリ1a,1bの出力がマ
ルチプレクサ2c,2dにより選択されて係数メモリ1
bのデータが下位側に、係数メモリ1aのデータが上位
側にフォーマットされる。
As can be seen from FIG. 3, in the 16-bit mode, the outputs of the coefficient memories 1a and 1b are selected by the multiplexers 2c and 2d at the time of step 0, and the coefficient memories 1a and 1b are selected.
The data of b is formatted on the lower side, and the data of the coefficient memory 1a is formatted on the upper side.

【0028】ステップ1のときは係数メモリ1c,1d
の出力が同様にマルチプレクサ2c,2dにより選択さ
れて係数メモリ1dのデータが下位側に、係数メモリ1
cのデータが上位側にフォーマットされる。ステップ
2,3では上述のステップ0,1の動作をくり返えす。
In step 1, coefficient memories 1c and 1d
Is similarly selected by the multiplexers 2c and 2d so that the data in the coefficient memory 1d is in the lower side,
The data of c is formatted on the upper side. In steps 2 and 3, the operations of steps 0 and 1 described above are repeated.

【0029】24ビットモードでは、マルチプレクサ2
b,2c,2dにより、4つの係数メモリ1a〜1dの
うちの3つの係数メモリの出力が順次選択されフォーマ
ットされる。
In 24-bit mode, multiplexer 2
Outputs of three coefficient memories out of the four coefficient memories 1a to 1d are sequentially selected and formatted by b, 2c and 2d.

【0030】すなわち、ステップ0では係数メモリ1
a,1b,1cの出力が選択されて上位側からこの順で
フォーマットされ、ステップ1では係数メモリ1d,1
a,1bの出力が選択されて上位側からこの順でフォー
マットされる。以下省略する。
That is, in step 0, the coefficient memory 1
Outputs a, 1b and 1c are selected and formatted in this order from the higher order side. In step 1, coefficient memories 1d and 1c
Outputs a and 1b are selected and formatted in this order from the upper side. Omitted below.

【0031】また、32ビットでは、全てのマルチプレ
クサ2a〜2dにより全ての係数メモリ1a〜1dの出
力選が選択されて上位側からこの順でフォーマットされ
る。
In the case of 32 bits, all multiplexers 2a to 2d select output selections from all coefficient memories 1a to 1d, and formatting is performed in this order from the higher order side.

【0032】この係数メモリ1a〜1dからのデータの
読出し、及びマルチプレクサ2a〜2dの係数メモリか
らのデータの選択に伴って、係数メモリ1a〜1dのア
ドレスの更新が必要となる。各モード,各ステップにお
ける、出力が選択される係数メモリとアドレスが更新さ
れる係数メモリの関係を図4に示す。
With the reading of data from the coefficient memories 1a to 1d and the selection of the data from the coefficient memories of the multiplexers 2a to 2d, it is necessary to update the addresses of the coefficient memories 1a to 1d. FIG. 4 shows the relationship between the coefficient memory whose output is selected and the coefficient memory whose address is updated in each mode and each step.

【0033】このように、本実施例においては、16ビ
ット,24ビット,32ビットの全ての係数データを1
回のメモリアクセスで読出すことができるので高速動作
を保持することができる。また、出力が選択される回数
が、全ての係数メモリ1a〜1dに対して均一化される
ように選択されるので、メモリ領域の無駄がなく全ての
領域が有効に使用され、従ってメモリ領域、すなわちハ
ードウェア量を必要最小限に抑えることができる。
As described above, in this embodiment, all coefficient data of 16 bits, 24 bits, and 32 bits are set to 1
Since the data can be read with a single memory access, high speed operation can be maintained. In addition, since the number of times the output is selected is selected so as to be uniform for all the coefficient memories 1a to 1d, the memory area is not wasted and all areas are effectively used. That is, the amount of hardware can be minimized.

【0034】また、16ビット,24ビット,32ビッ
トのデータは係数メモリ1a〜1d内の任意のアドレス
に格納することができるため、アプリケーションにより
各ビット幅のデータ量が大幅に異なる場合も、係数メモ
リの各ビット幅のデータへの割当に何ら制限を加えるこ
となく係数メモリのすべての領域を有効データの格納に
用いることができるのは明らかである。
Since the 16-bit, 24-bit, and 32-bit data can be stored at any address in the coefficient memories 1a to 1d, even if the data amount of each bit width greatly differs depending on the application, the coefficient Obviously, all areas of the coefficient memory can be used for storing valid data without any restrictions on the allocation of each bit width of the memory to the data.

【0035】本実施例において、バスのビット幅,メモ
リの容量,カウンタ.マルチプレクサのビット幅,乗算
器のビット構成,等は本実施例に制限されることなく、
他の適切な構成によっても実現できることは言うまでも
ない。
In the present embodiment, the bit width of the bus, the capacity of the memory, the counter. The bit width of the multiplexer, the bit configuration of the multiplier, etc. are not limited to the present embodiment,
It goes without saying that it can be realized by other suitable configurations.

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

【0037】この実施例は、アドレス制御回路の構成が
第1の実施例と異っている。
This embodiment differs from the first embodiment in the structure of the address control circuit.

【0038】ラッチ回路54は、9ビット幅のアドレス
信号ADaの内容をインクリメント信号INCの立上り
エッジのタイミングでラッチしてその結果を9ビット幅
で出力する。すなわち、このラッチ回路54は、アドレ
ス信号ADaの内容を遅延させて出力することになる。
The latch circuit 54 latches the content of the address signal ADa of 9-bit width at the timing of the rising edge of the increment signal INC and outputs the result in 9-bit width. That is, the latch circuit 54 delays and outputs the content of the address signal ADa.

【0039】マルチプレクサ55は、アドレス制御信号
ADC3が“0”の時アドレス信号ADaの内容をその
まま9ビット幅のアドレス信号ADbとして出力し、ア
ドレス制御信号ADC3が“1”の時ラッチ回路54の
出力の内容をそのままアドレス信号ADbとして出力す
る。
The multiplexer 55 outputs the contents of the address signal ADa as the 9-bit width address signal ADb when the address control signal ADC3 is "0", and outputs the latch circuit 54 when the address control signal ADC3 is "1". The content of is directly output as the address signal ADb.

【0040】制御回路51aは図6に示す構成になって
いる。
The control circuit 51a has the structure shown in FIG.

【0041】図6においてマルチプレク514はモード
信号MODの内容が“01”または“11”の時すなわ
ち16ビットモードまたは32ビットモードの時、
“0”に相当する接地電位をアドレス制御信号ADCと
して出力し、モード信号MODの内容が“10”,すな
わち24ビットの時、ORゲートG5の出力をアドレス
制御信号ADC3として出力する。
In FIG. 6, the multiplex 514 is used when the content of the mode signal MOD is "01" or "11", that is, in the 16-bit mode or the 32-bit mode.
The ground potential corresponding to "0" is output as the address control signal ADC, and when the content of the mode signal MOD is "10", that is, 24 bits, the output of the OR gate G5 is output as the address control signal ADC3.

【0042】この実施例では、16ビットモードまたは
32ビットモードの場合、アドレスカウンタ52aの内
容が直接アドレス信号ADbとして出力されるため、係
数メモリ1a,1b及び係数メモリ1c,1dの読出し
アドレスは常に同一となる。
In this embodiment, in the 16-bit mode or the 32-bit mode, since the contents of the address counter 52a are directly output as the address signal ADb, the read addresses of the coefficient memories 1a and 1b and the coefficient memories 1c and 1d are always read. Will be the same.

【0043】24ビットモードのステップ0において
も、係数メモリ1a,1b及び係数メモリ1c,1dの
読出しアドレスは同一である。24ビットモードのステ
ップ1,2,3においては、アドレス信号ADbの内容
はそれぞれ1つ前のステップ(ステップ0,1,2)の
アドレス信号ADaの内容と同一になる。
Even in step 0 of the 24-bit mode, the read addresses of the coefficient memories 1a and 1b and the coefficient memories 1c and 1d are the same. In steps 1, 2, and 3 of the 24-bit mode, the content of the address signal ADb becomes the same as the content of the address signal ADa in the immediately preceding step (steps 0, 1, and 2), respectively.

【0044】このため、係数メモリ1c,1dの読出し
アドレスは係数メモリ1a,1bの読出しアドレスを
“−1”(デクリメント)した値となる。
Therefore, the read addresses of the coefficient memories 1c and 1d are values obtained by subtracting "-1" (decrement) from the read addresses of the coefficient memories 1a and 1b.

【0045】本実施例2に示す構成であっても係数メモ
リ1a〜1dから読出されるデータは前述の第1の実施
例と同一であり、従って第1の実施例に比べ9ビットの
アドレスカウンタ53が1個不要となり、小量のハード
ウェアで同一の効果を得ることができる利点がある。
Even with the configuration shown in the second embodiment, the data read from the coefficient memories 1a to 1d is the same as that in the first embodiment described above, and therefore the 9-bit address counter is different from that in the first embodiment. One 53 is unnecessary, and there is an advantage that the same effect can be obtained with a small amount of hardware.

【0046】[0046]

【発明の効果】以上説明したように本発明は、それぞれ
所定のビット単位のデータを読出す複数のメモリ部を設
け、これら各メモリ部から読出されたデータを、モード
信号に従って出力データの有効ビット数に合致し、かつ
選択された回数が均一化されるように選択して出力する
構成とすることにより、各メモリ部のメモリ領域が無駄
なく有効に使用されるので、メモリ容量、すなわちハー
ドウェア量を必要最小限に抑えることができ、しかも異
なるビット幅のデータを1回のメモリアクセスで高速に
読出すことができる効果がある。
As described above, according to the present invention, a plurality of memory units for reading data in predetermined bit units are provided, and the data read from each of these memory units is converted into valid bits of output data according to the mode signal. The memory area of each memory unit is effectively used without waste by selecting and outputting so that the number of times matches the number of times and the number of times of selection is equalized. There is an effect that the amount can be suppressed to a necessary minimum and that data having different bit widths can be read at high speed by one memory access.

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

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

【図2】図1に示された実施例の制御回路の具体例を示
す回路図及びその各部のタイミング波形図である。
FIG. 2 is a circuit diagram showing a specific example of the control circuit of the embodiment shown in FIG. 1 and a timing waveform diagram of each part thereof.

【図3】図1に示された実施例の各モード各ステップに
おける選択信号の内容と選択される係数メモリの出力と
の関係を説明するための動作説明図である。
FIG. 3 is an operation explanatory diagram for explaining the relationship between the content of a selection signal and the output of the selected coefficient memory in each step of each mode of the embodiment shown in FIG.

【図4】図1に示された実施例の出力が選択される係数
メモリとアドレスが更新される係数メモリとの関係を説
明するための動作説明図である。
FIG. 4 is an operation explanatory diagram for explaining a relationship between a coefficient memory whose output is selected and a coefficient memory whose address is updated in the embodiment shown in FIG. 1;

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

【図6】図5に示された実施例の制御回路の具体例を示
す回路図である。
6 is a circuit diagram showing a specific example of a control circuit of the embodiment shown in FIG.

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

1a〜1d 係数メモリ 2a〜2d マルチプレクサ 3 係数データバス 4 選択制御回路 5,5a アドレス制御回路 6 選択回路 10 乗算器 51,51a 制御回路 52,53 アドレスカウンタ 54 ラッチ回路 55 マルチプレクサ 511 2ビットカウンタ 512〜514 マルチプレクサ G1,G2 NANDゲート G3,G4 ADNゲート G5 ORゲート IV1 インバータ 1a to 1d Coefficient memory 2a to 2d Multiplexer 3 Coefficient data bus 4 Selection control circuit 5,5a Address control circuit 6 Selection circuit 10 Multiplier 51, 51a Control circuit 52, 53 Address counter 54 Latch circuit 55 Multiplexer 511 2-bit counter 512 to 1212 514 multiplexer G1, G2 NAND gate G3, G4 ADN gate G5 OR gate IV1 inverter

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 それぞれ対応するアドレス信号により指
定されたアドレスから所定ビット単位のデータを読出す
る複数のメモリ部と、これら各メモリ部とそれぞれ対応
して設けられ対応する選択信号の内容に従って前記各メ
モリ部から読出された所定ビット単位のデータの1つを
選択して出力する複数のマルチプレクサと、これら各マ
ルチプレクサの各ビット出力端とそれぞれ対応して接続
しそれぞれ対応する位どりのビットデータを伝達する複
数本のデータバスと、出力データの有効ビット数を決定
するモード信号に従って、前記複数のメモリ部のうちの
所定のメモリ部から読出された所定ビット単位のデータ
を前記各メモリ部の選択される回数が均一化されるよう
に順次選択しかつこれら選択されたメモリ部から読出さ
れた所定ビット単位のデータが前記出力データの有効ビ
ットの位どりに合致するように決定された内容をもつ前
記各選択信号を出力する選択回路と、読出されたデータ
が前記マルチプレクサにより選択される前記各メモリ部
のアドレスを順次更新する前記アドレス信号を出力する
アドレス制御回路と、前記モード信号に従って前記複数
本のデータバスに伝達されたデータをこのモード信号の
指定する有効ビット数の出力データとして出力する選択
回路とを有することを特徴とするメモリ回路。
1. A plurality of memory units for reading out data in a predetermined bit unit from an address designated by a corresponding address signal, and each of the memory units provided corresponding to each of the memory units according to the contents of a corresponding selection signal. A plurality of multiplexers for selecting and outputting one of the data of a predetermined bit unit read from the memory unit, and corresponding bit output terminals of these multiplexers are respectively connected and transmitted to transmit corresponding bit data. Data of a predetermined bit unit read from a predetermined memory unit of the plurality of memory units is selected in each of the memory units in accordance with a plurality of data buses and a mode signal that determines the number of effective bits of output data. A predetermined bit unit read sequentially from the selected memory unit so that the number of A selection circuit for outputting each of the selection signals having a content determined so that the data of the above-mentioned data matches the position of the effective bit of the output data, and each of the memory units in which the read data is selected by the multiplexer. An address control circuit that outputs the address signal that sequentially updates the address, and a selection circuit that outputs the data transmitted to the plurality of data buses according to the mode signal as output data of the effective bit number designated by the mode signal. A memory circuit having:
【請求項2】 複数のメモリ部が第1〜第4のメモリ部
で構成されてそれぞれ8ビット単位のデータを読出し、
複数のマルチプレクサが第1〜第4のマルチプレクサで
構成され、モード信号が16ビットモード,24ビット
モード,及び32ビットモードを指定する内容をもち、
選択信号が前記モード信号の各モードに対して第1〜第
4のステップをもち、かつ前記モード信号が16ビット
モードを指定しているとき、前記第1のステップでは前
記第1,第2のメモリ部,前記第2のステップでは前記
第3,第4のメモリ部,前記第3のステップでは前記第
1,第2のメモリ部、前記第4のステップでは前記第
3,第4のメモリ部から読出されたデータを前記第3,
第4のマルチプレクサが選択する内容となり、前記モー
ド信号が24ビットモードを指定しているとき、前記第
1のステップでは前記第1,第2,第3のメモリ部,前
記第2のステップでは前記第4,第1,第2のメモリ
部、前記第3のステップでは前記第3,第4,第1のメ
モリ部、前記第4のステップでは前記第2,第3,第4
のメモリ部から読出されたデータを前記第2,第3,第
4のマルチプレクサが選択する内容となる請求項1記載
のメモリ回路。
2. A plurality of memory units are composed of first to fourth memory units and read data in 8-bit units,
A plurality of multiplexers are configured by the first to fourth multiplexers, and the mode signal has a content that specifies a 16-bit mode, a 24-bit mode, and a 32-bit mode,
When the selection signal has the first to fourth steps for each mode of the mode signal and the mode signal specifies the 16-bit mode, the first step includes the first and second steps. Memory unit, the third and fourth memory units in the second step, the first and second memory units in the third step, and the third and fourth memory units in the fourth step The data read from the third,
When the content is selected by the fourth multiplexer and the mode signal specifies the 24-bit mode, the first, second, and third memory units are used in the first step, and the second memory is used in the second step. Fourth, first and second memory units, the third, fourth and first memory units in the third step, and the second, third and fourth memory units in the fourth step.
2. The memory circuit according to claim 1, wherein the data read from the memory section is selected by the second, third, and fourth multiplexers.
JP03227598A 1991-09-09 1991-09-09 Memory circuit Expired - Fee Related JP3089726B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03227598A JP3089726B2 (en) 1991-09-09 1991-09-09 Memory circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03227598A JP3089726B2 (en) 1991-09-09 1991-09-09 Memory circuit

Publications (2)

Publication Number Publication Date
JPH0567395A true JPH0567395A (en) 1993-03-19
JP3089726B2 JP3089726B2 (en) 2000-09-18

Family

ID=16863443

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03227598A Expired - Fee Related JP3089726B2 (en) 1991-09-09 1991-09-09 Memory circuit

Country Status (1)

Country Link
JP (1) JP3089726B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6639845B2 (en) 1999-07-02 2003-10-28 Nec Corporation Data holding circuit having backup function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6639845B2 (en) 1999-07-02 2003-10-28 Nec Corporation Data holding circuit having backup function

Also Published As

Publication number Publication date
JP3089726B2 (en) 2000-09-18

Similar Documents

Publication Publication Date Title
US4715257A (en) Waveform generating device for electronic musical instruments
JPH03150910A (en) Digital audio signal processing unit
US5103416A (en) Programmable digital filter
US5201005A (en) Sound field compensating apparatus
JP2976429B2 (en) Address control circuit
EP0405915B1 (en) Audio signal data processing system
US6535611B1 (en) Method and apparatus for reducing switching noise of a digital volume control
JP3089726B2 (en) Memory circuit
KR0171851B1 (en) Multi-acoustic regenerating apparatus using semiconductor memory card and thereof
KR100233284B1 (en) Address generator
US6466833B1 (en) Method and apparatus for efficient memory use in digital audio applications
JPS6259408A (en) Digital graphic equalizer
JP2845115B2 (en) Digital signal processing circuit
EP0632458B1 (en) Parallel data outputting storage circuit
JP2669267B2 (en) Buffer memory device
JPS6161399B2 (en)
US6553272B1 (en) Method and apparatus for audio signal channel muting
JP3064048B2 (en) Method and circuit for storing deleted bits in CD-ROM
JP2558356B2 (en) Digital to analog converter
JP2630778B2 (en) Method of configuring low frequency band digital filter
US5297100A (en) Address control system for a RAM in a digital audio set
JP3204744B2 (en) Signal delay memory circuit
JPH0421942B2 (en)
JPH03201900A (en) Sound field correction device
JP2542616Y2 (en) Reverberation device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000620

LAPS Cancellation because of no payment of annual fees