JP3249671B2 - Arbitrary length data string generator - Google Patents

Arbitrary length data string generator

Info

Publication number
JP3249671B2
JP3249671B2 JP34431893A JP34431893A JP3249671B2 JP 3249671 B2 JP3249671 B2 JP 3249671B2 JP 34431893 A JP34431893 A JP 34431893A JP 34431893 A JP34431893 A JP 34431893A JP 3249671 B2 JP3249671 B2 JP 3249671B2
Authority
JP
Japan
Prior art keywords
data
parallel
serial
memory
load
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP34431893A
Other languages
Japanese (ja)
Other versions
JPH07174828A (en
Inventor
安彦 三木
Original Assignee
ソニー・テクトロニクス株式会社
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 ソニー・テクトロニクス株式会社 filed Critical ソニー・テクトロニクス株式会社
Priority to JP34431893A priority Critical patent/JP3249671B2/en
Publication of JPH07174828A publication Critical patent/JPH07174828A/en
Application granted granted Critical
Publication of JP3249671B2 publication Critical patent/JP3249671B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、データ列発生装置に関
し、特にデータ列の長さを任意に設定できる任意長デー
タ列発生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data string generator, and more particularly to an arbitrary-length data string generator capable of arbitrarily setting the length of a data string.

【0002】[0002]

【従来の技術】データ列発生装置は、種々のデジタル電
子素子に所望のデジタル・パターンを供給したりするた
めに使用される。例えば、種々の機器を開発中に、まだ
未完成の回路が出力すべき信号をこのデータ列発生装置
で発生させ、他の回路を検査するといったように利用さ
れる。
2. Description of the Related Art Data stream generators are used to provide a desired digital pattern to various digital electronic devices. For example, during the development of various devices, a signal to be output from a circuit that is not yet completed is generated by the data string generator, and is used to check other circuits.

【0003】図3は、従来のデータ列発生装置の一例の
ブロック図である。2は並列データの出力順序を決める
シーケンサである。1は、シーケンサ2を制御するシー
ケンス制御回路である。また、3はシーケンサによって
制御されるアドレス発生器、4は並列データを記憶する
メモリ、5は並列データを直列データに変換する並直列
変換器(シフト・レジスタなど、SR)である。直列デ
ータは、上述のようにそのままでも利用できるが、同じ
ように生成した直列データを複数用意して、デジタル・
アナログ変換器(D/A)を用いてアナログ信号に変換
すれば、アナログ波形発生装置としての応用もできる。
FIG. 3 is a block diagram showing an example of a conventional data string generator. Reference numeral 2 denotes a sequencer for determining the output order of parallel data. Reference numeral 1 denotes a sequence control circuit that controls the sequencer 2. Reference numeral 3 denotes an address generator controlled by a sequencer, 4 denotes a memory for storing parallel data, and 5 denotes a parallel / serial converter (SR such as a shift register) for converting parallel data into serial data. Serial data can be used as is as described above, but multiple serial data generated in the same
If the signal is converted into an analog signal using an analog converter (D / A), it can be applied as an analog waveform generator.

【0004】高速動作のD/Aは比較的入手が容易であ
るが、大容量メモリを高速動作させるのは一般に困難で
ある。そこで、ビット数nの並列データをメモリに記
憶しておき、低速な分周クロック(周波数fn)に従っ
て並列にデータを読出し、並直列変換器で直列データ
に並直列変換し、周波数frの高速な基準クロックに従
って直列データを並直列変換器から出力する。これに
よって、見かけ上高速なデータ列を生成することができ
る。これに対応してアドレス発生器は、分周クロック
fnでクロックされ、メモリにアドレスを供給する。
なお、分周クロックfnは、並列データのビット数nに
対応して基準クロックfrを分周比nで分周したもので
ある。
Although high-speed D / A is relatively easy to obtain, it is generally difficult to operate a large-capacity memory at high speed. Therefore, the parallel data of the bit number n is stored in the memory 4 , the data is read out in parallel according to the low-speed frequency-divided clock (frequency fn), and the parallel / serial converter 5 converts the data into parallel data. The serial data is output from the parallel-to-serial converter 5 according to a high-speed reference clock. Thereby, an apparently high-speed data string can be generated. In response, the address generator 3 is clocked by the divided clock fn and supplies an address to the memory 4 .
Note that the divided clock fn is obtained by dividing the reference clock fr by the dividing ratio n in accordance with the number n of bits of the parallel data.

【0005】[0005]

【発明が解決しようとする課題】しかし、上述の従来例
では、メモリが出力する並列データのビット数nに対応
して直列データもn個単位の長さでしか発生させること
ができない。つまり、nの整数倍の長さのデータ列しか
発生させることができず、任意長のデータ列を発生させ
ることができなかった。また、メモリの次のアドレスを
指定する場合にジャンプやループ(繰り返し)させるな
どの動作をさせる場合、シーケンサに複雑な回路を付加
する必要があった。
However, in the above-mentioned conventional example, serial data can be generated only in units of n units corresponding to the bit number n of the parallel data output from the memory. That is, only a data string having a length that is an integral multiple of n can be generated, and a data string having an arbitrary length cannot be generated. Further, when an operation such as jump or loop (repetition) is performed when the next address of the memory is specified, it is necessary to add a complicated circuit to the sequencer.

【0006】そこで本発明の目的は、任意の長さのデー
タ列を高速に発生させることができる任意長データ列発
生装置を提供することである。本発明の他の目的は、構
成が比較的簡単な任意長データ列発生装置を提供するこ
とである。
An object of the present invention is to provide an arbitrary-length data string generator capable of generating a data string of an arbitrary length at high speed. It is another object of the present invention to provide an arbitrary-length data string generator having a relatively simple configuration.

【0007】[0007]

【課題を解決するための手段及び作用】本発明は、任意
の長さの高速なデータ列を発生させることができる任意
長データ列発生装置を提供する。第1メモリ12は、n
ビットの並列データを記憶している。nは2以上の整数
である。第1並直列変換手段14は、並列データをロー
ド信号に従ってロードして並直列変換を行いクロックに
従って直列データとして出力する。第2メモリ22は、
nビットの並列なロード制御データを記憶しており、こ
れは並列データの夫々に対応して設けられるもので、対
応する並列データから生成させるk(kはn以下の予め
設定した整数)ビットの直列データの長さに対応して、
k番目のビットがロードを示すデータとなっている。第
2並直列変換手段24は、ロード信号に従ってロード制
御データをロードして並直列変換を行いクロックに従っ
てロード信号として出力する。アドレス供給手段10
は、並列データ及びこれと対応関係にあるロード制御デ
ータを記憶する第1及び第2メモリ夫々のアドレスを供
給する。
SUMMARY OF THE INVENTION The present invention provides an arbitrary-length data string generator capable of generating a high-speed data string of an arbitrary length. The first memory 12 has n
It stores bit parallel data. n is an integer of 2 or more. The first parallel-serial conversion means 14 loads parallel data according to a load signal, performs parallel-serial conversion, and outputs it as serial data according to a clock. The second memory 22 includes:
It stores n-bit parallel load control data, which is provided corresponding to each of the parallel data. The k-bit (k is a preset integer of n or less) bits generated from the corresponding parallel data is stored. According to the length of serial data,
The k-th bit is data indicating the load. The second parallel / serial conversion means 24 loads the load control data according to the load signal, performs parallel / serial conversion, and outputs it as a load signal according to the clock. Address supply means 10
Supplies addresses of the first and second memories for storing parallel data and load control data corresponding thereto.

【0008】このとき、第1並直列変換手段14は、第
2並直列変換手段24が出力するロード信号に従って並
列データをロードしてからk番目のクロックで次の並列
データをロードする。これによって、1つの並列データ
から生成される直列データの長さを制御し、結果として
並列データのビット数の倍数に限らない任意の長さのデ
ータ列を、メモリの低速な動作速度によらずに並直列変
換手段の高速な動作速度に従って生成することができ
る。
At this time, the first parallel / serial conversion means 14 loads the parallel data according to the load signal output from the second parallel / serial conversion means 24, and then loads the next parallel data at the k-th clock. Thereby, the length of serial data generated from one parallel data is controlled, and as a result, a data string of any length not limited to a multiple of the number of bits of the parallel data can be stored regardless of the low operation speed of the memory. In accordance with the high operating speed of the parallel / serial conversion means.

【0009】[0009]

【実施例】図1は、本発明のデータ列発生装置の一好適
実施例のブロック図である。メモリ(第1メモリ)12
の各アドレスには、nビットの並列データが記憶されて
いる。nは2以上の整数である。第1シフト・レジスタ
(SR)14は、メモリ12からの並列データをロード
して直列データに変換する並直列変換手段である。第2
メモリ(ロード制御メモリ)22は、任意の所定ビット
がロードを示すnビットのロード制御データを記憶す
る。第2シフト・レジスタ(SR)24は、ロード制御
データをロードしてロード信号に変換する並直列変換手
段である。アドレス発生器10は、メモリ12及びロー
ド制御メモリ22に共通のアドレスを供給する。シフト
・レジスタ14の出力をデジタル・アナログ変換器(D
/A)等を用いてアナログ信号に変換すれば、波形発生
装置として利用できることは上述の通りである。ループ
16は、周知のごとく、途中のアドレスを抜かして次の
アドレスを指定するジャンプ命令を実行するために設け
られる。各メモリのデータの読み書き等の動作は、中央
演算装置(CPU、図示せず)が制御する。
FIG. 1 is a block diagram showing a preferred embodiment of a data string generating apparatus according to the present invention. Memory (first memory) 12
In each address, n-bit parallel data is stored. n is an integer of 2 or more. The first shift register (SR) 14 is a parallel-serial conversion unit that loads parallel data from the memory 12 and converts the parallel data into serial data. Second
The memory (load control memory) 22 stores n-bit load control data in which an arbitrary predetermined bit indicates a load. The second shift register (SR) 24 is a parallel / serial conversion unit that loads the load control data and converts it into a load signal. The address generator 10 supplies a common address to the memory 12 and the load control memory 22. The output of the shift register 14 is converted to a digital-to-analog converter (D
As described above, if an analog signal is converted using / A) or the like, it can be used as a waveform generator. As is well known, the loop 16 is provided for executing a jump instruction for skipping an intermediate address and specifying a next address. Operations such as reading and writing of data in each memory are controlled by a central processing unit (CPU, not shown).

【0010】並列データのビット数nは、上記のように
2以上の任意の整数である。しかし以下の説明では簡単
のため、n=16とする。つまり、第1及び第2メモリ
の各アドレスには、16ビットのデータ(並列データ)
が記憶される。よってこの場合、第1及び第2メモリか
ら第1及び第2シフト・レジスタに並列データをロード
するときの各並列データのビット数は、夫々常に16ビ
ットである。
The number n of bits of the parallel data is an arbitrary integer of 2 or more as described above. However, in the following description, n = 16 for simplicity. That is, each address of the first and second memories has 16-bit data (parallel data).
Is stored. Therefore, in this case, the number of bits of each parallel data when the parallel data is loaded from the first and second memories into the first and second shift registers is always 16 bits.

【0011】図2は、第1シフト・レジスタ14が出力
する直列データと、第2シフト・レジスタ24が出力す
るロード信号のクロック(CLK)に対するタイミング
図を示している。直列データAは、データ数が16であ
る。このとき、直列データAが第1シフト・レジスタ1
4にロードされるときに同時に第2シフト・レジスタ2
4にロードされるロード制御データAは、その第16番
目のビットにロードを示すデータがある。そのため、先
にロードが行われてから第16番目のクロックでロード
信号が立ち上がる。各シフト・レジスタは、このロード
信号を受けて対応するメモリからの並列データをロード
する。つまり、ロード信号はロードのタイミングを定め
ている。
FIG. 2 is a timing chart for the serial data output from the first shift register 14 and the clock (CLK) of the load signal output from the second shift register 24. The serial data A has 16 data. At this time, the serial data A is stored in the first shift register 1
4 is simultaneously loaded with the second shift register 2
The load control data A loaded into No. 4 has data indicating the load in the 16th bit. Therefore, the load signal rises at the 16th clock after the load is performed first. Each shift register receives this load signal and loads parallel data from the corresponding memory. That is, the load signal determines the load timing.

【0012】同様に直列データBに対応するロード制御
データBは、その第9番目のビットにロードを示すデー
タがある。そのため、先にロードが行われてから第9番
目のクロックでロード信号が立ち上がる。以下同様にし
てnビットのロード制御データの任意のビットにロード
を示すデータを入れておくことにより、n以下の範囲で
1つの並列データから生成する直列データの長さを調整
できる。従って、1つの並列データから生成する直列デ
ータの組み合わせにより任意の長さのデータ列が生成で
きる。なおロード制御データは、そのnビットの内のロ
ードを示すデータを例えば”1”とし、他のデータを”
0”とすれば良い。
Similarly, the load control data B corresponding to the serial data B has data indicating a load in the ninth bit. Therefore, the load signal rises at the ninth clock after the load is performed first. Similarly, the length of serial data generated from one piece of parallel data can be adjusted within a range of n or less by inserting data indicating load into an arbitrary bit of the n-bit load control data. Therefore, a data string having an arbitrary length can be generated by combining serial data generated from one piece of parallel data. In the load control data, data indicating the load among the n bits is set to, for example, “1”, and the other data is set to “
0 "may be set.

【0013】図1の実施例では、並列データを記憶する
第1メモリが1つだけの場合を示しているが、複数のメ
モリを用いても良い。これによれば、よりビット数の多
い並列データを第1メモリから呼び出して一度に長い直
列データを発生させることができる。この場合、第2メ
モリ(ロード制御メモリ)の各アドレスにも上記の並列
データと同じビット数の並列データ(ロード制御デー
タ)を記憶する構成とする。これによって次に指定する
アドレスがジャンプした場合であっても、常に第1メモ
リと第2メモリの各アドレスの内容は対応し、1つの並
列データから生成する直列データの長さを予め設定した
長さにできる。
Although the embodiment of FIG. 1 shows a case in which only one first memory stores parallel data, a plurality of memories may be used. According to this, parallel data having a larger number of bits can be called from the first memory to generate long serial data at a time. In this case, the configuration is such that parallel data (load control data) having the same number of bits as the above parallel data is stored in each address of the second memory (load control memory). As a result, even if the next specified address jumps, the contents of each address in the first memory and the second memory always correspond, and the length of serial data generated from one parallel data is set to a preset length. I can do it.

【0014】[0014]

【発明の効果】従来から大容量メモリの低速動作を補う
ためにメモリが出力する並列データを並直列変換手段に
ロードして直列データに変換することが行われている
が、本発明による任意長データ列発生装置では、特に並
直列変換手段に並列データをロードするタイミングを制
御することによって、並直列変換手段が出力する直列デ
ータを、並列データのビット数以下の短いデータ列を含
む任意の長さにできる。よって、メモリの動作速度は従
来通り比較的低速なもので良い一方、出力される直列デ
ータは並直列変換手段のクロック速度によるので高速な
ものにできる。
Conventionally, in order to compensate for the low-speed operation of a large-capacity memory, parallel data output from a memory is loaded into parallel-serial conversion means and converted into serial data. In the data string generating apparatus, in particular, by controlling the timing of loading parallel data to the parallel / serial conversion means, the serial data output from the parallel / serial conversion means can be converted to an arbitrary length including a short data string equal to or less than the bit number of the parallel data. I can do it. Therefore, the operation speed of the memory may be relatively low as before, while the output serial data can be made high speed because of the clock speed of the parallel / serial conversion means.

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

【図1】本発明の任意長データ列発生装置の一好適実施
例のブロック図である。
FIG. 1 is a block diagram of a preferred embodiment of an arbitrary-length data string generator according to the present invention.

【図2】直列データとロード信号のタイミング図であ
る。
FIG. 2 is a timing chart of serial data and a load signal.

【図3】従来のデータ列発生装置の一例のブロック図で
ある。
FIG. 3 is a block diagram of an example of a conventional data string generator.

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

10 アドレス供給手段 12 第1メモリ 14 第1並直列変換手段 22 第2メモリ(ロード制御メモリ) 24 第2並列直列変換手段 DESCRIPTION OF SYMBOLS 10 Address supply means 12 1st memory 14 1st parallel-serial conversion means 22 2nd memory (load control memory) 24 2nd parallel-serial conversion means

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 nビットの並列データを記憶する第1メ
モリと、 上記並列データをロードして並直列変換し、クロックに
従って直列データとして出力する第1並直列変換手段
と、 上記並列データの夫々に対応して設けられ、対応する上
記並列データから生成させるk(kはn以下の予め設定
した整数)ビットの上記直列データの長さに対応して、
k番目のビットがロードを示すnビットの並列なロード
制御データを記憶する第2メモリと、 上記ロード制御データをロードして並直列変換し、上記
クロックに従ってロード信号として出力する第2並直列
変換手段と、 上記並列データ及びこれに対応する上記ロード制御デー
タを記憶する上記第1及び第2メモリ夫々のアドレスを
供給するアドレス供給手段とを具え、 上記ロード信号に従って上記並列データをロードしてか
らk番目の上記クロックで次の上記並列データを上記第
1並直列変換手段にロードするとともに、対応する上記
ロード制御データを上記第2並直列変換手段にロードす
ることを特徴とする任意長データ列発生装置。
A first memory for storing n-bit parallel data; a first parallel / serial conversion means for loading the parallel data to perform parallel / serial conversion, and outputting the data as serial data in accordance with a clock; Corresponding to the length of the serial data of k bits (k is a preset integer of n or less) generated from the corresponding parallel data,
a second memory for storing n-bit parallel load control data in which a k-th bit indicates a load; a second parallel-serial conversion for loading the load control data to perform parallel-serial conversion and outputting as a load signal in accordance with the clock Means, and address supply means for supplying addresses of the first and second memories for storing the parallel data and the load control data corresponding thereto, and after loading the parallel data according to the load signal, An arbitrary-length data sequence, wherein the next parallel data is loaded into the first parallel-serial conversion means at the k-th clock, and the corresponding load control data is loaded into the second parallel-serial conversion means. Generator.
JP34431893A 1993-12-17 1993-12-17 Arbitrary length data string generator Expired - Fee Related JP3249671B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34431893A JP3249671B2 (en) 1993-12-17 1993-12-17 Arbitrary length data string generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34431893A JP3249671B2 (en) 1993-12-17 1993-12-17 Arbitrary length data string generator

Publications (2)

Publication Number Publication Date
JPH07174828A JPH07174828A (en) 1995-07-14
JP3249671B2 true JP3249671B2 (en) 2002-01-21

Family

ID=18368316

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34431893A Expired - Fee Related JP3249671B2 (en) 1993-12-17 1993-12-17 Arbitrary length data string generator

Country Status (1)

Country Link
JP (1) JP3249671B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6731899B2 (en) 1997-01-31 2004-05-04 Seiko Epson Corporation Intermediate transfer unit

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101594866B1 (en) * 2009-06-02 2016-02-26 엘에스산전 주식회사 Apparatus and method for converting parallel digital data to serial digital data for a circuit breaker

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6731899B2 (en) 1997-01-31 2004-05-04 Seiko Epson Corporation Intermediate transfer unit

Also Published As

Publication number Publication date
JPH07174828A (en) 1995-07-14

Similar Documents

Publication Publication Date Title
KR0181694B1 (en) Digital sound source apparatus and external memory cartridge used therefor
US4437377A (en) Digital electronic musical instrument
US5269012A (en) Stack memory system including an address buffer for generating a changed address by inverting an address bit
JP3249671B2 (en) Arbitrary length data string generator
US4562763A (en) Waveform information generating system
US7148826B2 (en) Data input circuit and semiconductor device utilizing data input circuit
JP4491587B2 (en) Data generator
JPH0836036A (en) Data pattern generating unit
JPH06188635A (en) Optional waveform generator
JPH0718174Y2 (en) Arbitrary waveform generator
JPH0423296A (en) Integrated circuit and its way of using
KR930007086B1 (en) Circuit for generating carrier signal
JPH0798999A (en) Device for generating optional length data row
JP3211238B2 (en) Image data time base conversion circuit
US5925842A (en) Electronic music tone generator with power saving control
JPH1082802A (en) Wave-form memory device
JPH07209389A (en) High-speed pattern generator
EP1124177B1 (en) Data input/output system
JP2595998B2 (en) Electronic musical instrument
JP2513326B2 (en) Electronic musical instrument
JP2003057319A (en) Testing device for semiconductor
JPH0555831A (en) Optional waveform generator
JPH02135497A (en) Electronic musical instrument
JPS6011398B2 (en) Memory test pattern writing device
JPH05281973A (en) Memory access device

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees