JPH0254341A - Testing method for digital signal processor - Google Patents

Testing method for digital signal processor

Info

Publication number
JPH0254341A
JPH0254341A JP63206735A JP20673588A JPH0254341A JP H0254341 A JPH0254341 A JP H0254341A JP 63206735 A JP63206735 A JP 63206735A JP 20673588 A JP20673588 A JP 20673588A JP H0254341 A JPH0254341 A JP H0254341A
Authority
JP
Japan
Prior art keywords
data
circuit
stored
storage means
storage
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
JP63206735A
Other languages
Japanese (ja)
Inventor
Noboru Kobayashi
登 小林
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63206735A priority Critical patent/JPH0254341A/en
Publication of JPH0254341A publication Critical patent/JPH0254341A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To test a digital signal processor with no extra circuit added to the processor by forming a 1st storage circuit with the 3rd and 4th storage means, storing the input signal data in time division into the 3rd and 4th means and then reading out these stored data. CONSTITUTION:A 1st storage circuit 220 of a digital signal processor DSP consists of the 3rd and 4th storage means 270 and 280. The input test signal data are stored in time division into both means 270 and 280 via a selection circuit 210. Then the data read out of the means 270 and 280 of the circuit 220 are read out to a 2nd storage circuit 230 and processed by a decoder DEC 240, tested. Then the data read via an external memory data bus are written in time division into a higher rank IRU 27 and a lower rank IRL 28 via a selection circuit SEL 21 which is switched to the test side. The address of an IR 23 is obtained from the data stored temporarily in the IRU 27 and the IRL 28, and a control signal is outputted via the DEC 24.

Description

【発明の詳細な説明】 〔概 要〕 高能率音声符号化など高速演算の要求される分野に広く
使用されるディジタルシグナルプロセッサの試験方法に
関し、 上記試験のための余分な回路を付加しなくてすむディジ
タルシグナルプロセンサの試験方法を提供することを目
的とし、 ランダムアクセスメモリを有するディジタルシグナルプ
ロセッサのプログラムシーケンスを制御するシーケンス
制御部であって、試験信号データと所定のプログラム命
令を表すデータとを入力して、制御信号により一方を選
択する選択回路と、選択回路に接続され、所定のピント
数からなる入力信号データを一時記憶し、データをラン
ダムアクセスメモリに記憶するためのアドレスを決める
第1の記憶回路と、第1の記憶回路に接続され、第1の
記憶回路に記憶した信号データを制御信号により読み出
して記憶する第2の記憶回路と、第1及び第2の記憶回
路に接続され、第1及び第2の記憶回路に記憶した信号
データを読み出して信号データの内容を解読するデコー
ダとからなる回路において、第1の記憶回路を第3及び
第4の記憶手段からなる構成とし、入力信号データを時
分割的に第3及び第4の記憶手段に記憶し、第3及び第
4の記憶手段から記憶した信号データを読み出すように
構成する。
[Detailed Description of the Invention] [Summary] Regarding a testing method for digital signal processors that are widely used in fields that require high-speed calculations such as high-efficiency speech encoding, this method does not require the addition of extra circuits for the above-mentioned tests. The purpose of the present invention is to provide a sequence control unit for controlling the program sequence of a digital signal processor having a random access memory, the sequence control unit for controlling the program sequence of a digital signal processor having a random access memory, which a selection circuit that selects one of the input signals based on a control signal; and a first circuit that is connected to the selection circuit, temporarily stores input signal data consisting of a predetermined number of points, and determines an address for storing the data in a random access memory. a second memory circuit that is connected to the first memory circuit and reads and stores signal data stored in the first memory circuit using a control signal; and a second memory circuit that is connected to the first and second memory circuits. , and a decoder for reading out signal data stored in first and second storage circuits and decoding the contents of the signal data, wherein the first storage circuit is configured to include third and fourth storage means, The input signal data is stored in the third and fourth storage means in a time-sharing manner, and the stored signal data is read from the third and fourth storage means.

〔産業上の利用分野〕[Industrial application field]

本発明は、高能率音声符号化など高速演算の要求される
分野に広く使用されるディジタルシグナルプロセッサ(
以下DSPと称する)の試験方法の改良に関するもので
ある。
The present invention is a digital signal processor (
The present invention relates to improvements in testing methods for DSP (hereinafter referred to as DSP).

この際、上記試験のための余分な回路を付加しなくてす
むDSPの試験方法が要望されている。
At this time, there is a need for a DSP testing method that does not require the addition of an extra circuit for the above testing.

〔従来の技術〕[Conventional technology]

第4図は一例のDSPの構成を示すブロック図である。 FIG. 4 is a block diagram showing the configuration of an example DSP.

第5図は一例のシーケンス制御部の構成を示すブロック
図である。
FIG. 5 is a block diagram showing the configuration of an example of a sequence control section.

第6図は一例のDSPの試験回路を示すブロック図であ
る。
FIG. 6 is a block diagram showing an example of a DSP test circuit.

第7図は従来例の回路の構成を示すブロック図である。FIG. 7 is a block diagram showing the configuration of a conventional circuit.

第8図は従来例の動作を示すタイムチャートである。FIG. 8 is a time chart showing the operation of the conventional example.

高能率音声符号化など高速演算の要求される分野に広<
LSI化したDSPが使用されている。一方、低消費電
力化、低コスト化の要求のため、できるだけ外付は部品
を少なくし、LSIの入出力端子数を少なくすることが
望まれている。このためプロダラム格納用のROMは、
後から書き込みができないマスクROMとして内蔵し、
命令を読み込むためのデータ端子は削除されている。
Widely used in fields that require high-speed calculations such as high-efficiency speech encoding.
An LSI DSP is used. On the other hand, due to the demand for lower power consumption and lower costs, it is desired to reduce the number of external components and the number of input/output terminals of LSIs as much as possible. For this reason, the ROM for program storage is
Built-in mask ROM that cannot be written to later.
The data terminal for reading instructions has been removed.

しかしDSPの出荷試験や故障診断のため、外部から命
令を入力して実行させたい場合がある。
However, for DSP shipping tests and failure diagnosis, there are cases where it is desired to input and execute commands from the outside.

第4図に示すDSP 6内のシーケンス制御部1の構成
を示した第5図において、外部から付加する拡張命令R
OM13用のインタフェースは、出力16個、入力32
個の端子を必要とする。LSIパンケージの小型化、低
消費電力化等を考えると、命令用のROHを内蔵したも
のが望ましい。
In FIG. 5, which shows the configuration of the sequence control unit 1 in the DSP 6 shown in FIG.
The interface for OM13 has 16 outputs and 32 inputs.
Requires several terminals. Considering the miniaturization and low power consumption of the LSI package, it is desirable to have a built-in ROH for instructions.

上記拡張命令ROM13のインタフェース端子を除去す
ると外部から命令を入力できないため、第5図に示す命
令バッファ(以下IBと称する)14を付加する。lB
14には外部メモリバスより命令が入力される。
If the interface terminal of the extended instruction ROM 13 is removed, instructions cannot be input from the outside, so an instruction buffer (hereinafter referred to as IB) 14 shown in FIG. 5 is added. lB
Commands are input to 14 from an external memory bus.

このような構成のDSPに対して、第6図に示す回路に
より試験を行う。制御信号“lN5T”の“1”をゲー
ト15を介して“0”にして外部の命令RAM18に入
力し、命令を読み出してデータバスMDを介してDSP
 6に入力する。又、制御信号“XMS”の“1”をゲ
ート16を介して外部のデータRAM 17をアクセス
してデータを読み出し、データバスMDを介してDSP
6に入力する。そしてDSP 6で各種演算処理をした
後、上記データバス間から分岐してテスト結果を得るよ
うにする。
A DSP having such a configuration is tested using the circuit shown in FIG. The "1" of the control signal "lN5T" is changed to "0" through the gate 15 and inputted to the external instruction RAM 18, and the instruction is read out and sent to the DSP via the data bus MD.
Enter 6. In addition, the control signal "XMS" of "1" is used to access the external data RAM 17 via the gate 16 to read the data, and the data is read out from the data RAM 17 via the data bus MD.
Enter 6. After various arithmetic processing is performed by the DSP 6, the test results are obtained by branching from between the data buses.

第8図に示すように外部メモリデータバスMDを介して
読み込まれたデータは、制御信号UXLが“O”の時第
7図に示すように上位ワードの命令バッファであるIB
U 19に、又、[IXLが“1”の時下位ワードの命
令バッファであるIBL 20に、例えば16ビツトず
つ時分割的に入力され一時記憶される。
As shown in FIG. 8, when the control signal UXL is "O", the data read via the external memory data bus MD is stored in the upper word instruction buffer IB as shown in FIG.
For example, 16 bits are time-divisionally input to the IBL 20, which is an instruction buffer for the lower word when [IXL is "1", and are temporarily stored.

上記−時記憶したデータは制御信号により読み出され選
択回路(以下SELと称する)21に入力される。そし
てSEL 21においてテスト側に切り替えられ32ビ
ツトのテストデータとして出力される。
The data stored at the above-mentioned time is read out by a control signal and inputted to a selection circuit (hereinafter referred to as SEL) 21. Then, at SEL 21, it is switched to the test side and output as 32-bit test data.

上記データはSEL 21から命令レジスタ(以下IR
と称する)22に一時記憶される。lR22において、
予めデータを第4図に示すRAM 3に記憶するための
アドレスを計算する。この結果をデコーダ(以下DEC
と称する)24に入力すると共に、第8図に示す1サイ
クル遅れてlR23に入力し一時記憶する。
The above data is transferred from SEL 21 to the instruction register (hereinafter referred to as IR).
22). In lR22,
An address for storing data in the RAM 3 shown in FIG. 4 is calculated in advance. This result is sent to a decoder (hereinafter referred to as DEC).
) 24, and after one cycle delay shown in FIG. 8, it is input to lR23 and temporarily stored.

つまりlR22、I R23はパイプラインの動作を行
う。
In other words, IR22 and IR23 perform pipeline operations.

lR23に一時記憶したデータはDEC24からの制御
信号により読み出されてDEC24に入力され、lR2
2から入力したデータとは別個にその内容が解読され、
各種制御命令が作られる。
The data temporarily stored in lR23 is read out by the control signal from DEC24 and inputted to DEC24, and
The contents are decoded separately from the data input from 2,
Various control instructions are created.

尚、テスト時ではなく通常は、第7図に示すプログラム
カウンタ(以下PCと称する)25は命令アドレスを出
力し、このアドレスに対応したデータをマスクROM 
26から出力し、SEL 21に入力する。
Note that normally, not during testing, the program counter (hereinafter referred to as PC) 25 shown in FIG. 7 outputs an instruction address, and data corresponding to this address is stored in the mask ROM.
26 and input to SEL 21.

以下、SEI、21は通常の側に切り替えられ、lR2
2、lR23、DEC24で上記と同様の動作を行う。
Below, SEI, 21 is switched to the normal side and lR2
2. The same operation as above is performed with IR23 and DEC24.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら上述の試験方法においては、余分に命令バ
ッファが必要になり、コスト高、  となるという問題
点があった。
However, the above test method has the problem of requiring an extra instruction buffer, resulting in high costs.

したがって本発明の目的は、上記試験のための余分な回
路を付加しな(てすむDSPの試験方法を提供すること
にある。
Therefore, an object of the present invention is to provide a DSP testing method that does not require the addition of extra circuitry for the above testing.

〔課題を解決するための手段〕[Means to solve the problem]

上記問題点は第1図に示す回路構成によって解決される
The above problem is solved by the circuit configuration shown in FIG.

即ち第1図において、ランダムアクセスメモリを有する
ディジタルシグナルプロセッサのプログラムシーケンス
を制御するシーケンス制御部であって、試験信号データ
と所定のプログラム命令を表すデータとを入力して、制
御信号により一方を選択する選択回路210と、選択回
路に接続され、所定のビット数からなる入力信号データ
を一時記憶し、データをランダムアクセスメモリに記憶
するためのアドレスを決める第1の記憶回路と、第1の
記憶回路に接続され、第1の記憶回路に記憶した信号デ
ータを制御信号により読み出して記憶する第2の記憶回
路230と、第1及び第2の記憶回路に接続され、第1
及び第2の記憶回路に記憶した信号データを読み出して
信号データの内容を解読するデコーダ240とからなる
回路において、第1の記憶回路を第3及び第4の記憶手
段270.280からなる構成とし、入力信号データを
時分割的に第3及び第4の記憶手段に記憶し、第3及び
第4の記憶手段から記憶した信号データを読み出すよう
に構成する。
That is, in FIG. 1, there is shown a sequence control unit that controls the program sequence of a digital signal processor having a random access memory, which inputs test signal data and data representing a predetermined program command, and selects one of them using a control signal. a first storage circuit connected to the selection circuit for temporarily storing input signal data consisting of a predetermined number of bits and determining an address for storing the data in a random access memory; A second memory circuit 230 is connected to the circuit and reads and stores signal data stored in the first memory circuit using a control signal;
and a decoder 240 for reading signal data stored in a second storage circuit and decoding the contents of the signal data, the first storage circuit is configured to include third and fourth storage means 270 and 280. , the input signal data is stored in the third and fourth storage means in a time-sharing manner, and the stored signal data is read from the third and fourth storage means.

〔作 用〕[For production]

第1図において、第1の記憶回路220を第3及び第4
の記憶手段270.280からなる構成とし、入力信号
データを時分割的に第3及び第4の記憶手段に記憶し、
第3及び第4の記憶手段から記憶した信号データを読み
出すようにする。
In FIG. 1, the first memory circuit 220 is connected to the third and fourth memory circuits.
The input signal data is stored in the third and fourth storage means in a time-sharing manner,
The stored signal data is read from the third and fourth storage means.

この結果、ディジタルシグナルプロセッサの試験のため
に余分な回路を付加しなくてすませることができる。
As a result, it is possible to eliminate the need to add extra circuits for testing digital signal processors.

〔実施例〕〔Example〕

第2図は本発明の実施例の回路の構成を示すブロック図
である。
FIG. 2 is a block diagram showing the configuration of a circuit according to an embodiment of the present invention.

第3図は実施例の動作を説明するタイムチャートである
FIG. 3 is a time chart explaining the operation of the embodiment.

全図を通じて同一符号は同一対象物を示す。The same reference numerals indicate the same objects throughout the figures.

第2図において、従来例と異なる点は第7図に示すIB
U 19、IBL 20を除去し、lR22を上位ワー
ド側IRU 27と下位ワード側IRL 28に分けた
ことである。そして、SEL 21に入力した例えば1
6ビツト単位のテストデータをIRU 27とIRL 
28に時分割で書き込む。
In Fig. 2, the difference from the conventional example is the IB shown in Fig. 7.
The U 19 and IBL 20 are removed, and the IR 22 is divided into an IRU 27 on the upper word side and an IRL 28 on the lower word side. For example, 1 entered in SEL 21.
Test data in 6-bit units IRU 27 and IRL
28 in a time-sharing manner.

第3図に示すように、外部メモリデータバス肝を介して
読み込まれたデータは、テスト側に切り替えられたSE
L 21を介して先ずIRtl 27に入力され、次の
サイクルで同様にIRL 28に入力されそれぞれ一時
記憶される。IRU27 、IRL28において、上記
−時記憶したデータをRAMに記憶するためのアドレス
を計算する。この結果をDEC24に入力すると共に、
1サイルク遅れてlR23に入力し、−時記憶する。
As shown in Figure 3, the data read through the external memory data bus is transferred to the SE switched to the test side.
The signals are first input to the IRtl 27 via the L 21, and then similarly input to the IRL 28 in the next cycle, where they are temporarily stored. The IRU 27 and IRL 28 calculate an address for storing the previously stored data in the RAM. Input this result to the DEC24, and
It is inputted to lR23 with a delay of one cycle and is stored at - hours.

以下のDEC24における動作は、従来の技術で記述し
たのと同様である。
The following operation in the DEC 24 is similar to that described in the prior art.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、DSPの試験のた
めに余分な回路を付加しなく・てすませることができる
As explained above, according to the present invention, it is possible to eliminate the need to add an extra circuit for testing a DSP.

図において 270は第3の記憶手段、 280は第4の記憶手段 を示す。In the figure 270 is a third storage means; 280 is the fourth storage means shows.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の原理図、 第2図は本発明の実施例の回路の構成を示すブロック図
、 第3図は実施例の動作を説明するタイムチャート、 第4図は一例のDSPの構成を示すブロック図、第5図
は一例のシーケンス制御部の構成を示すブロック図、 第6図は一例のospの試験回路を示すブロック図、 第7図は従来例の回路の構成を示すブロック図、第8図
は従来例の動作を説明するタイムチャートである。 ・L発!3バの足理囲 牛 1 暖 /1−斧朗(7)炙浣]りjの回f春の溝入゛と示ザ7
”O−y 77   や2 凶 時間 実方己介・I/)重n(’f−又言うHするタイムケV
−ト第 図 手 図 −fつの)5Pめ構pヌ゛ン示−り゛ノ゛1コ、ラフ図
を 4 図 と −4り“jのD3Pの訳、鼓回路Σ示■ブロソフ図手 
ら 図 L*47’)の回ル与■講ぺと示すフ゛口・ソ2区吊 
7 囚
Fig. 1 is a principle diagram of the present invention, Fig. 2 is a block diagram showing the circuit configuration of an embodiment of the invention, Fig. 3 is a time chart explaining the operation of the embodiment, and Fig. 4 is an example of a DSP. FIG. 5 is a block diagram showing the configuration of an example sequence control section. FIG. 6 is a block diagram showing an example OSP test circuit. FIG. 7 is a block diagram showing the configuration of a conventional circuit. 8 are time charts for explaining the operation of the conventional example.・From L! 3 Ba's Ashari Eigyu 1 Warm / 1 - Chiro (7) Roasted] Rejuvenation of Spring Groove and Demonstration 7
``O-y 77 ya 2 bad time Jitsukata Kosuke/I/)ju n('f-also say H time ke V
Figure 4 shows the 5P mechanism p number, a rough diagram.
Figure L
7 prisoners

Claims (1)

【特許請求の範囲】 ランダムアクセスメモリを有するディジタルシグナルプ
ロセッサのプログラムシーケンスを制御するシーケンス
制御部であって、試験信号データと所定のプログラム命
令を表すデータとを入力して、制御信号により一方を選
択する選択回路(210)と、該選択回路に接続され、
所定のビット数からなる入力信号データを一時記憶し、
該データを該ランダムアクセスメモリに記憶するための
アドレスを決める第1の記憶回路(220)と、該第1
の記憶回路に接続され、該第1の記憶回路に記憶した信
号データを制御信号により読み出して記憶する第2の記
憶回路(230)と、該第1及び第2の記憶回路に接続
され、該第1及び第2の記憶回路に記憶した信号データ
を読み出して該信号データの内容を解読するデコーダ(
240)とからなる回路において、 該第1の記憶回路を第3及び第4の記憶手段(270、
280)からなる構成とし、入力信号データを時分割的
に該第3及び第4の記憶手段に記憶し、該第3及び第4
の記憶手段から記憶した信号データを読み出すようにし
たことを特徴とするディジタルシグナルプロセッサの試
験方法。
[Scope of Claims] A sequence control unit for controlling a program sequence of a digital signal processor having a random access memory, which inputs test signal data and data representing a predetermined program command, and selects one of them using a control signal. a selection circuit (210) connected to the selection circuit;
Temporarily stores input signal data consisting of a predetermined number of bits,
a first storage circuit (220) determining an address for storing the data in the random access memory;
a second memory circuit (230) connected to the first memory circuit and reading out and storing signal data stored in the first memory circuit using a control signal; A decoder (
240), the first storage circuit is connected to third and fourth storage means (270,
280), input signal data is stored in the third and fourth storage means in a time-sharing manner, and the input signal data is stored in the third and fourth storage means in a time-sharing manner;
1. A test method for a digital signal processor, characterized in that signal data stored from a storage means is read out.
JP63206735A 1988-08-19 1988-08-19 Testing method for digital signal processor Pending JPH0254341A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63206735A JPH0254341A (en) 1988-08-19 1988-08-19 Testing method for digital signal processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63206735A JPH0254341A (en) 1988-08-19 1988-08-19 Testing method for digital signal processor

Publications (1)

Publication Number Publication Date
JPH0254341A true JPH0254341A (en) 1990-02-23

Family

ID=16528236

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63206735A Pending JPH0254341A (en) 1988-08-19 1988-08-19 Testing method for digital signal processor

Country Status (1)

Country Link
JP (1) JPH0254341A (en)

Similar Documents

Publication Publication Date Title
US4759021A (en) Test pattern generator
US4747045A (en) Information processing apparatus having an instruction prefetch circuit
US4995037A (en) Adjustment method and apparatus of a computer
JPH02210685A (en) Dram controller
JPH0254341A (en) Testing method for digital signal processor
JP2918019B2 (en) Test circuit for single-chip microprocessor
JPS61201172A (en) Memory reading control method
JPS6355090B2 (en)
JPH0233173B2 (en)
JPH0226252B2 (en)
JPS645342B2 (en)
JPH01147732A (en) Information processor
JPH03121550A (en) Microprocessor
JPH01121965A (en) Microprocessor
JPH0517574B2 (en)
JPS60549A (en) Memory testing system
JPS648381B2 (en)
JPH03113659A (en) Cache memory testing method
JPS6380302A (en) Sequence controller
JPH024014B2 (en)
JPH046482A (en) Semiconductor device
JPH0315948A (en) Address bus test system
JPH06332696A (en) Microcomputer
JPS63250744A (en) Signal processing lsi
JPS63285642A (en) Microprocessor control system