JPH03157895A - Semiconductor integrated circuit device - Google Patents

Semiconductor integrated circuit device

Info

Publication number
JPH03157895A
JPH03157895A JP1296674A JP29667489A JPH03157895A JP H03157895 A JPH03157895 A JP H03157895A JP 1296674 A JP1296674 A JP 1296674A JP 29667489 A JP29667489 A JP 29667489A JP H03157895 A JPH03157895 A JP H03157895A
Authority
JP
Japan
Prior art keywords
data
address
register
signal
pointer
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
JP1296674A
Other languages
Japanese (ja)
Inventor
Shinichi Ozawa
小沢 信一
Akira Kikuchi
明 菊地
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1296674A priority Critical patent/JPH03157895A/en
Publication of JPH03157895A publication Critical patent/JPH03157895A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform the high-speed data transfer operation and write/read test operation of a data RAM by adding a function which invalidates the increment operation of an address signal selectively with an external control signal. CONSTITUTION:An AND circuit which performs AND operation with an external terminal AC is added to a pointer input part for an INC signal for controlling the increment operation of a pointer and when the external terminal AC is at low level, the INC signal is inputted to the pointer as it is. When the external terminal AC is at low level, the INC signal is not inputted to the pointer and the increment operation is invalidated selectively while a last value is held. Thus, the automatic stepping operation of the address signal is invalidated selectively by using the external control signal to enable continuous writing and reading to and from the same address of an internal memory circuit. Consequently, the high-speed data transfer operation and write/read test operation of the data RAM are carried out.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、半導体集積回路装置に関し、′1)に内部
で発生されたアドレス信号に従いデ〜りのtiき込ゐ/
読み出しが行われるメモリ回路を含むものに利用して有
効な技術に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention relates to a semiconductor integrated circuit device.
The present invention relates to a technique that is effective for use in devices that include memory circuits to which reading is performed.

〔従来の技術〕[Conventional technology]

内部で発生された°? Fレス他すによりデータの書き
込み/読み出しが行われるメ干り回路を内蔵した半導体
集積回路装置がある。このようなメモリ回路を内蔵した
半導体集積回路装置の例として、特開昭62−2844
34号公報、@1」立製作所から発行されているr E
l 1′r、ディジタル信号処理プロセッサ(H3P)
Hl)61810BユーザースマニユアルJがある。
° internally generated? There is a semiconductor integrated circuit device that includes a built-in circuit for writing/reading data using an F-response. An example of a semiconductor integrated circuit device incorporating such a memory circuit is disclosed in Japanese Patent Application Laid-Open No. 62-2844.
Publication No. 34, @1” r E published by Tate Seisakusho
l 1'r, Digital Signal Processor (H3P)
Hl) 61810B User Manual J is available.

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

上記のよ・うな内蔵されるメモリ回路に外部からデータ
転送(@き込み/読み出し)を行うとき、内部でアドレ
ス信ぢが自動的にインクリメントされる。その入量め、
メモリ回路のテスティングのとき、あるアFl/スに対
して書き込みを行うと自動的にアl’l/スが歩進され
てしまうため、上記ア1:レスに書き込まれカニデータ
をすく次のステップで読め出して1常に書き込みが行わ
れた否かの読み出しが出来なくなってしまう。そごで、
いったん全アドレスに連続して書き込みを行った後に一
上記全ア(−レスのデータを連続しζ読み出すことが考
えられる。しかしながら、これでは多重書き込み不良を
検出する、−とができない。そこで、上記のようなテス
ティングのためのメモリアクセス用のブし1グラムを設
ける必要がある。
When data is transferred (read/read) from the outside to the built-in memory circuit as described above, the address signal is automatically incremented internally. That amount,
When testing a memory circuit, if you write to a certain address, the address will automatically be incremented. When reading in step 1, it becomes impossible to read whether or not writing has been performed. There,
It is conceivable to write to all addresses consecutively and then read the data from all addresses (-) in succession. However, this method cannot detect multiple write failures. Therefore, the above It is necessary to provide a program for memory access for testing purposes such as .

この発明の目的は、筒中な構成により多様なブタ転送を
可能とj−たメ干り回路を備えた半導体集積回路装置を
提供する、二とにある。
The second object of the present invention is to provide a semiconductor integrated circuit device equipped with a hollow circuit that enables various types of transfer due to its compact configuration.

この発明の前記ならびにそのほかの目的と新規な特徴は
、本明細書の記述および添イ1図面から明らかになるで
あろう。
The above and other objects and novel features of the present invention will become apparent from the description of this specification and the accompanying drawings.

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

本願において開示される発明の・うち代表的なものの概
要を簡単に説明すれば、下記の通りである。
A brief overview of representative inventions disclosed in this application is as follows.

ずなわら、内蔵のメモリ回路をアクセスするだめの)′
ドレス信号の発り14回路に、外部からの制御111号
により上記アドレス信号のインクリメント動作を選択的
に無効にする機能を付加する。
Of course, you can't access the built-in memory circuit)'
A function for selectively disabling the incrementing operation of the address signal is added to the address signal generation circuit 14 using an external control number 111.

〔作 用〕[For production]

上記した手段によれば、外部からの制御信号を用いてア
ト”レス信号の自動歩進動作をjx択的に無効にするこ
とにより、内蔵のメモリ回路の同一アドレス対して連続
に書き込み/読メ出しを行うことができる。
According to the above-mentioned means, by selectively disabling the automatic increment operation of the address signal using an external control signal, it is possible to continuously write/read data to the same address in the built-in memory circuit. You can make a withdrawal.

〔実施例〕〔Example〕

第3図には、この発明が適用されたディジタル処理プロ
セッサ(以下、単にtI S Pという)の一実施例の
ブロック図が示されている。
FIG. 3 shows a block diagram of an embodiment of a digital processing processor (hereinafter simply referred to as tISP) to which the present invention is applied.

同図の各回路ブロックは、公知の半導体望積回路の製造
技術によって、特に制限されないが、fi/結晶シリコ
ンのような1個の半導体基板十において形成される。
Each circuit block in the figure is formed on a single semiconductor substrate such as, but not limited to, fi/crystalline silicon using known semiconductor integrated circuit manufacturing techniques.

出力レジスタORは、16ビ・ノドのレジスタである。The output register OR is a 16-bit register.

この出力l/ジスタORの内容が外部データバスI) 
0〜I5に出力される。ごのHS PのプロゲラJ、に
より、データがセットされるまでは、前のデータが変化
せずに残っている。この出力レジスタORを通して後述
するような内部RAMの内容(リードデータ)が出力さ
れる。
The contents of this output l/register OR are the external data bus I)
It is output to 0 to I5. The previous data remains unchanged until the data is set by your HSP's Progera J. The contents of the internal RAM (read data) as described later are output through this output register OR.

入力レジスタIRは、16ビソ1−のレジスタである。The input register IR is a 16 bis 1- register.

この人力レジスタI Rには、外部データバスDo−1
5からのデータがセットされる。このHS Pのプログ
ラムにより、データがセットされるまでは、前のデータ
が変化セずに残っている。
This manual register IR has an external data bus Do-1.
Data from 5 is set. With this HSP program, the previous data remains unchanged until the data is set.

この入力レジスタIRを通して後述するような内部RA
Mへ書き込む内容(ライトデータ)が入力される。
Through this input register IR, the internal RA
Contents to be written to M (write data) are input.

シリアル入力レジスタSIRは、16ビツトのシリアル
入力用のシフl−レジスタである。端子S1から入力さ
れたシリアルデータが、端子5ICKから供給されるタ
イミング・クロックに同期し”ζシリアル入力レジスタ
S I Rに入力される。ごのシリアル入力用レジスタ
SIHの入力値は、内部の命令により最大16ビツト!
16列の内部ハスl3us;?i−経由して、ブラック
ボックスで示した乗算。
The serial input register SIR is a shift register for 16-bit serial input. Serial data input from terminal S1 is input to serial input register SIR in synchronization with the timing clock supplied from terminal 5ICK.The input value of each serial input register SIH is determined by the internal instruction. Up to 16 bits!
16 rows of internal lotus l3us;? Multiplication shown in black box via i-.

算術論理演算器MULT&ALUに含まれるアキュムレ
ータに転送される。l−記シリアル入力しシスタSIR
に人力可能なシリアル入力データのヒント数は最大16
ビツトまでである。このシリアル入力レジスタSIRは
、HS Pのプログラムによりアキュムレータにデータ
転送後にクリアされる。
It is transferred to the accumulator included in the arithmetic and logic unit MULT&ALU. l- Serial input and sister SIR
The maximum number of serial input data hints that can be manually input is 16.
It's up to bits. This serial input register SIR is cleared after data is transferred to the accumulator by the HSP program.

シリアル出力レジスタSORは、16ビツトのシリアル
出力用シフトレジスタである。HS Pの内部バスBU
Sから16ビソト並列にセットされたデータは、端子S
OCから供給されるタイミング・クロックに同期して、
シリアル出力端子SOより内部バスB U Sの上位側
から1ビツトずつ出力される。出力データのビット数は
、最大16ビツトまで任意に選ぶことができる。出力ビ
ソト数は、シリアル出力イネーブル端子5OENに供給
される入力信号のアクティブ期間中において端子SOC
から供給されるシフl−クロックの数で定まる。外部に
データを出力した後は、シリアル出力レジスタS OR
はクリアされる。
The serial output register SOR is a 16-bit serial output shift register. Internal bus BU of HSP
The data set from S to 16 bits in parallel is sent to terminal S.
In synchronization with the timing clock supplied from the OC,
One bit is output from the upper side of the internal bus BUS from the serial output terminal SO. The number of bits of output data can be arbitrarily selected up to a maximum of 16 bits. The output bit number is determined by the terminal SOC during the active period of the input signal supplied to the serial output enable terminal 5OEN.
It is determined by the number of shift l-clocks supplied from After outputting data externally, serial output register SOR
is cleared.

インストラクション1ノジスタIr+5tREGは、プ
r、Iグラノ、1’<OM(リード・オンリー・メモリ
)より読み出された22ビツトからなる命令語のバッフ
ァ1ノジスタである。
The instruction 1 register Ir+5tREG is a buffer 1 register for an instruction word consisting of 22 bits read from the program r, Igrano, 1'<OM (read only memory).

ブしIダウンカウンタPCは、9ピツ[・の命令ROM
用のアルレスカウンタである。このプログラム力うンタ
PCは、0〜511番地の範囲のプログラムROMのア
ドレスを生成する。また、外部からの制御により、外部
データバスを介して0〜255番地のアドレスを設定で
きる。この場合、実行開始命令アドレスは設定アドレス
1−1にされる。
The down counter PC is a 9-pin instruction ROM.
It is an Arres counter for. This program counter PC generates program ROM addresses in the range of addresses 0 to 511. Furthermore, addresses from 0 to 255 can be set by external control via an external data bus. In this case, the execution start instruction address is set to the set address 1-1.

スタックレジスタ5TACKO/1は、9ピッ1−のプ
ログラノ、カウンタ退避用のスタックレジスタである。
The stack register 5TACKO/1 is a stack register for saving a 9-pin 1-program program counter.

ザブルーチンジャンプ又は割り込み発生時にプログラム
カウンタP Cの内容が退避される。この実施例のHS
 ))では、上記のように2個のスタックレジスタS 
T A CK O/ 1を持つため、2レヘルのネステ
ィングが可能となる。
When a subroutine jump or an interrupt occurs, the contents of the program counter PC are saved. HS of this example
)), the two stack registers S
Since it has T ACK O/1, nesting of 2 levels is possible.

リピートカウンタRCは、6ビソトからなるダウンカウ
ンタである。リピートカウンタRCは、同一−命令を繰
り返して実行させるときや、ジャンプ命令でループ処理
を行・)ときに用いられる。このリピートカウンタRC
を用いることにより、同一命令を繰り返して使用する場
合のプログラム・ステップを短くでき、処理時間も短縮
できる。
The repeat counter RC is a down counter consisting of 6 bits. The repeat counter RC is used when executing the same instruction repeatedly or when performing loop processing using a jump instruction. This repeat counter RC
By using , program steps can be shortened when the same instruction is used repeatedly, and processing time can also be shortened.

データRAM及びデータROMは、4ページに分割され
ている。したがって、データ【に八M及びデータROM
とのデータ入出力は、ページの指定とアドレスの指定が
必要である。データの指定をページアドレスレジスタで
行い、アト1/スの指定をポインタで行う。
The data RAM and data ROM are divided into four pages. Therefore, data [28M and data ROM
Data input/output to and from requires specifying the page and address. Data is specified using a page address register, and at 1/s is specified using a pointer.

ページアドレスレジスタX/Y−PAGEは、3ビット
のベージ・アドレスのバッファレジスタである。この内
容と次に説明するポインタROMPOT、RAM−PO
TA/Hの内容とを組み合わせてデータROM/RAM
の実行アドレスを生成する。
The page address register X/Y-PAGE is a 3-bit page address buffer register. This content and the pointers ROMPOT and RAM-PO, which will be explained next.
data ROM/RAM in combination with the contents of TA/H.
Generates the execution address of

ポインタROM−POTは、5ビツトのデータROMの
アドレスポインタである。命令コード内のX/Yベージ
アトI/ス(3)ビットと組み合わせてデータROMの
実行アドレスを生成する。
Pointer ROM-POT is a 5-bit data ROM address pointer. It is combined with the X/Y base address (3) bit in the instruction code to generate the execution address of the data ROM.

ポインタRAM−POTA/Bは、6ビソトのデータR
AM(ランダム・アクセス・メモリ)のアドレスポイン
タである。命令コード内のX/Yページアドレス(3ビ
ツト)と組み合わせてデータRAMの実行アドレスを生
成する。この実施例のl(S I)では、同一機能のポ
インタを上記のようにAとBの2個持っており、命令に
よって選択できる。ポインタRAM−POTA/Bの2
個用いることによりFFTなとの複素数演算プログラム
を効率より構成することができる。
Pointer RAM-POTA/B contains 6-bit data R
This is an address pointer of AM (Random Access Memory). It is combined with the X/Y page address (3 bits) in the instruction code to generate the execution address of the data RAM. The l (S I) of this embodiment has two pointers A and B having the same function as described above, and can be selected by an instruction. Pointer RAM-POTA/B 2
By using these, complex number arithmetic programs such as FFT can be constructed more efficiently.

この実施例では、このポインタRAM−PO′FΔ/B
のインクリメント動作を選択的に無効にする機能が付加
される。上記インクリメント動作を選択的に無効にする
信号は、外部端子ACから供給される信号である。
In this embodiment, this pointer RAM-PO'FΔ/B
A function to selectively disable the increment operation is added. The signal for selectively disabling the increment operation is a signal supplied from the external terminal AC.

第4図には、上記ポインタの一実施例の概略ブロック図
が示されている。
FIG. 4 shows a schematic block diagram of one embodiment of the pointer.

ポインタのインクリメントを制御するI N G信号の
ポインタ入力部に外部端子ACと論理積をとるアンド(
AND)回路を付加し、外部端7− A Cがロウレベ
ルのときにはINC信号がそのままポインタに入力され
る。外部端?−A CがロウレベルのときにはINC信
号がポインタに入力されず前値を保持する。これにより
、」−記インクリメン1−動作を選択的に無効にするこ
とができる。
AND(
An AND) circuit is added, and when the external terminal 7-AC is at a low level, the INC signal is input directly to the pointer. External end? - When AC is at low level, the INC signal is not input to the pointer and the previous value is held. As a result, the increment 1 operation can be selectively disabled.

このデータRAMに対する外部とのデータ転送動作は、
後に詳細に説明する。
The data transfer operation for this data RAM with the outside is as follows.
This will be explained in detail later.

ゼネラルレジスタGRO〜3は、16ヒソトの汎用レジ
スタであり、ワーキング・レジスタとして用いることが
できる。この内容はY−B U Sを介してのみ入出力
することができる。
General registers GRO-3 are 16-history general-purpose registers and can be used as working registers. This content can only be input and output via Y-BUS.

また、上記乗算、算術論理演算器M U L i” &
 ALTIこば、X−BUS又は内部データバスF(U
Sよりデータを記憶し、乗算が行われている間保持する
レジスタMINX、Y−BUSよりデータを記憶し、乗
算が行われている間保持するj/レジスタ 0 MINY、乗算器MOLT(7)出力を記4aするハソ
ノアl/シスタとして動作するレジスタM OU ”I
” 。
In addition, the multiplication, arithmetic and logic operation unit MUL i”&
ALTI, X-BUS or internal data bus F (U
Register MINX stores data from S and holds it while multiplication is performed, j/register 0 MINY stores data from Y-BUS and holds it while multiplication is performed, multiplier MOLT (7) output Register M OU "I" which operates as a sister register M OU "I"
”.

アキj、 、AレータACCA/B及び状態レジスタC
CRを含む。上記レジスタM OtJ Tは、乗算器M
tJ I、′「の出力データを1命令4ノ゛イクル朋間
保持し、1 [iピッI・の仮数部と4ビツトの指数部
から構成される。上記アキュムレータACCA/Bは、
20ヒツトからなり、算術論理演算器A 1.、 Ll
の出力がセットされる6 2個のアキュムI/−タA 
/ B Q)選択は命令により行われる。
Aki j, , A register ACCA/B and status register C
Including CR. The above register M OtJ T is a multiplier M
The output data of tJ I,' is held for 4 cycles per instruction, and consists of a mantissa part of 1[i pi I and a 4-bit exponent part.The above accumulator ACCA/B is
Consisting of 20 units, arithmetic and logic unit A1. , Ll
The output of 6 two accumulators A is set.
/ B Q) Selection is made by command.

デl/イレジスタD RE Gは、16ヒノトのレジス
タであり、Y −I3 U Sへ出力されるデータを1
命令サイクル区間保持する。データRA Mのブタの格
納アドレスを効率よく変更するときに用いられる。信号
処理における1サンプル遅延機能のため6にデータ)ン
A M上のデータの格納アドレスを1番地ずつシフトす
る場合に有効である。
The del/er register D RE G is a 16-hino register, and the data output to Y-I3 US is 1
Holds the instruction cycle period. It is used to efficiently change the storage address of a pig in data RAM. Due to the one sample delay function in signal processing, this is effective when shifting the storage address of data on the 6-bit AM by one address at a time.

ステータスレジスタSTRは、)fsPの内部の状態が
反映される8ヒツトのし・ジスタである。
The status register STR is an 8-hit register that reflects the internal state of )fsP.

コント「1−ルレジスタ(二T Rは、)I S Pの
動作を制御するだめの条件が設定される制御用の5ビッ
トからなるレジスタであり、HS Pの命令及び入出力
端子Dθ〜15を介(〜だ外部制御によりセットされる
Control register (2) is a control register consisting of 5 bits in which the conditions for controlling the operation of the ISP are set, and it is used to control HSP commands and input/output terminals Dθ~15. Set by external control.

データRAMは、200ワーFX16ヒソ1−の記ta
容量を持し、4ページに分割される。それ故、1ページ
は50ワーFにより構成される。
Data RAM is 200 watts FX16 Hiso 1-note
It has a large capacity and is divided into 4 pages. Therefore, one page is made up of 50 word F.

データROMは、128ワーFX16ヒソトの記憶容量
を持ち、4べ・−ジに分割される。それ故、1ページは
32ワードで構成される。
The data ROM has a storage capacity of 128 words and 16 bits, and is divided into 4 pages. Therefore, one page consists of 32 words.

プログラムROMは、512ワード×22にノドの記憶
容量を持ら、各命令サイクル中に22ピッ1−の命令が
同時にインスI・ラクションレジスタ1nst、REG
に読み出される。
The program ROM has a storage capacity of 512 words x 22 words, and during each instruction cycle, 22 pin 1- instructions are simultaneously input to the input I/action register 1nst, REG
is read out.

I N S T & Q CONは、割り込み制御回路
であり、FUNCはファンクション制御回路である。
INST&Q CON is an interrupt control circuit, and FUNC is a function control circuit.

そして、CPGはクロックパルス発生回路であり、In
stCOM&′l″Mは、命令JJ−ドを解読してその
実行に必要な制御信号、タイミングクロックを発生ずる
CPG is a clock pulse generation circuit, and In
stCOM&'l''M decodes the instruction JJ-code and generates control signals and timing clocks necessary for its execution.

1 2 第1図には、上記データRAMと夕)部端子との間で行
われるデータ転送(書き込み/読み出し)動作の一実施
例の20−チャ−1−図が示されている。
1 2 FIG. 1 shows a 20-char-1 diagram of an embodiment of a data transfer (write/read) operation performed between the data RAM and the data terminal.

データRAMのデータ転送命令により、先頭アドレス八
と端7− R/ Wから転送方向(リー ド/ライト)
が指定される。
Transfer direction (read/write) from start address 8 and end 7-R/W by data transfer command of data RAM.
is specified.

ステップ+11 ’rは、端子R/Wから入力されてい
る信号し・ベルからり一ド/ライトの判定が行われる。
In step +11'r, a read/write determination is made from the signal input from the terminal R/W.

リートモー1ならステップ(2)によりデータRAMに
対して読み出しが指示される。ライトモードならステッ
プ(:()にジャンプする。
If it is read mode 1, reading is instructed to the data RAM in step (2). In light mode, jump to step (:().

ステップ(3)では、上記端子R/Wから入力されCい
るリード/ライトの判定が行われる。ライトモードなら
ステップ(4)によりデータRAMに書き込みが指示さ
れる。リードモードならステップ(5)にジャンプする
In step (3), a read/write determination is made that is input from the terminal R/W. If it is the write mode, writing to the data RAM is instructed in step (4). If in read mode, jump to step (5).

ステップ(5)では、アドレスの+1のインクリメンI
・動作の有効/無効が判定される。例えば、端7’AC
がハイ1ノベルならインクリメント動作が有効点され、
ステップ(61によりポインタRAM−T)OT (A
/B)においてアドレスA+1動作が行われる。端子A
Cがロウレベルならインクリメント動作が無効とされ、
ステップ(7)にジャンプする。
In step (5), the address is incremented by +1 I
- Validity/invalidity of the operation is determined. For example, end 7'AC
If is a high 1 novel, the increment operation is valid,
Step (pointer RAM-T by 61) OT (A
/B), address A+1 operation is performed. Terminal A
If C is low level, the increment operation is invalidated,
Jump to step (7).

これにより、データRAMを指定するポインタ17AM
−POT (A/B)が指示するアドレスは、そのまま
のアドレス八を保持する。この状態でスソプfilに戻
り、R/Wの判定を行えば、同一・アドレス上にデータ
のR/Wを連続して行うことができる。
This creates a pointer 17AM that specifies the data RAM.
-The address indicated by POT (A/B) retains address 8 as it is. In this state, if the process returns to the file and performs a R/W determination, it is possible to continuously perform data R/W on the same address.

上記アドレスAが最終アドレスか判定し、最終アドレス
でなければ、ステ・ノブ(1)に戻り同様な動作を行う
。最終アドレスならこのデータ転送モードが終了される
It is determined whether the address A is the final address, and if it is not the final address, the process returns to step knob (1) and performs the same operation. If it is the final address, this data transfer mode is ended.

通常のデータ転送モードのときには、」二記端イACが
ハイレベルに維持されているため、端子R/Wに応じて
リード又はライト動作が行われる。
In the normal data transfer mode, since the terminal AC is maintained at a high level, a read or write operation is performed according to the terminal R/W.

このとき、リード又はライト毎にポインタRA MP 
O1’ A又はBによりアドレス八が4−1のインクリ
メントされる。したがって、書き込み千−ド3 4 のときには、端子D 0−15から入力されたデータか
入力1.・ジスタI R1内部ハスB LJ S及びマ
ルチプレクサMIXを通してポインタRAM  PO′
I゛(Δ又はB)により指定されろう一〜−タRAM0
)アドレス16.二次々に書き込まれる。読み出し士−
1・のときには、ボ・インクRAM−POT (A又は
B)により指定さ、hるデータRAMのアドレスから読
み出されたデータは、マルチプレクサMIX、内部ハス
【λUS及び出力レジスタORを通して端子1〕0〜1
5に次々に読め出される。
At this time, pointer RA MP is used for each read or write.
O1' A or B causes address 8 to be incremented by 4-1. Therefore, when writing data 34, the data input from terminals D0-15 or the input 1.・Pointer RAM PO' through register I R1 internal lotus B LJ S and multiplexer MIX
RAM 0 specified by I゛(Δ or B)
) Address 16. written in succession. Reader-
1, the data read from the address of the data RAM specified by the input RAM-POT (A or B) is transferred to the terminal 1 through the multiplexer MIX, the internal hash [λUS and the output register OR]. ~1
5 are read out one after another.

例えば、データRAMPこ対し7て、初期値とし一ζ全
ビット回し論理”′0”を書き込むとき心、二は、通常
モードが指示されて、七記書き込みモートにより全ヒソ
1〜論理°“0”が3き込まれる。
For example, when writing the initial value 1ζ all bits to logic ``0'' for the data RAMP, the normal mode is specified, and the 7 write mode causes all bits to turn 1 to logic 0. ” is inserted 3 times.

引き続いて、データRAMに対する書き込み/読め出し
テストを行うときには、テストモート指示される。この
ケスト千−トのときには、特に制限されないが、端子R
/Wに無関係にデータRAMに対し7てり−1・とライ
トとが行われる。そして、前半のサイクルでは端子AC
はロウレベルにされる。
Subsequently, when performing a write/read test on the data RAM, a test mode instruction is given. In this case, although not particularly limited, the terminal R
A write is performed to the data RAM regardless of /W. In the first half of the cycle, the terminal AC
is set to low level.

すなわら、第1図のステップ(11では、リ−1・が有
効になり、ステップ(2)においてアドレスAiに対し
てリード動作が行われる。これにより、外部端子り 0
〜15には、データR A Mが正常に機能しているな
ら上記のように初期値論理“O゛か読み出される。、二
の後にステップ(3)においてライトが有効になり、上
記読み出L7たと同じア1ルスAiに外部端子D O〜
15から入力される論理“1”の占き込みが行われる。
In other words, in step (11) in FIG. 1, read 1 becomes valid, and in step (2), a read operation is performed for address Ai.As a result, the external terminal 0
~15, if the data RAM is functioning normally, the initial value logic "O" is read out as described above. After 2, the write is enabled in step (3), and the readout L7 is read out. Connect the external terminal D O to the same Ars Ai as
Logic "1" inputted from 15 is predicted.

ステップ(5)では、端子ACがl」ウレ・入ルにされ
ることに応じて、(1のインクリメント動作が無効にさ
れ、ステップ(7)にジャンプして全アドレスが終了し
たか否かの判定が行われる。上記のような中間アドレス
Aiでは再びステップ(11に反る。
In step (5), in response to the terminal AC being turned on, the increment operation of (1) is disabled, and the process jumps to step (7) to check whether all addresses have been completed or not. A determination is made. At the intermediate address Ai as described above, the process returns to step (11).

そして、ステップ(1)を経由してステップ(2)によ
り読み出しを動作が行われる。これにより、第2図のメ
モリマツプ図に示すように、アトlメスΔiは、初期値
データ論理“0”が読み出しくR)により確認された後
に、論理“1”の書き込み(W)が5 6 行われた後乙1月1fびステップtl)の読み出しく1
ン)により論理“′1”の確認が行われる。これにより
、アトシ・スAiに対して正常に書き込み/読み出し及
びデータ保(hが行われたことを確認できろ。
Then, a read operation is performed in step (2) via step (1). As a result, as shown in the memory map diagram of FIG. 2, after the initial value data logic "0" is confirmed by reading (R), the logic "1" is written (W) in the AT female Δi. Reading of step tl) after January 1st
The logic “'1” is confirmed by As a result, it can be confirmed that writing/reading and data storage (h) have been performed normally on Atsys Ai.

この後、端子へ〇がハイレ・\ルにされる。それ故、ス
テップ(3)と(4)によるダミーの書き込み(無意味
)の後にステップ(5)によりインクリメント動作の有
効/無効が判定され、上記端子A Cのハイレヘルによ
り、インクリメンI・動作が有効になりポインタR A
 M  P O l’ (A又はB)の指定するア1′
シ・スはA i +1になる。しノ、−がって、次のア
ドレスA i +1に対して上記2ザイクルからなるリ
ード/ライトテストが実施される。
After this, 〇 to the terminal is set to high level. Therefore, after the dummy writing (meaningless) in steps (3) and (4), the validity/invalidity of the increment operation is determined in step (5), and the increment I operation is enabled due to the high level of the terminal AC. becomes pointer R A
A1' specified by M P O l' (A or B)
Si・su becomes A i +1. Therefore, the read/write test consisting of the above two cycles is performed on the next address A i +1.

上記のようなテストモードの結果、第2図に示したメモ
リマツプ図に示すようにデータRAMが正常に動作する
ならリード/ライI・のテストが行われているアドレス
Aiに対して、それ以前の71・l,・スAiー1等は
論理”■”か書き込まれ、後のアlレスΔ1F1等には
初期値の論理“′0”が保持されるものであり、当該テ
ストが行われるアドレスAiのデータは、論理“0”か
ら論理“1”のよ・うに変化する。
As a result of the above test mode, as shown in the memory map shown in Figure 2, if the data RAM operates normally, the previous 71・l,・S Ai-1, etc. are written with a logic "■", and the subsequent addresses Δ1F1, etc. retain the initial value of logic "'0", and are the addresses where the test is performed. The data of Ai changes from logic "0" to logic "1".

この実施例では、データ転送用マイクロブl′1グラム
等に対して端子A Cによる動作条件を追加Aるだ番」
でデータRAMの高速データ転送動性と、書き込み/読
み出しテスト動作とを実行させることができるものとな
る。
In this embodiment, an operating condition is added to the terminal AC for the data transfer microblock l'1gram, etc.
This makes it possible to perform high-speed data transfer dynamics of the data RAM and write/read test operations.

」二記端子ACからの情報により、データRAMのアド
レス歩進動作を選択的に有効/無効とする機能は、ユー
ザーにも開放することにより、−に記のようなテスト以
外のデータ転送モードの1つとして用いるものであって
もよい。
By making the function of selectively enabling/disabling the address increment operation of the data RAM based on the information from the terminal AC, the user can use the function to selectively enable/disable the address increment operation of the data RAM based on the information from the terminal AC. It may be used as one.

以上の実施例から得られる作用効果は、上記の通りであ
る。すなわち、 fl)内蔵のメモリ回路をアクセスするためのア[゛レ
ス信号の発生回路に、夕(部からの制御信号により上記
アドレス信号のインクリメン1−動作を選択的に無効に
する機能を付加することにより、データRAMの高速デ
ータ転送動作と、書き込め/読み出しテスト動作とを実
行させることができるとい7 8 ・う効果が得られる。
The effects obtained from the above embodiments are as described above. That is, a function is added to the address signal generation circuit for accessing the built-in memory circuit in fl) to selectively disable the increment 1 operation of the address signal using a control signal from fl. As a result, it is possible to perform high-speed data transfer operations and write/read test operations of the data RAM.

(2) J=記(1)により、内部のデータRA M 
4こ対して上記制御信号を用いることにより同じアドレ
スに対してデータを読み出した後にある判定を行って別
のデータを書、き込んだり、あるいはデータを書き込む
ときにはその確認を行う等のように単なるデータ転送の
他t2二多様なデータ転送動作を行うことができるとい
う効果が得られる。
(2) J = According to (1), internal data RAM
4. On the other hand, by using the above control signals, it is possible to perform simple operations such as reading data from the same address and then making a certain judgment and writing different data, or checking the data when writing it. In addition to data transfer, it is possible to perform two different types of data transfer operations.

以上本発明者によってなされた発明を実施例に基づき具
体的に説明したが、本願発明は前記実施例に限定される
ものではなく、その要旨を逸脱しない範囲で種々変更可
能であることはいうまでもない。例えば、内蔵のデータ
RAMのアドレスを生成する回路としCは、ポインタの
他、アドレスカウンタや演算回路を用いるものであって
もよい。
Although the invention made by the present inventor has been specifically explained based on Examples above, the present invention is not limited to the above-mentioned Examples, and it goes without saying that various changes can be made without departing from the gist thereof. Nor. For example, the circuit C that generates the address of the built-in data RAM may use an address counter or an arithmetic circuit in addition to a pointer.

ずなわら、アドレス信号の歩進動作を行うものであれば
何であってもよい。このようなアドレス生成回路の動作
制御は、マイクロプログラム方式によるもの他、シーケ
ンシャルロジック回路により行われるものであってもよ
い。また、第1図において、テストモードのときリード
とライj・動作の両方を行ね・仕るために、端子R/W
をステップ(11ではハイレベルのり一ドモードに、ス
テップ(3)ではロウレ・\ルのライトモート あってもよい。例えばデータ端子DO〜15からデータ
出力されたなら、それを受けて端子R/Wをハイレベル
からロウレ・\ルに変化さ・1!れば、ステップ(3)
のときにはライ【・モーl′を指示することが出来る。
Of course, any device may be used as long as it performs an increment operation of the address signal. The operation control of such an address generation circuit may be performed by a sequential logic circuit as well as by a microprogram method. In addition, in Figure 1, in order to perform both read and write operations in the test mode, the terminal R/W
In step (11, there may be a high-level read mode, and in step (3), there may be a low-level write mode. For example, if data is output from data terminals DO to 15, in response to it, the terminal R/W If it changes from high level to low level 1!, then step (3)
When , it is possible to specify ``Ly''.

この発明は、前記H S Pの他、内部で生成されたア
ドレス信号によりそのメモリアクセスが行われるRAM
を含む半導体集積回路装置番こ広く利用することができ
る。
In addition to the above-mentioned HSP, the present invention also provides a RAM whose memory is accessed by an internally generated address signal.
It can be widely used in semiconductor integrated circuit devices including.

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

本願において開示される発明のうち代表的なものによっ
て得られる効果を簡単に説明すれば、下記の通りである
。すなわち、内蔵のメモリ回路をアクセスするためのア
ドレス信号の発生回路に、外部からの制御信号により上
記アドレス信号のインクリメント動作を選択的に無効に
する機能を付9 0 加することにより、データRAMの高速データ転送動作
と、書き込み/読み出しテスト動作とを実行させること
ができる。
A brief explanation of the effects obtained by typical inventions disclosed in this application is as follows. That is, by adding a function to selectively disable the increment operation of the address signal using an external control signal to the address signal generation circuit for accessing the built-in memory circuit, the data RAM can be High-speed data transfer operations and write/read test operations can be performed.

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

第1図は、内蔵のデータRAMとり)部端子との間で行
われるデータ転送動作の一実施例を示すフローチャート
図、 第2図は、データRAMの書き込み/読み出しうースト
の−・例を説明するためのメモリマツプ図、第3図は、
この発明が適用されたディジタル信号処理プロセッサの
一実施例を示すブロック図、第4図は、そのポインタの
一実施例を示す概略ブロック図である。 O R・・ 出力レジスタ、IR・・入力レジスタ、S
IR・・シリアル入力レジスタ、B U S・・内部ハ
ス、SOR・・シリアル出力レジスタ、InstREG
・・ インスIーラクションレジスタ、[)C・・プロ
グラムカウンタ、STACKO/1・・スタックレジス
タ、RC・・リピートカウンタ、ROM−POT・・R
OM用ポインタ(アドレス発生回路)、RAM−POT
Δ/[3・・RAM用ポインタ(アドレス発生回路)、
X/Y−PAGE・・ページアドレスレジスタ、C. 
RO〜3・・ゼネラルレジスタ、M U L T &.
 A l 1ノ・・乗算器.算術論理演算器、DREG
・・プレイレジスタ、STR・・ステータスレジスタ、
CTR・・コントロールレジスタ、RAM・・データR
AMは、ROM・・データROM,INST&QCON
・・割り込み制御回路、F LJN C・・ファンクシ
ョン制御回路、CPG・・り「Iツクパルス発生回路、
I n s t. COM&TM ・・インスクラクシ
ョン制御回路.タイミング制御回路、INC信号・− 
RAM−POTA/RAM−POTBのインクリメント
制御信号
Figure 1 is a flowchart showing an example of a data transfer operation performed between a built-in data RAM terminal and a terminal, and Figure 2 illustrates an example of data RAM write/read worst. The memory map diagram, Figure 3, for
FIG. 4 is a block diagram showing an embodiment of a digital signal processing processor to which the present invention is applied. FIG. 4 is a schematic block diagram showing an embodiment of the pointer. OR... Output register, IR... Input register, S
IR...serial input register, BUS...internal hash, SOR...serial output register, InstREG
・・Instrument register, [)C・・Program counter, STACKO/1・・Stack register, RC・・Repeat counter, ROM‐POT・・R
OM pointer (address generation circuit), RAM-POT
Δ/[3...RAM pointer (address generation circuit),
X/Y-PAGE...Page address register, C.
RO~3...General register, MULT&.
A l 1... Multiplier. Arithmetic logic unit, DREG
・・Play register, STR・・Status register,
CTR...control register, RAM...data R
AM is ROM...data ROM, INST&QCON
・Interrupt control circuit, F LJN C ・Function control circuit, CPG ・I pulse generation circuit,
I n st. COM&TM...Instruction control circuit. Timing control circuit, INC signal -
RAM-POTA/RAM-POTB increment control signal

Claims (1)

【特許請求の範囲】 1、内部で発生されるアドレス信号によりデータの入出
力を行うメモリ回路を備え、外部からの制御信号により
上記アドレス信号のインクリメント動作を選択的に無効
にする機能を付加したことを特徴とする半導体集積回路
装置。 2、上記アドレス信号は、プログラムに従いアドレス信
号のインクリメント動作を行う演算器により形成される
ものであり、上記制御信号の入力により演算器によるイ
ンクリメント動作が選択的に無効にされるものであるこ
とを特徴とする特許請求の範囲第1項記載の半導体集積
回路装置。 3、上記外部からの制御信号は、内蔵メモリ回路に対す
る書き込み/読み出しのテストモードのときに用いられ
るものであることを特徴とする特許請求の範囲第1又は
第2項記載の半導体集積回路装置。
[Claims] 1. A memory circuit that inputs and outputs data using an internally generated address signal, and a function of selectively disabling the incrementing operation of the address signal using an external control signal. A semiconductor integrated circuit device characterized by: 2. The above address signal is generated by an arithmetic unit that increments the address signal according to a program, and the increment operation by the arithmetic unit is selectively disabled by inputting the control signal. A semiconductor integrated circuit device according to claim 1. 3. The semiconductor integrated circuit device according to claim 1 or 2, wherein the external control signal is used in a test mode for writing/reading with respect to the built-in memory circuit.
JP1296674A 1989-11-15 1989-11-15 Semiconductor integrated circuit device Pending JPH03157895A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1296674A JPH03157895A (en) 1989-11-15 1989-11-15 Semiconductor integrated circuit device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1296674A JPH03157895A (en) 1989-11-15 1989-11-15 Semiconductor integrated circuit device

Publications (1)

Publication Number Publication Date
JPH03157895A true JPH03157895A (en) 1991-07-05

Family

ID=17836606

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1296674A Pending JPH03157895A (en) 1989-11-15 1989-11-15 Semiconductor integrated circuit device

Country Status (1)

Country Link
JP (1) JPH03157895A (en)

Similar Documents

Publication Publication Date Title
US4835733A (en) Programmable access memory
US4878174A (en) Flexible ASIC microcomputer permitting the modular modification of dedicated functions and macroinstructions
EP0238090B1 (en) Microcomputer capable of accessing internal memory at a desired variable access time
US7283944B2 (en) Circuit simulation bus transaction analysis
US5155819A (en) Flexible ASIC microcomputer permitting the modular modification of dedicated functions and macroinstructions
US4584642A (en) Logic simulation apparatus
JPH02133834A (en) In-circuit emulator
US7953941B2 (en) Data processor with memory controller having burst access operation
US5724604A (en) Data processing system for accessing an external device and method therefor
EP0755538A1 (en) Apparatus and method for updating information in a writable microcode control store
JPH03157895A (en) Semiconductor integrated circuit device
JPH03271829A (en) Information processor
JPS6410854B2 (en)
JP3323341B2 (en) Emulation processor and emulator equipped with it
US5943492A (en) Apparatus and method for generating external interface signals in a microprocessor
JPH02165245A (en) Automatically setting method for number of waits
JPH05342378A (en) Evaluation chip
JPH05257870A (en) Computer system
JPH07182230A (en) Memory card
JPH07105171A (en) Data processor
JPH04303247A (en) Microcomputer device
An et al. The communication between TMS320C54x DSP and CPLD through host port interface
JP2001100991A (en) Digital signal processor
JPH04280331A (en) Access system to read-only list
JPH11184678A (en) Pattern generator