JPH0962567A - Memory for recording and reproducing - Google Patents

Memory for recording and reproducing

Info

Publication number
JPH0962567A
JPH0962567A JP7220042A JP22004295A JPH0962567A JP H0962567 A JPH0962567 A JP H0962567A JP 7220042 A JP7220042 A JP 7220042A JP 22004295 A JP22004295 A JP 22004295A JP H0962567 A JPH0962567 A JP H0962567A
Authority
JP
Japan
Prior art keywords
memory
data
register
address
writing
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
JP7220042A
Other languages
Japanese (ja)
Inventor
Shiro Sakiyama
史朗 崎山
Masakatsu Maruyama
征克 丸山
Toshio Sugimura
敏夫 杉村
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 JP7220042A priority Critical patent/JPH0962567A/en
Publication of JPH0962567A publication Critical patent/JPH0962567A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Memory System (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a memory which is operated at a high speed regardless of extension of the memory scale and can constitute a system which has low power consumption and low noise and is inexpensive as the whole of the system. SOLUTION: A memory 2 is provided with registers 5.1 to 5.2 where the start address of the memory 2 can be stored; and at the time of data write to the data memory 2, data write is started from the start address, and the address of the memory 2 at the time of the end of write is stored in a register 6.1 or 6.2 for end address storage by an external write end signal. At the time of read of the data memory 2, data between the address in the register where the start address of the memory 2 is stored and the address in the register where the corresponding end address is stored is read out from the data memory 2.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、データの記録及び再生
機能を持つ記録再生用メモリに関するもので、特に携帯
機器等での安価な記録再生機能を実現する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a recording / reproducing memory having a data recording / reproducing function, and particularly realizes an inexpensive recording / reproducing function in a portable device or the like.

【0002】[0002]

【従来の技術】近年半導体プロセス技術の進展により、
データの記録がアナログからディジタルに移行しつつあ
る。携帯機器においても、安価な記録再生機能を実現す
る半導体メモリが要望されている。
2. Description of the Related Art Due to the progress of semiconductor process technology in recent years,
Data recording is moving from analog to digital. There is also a demand for a semiconductor memory that realizes an inexpensive recording / reproducing function even in a mobile device.

【0003】従来、データの記録再生手段としては、図
15に示すようなシステム構成が採られている。図15
において、1はマイコン、2はメモリを示している。従
来、メモリへの記録及び再生機能は、マイコン1のソフ
トにより実現されている。例えば、記録時には、マイコ
ン1は、メモリ2のアドレスとデータを計算しながら、
逐次的にメモリ2に書き込む。その時の記録開始時のア
ドレスと記録終了時のアドレスをマイコン1が記憶して
おり、再生時には、マイコン1はその記憶された記録開
始アドレスから記録終了アドレスまでをメモリ2から逐
次的に読み出す。以上の操作により、記録再生機能が実
現されている。
Conventionally, as a data recording / reproducing means, a system configuration as shown in FIG. 15 has been adopted. FIG.
In the figure, 1 is a microcomputer and 2 is a memory. Conventionally, the recording and reproducing functions to and from the memory have been realized by the software of the microcomputer 1. For example, during recording, the microcomputer 1 calculates the address and data of the memory 2,
Write to the memory 2 sequentially. The microcomputer 1 stores the address at the start of recording and the address at the end of recording at that time, and at the time of reproduction, the microcomputer 1 sequentially reads the stored recording start address to the recording end address from the memory 2. The recording / reproducing function is realized by the above operation.

【0004】[0004]

【発明が解決しようとする課題】従来例で示したシステ
ム構成は、メモリ2の規模が小さい時は、全てソフトウ
ェアで管理できる非常に効率の良いシステムであるが、
メモリ規模の増大に伴い効率が悪くなる。つまり、メモ
リ2のアドレス空間が、例えば1Mと仮定し、またSR
AMであると仮定すると、マイコン1とメモリ2とのア
ドレスのインターフェースラインは20本となる。マイ
コン1とメモリ2とのアドレスインターフェースライン
が増加するにつれ、マイコン1のアドレスインターフェ
ースラインが不足し、直接メモリ2のアドレスを制御す
る事ができなくなる為、通常はマイコン1とメモリ2と
の間に、メモリ2の実アドレスを生成する為の変換回路
が必要となる。この実アドレス生成回路は、マイコン1
からの1ビットシリアルデータを20ビットパラレルデ
ータに変換するシリパラ変換器であったり、上位アドレ
スと下位アドレスを2回に分けて入力し、パラレルデー
タとして出力するバンク切り替え方式であったりする。
この様に、メモリ規模の増大に伴い、システムは複雑化
し、上記どちらの方式を採ったとしても、メモリ2のア
クセススピードは、実アドレスを生成する回路に依存す
るようになる。
The system configuration shown in the conventional example is a very efficient system that can be managed entirely by software when the memory 2 is small in scale.
The efficiency becomes worse as the memory scale increases. That is, it is assumed that the address space of the memory 2 is 1M, and SR
Assuming AM, the number of interface lines for addressing the microcomputer 1 and the memory 2 is 20. As the number of address interface lines between the microcomputer 1 and the memory 2 increases, the address interface lines of the microcomputer 1 become insufficient and it becomes impossible to directly control the address of the memory 2. Therefore, normally, the address interface line between the microcomputer 1 and the memory 2 is not provided. , A conversion circuit for generating the real address of the memory 2 is required. This real address generation circuit is
It may be a serial-to-parallel converter for converting 1-bit serial data from the above into 20-bit parallel data, or a bank switching system for inputting a high-order address and a low-order address separately twice and outputting as parallel data.
In this way, as the memory scale increases, the system becomes complicated, and whichever method is adopted, the access speed of the memory 2 depends on the circuit that generates the real address.

【0005】しかし、最大の問題点は、メモリのアドレ
スラインの増加は、システムでの消費電力増加やノイズ
発生を招く事にある。つまりメモリへの高速アクセス
は、システムでのアドレスラインの配線容量を高速駆動
し消費電力の増大を招く。また、配線容量の高速駆動
は、電源ラインにノイズを発生し、他の周辺機器、特に
アナログ信号を取り扱うようなシステムでは、源信号の
SN劣化を招く。
However, the biggest problem is that an increase in memory address lines leads to an increase in power consumption and noise in the system. That is, high-speed access to the memory drives the wiring capacity of the address line in the system at high speed, resulting in increase in power consumption. Further, high-speed driving of the wiring capacitance causes noise in the power supply line, which causes SN deterioration of the source signal in other peripheral devices, particularly in a system handling analog signals.

【0006】本発明は、メモリ規模が増大しても高速動
作し、しかもシステム全体として、低消費電力かつロー
ノイズで、安価なシステムが構築できる、メモリを提供
する事を目的とする。
It is an object of the present invention to provide a memory which operates at high speed even if the scale of the memory is increased, and has a low power consumption, low noise, and an inexpensive system as a whole system.

【0007】[0007]

【課題を解決するための手段】上記目的を達成する為、
本発明では、メモリ内部に読み出し及び書き込み用アド
レスの開始及び終了アドレスを格納可能なレジスタを有
し、この開始及び終了アドレス間のデータを、読み書き
可能なメモリ構成とする。
[Means for Solving the Problems] To achieve the above object,
In the present invention, the memory has a register capable of storing the start and end addresses of the read and write addresses, and the data between the start and end addresses has a readable and writable memory configuration.

【0008】すなわち請求項1記載の発明は、データを
記憶するデータメモリと、前記データメモリの開始アド
レスを記憶する複数のレジスタ(以下レジスタS群と呼
ぶ)と、前記開始アドレスを記憶する複数の各レジスタ
に対応する、前記データメモリの終了アドレスを記憶す
る複数のレジスタ(以下レジスタE群と呼ぶ)と、前記
レジスタS群と前記レジスタE群へのデータの格納が可
能なインターフェース回路とを有し、前記レジスタS群
と前記レジスタE群の一対の組に格納されている、開始
アドレスから終了アドレスまで、前記データメモリから
データを読み出す手段とを備えたメモリを構成する。
That is, the invention according to claim 1 is a data memory for storing data, a plurality of registers (hereinafter referred to as register S group) for storing a start address of the data memory, and a plurality of registers for storing the start address. There are provided a plurality of registers (hereinafter referred to as register E group) for storing the end address of the data memory corresponding to each register, and an interface circuit capable of storing data in the register S group and the register E group. Then, a memory having means for reading data from the data memory from a start address to an end address stored in a pair of the register S group and the register E group is configured.

【0009】請求項2記載の発明は、請求項1記載の、
レジスタS群とレジスタE群の一対の組に格納されてい
る開始アドレスから終了アドレスまで、前記データメモ
リにデータを書き込む手段を有するメモリを構成する。
The invention of claim 2 is the same as that of claim 1.
A memory having means for writing data to the data memory from a start address to an end address stored in a pair of a register S group and a register E group is configured.

【0010】請求項3記載の発明は、請求項1記載の、
レジスタS群に格納されている開始アドレスから、前記
データメモリにデータを書き込む手段と、外部からの書
き込み終了信号により、前記データメモリへの書き込み
を停止し、前記停止時の前記データメモリへのアドレス
を、前記レジスタS群の開始アドレスのレジスタに対応
するレジスタE群のレジスタに格納する手段を有するメ
モリを構成する。
The invention of claim 3 is the same as that of claim 1.
A means for writing data from the start address stored in the register S group to the data memory, and a write end signal from the outside to stop writing to the data memory, and an address to the data memory at the time of the stop. Is configured in a register E group register corresponding to the register S group start address register.

【0011】請求項4記載の発明は、請求項2記載のメ
モリへの書き込み手段と、請求項3記載のメモリへの書
き込み手段とを有するメモリを構成する。
According to a fourth aspect of the present invention, there is provided a memory having the memory writing means according to the second aspect and the memory writing means according to the third aspect.

【0012】請求項5記載の発明は、請求項3記載のレ
ジスタE群に格納されたレジスタのデータを、読み出す
手段を有する、請求項3または請求項4記載のメモリを
構成する。
According to a fifth aspect of the present invention, there is provided a memory according to the third or fourth aspect, which has a unit for reading the data in the register stored in the register E group according to the third aspect.

【0013】請求項6記載の発明は、前記データメモリ
のアドレス空間を複数のメモリ領域に分割し、前記各メ
モリ領域毎にフラグデータを設定し、前記データメモリ
を読み出し時に、前記フラグデータが真の時は、対応す
る前記メモリ領域をスキップして読み出す手段を有する
請求項1〜請求項5記載のメモリを構成する。
According to a sixth aspect of the present invention, the address space of the data memory is divided into a plurality of memory areas, flag data is set for each memory area, and when the data memory is read, the flag data is true. In the case of, the memory according to any one of claims 1 to 5 is configured to have means for skipping and reading the corresponding memory area.

【0014】請求項7記載の発明は、前記データメモリ
読み出し及び書き込み時のデータ語長の設定が可能なイ
ンターフェース回路と、前記設定されたデータ語長で
の、前記データメモリの読み出し及び書き込み手段を有
する請求項1〜請求項6記載のメモリを構成する。
According to a seventh aspect of the present invention, there is provided an interface circuit capable of setting a data word length at the time of reading and writing the data memory, and a reading and writing means of the data memory at the set data word length. The memory according to any one of claims 1 to 6 is configured.

【0015】請求項8記載の発明は、外部からの書き込
みマスク入力信号を有し、前記書き込みマスク信号が真
の時は、データメモリへの書き込みを禁止すると供に、
前記データメモリへのアドレスを維持する手段と、前記
書き込みマスク信号が偽の時は、順次データを書き込む
手段を有する請求項2〜請求項7記載のメモリを構成す
る。
According to the present invention, there is provided a write mask input signal from the outside, and when the write mask signal is true, writing to the data memory is prohibited.
The memory according to any one of claims 2 to 7, comprising means for maintaining an address to the data memory, and means for sequentially writing data when the write mask signal is false.

【0016】[0016]

【作用】請求項1記載のメモリでは、メモリの開始及び
終了アドレスを格納可能なレジスタを有しており、この
開始及び終了アドレス間のデータを、読み出し可能なメ
モリ構成が為されているので、外部よりメモリのアドレ
スを直接アクセスする必要なしに、順次読み出す事が可
能となる。
The memory according to claim 1 has a register capable of storing a start address and an end address of the memory, and has a memory configuration capable of reading data between the start address and the end address. It is possible to read sequentially without having to directly access the memory address from the outside.

【0017】請求項2記載のメモリでは、メモリの開始
及び終了アドレスを格納可能なレジスタを有しており、
この開始及び終了アドレス間のデータを、読み出し及び
書き込み可能なメモリ構成が為されているので、外部よ
りメモリのアドレスを直接アクセスする必要なしに、順
次読み書きする事が可能となる。
According to another aspect of the present invention, there is provided a memory having a register capable of storing a start address and an end address of the memory.
The data structure between the start and end addresses has a readable and writable memory structure, so that it is possible to sequentially read and write the data without the need to directly access the memory address from the outside.

【0018】請求項3記載のメモリでは、メモリの開始
及び終了アドレスを格納可能なレジスタを有しており、
外部からの書き込み終了信号により、その書き込み終了
時点でのメモリのアドレスが、終了アドレス格納用のレ
ジスタに格納されるため、請求項2と比較し、予め書き
込みデータ量の分からない入力データに対しても、効率
よく書き込む事が可能となる。
According to another aspect of the present invention, there is provided a memory having a register capable of storing a start address and an end address of the memory.
The address of the memory at the end of the write is stored in the register for storing the end address according to the write end signal from the outside. Also, it becomes possible to write efficiently.

【0019】請求項4記載のメモリでは、請求項2及び
請求項3記載のメモリの、両方の書き込み機能が備わっ
ている為、予め書き込みデータ量が定められた場合での
メモリへの書き込み、及び予め書き込みデータ量が定め
られていない場合でのメモリへの書き込みの両機能の実
現が可能となる。
Since the memory according to claim 4 has both write functions of the memory according to claim 2 and claim 3, writing to the memory when the write data amount is previously determined, and Both functions of writing to the memory can be realized when the amount of write data is not defined in advance.

【0020】請求項5記載のメモリでは、格納された終
了アドレスをインターフェース回路を通し、読み出す事
ができる為、既に書き込まれたメモリのアドレス空間を
外部ホストが管理できるようになり、メモリ容量の有効
活用が可能となる。
In the memory according to the fifth aspect, since the stored end address can be read through the interface circuit, the address space of the already written memory can be managed by the external host, and the effective memory capacity can be obtained. It can be used.

【0021】請求項6記載のメモリでは、メモリを複数
の領域に分割し、各領域毎に、その領域データが有効か
無効かのフラグデータをメモリに書き込む事ができ、読
み出し時には、その無効フラグの書き込まれたメモリ領
域をスキップして読み出す事が可能となる。その為、例
えば、音声の場合等では、無音時にはその領域に無効フ
ラグを設定する事で、有音区間だけを読み出す事が可能
となり、高速再生機能が実現できる。
In the memory according to the sixth aspect, the memory is divided into a plurality of areas, and for each area, flag data indicating whether the area data is valid or invalid can be written into the memory, and at the time of reading, the invalid flag. It is possible to skip the memory area in which is written and read. Therefore, for example, in the case of voice, by setting an invalid flag in the area when there is no sound, it is possible to read only the voiced section and realize a high-speed playback function.

【0022】請求項7記載のメモリでは、メモリの読み
出し及び書き込み時のデータ語長(データ幅)を設定す
る事が可能となり、各種データ幅の入力データに対し
て、柔軟に対応が可能となる。
In the memory according to the seventh aspect, it is possible to set the data word length (data width) at the time of reading and writing of the memory, and it is possible to flexibly deal with input data of various data widths. .

【0023】請求項8記載のメモリでは、外部からの書
き込みマスク信号により、書き込みを禁止すると共に、
データメモリへのアドレスをホールドする機能を備えて
いる為、例えば、この書き込みマスク信号により、無効
データを書き込まないように制御すれば、有効データの
みの書き込みが可能となり、更なるメモリ容量の有効活
用が可能となる。
In the memory according to the eighth aspect, write is prohibited by a write mask signal from the outside, and
Since it has a function to hold the address to the data memory, if you control not to write invalid data by this write mask signal, only valid data can be written, and more effective use of memory capacity is possible. Is possible.

【0024】[0024]

【実施例】図1に本発明の請求項1に基づくメモリ構成
を示す。図1において、2はメモリ、3はアドレスカウ
ンタ、4は制御及びインターフェース回路、5.1〜
6.2はレジスタ、7〜8はセレクタである。レジスタ
5.1〜レジスタ6.2の各レジスタは、制御及びイン
ターフェース回路4により、任意の値を格納する事が可
能である。
1 shows a memory configuration according to claim 1 of the present invention. 1, 2 is a memory, 3 is an address counter, 4 is a control and interface circuit, and 5.1 to 1.
6.2 is a register and 7 to 8 are selectors. Each of the registers 5.1 to 6.2 can store an arbitrary value by the control and interface circuit 4.

【0025】本実施例図1において、レジスタ5.1及
びレジスタ5.2は、アドレスカウンタ3の開始アドレ
スが格納され、レジスタ6.1及びレジスタ6.2は、
アドレスカウンタ3の終了アドレスが格納される。レジ
スタ5.1とレジスタ6.1は互いにペアをなし、ま
た、レジスタ5.2とレジスタ6.2は互いにペアをな
している。
First Embodiment In FIG. 1, the register 5.1 and the register 5.2 store the start address of the address counter 3, and the register 6.1 and the register 6.2 are
The ending address of the address counter 3 is stored. Register 5.1 and register 6.1 are paired with each other, and register 5.2 and register 6.2 are paired with each other.

【0026】本実施例において、データメモリ2のデー
タを読み出す時には、制御及びインターフェース回路4
を通し、以下の手順で実行する。 1 レジスタペアを指定する。(この場合レジスタ5.
1と6.1と仮定) 2 指定されたペアのレジスタ5.1と6.1に開始ア
ドレスと終了アドレスを書き込む。 3 データメモリ2の読み出しを開始する。
In this embodiment, when reading data from the data memory 2, the control and interface circuit 4 is used.
Through, follow the steps below. 1 Specify a register pair. (In this case, register 5.
1 and 6.1) 2 Write the start and end addresses to the specified pair of registers 5.1 and 6.1. 3 Start reading from the data memory 2.

【0027】以上の操作により、指定アドレス間(開始
アドレスと終了アドレス間)のデータメモリ2のデータ
が順次読み出される。
By the above operation, the data in the data memory 2 between the designated addresses (between the start address and the end address) are sequentially read.

【0028】図2に本発明の請求項2に基づくメモリ構
成を示す。図2において、図1と同じ構成要素は、同じ
番号を付してある。図1で示す構成例と同様に、レジス
タ5.1〜レジスタ6.2の各レジスタは、制御及びイ
ンターフェース回路4により、任意の値を格納する事が
可能である。
FIG. 2 shows a memory configuration according to claim 2 of the present invention. 2, the same components as those in FIG. 1 are given the same numbers. Similar to the configuration example shown in FIG. 1, each of the registers 5.1 to 6.2 can store an arbitrary value by the control and interface circuit 4.

【0029】本実施例図2において、レジスタ5.1及
びレジスタ5.2は、アドレスカウンタ3の開始アドレ
スが格納され、レジスタ6.1及びレジスタ6.2は、
アドレスカウンタ3の終了アドレスが格納される。レジ
スタ5.1とレジスタ6.1は互いにペアをなし、ま
た、レジスタ5.2とレジスタ6.2は互いにペアをな
している。
In this embodiment, the start addresses of the address counter 3 are stored in the registers 5.1 and 5.2, and the registers 6.1 and 6.2 are
The ending address of the address counter 3 is stored. Register 5.1 and register 6.1 are paired with each other, and register 5.2 and register 6.2 are paired with each other.

【0030】本実施例図2において、データメモリ2の
データを読み出す時は、本実施例図1と同様に実行する
事ができる。データメモリ2にデータを書き込む時に
は、制御及びインターフェース回路4を通し、以下の手
順で実行する。 1 レジスタペアを指定する。(この場合レジスタ5.
1と6.1と仮定) 2 指定されたペアのレジスタ5.1と6.1に開始ア
ドレスと終了アドレスを書き込む。 3 データメモリ2への書き込みを開始する。
In FIG. 2 of the present embodiment, when reading data from the data memory 2, the same operation as in FIG. 1 of the present embodiment can be performed. When data is written in the data memory 2, the control and interface circuit 4 is used to perform the following procedure. 1 Specify a register pair. (In this case, register 5.
1 and 6.1) 2 Write the start and end addresses to the specified pair of registers 5.1 and 6.1. 3 Start writing to the data memory 2.

【0031】以上の操作の後、データメモリ2に入力デ
ータを順次与える事で、指定アドレス間(開始アドレス
と終了アドレス間)のデータメモリ2に、データが順次
書き込まれる。
After the above operation, the input data is sequentially supplied to the data memory 2, so that the data is sequentially written in the data memory 2 between the designated addresses (between the start address and the end address).

【0032】図3に本発明の請求項3に基づくメモリ構
成を示す。図3において、図1及び図2と同じ構成要素
は、同じ番号を付してある。図1で示す構成例と同様
に、レジスタ5.1〜レジスタ5.2の各レジスタは、
制御及びインターフェース回路4により、任意の値を格
納する事が可能である。
FIG. 3 shows a memory configuration according to claim 3 of the present invention. In FIG. 3, the same components as those in FIGS. 1 and 2 are given the same numbers. As in the configuration example shown in FIG. 1, each of the registers 5.1 to 5.2 has
An arbitrary value can be stored by the control and interface circuit 4.

【0033】本実施例図3において、レジスタ5.1及
びレジスタ5.2は、アドレスカウンタ3の開始アドレ
スが格納され、レジスタ6.1及びレジスタ6.2は、
アドレスカウンタ3の終了アドレスが格納される。レジ
スタ5.1とレジスタ6.1は互いにペアをなし、ま
た、レジスタ5.2とレジスタ6.2は互いにペアをな
している。
Embodiment 3 In FIG. 3, the register 5.1 and the register 5.2 store the start address of the address counter 3, and the register 6.1 and the register 6.2 are
The ending address of the address counter 3 is stored. Register 5.1 and register 6.1 are paired with each other, and register 5.2 and register 6.2 are paired with each other.

【0034】本実施例図3と図2の違いは、図2では、
レジスタ6.1と6.2への格納データが制御及びイン
ターフェース回路4により、直接任意の値を格納できた
のに対し、図3では、制御及びインターフェース回路4
からの書き込み終了信号発生時のアドレスカウンタ3の
出力値が、レジスタ6.1または6.2への格納データ
となる点にある。
This embodiment is different from FIG. 3 in that in FIG.
The data stored in the registers 6.1 and 6.2 could directly store an arbitrary value by the control and interface circuit 4, whereas in FIG.
The output value of the address counter 3 when the write end signal is generated is the data stored in the register 6.1 or 6.2.

【0035】本実施例図3においても、データメモリ2
のデータを読み出す時は、本実施例図1と同様に実行す
る事ができる。データメモリ2にデータを書き込む時に
は、制御及びインターフェース回路4を通し、以下の手
順で実行する。 1 レジスタペアを指定する。(この場合レジスタ5.
1と6.1と仮定) 2 指定されたペアのレジスタ5.1に開始アドレスを
書き込む。 3 データメモリ2への書き込みを開始する。 4 データメモリ2への書き込みを終了する。
In this embodiment, also in FIG. 3, the data memory 2
When the data is read, it can be executed in the same manner as in FIG. 1 of the present embodiment. When data is written in the data memory 2, the control and interface circuit 4 is used to perform the following procedure. 1 Specify a register pair. (In this case, register 5.
1 and 6.1) 2 Write the start address to the specified pair of registers 5.1. 3 Start writing to the data memory 2. 4 Finish writing to the data memory 2.

【0036】以上の操作の後、データメモリ2に入力デ
ータを順次与える事で、レジスタ5.1に格納された開
始アドレスから、データが順次データメモリ2に書き込
まれる。データメモリ2への書き込み終了時には、その
時点でのアドレスカウンタ3の出力がレジスタ6.1に
格納される。
After the above operation, by inputting the input data to the data memory 2 sequentially, the data is sequentially written to the data memory 2 from the start address stored in the register 5.1. At the end of writing to the data memory 2, the output of the address counter 3 at that time is stored in the register 6.1.

【0037】以上請求項1〜請求項3に基づく各実施例
を図1〜図3に図示し、各動作説明を行ったが、各実施
例では、以下の用途に用いると効果的である。請求項1
に基づく実施例では複数の基本音声パターンやメロディ
ーパターンを、予めROM等のメモリに記憶させてお
き、その記憶されている開始アドレス及び終了アドレス
が予め分かっていれば、アドレス設定により、状況に応
じ、任意のパターンを読み出す事ができる。
Although the respective embodiments based on claims 1 to 3 have been shown in FIGS. 1 to 3 and the respective operations have been described, the respective embodiments are effective when used for the following purposes. Claim 1
In an embodiment based on, a plurality of basic voice patterns and melody patterns are stored in a memory such as a ROM in advance, and if the stored start address and end address are known in advance, the address setting will be used to adapt to the situation. , Any pattern can be read.

【0038】請求項2に基づく実施例では記録時間が予
め決められたデータに対し、順次メモリへの記録を行う
事ができる。
In the embodiment according to the second aspect, it is possible to sequentially record the data having the predetermined recording time in the memory.

【0039】請求項3に基づく実施例では記録時間が予
め決められていないデータに対し、順次メモリへの記録
を行い、その記録を行ったアドレス間のデータを読み出
す事ができる。
According to the third aspect of the present invention, it is possible to sequentially record the data for which the recording time is not predetermined in the memory and read the data between the recorded addresses.

【0040】請求項4に記載されているように(図示せ
ず)、図2の記録手段と図3の記録手段を合わせ持て
ば、用途に応じて、上記記録手段を使い分ける事が可能
となる。
As described in claim 4 (not shown), if the recording means of FIG. 2 and the recording means of FIG. 3 are held together, the recording means can be used properly according to the application. .

【0041】図4に本発明の請求項5に基づくメモリ構
成を示す。図4において、図3と同じ構成要素は、同じ
番号を付してある。図4において、図3との相違点は、
レジスタ6.1と6.2等の終了アドレスを格納するレ
ジスタ群の格納されたデータが、制御及びインターフェ
ース回路4を通じ、外部に読み出す事ができる点にあ
る。これにより、例えば、請求項3に基づく実施例(図
3)の項で説明した様に、レジスタ5.1とレジスタ
6.1のペアを用い、データメモリ2への書き込み操作
を行った後、レジスタ6.1に格納された終了アドレス
を読み出し、次回の記録時には、レジスタ5.2の開始
アドレスに、レジスタ6.1のアドレスの次のアドレス
を格納する事ができる。これにより、前回記録したデー
タメモリのデータを壊さずに第2の記録を行う事ができ
る。また、メモリ領域を無駄にせず、有効に活用する事
が可能となる。
FIG. 4 shows a memory configuration according to claim 5 of the present invention. 4, the same components as those in FIG. 3 are given the same numbers. 4 is different from FIG. 3 in that
The stored data in the register group that stores the end addresses of the registers 6.1 and 6.2 can be read out to the outside through the control and interface circuit 4. Thereby, for example, as described in the section of the embodiment (FIG. 3) based on claim 3, after performing the write operation to the data memory 2 using the pair of the register 5.1 and the register 6.1, The end address stored in the register 6.1 can be read out, and at the time of the next recording, the address next to the address of the register 6.1 can be stored in the start address of the register 5.2. As a result, the second recording can be performed without destroying the previously recorded data in the data memory. In addition, the memory area can be effectively used without wasting it.

【0042】以上説明を行った図1〜図4のアドレスカ
ウンタ3は、開始アドレスから終了アドレスまで順次イ
ンクリメントする動作を行うが、この回路は、図5のよ
うにして構成する事ができる。図5において10は加算
器、11はレジスタ、12は一致検出回路、13はセレ
クタである。
The address counter 3 of FIGS. 1 to 4 described above performs an operation of sequentially incrementing from the start address to the end address, but this circuit can be configured as shown in FIG. In FIG. 5, 10 is an adder, 11 is a register, 12 is a match detection circuit, and 13 is a selector.

【0043】図5に示すアドレスカウンタは以下のよう
にして動作を行う。動作開始時には、セレクタ13は、
開始アドレスを選択しており、レジスタ11には、開始
アドレスが格納される。その後、セレクタ13は、加算
器10の出力側を選択するように切り換えられ、現在の
レジスタ11の値に1を加えた値が、レジスタ11に格
納される。レジスタ11の出力、つまりデータメモリへ
のアドレスが、終了アドレスと一致した時、一致検出回
路12により終了信号が発生する。この終了信号は、制
御及びインターフェース回路4を通じ、外部に通知する
事ができる。また、図1〜図4のデータメモリ読み出し
時、図2のデータメモリへの書き込み時には、この一致
検出回路からの終了信号により、レジスタ11へのクロ
ック供給がストップする。これにより、開始アドレスと
終了アドレス間のメモリデータの読み出しまたは書き込
みが可能となる。図3〜図4のデータメモリへの書き込
み時には、外部より通知された書き込み終了信号によ
り、レジスタ11へのクロック供給がストップする。こ
の場合は、開始アドレスから、外部からの書き込み終了
信号発生時点のアドレスまでのメモリへのデータ書き込
みが実現できる。
The address counter shown in FIG. 5 operates as follows. At the start of operation, the selector 13
The start address is selected and the start address is stored in the register 11. After that, the selector 13 is switched to select the output side of the adder 10, and the value obtained by adding 1 to the current value of the register 11 is stored in the register 11. When the output of the register 11, that is, the address to the data memory matches the end address, the match detection circuit 12 generates an end signal. This end signal can be notified to the outside through the control and interface circuit 4. Further, at the time of reading the data memory of FIGS. 1 to 4 and at the time of writing to the data memory of FIG. 2, the clock supply to the register 11 is stopped by the end signal from the coincidence detection circuit. This enables reading or writing of memory data between the start address and the end address. At the time of writing to the data memory of FIGS. 3 to 4, the clock supply to the register 11 is stopped by the write end signal notified from the outside. In this case, data can be written in the memory from the start address to the address at the time when the external write end signal is generated.

【0044】図12に制御及びインターフェース回路4
のIOアドレス空間にマッピングされる制御レジスタの
例を示す。各制御レジスタは、本メモリチップ内のIO
アドレス空間内にマッピングされており、このレジスタ
をインターフェースピンを通し、設定する事で、各種動
作が実現できる。
FIG. 12 shows the control and interface circuit 4
An example of a control register mapped to the IO address space of Each control register is an IO in this memory chip.
It is mapped in the address space, and various operations can be realized by setting this register through the interface pin.

【0045】図12において、101はレジスタ番号指
定用レジスタ、102は開始アドレス指定用レジスタ、
104は読み出し実行開始レジスタ、103は書き込み
実行開始レジスタである。
In FIG. 12, 101 is a register number designation register, 102 is a start address designation register,
Reference numeral 104 is a read execution start register, and 103 is a write execution start register.

【0046】図3を用いて説明した実施例では、図12
で図示した制御レジスタを用意し、この制御レジスタを
外部インターフェースピンから設定する事で、全ての動
作が可能となる。図3の実施例でのデータメモリへの書
き込み時、読み出し時の制御レジスタ101〜104へ
の設定順序を図13に示す。このように、本メモリチッ
プでは、メモリチップ内のIOアドレス空間内にマッピ
ングされた、制御レジスタをインターフェースピンによ
り設定する事で、全ての動作が実現できる。
In the embodiment described with reference to FIG. 3, FIG.
All operations are possible by preparing the control register shown in FIG. 2 and setting this control register from the external interface pin. FIG. 13 shows the order of setting the control registers 101 to 104 at the time of writing to and reading from the data memory in the embodiment of FIG. As described above, in this memory chip, all operations can be realized by setting the control register mapped in the IO address space in the memory chip by the interface pin.

【0047】図14に本実施例のメモリチップを用いた
時のシステム構成例を示す。ホストとなるマイコンと本
メモリ間のIOピンは、メモリインターフェースピンと
メモリへの入力データピンとメモリからの出力データピ
ンからなる。メモリインターフェースピンを通して、図
12に示したような制御レジスタは、全て設定できる。
FIG. 14 shows an example of system configuration when the memory chip of this embodiment is used. IO pins between the host microcomputer and this memory consist of memory interface pins, memory input data pins, and memory output data pins. Through the memory interface pins, all control registers as shown in FIG. 12 can be set.

【0048】図15の従来のシステム構成と比較し、従
来メモリ規模増大に伴い生じたアドレスラインの増加
は、ここでは問題とならない。そのため本発明のメモリ
構成では、メモリ規模が増大しても高速動作し、しかも
システム全体として、低消費電力かつローノイズで、安
価なシステムが構築できる、という優れた効果を持つ。
Compared with the conventional system configuration shown in FIG. 15, the increase in the address lines caused by the increase in the conventional memory scale does not pose a problem here. Therefore, the memory configuration of the present invention has an excellent effect that it operates at high speed even if the memory scale increases, and that an inexpensive system with low power consumption and low noise can be constructed as a whole system.

【0049】次に請求項6に基づく実施例を図6に示
す。図6において、図3と同じ構成要素は、同じ番号を
付してある。図6において、図3との相違点は、データ
メモリ2の出力結果がアドレスカウンタ3にフィードバ
ックしている点にある。
Next, an embodiment based on claim 6 is shown in FIG. 6, the same components as those in FIG. 3 are given the same numbers. 6 is different from FIG. 3 in that the output result of the data memory 2 is fed back to the address counter 3.

【0050】本実施例での目的は、データ的に意味のな
い領域を飛ばして、高速に読み出す事にある。実現方法
としては、予めデータメモリのアドレス空間を複数のメ
モリ領域に分割しておき、各メモリ領域毎にフラグ領域
を設定する。このフラグは、その領域の読み飛ばしが可
能である、という意味のフラグである。図8に本実施例
でのデータメモリの領域分割例を示す。図8において、
S1、E1は、図6でのレジスタ5.1、レジスタ6.
1に格納されているアドレス値を表す。またS2、E2
は図6でのレジスタ5.2、レジスタ6.2に格納され
ているアドレス値を表す。2.1は、データメモリのア
ドレスS1からE1までの領域を表しており、2.2
は、データメモリのアドレスS2からE2までの領域を
表しいる。これとは別にデータメモリは、20.1〜2
0.10で表されるような、複数の領域に分割され、各
領域のデータ構造は、20で示すようなBANK HE
ADER領域とdata領域とからなる。BANK H
EADER領域には、フラグ信号が記録されており、こ
のフラグ信号は、担当する領域のデータが読み飛ばし可
能かどうかを示す。このフラグ信号は、データメモリに
書き込み時に、ホストとなるマイコンから書き込まれ
る。
The purpose of this embodiment is to skip a region that is meaningless in terms of data and read it at high speed. As an implementation method, the address space of the data memory is divided into a plurality of memory areas in advance, and a flag area is set for each memory area. This flag is a flag that means that the area can be skipped. FIG. 8 shows an example of area division of the data memory in this embodiment. In FIG.
S1 and E1 are the register 5.1 and the register 6.
Represents the address value stored in 1. Also S2, E2
Represents the address values stored in the registers 5.2 and 6.2 in FIG. 2.1 represents the area from the addresses S1 to E1 of the data memory, and 2.2
Represents an area from the address S2 to E2 of the data memory. Apart from this, the data memory is 20.1-2
It is divided into a plurality of areas as represented by 0.10. The data structure of each area is BANK HE as shown by 20.
It is composed of an ADER area and a data area. BANK H
A flag signal is recorded in the EADER area, and this flag signal indicates whether or not the data in the area in charge can be skipped. This flag signal is written from the host microcomputer when writing to the data memory.

【0051】図7に図6に示す実施例でのアドレスカウ
ンタ3の構成例を示す。図7において、10は加算器、
11はレジスタ、12は一致検出及び比較回路、13〜
14はセレクタ、15はアドレススキップ制御回路であ
る。
FIG. 7 shows a configuration example of the address counter 3 in the embodiment shown in FIG. In FIG. 7, 10 is an adder,
11 is a register, 12 is a match detection and comparison circuit, 13-
Reference numeral 14 is a selector, and 15 is an address skip control circuit.

【0052】図7に示すアドレスカウンタは以下のよう
にして動作を行う。動作開始時には、セレクタ13は、
開始アドレスを選択しておりレジスタ11には、開始ア
ドレスが格納される。またセレクタ14は+1を選択し
ており、その後、セレクタ13は、加算器10の出力側
を選択するように切り換えられ、現在のレジスタ11の
値に1を加えた値が、レジスタ11に格納される。
The address counter shown in FIG. 7 operates as follows. At the start of operation, the selector 13
The start address is selected and the start address is stored in the register 11. In addition, the selector 14 selects +1 and then the selector 13 is switched to select the output side of the adder 10, and the value obtained by adding 1 to the current value of the register 11 is stored in the register 11. It

【0053】ここまでの動作は、図5で説明したものと
同様である。アドレススキップ制御回路15では、BA
NK HEADERの存在するアドレスと、フラグデー
タを検知し、両方が真の時は、セレクタ14を、+12
8側に切り替える。ここでは、BANK HEADER
領域は、128アドレス毎にとられていると仮定した。
これにより、フラグが付された領域をスキップしてデー
タメモリを読み出す事ができる。一致検出及び比較回路
12では、レジスタ11の出力値と終了アドレスの値が
等しいかまたはレジスタ11の方が大きいかを検出し、
どちらかが真の時には、終了信号を発生するとともに、
レジスタ11へのクロック供給をストップする。この終
了信号は、制御及びインターフェースを通じ、外部に通
知する事ができる。
The operation up to this point is similar to that described with reference to FIG. In the address skip control circuit 15, BA
The address where the NK HEADER exists and the flag data are detected. When both are true, the selector 14 is set to +12.
Switch to 8 side. Here, BANK HEADER
It is assumed that the area is taken every 128 addresses.
As a result, the data memory can be read while skipping the area to which the flag is added. The match detection and comparison circuit 12 detects whether the output value of the register 11 is equal to the end address value or the register 11 is larger,
When either is true, the end signal is generated and
The clock supply to the register 11 is stopped. This end signal can be notified to the outside through the control and the interface.

【0054】請求項6に基づく図6に示す実施例では、
「予め記録時に例えば音声だとすると、音声のある程度
小さい部分の上記バンクヘッダー部分にフラグを付加し
ておき、フラグの付加されていない意味のある音だけを
読み出す」という使用法が可能となる。
In the embodiment shown in FIG. 6 according to claim 6,
It is possible to use, for example, if a voice is recorded at the time of recording in advance, a flag is added to the bank header portion of a portion where the voice is low to some extent, and only meaningful sounds to which the flag is not added are read out.

【0055】次に請求項7に基づく実施例を説明する。
請求項7では、図1〜図4,図6においてデータメモリ
に記憶させるデータ幅を任意に設定可能なインターフェ
ースを持ち、任意のデータ幅での、データメモリへの書
き込み及び読みだしを可能とする。この機能を実現する
アドレスカウンタの実施例を図9に示す。図9におい
て、10.1〜10.2は加算器、11.1〜11.2
はレジスタ、12.1〜12.2は一致検出回路、1
3.1〜13.2はセレクタである。
Next, an embodiment based on claim 7 will be described.
In claim 7, the data width to be stored in the data memory in FIGS. 1 to 4 and 6 is provided with an interface capable of being arbitrarily set, and writing to and reading from the data memory with an arbitrary data width are possible. . FIG. 9 shows an embodiment of an address counter that realizes this function. In FIG. 9, 10.1 to 10.2 are adders, 11.1 to 11.2
Is a register, 12.1 to 12.2 is a match detection circuit, 1
3.1 to 13.2 are selectors.

【0056】図9に示すアドレスカウンタは以下のよう
にして動作を行う。動作開始時には、セレクタ13.1
は、開始アドレスを、セレクタ13.2は0を選択して
おり、レジスタ11.1には、開始アドレスが格納さ
れ、またレジスタ11.2には0値が格納される。その
後、セレクタ13.1は、加算器10.1の出力側を、
またセレクタ13.2は加算器10.2の出力を選択す
るように切り換えられ、レジスタ11.2には、現在の
レジスタ11.2の値に1を加えた値が、レジスタ1
1.2に格納される。一致検出回路12.2では、メモ
リデータ幅とレジスタ11.2の値が比較され、一致す
れば1を、一致しなければ0を出力する。更に一致した
時は、セレクタ13.2を0側に切り換え、レジスタ1
1.2に0を入力する。つまり、構成要素の10.2、
11.2、12.2、13.2により、メモリデータ幅
分のカウンタが構成される。例えば、メモリデータ幅に
3を与えた場合、先の構成要素は、0〜3の4進のカウ
ンタを構成し、上記4進カウンタが4インクリメントす
る毎に一致検出回路12.2は一致し、加算器10.1
に1を加算する。
The address counter shown in FIG. 9 operates as follows. At the start of operation, the selector 13.1
Indicates that the start address has been selected and the selector 13.2 has selected 0. The register 11.1 stores the start address, and the register 11.2 stores the value 0. After that, the selector 13.1 changes the output side of the adder 10.1 to
The selector 13.2 is switched to select the output of the adder 10.2, and the value obtained by adding 1 to the current value of the register 11.2 is stored in the register 11.2.
Stored in 1.2. The match detection circuit 12.2 compares the memory data width with the value of the register 11.2 and outputs 1 if they match and 0 if they do not match. When they further match, the selector 13.2 is switched to the 0 side and the register 1
Enter 0 in 1.2. In other words, 10.2 of the components,
11.2, 12.2, 13.2 form a counter for the memory data width. For example, when 3 is given to the memory data width, the above-mentioned constituent elements constitute a quaternary counter of 0 to 3, and the coincidence detection circuit 12.2 coincides with each increment of the quaternary counter by 4, Adder 10.1
Is added to.

【0057】レジスタ11.1の出力は、一致検出回路
12.1で終了アドレスと比較され、一致すれば、終了
信号を発生し、アドレスカウンタの動作は停止する。す
なわち、図9に示すアドレスカウンタのレジスタ11.
2の出力は、メモリ下位アドレスとして出力され、メモ
リデータ幅分のカウンタ動作を行い、またレジスタ1
1.1の出力は、メモリ上位アドレスとして出力され、
開始アドレスから、終了アドレスまでをカウントする。
The output of the register 11.1 is compared with the end address by the match detection circuit 12.1, and if they match, an end signal is generated and the operation of the address counter is stopped. That is, the register 11.
The output of 2 is output as the lower address of the memory and performs the counter operation for the memory data width.
The output of 1.1 is output as the memory upper address,
Count from the start address to the end address.

【0058】図10にデータ幅が4ビットの場合のデー
タメモリへのデータ格納例を示す。図9に示すアドレス
カウンタのメモリ上位アドレスは、図10に示すデータ
メモリ2での各データの先頭アドレスを示しており、下
位アドレスは、データ幅の途中の位置を表している。
FIG. 10 shows an example of data storage in the data memory when the data width is 4 bits. The memory upper address of the address counter shown in FIG. 9 shows the head address of each data in the data memory 2 shown in FIG. 10, and the lower address shows the position in the middle of the data width.

【0059】データメモリ2への書き込み時には、外部
からの4ビットパラレル入力データをシリアルデータに
変換するパラシリ変換器(図示せず)により分解された
1ビットデータをデータメモリに書き込み、データメモ
リ2からの読みだし時には、出力されたシリアルデータ
を4ビットパラレルデータ変換するシリパラ変換器(図
示せず)により4ビットのパラレルデータとして出力で
きる。
At the time of writing to the data memory 2, 1-bit data decomposed by a parallel-serial converter (not shown) for converting 4-bit parallel input data from the outside into serial data is written to the data memory, and the data memory 2 is read. At the time of reading, the output serial data can be output as 4-bit parallel data by a serial-parallel converter (not shown) that converts 4-bit parallel data.

【0060】以上のような図9に示すアドレスカウンタ
と、パラシリ変換器、及びシリパラ変換器を備えれば、
任意のデータ幅に対応したメモリ構成を採る事ができ、
柔軟にシステムを構築する事ができるため、その実用的
効果は大きい。
If the address counter shown in FIG. 9, the parallel-serial converter, and the serial-parallel converter are provided,
It is possible to adopt a memory configuration that supports any data width,
Since the system can be flexibly constructed, its practical effect is great.

【0061】次に請求項8に基づく実施例を図11に示
す。図11において、図3と同じ構成要素は、同じ番号
を付してある。図11において、図3との相違点は、デ
ータメモリ2への入力データに対する書き込みを禁止す
る為の、書き込みマスク信号が直接外部ピンから供給さ
れ、この信号が真の時には、メモリ書き込み制御回路9
により、メモリーへの書き込みを禁止する点にある。ま
た、書き込みマスク信号は、アドレスカウンタ3にも入
力し、この信号が真の時には、アドレスカウンタを停止
させる手段を持つ。
Next, an embodiment based on claim 8 is shown in FIG. 11, the same components as those in FIG. 3 are given the same numbers. 11 is different from FIG. 3 in that a write mask signal for inhibiting writing of input data to the data memory 2 is directly supplied from an external pin, and when this signal is true, the memory write control circuit 9
Therefore, writing to the memory is prohibited. The write mask signal is also input to the address counter 3 and has a means for stopping the address counter when this signal is true.

【0062】本実施例での目的は、データ的に意味のな
い領域のデータは、書き込みマスク信号により、データ
メモリ2への書き込みを禁止する事にある。
The purpose of this embodiment is to inhibit the writing of the data of the area having no meaning in terms of data to the data memory 2 by the write mask signal.

【0063】請求項6の説明で述べた実施例では、デー
タ的に意味のない領域のデータに対し、フラグを設け、
読みだし時に、そのフラグのついた領域を飛ばして読み
出す事で、高速に読み出す事が可能となり、また、この
機能を用いず、全てのデータを読み出す事も可能であっ
た。しかし、請求項6の発明のデータメモリは、全ての
データを記憶している。これに対し、請求項8の発明で
は、高速に読み出す事しかできないが、意味のないデー
タを記憶させない為、メモリ領域の有効活用が図れる。
In the embodiment described in the description of claim 6, a flag is provided for the data of the area that is meaningless in terms of data,
At the time of reading, it is possible to read at high speed by skipping the area with the flag, and it is also possible to read all the data without using this function. However, the data memory of the invention of claim 6 stores all data. On the other hand, according to the invention of claim 8, only high-speed reading can be performed, but since meaningless data is not stored, the memory area can be effectively used.

【0064】[0064]

【発明の効果】本発明は、従来のシステム構成と比較
し、従来メモリ規模増大に伴い生じたアドレスラインの
増加は問題とならない。そのため本発明のメモリ構成で
は、メモリ規模が増大しても高速動作し、しかもシステ
ム全体として、低消費電力かつローノイズで安価なシス
テムが構築できる、という優れた効果を持つ。
According to the present invention, the increase in the number of address lines caused by the increase in the memory scale in the related art does not pose a problem as compared with the conventional system configuration. Therefore, the memory configuration of the present invention has an excellent effect that it operates at high speed even if the memory scale increases, and that a low-power-consumption, low-noise system can be constructed as a whole system.

【0065】請求項1〜請求項2記載のメモリでは、メ
モリの開始及び終了アドレスを格納可能なレジスタを有
しており、この開始及び終了アドレス間の、データの読
み出し及び書き込み可能なメモリ構成が為されているの
で、外部よりメモリのアドレスを直接アクセスする必要
なしに、順次読み書きする事が可能となる。
The memory according to any one of claims 1 to 2 has a register capable of storing a start address and an end address of the memory, and has a memory configuration capable of reading and writing data between the start and end addresses. Since this is done, it is possible to read and write sequentially without having to directly access the memory address from the outside.

【0066】請求項3記載のメモリでは、外部からの書
き込み終了信号により、その書き込み終了時点でのメモ
リのアドレスが、終了アドレス格納用のレジスタに格納
されるため、予め書き込みデータ量の分からない入力デ
ータに対して、効率よく書き込む事が可能となる。
In the memory according to the third aspect, the address of the memory at the end of writing is stored in the register for storing the end address in response to the write end signal from the outside. Data can be efficiently written.

【0067】請求項4記載のメモリでは、請求項2及び
請求項3記載のメモリの、両方の書き込み機能が備わっ
ている為、予め書き込みデータ量が定められた場合での
メモリへの書き込み、及び予め書き込みデータ量が定め
られていない場合でのメモリへの書き込みの両機能の実
現が可能となる。
Since the memory according to claim 4 has both the write functions of the memory according to claim 2 and the memory according to claim 3, writing to the memory when the write data amount is determined in advance, and Both functions of writing to the memory can be realized when the amount of write data is not defined in advance.

【0068】請求項5記載のメモリでは、格納された終
了アドレスをインターフェース回路を通し、読み出す事
ができる為、既に書き込まれたメモリのアドレス空間を
外部ホストが、管理できるようになり、メモリ容量の有
効活用が可能となる。
In the memory according to the fifth aspect, since the stored end address can be read out through the interface circuit, the address space of the already written memory can be managed by the external host, and the memory capacity can be reduced. Effective utilization becomes possible.

【0069】請求項6記載のメモリでは、メモリを複数
の領域に分割し、各領域毎に、その領域データが有効か
無効かのフラグデータをメモリに書き込む事ができ、読
み出し時には、その無効フラグの書き込まれたメモリ領
域をスキップして、読み出す事が可能となる。その為、
例えば、音声の場合等では、無音時にはその領域に無効
フラグを設定する事で、有音区間だけを読み出す事が可
能となり、高速再生機能が実現できる。
In the memory according to the sixth aspect, the memory is divided into a plurality of areas, and for each area, flag data indicating whether the area data is valid or invalid can be written in the memory, and at the time of reading, the invalid flag. It is possible to read by skipping the memory area in which is written. For that reason,
For example, in the case of voice, by setting an invalid flag in the area when there is no sound, only the voiced section can be read out, and a high-speed playback function can be realized.

【0070】請求項7記載のメモリでは、メモリの読み
出し及び書き込み時のデータ語長(データ幅)を設定す
る事が可能となり、各種データ幅の入力データに対し
て、柔軟に対応が可能となる。
In the memory according to claim 7, it is possible to set the data word length (data width) at the time of reading and writing of the memory, and it is possible to flexibly deal with input data of various data widths. .

【0071】請求項8記載のメモリでは、外部からの書
き込みマスク信号により、書き込みを禁止すると共に、
データメモリへのアドレスをホールドする機能を備えて
いる為、例えば、この書き込みマスク信号により、無効
データを書き込まないように制御すれば、有効データの
みの書き込みが可能となり、更なるメモリ容量の有効活
用が可能となる。
In the memory according to claim 8, writing is prohibited by a write mask signal from the outside, and
Since it has a function to hold the address to the data memory, if you control not to write invalid data by this write mask signal, only valid data can be written, and more effective use of memory capacity is possible. Is possible.

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

【図1】本実施例におけるメモリの構成図FIG. 1 is a block diagram of a memory according to the present embodiment.

【図2】本実施例におけるメモリの構成図FIG. 2 is a configuration diagram of a memory according to this embodiment.

【図3】本実施例におけるメモリの構成図FIG. 3 is a block diagram of a memory according to the present embodiment.

【図4】本実施例におけるメモリの構成図FIG. 4 is a configuration diagram of a memory according to this embodiment.

【図5】図1〜図4に示すメモリのアドレスカウンタ回
路図
FIG. 5 is an address counter circuit diagram of the memory shown in FIGS.

【図6】本実施例におけるメモリの構成図FIG. 6 is a configuration diagram of a memory according to this embodiment.

【図7】図6に示すメモリのアドレスカウンタ回路図FIG. 7 is an address counter circuit diagram of the memory shown in FIG.

【図8】本実施例のメモリ構成例でのメモリマップ図FIG. 8 is a memory map diagram of a memory configuration example of the present embodiment.

【図9】図1〜図4,図6に示すメモリのアドレスカウ
ンタ回路図
FIG. 9 is an address counter circuit diagram of the memory shown in FIGS. 1 to 4 and 6;

【図10】データ幅が4ビットの時のメモリへの格納例
を示した図
FIG. 10 is a diagram showing an example of storage in a memory when the data width is 4 bits.

【図11】本実施例におけるメモリの構成図FIG. 11 is a configuration diagram of a memory according to the present embodiment.

【図12】本実施例のメモリ構成例でのインターフェー
ス制御レジスタを示した図
FIG. 12 is a diagram showing an interface control register in a memory configuration example of this embodiment.

【図13】本実施例のインターフェース制御レジスタを
使用した動作例を示した図
FIG. 13 is a diagram showing an operation example using the interface control register of the present embodiment.

【図14】本実施例のシステム構成図FIG. 14 is a system configuration diagram of this embodiment.

【図15】従来例のシステム構成図FIG. 15 is a system configuration diagram of a conventional example.

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

1 マイコン 2 データメモリ 3 アドレスカウンタ 4 制御及びインターフェース回路 5.1〜5.2,6.1〜6.2 レジスタ 7〜8,13〜14,13.1〜13.2 セレクタ 9 メモリ書き込み制御回路 10,10.1〜10.2 加算器 11,11.1〜11.2 レジスタ 12,12.1〜12.2 一致検出回路 15 アドレススキップ制御回路 20.1〜20.10 分割されたメモリ領域 2.1 第1の記録された領域 2.2 第2の記録された領域 20 メモリ領域のデータ構成 1 Microcomputer 2 Data Memory 3 Address Counter 4 Control and Interface Circuit 5.1-5.2, 6.1-6.2 Register 7-8, 13-14, 13.1-13.2 Selector 9 Memory Write Control Circuit 10,10.1-10.2 Adder 11,11.1-11.2 Register 12,12.1-12.2 Match detection circuit 15 Address skip control circuit 20.1-20.10 Divided memory area 2.1 First Recorded Area 2.2 Second Recorded Area 20 Data Structure of Memory Area

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】データを記憶するデータメモリと、 前記データメモリの開始アドレスを記憶するレジスタS
群と、 前記開始アドレスを記憶する複数の各レジスタに対応す
る、前記データメモリの終了アドレスを記憶するレジス
タE群と、 前記レジスタS群と前記レジスタE群へのデータの格納
が可能な、インターフェース回路と、 前記レジスタS群と前記レジスタE群の一対の組に格納
されている、開始アドレスから終了アドレスまで、前記
データメモリからデータを読み出す手段とを備えた記録
再生用メモリ。
1. A data memory for storing data, and a register S for storing a start address of the data memory.
Group, a register E group for storing the end address of the data memory corresponding to each of the plurality of registers for storing the start address, and an interface capable of storing data in the register S group and the register E group A recording / reproducing memory provided with a circuit, and means for reading data from the data memory from a start address to an end address stored in a pair of a group of the register S and a group of the register E.
【請求項2】レジスタS群とレジスタE群の一対の組に
格納されている、開始アドレスから終了アドレスまで、
前記データメモリにデータを書き込む手段を有する請求
項1記載の記録再生用メモリ。
2. From a start address to an end address stored in a pair of a register S group and a register E group,
The recording / reproducing memory according to claim 1, further comprising means for writing data in the data memory.
【請求項3】レジスタS群に格納されている開始アドレ
スから、前記データメモリにデータを書き込む手段と、 外部からの書き込み終了信号により、前記データメモリ
への書き込みを停止し、前記停止時の前記データメモリ
へのアドレスを、前記レジスタS群の開始アドレスのレ
ジスタに対応するレジスタE群のレジスタに格納する手
段を有する請求項1記載の記録再生用メモリ。
3. A means for writing data to the data memory from a start address stored in a register S group, and writing to the data memory is stopped by a write end signal from the outside, and at the time of the stop. 2. The recording / reproducing memory according to claim 1, further comprising means for storing an address to the data memory in a register of a register E group corresponding to a register of a start address of the register S group.
【請求項4】請求項2記載のメモリへの書き込み手段
と、請求項3記載のメモリへの書き込み手段とを有する
記録再生用メモリ。
4. A recording / reproducing memory comprising the memory writing means according to claim 2 and the memory writing means according to claim 3.
【請求項5】レジスタE群に格納されたレジスタのデー
タを、読み出す手段を有する請求項3または請求項4記
載の記録再生用メモリ。
5. The recording / reproducing memory according to claim 3 or 4, further comprising means for reading the data of the registers stored in the register E group.
【請求項6】前記データメモリのアドレス空間を複数の
メモリ領域に分割し、前記各メモリ領域毎にフラグデー
タを設定し、前記データメモリを読み出し時に、前記フ
ラグデータが真の時は、対応する前記メモリ領域をスキ
ップして読み出す手段を有する請求項1〜請求項5のい
ずれかに記載の記録再生用メモリ。
6. An address space of the data memory is divided into a plurality of memory areas, flag data is set for each of the memory areas, and when the data memory is read, the flag data is true. The recording / reproducing memory according to any one of claims 1 to 5, further comprising means for skipping and reading the memory area.
【請求項7】前記データメモリ読み出し及び書き込み時
のデータ語長の設定が可能なインターフェース回路と、 前記設定されたデータ語長での、前記データメモリの読
み出し及び書き込み手段を有する請求項1〜請求項6の
いずれかに記載の記録再生用メモリ。
7. An interface circuit capable of setting a data word length when reading and writing the data memory, and a reading and writing means for the data memory with the set data word length. Item 7. The recording / reproducing memory according to any one of items 6.
【請求項8】外部からの書き込みマスク信号が真の時
は、データメモリへの書き込みを禁止するとともに、前
記データメモリへのアドレスを維持する手段と、 前記書き込みマスク信号が偽の時は、順次データを書き
込む手段とを有する請求項2〜請求項7のいずれかに記
載の記録再生用メモリ。
8. A means for inhibiting writing to a data memory when an external write mask signal is true, and a means for maintaining an address to the data memory, and sequentially when the write mask signal is false. The recording / reproducing memory according to claim 2, further comprising a unit for writing data.
JP7220042A 1995-08-29 1995-08-29 Memory for recording and reproducing Pending JPH0962567A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7220042A JPH0962567A (en) 1995-08-29 1995-08-29 Memory for recording and reproducing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7220042A JPH0962567A (en) 1995-08-29 1995-08-29 Memory for recording and reproducing

Publications (1)

Publication Number Publication Date
JPH0962567A true JPH0962567A (en) 1997-03-07

Family

ID=16745021

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7220042A Pending JPH0962567A (en) 1995-08-29 1995-08-29 Memory for recording and reproducing

Country Status (1)

Country Link
JP (1) JPH0962567A (en)

Similar Documents

Publication Publication Date Title
JP2696026B2 (en) Semiconductor storage device
CA2049300C (en) Digital sound source device and external memory cartridge used therefor
JPH09167495A (en) Data storage unit and data storage device using the same
JPH06274528A (en) Vector operation processor
US6831798B2 (en) Apparatus and method for reproducing first partial information and reading second partial information, which permit continuous reproduction of information, information recording medium, and reproduction program
JPH0962567A (en) Memory for recording and reproducing
JP2870493B2 (en) Memory address management device
JP2572735B2 (en) Pattern generator
JPH03116256A (en) Memory device
JP2661596B2 (en) DRAM address generation circuit for CD-ROM
JP2845746B2 (en) Micro program controller
JPH03204695A (en) Musical sound synthesizing device
JP2595998B2 (en) Electronic musical instrument
JPH0660019A (en) Data storage system
JPS6031040B2 (en) Integrated circuit device for memory
JP2590695B2 (en) Time division switch circuit
JPH06301629A (en) Main storage device
JPH0512107A (en) Program execution system
JPS63503101A (en) data storage and transfer equipment
JPS63211040A (en) Storage device
JPH08237084A (en) Timing signal generating circuit
JP2002312344A (en) Bit reverse access circuit
JPH05313997A (en) Read-only memory device
JPH055065B2 (en)
JPH02125349A (en) Memory access system