[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JP2007213415A - Memory device - Google Patents

Memory device Download PDF

Info

Publication number
JP2007213415A
JP2007213415A JP2006034011A JP2006034011A JP2007213415A JP 2007213415 A JP2007213415 A JP 2007213415A JP 2006034011 A JP2006034011 A JP 2006034011A JP 2006034011 A JP2006034011 A JP 2006034011A JP 2007213415 A JP2007213415 A JP 2007213415A
Authority
JP
Japan
Prior art keywords
processor
command
memory device
cpu
break
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.)
Withdrawn
Application number
JP2006034011A
Other languages
Japanese (ja)
Inventor
Hidenori Mitani
秀徳 三谷
Motoki Uehara
素記 上原
Takenobu Ikeda
武信 池田
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.)
Renesas Technology Corp
Original Assignee
Renesas Technology Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Renesas Technology Corp filed Critical Renesas Technology Corp
Priority to JP2006034011A priority Critical patent/JP2007213415A/en
Publication of JP2007213415A publication Critical patent/JP2007213415A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Executing Machine-Instructions (AREA)
  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a memory device capable of stopping operation in an optional state. <P>SOLUTION: A command decoder 11 decodes a command received from the external. A CPU 12 controls the operation of a flash memory 20 in accordance with the decoded result of the command decoder 11. Then the CPU 12 stops operation when a program count value coincides with a BREAK address stored in a mode register 16. Thereby the operation of the memory device 1 can be stopped in an optional state. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、CPU(Central Processing Unit)を内蔵したメモリ装置に関し、特に、CPUのブレーク機能を有するメモリ装置に関する。   The present invention relates to a memory device incorporating a CPU (Central Processing Unit), and more particularly to a memory device having a break function of a CPU.

近年、高機能のメモリ装置が種々開発されており、CPUを搭載したものが多くなってきている。このようなメモリ装置において、メモリ装置の内部状態をモニタする機能があればテスト、評価、解析などが容易に行なえるようになる。   In recent years, various high-performance memory devices have been developed, and many are equipped with a CPU. In such a memory device, if there is a function for monitoring the internal state of the memory device, testing, evaluation, analysis and the like can be easily performed.

従来のメモリ装置においては、CPUがROM(Read Only Memory)などに格納されたプログラムを実行し、メモリ装置内の周辺回路に対して制御信号を出力することによりメモリ装置の制御を行なう。   In a conventional memory device, a CPU executes a program stored in a ROM (Read Only Memory) or the like, and controls the memory device by outputting a control signal to a peripheral circuit in the memory device.

メモリ装置の内部状態をモニタするために、動作中のCPUを停止させるブレーク機能が搭載されていることが多い。たとえば、プログラムを格納するROM内に停止命令(BREAK命令)を埋め込んでおき、CPUがその停止命令を実行することによりプログラムの実行を停止する。CPUの動作が停止している状態で、内部状態を外部に出力することによりメモリ装置の内部状態をモニタすることが可能である。   In order to monitor the internal state of the memory device, a break function for stopping the operating CPU is often installed. For example, a stop instruction (BREAK instruction) is embedded in a ROM that stores a program, and the execution of the program is stopped by the CPU executing the stop instruction. It is possible to monitor the internal state of the memory device by outputting the internal state to the outside while the operation of the CPU is stopped.

これに関連する技術として、特許文献1に開示された発明がある。この特許文献1に開示されたデバッグ支援装置においては、モジュール番号比較器がモジュール番号フィールドとモジュール番号レジスタに保持されたモジュール番号とを比較し、アドレス比較器がアドレスフィールドに保持された停止アドレスと命令RAM(Random Access Memory)のフェッチアドレスとを比較し、共に一致したときにブレーク信号を出力するものである。
特開2003−223340号公報
As a technique related to this, there is an invention disclosed in Patent Document 1. In the debugging support device disclosed in Patent Document 1, the module number comparator compares the module number field with the module number held in the module number register, and the address comparator holds the stop address held in the address field. The fetch address of an instruction RAM (Random Access Memory) is compared, and a break signal is output when they match.
JP 2003-223340 A

上述した従来のメモリ装置においては、ROM内に停止命令を埋め込んでおくことにより任意のポイントでCPUを停止させることができるが、CPUを停止させるポイントに予め停止命令を格納しておく必要がある。プログラムを格納するメモリがROMの場合、ブレークポイントを書き換えることができない。したがって、ブレークポイントを最適な位置に格納しておかなければならず、ブレークポイントを変更するためにはマスクの修正が必要となって、開発コストが大きくなったり、開発期間が長くなったりするという問題点があった。また、新たなテストを行ないたい場合には、同様の問題が発生する。   In the conventional memory device described above, the CPU can be stopped at an arbitrary point by embedding a stop instruction in the ROM. However, it is necessary to store the stop instruction in advance at the point at which the CPU is stopped. . When the memory storing the program is ROM, the breakpoint cannot be rewritten. Therefore, it is necessary to store breakpoints at optimal positions. To change the breakpoints, it is necessary to modify the mask, which increases the development cost and the development period. There was a problem. The same problem occurs when a new test is desired.

また、特許文献1に開示されたデバッグ支援装置においては、アドレスフィールドに保持される停止アドレスを書き換えることにより任意のアドレスでプログラムを停止させることができる。しかしながら、特許文献1に開示されたデバッグ支援装置は、一般的なマイクロコンピュータのデバッグを対象としており、特許文献1に開示された発明をメモリ装置のテスト、評価、解析などに適用することはできない。   In the debugging support apparatus disclosed in Patent Document 1, the program can be stopped at an arbitrary address by rewriting the stop address held in the address field. However, the debugging support apparatus disclosed in Patent Document 1 is intended for debugging of a general microcomputer, and the invention disclosed in Patent Document 1 cannot be applied to testing, evaluation, analysis, etc. of a memory device. .

本発明は、上記問題点を解決するためになされたものであり、その目的は、任意の状態で動作を停止させることが可能なメモリ装置を提供することである。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a memory device capable of stopping operation in an arbitrary state.

本発明のある局面に従えば、メモリ装置は、メモリと、外部から受けたコマンドをデコードするコマンドデコード手段と、コマンドデコード手段によるデコード結果に応じて、メモリの動作を制御するプロセッサと、ブレークアドレスを格納する第1の格納手段とを含み、プロセッサは、プログラムカウント値と格納手段に格納されたブレークアドレスとが一致するときに動作を停止する。   According to one aspect of the present invention, a memory device includes a memory, a command decoding unit that decodes a command received from the outside, a processor that controls the operation of the memory according to a decoding result by the command decoding unit, a break address The processor stops the operation when the program count value matches the break address stored in the storage means.

本発明のある局面によれば、プロセッサが、プログラムカウント値と格納手段に格納されたブレークアドレスとが一致するときに動作を停止するので、任意の状態でメモリ装置の動作を停止させることが可能となる。   According to an aspect of the present invention, the processor stops the operation when the program count value matches the break address stored in the storage unit, so that the operation of the memory device can be stopped in an arbitrary state. It becomes.

図1は、CPUを搭載したメモリ装置の構成例を示すブロック図である。このメモリ装置は、外部からのコマンドを解析するコマンドデコーダ(COMDEC)110と、コマンドデコーダ110による解析結果に応じてメモリ装置の全体的な制御を行なうCPU120と、CPU120が実行するプログラムが格納されるROM21と、外部クロック生成回路22と、内部クロック生成回路23とを含む。   FIG. 1 is a block diagram illustrating a configuration example of a memory device equipped with a CPU. This memory device stores a command decoder (COMDEC) 110 that analyzes an external command, a CPU 120 that performs overall control of the memory device according to an analysis result by the command decoder 110, and a program that the CPU 120 executes. ROM 21, external clock generation circuit 22, and internal clock generation circuit 23 are included.

また、CPU120は、ROM21からの命令および外部CPU命令のいずれかを選択して出力する組合せ回路41と、組合せ回路41からの命令を保持する命令レジスタ(IR)42と、BREAKモード制御部43と、外部クロック生成回路22および内部クロック生成回路23からのクロックを選択的に出力するセレクタ49とを含む。   In addition, the CPU 120 selects and outputs either an instruction from the ROM 21 or an external CPU instruction, an instruction register (IR) 42 that holds an instruction from the combination circuit 41, a break mode control unit 43, And a selector 49 for selectively outputting clocks from the external clock generation circuit 22 and the internal clock generation circuit 23.

コマンドデコーダ110は、アドレス制御信号がハイレベル(以下、Hレベルと呼ぶ。)、コマンド制御信号がロウレベル(以下、Lレベルと呼ぶ。)のときに、ライトイネーブル信号の立ち上がりでI/O[7:0]の値をアドレスとして取込み、図示しないアドレスバッファに書込む。また、コマンドデコーダ110は、アドレス制御信号がLレベル、コマンド制御信号がHレベルのときに、ライトイネーブル信号の立ち上がりでI/O[7:0]の値をコマンドとして取込む。   When the address control signal is at a high level (hereinafter referred to as “H level”) and the command control signal is at a low level (hereinafter referred to as “L level”), the command decoder 110 receives I / O [7 at the rising edge of the write enable signal. : 0] is taken in as an address and written into an address buffer (not shown). Further, the command decoder 110 takes in the value of I / O [7: 0] as a command at the rising edge of the write enable signal when the address control signal is L level and the command control signal is H level.

コマンドデコーダ110は、取込んだコマンドが正常なコマンドであれば、CPU120を起動する。このとき、busy制御部31は、内部状態をbusy状態にして以降のコマンドを受付けないように制御を行なう。CPU120の起動時には、内部クロック生成回路23からの内部クロックがIR42に与えられる。CPU120による内部動作が完了したときに、busy制御部31は、内部状態をready状態にして次のコマンドを受付けるよう制御を行なう。   The command decoder 110 activates the CPU 120 if the fetched command is a normal command. At this time, the busy control unit 31 controls the internal state to be in a busy state so as not to accept subsequent commands. When the CPU 120 is activated, the internal clock from the internal clock generation circuit 23 is given to the IR 42. When the internal operation by the CPU 120 is completed, the busy control unit 31 controls the internal state to be ready and accepts the next command.

CPU120内部の図示しない命令デコーダがBREAK命令をデコードすると、BREAKモード制御部43は、組合せ回路41が外部CPU命令を選択し、セレクタ49が外部クロック生成回路22からの外部クロックを選択するよう制御を行なう。   When an instruction decoder (not shown) in the CPU 120 decodes the Break instruction, the Break mode control unit 43 controls the combinational circuit 41 to select the external CPU instruction and the selector 49 to select the external clock from the external clock generation circuit 22. Do.

外部クロック生成回路22は、ライトイネーブル信号に同期して外部クロックを生成してCPU120に与える。CPU120がBREAKモードになったときに、外部クロック生成回路22からの外部クロックに同期してCPU120に外部CPU命令が与えられ、CPU120がその外部CPU命令を実行することにより、メモリ装置のテスト、評価、解析などが行なわれる。   The external clock generation circuit 22 generates an external clock in synchronization with the write enable signal and supplies it to the CPU 120. When the CPU 120 enters the Break mode, an external CPU instruction is given to the CPU 120 in synchronization with the external clock from the external clock generation circuit 22, and the CPU 120 executes the external CPU instruction, thereby testing and evaluating the memory device. Analysis is performed.

しかしながら、図1に示すメモリ装置においては、BREAK命令がROM21内に埋め込まれているため、任意のBREAKポイントでCPU120を停止させることが困難である。   However, in the memory device shown in FIG. 1, since the BREAK instruction is embedded in the ROM 21, it is difficult to stop the CPU 120 at an arbitrary BREAK point.

また、外部クロック生成回路22と内部クロック生成回路23とが別個に設けられているため、異クロックの切替え処理が必要になる。マイクロコンピュータなどのように常にクロックが入力されているシステムでは異なるクロックの同期を取ることは比較的容易であるが、メモリ装置のようにクロックが不定期に入力されるシステムでは異なるクロックの同期を取ることが難しい。   In addition, since the external clock generation circuit 22 and the internal clock generation circuit 23 are provided separately, a different clock switching process is required. It is relatively easy to synchronize different clocks in systems such as microcomputers where clocks are always input, but in systems where clocks are input irregularly, such as memory devices, different clocks are synchronized. It is difficult to take.

したがって、テストモードを追加することにより、ノーマルモード機能に悪影響を与えることがある。このような理由から、テストモードの場合であっても異クロックを使用することなく、CPU用クロックのみで動作させることが望ましい。   Therefore, adding a test mode may adversely affect the normal mode function. For this reason, it is desirable to operate only with the CPU clock without using a different clock even in the test mode.

(第1の実施の形態)
図2は、本発明の第1の実施の形態におけるメモリ装置の概略構成を示すブロック図である。このメモリ装置1は、コマンドデコーダ11と、CPU12と、PAD13と、データレジスタ14と、アドレス制御回路15と、モードレジスタ16と、ステータスレジスタ17と、センス/ラッチ部18と、パワー制御部19と、フラッシュメモリ20とを含む。
(First embodiment)
FIG. 2 is a block diagram showing a schematic configuration of the memory device according to the first embodiment of the present invention. The memory device 1 includes a command decoder 11, a CPU 12, a PAD 13, a data register 14, an address control circuit 15, a mode register 16, a status register 17, a sense / latch unit 18, a power control unit 19, and the like. And the flash memory 20.

コマンドデコーダ11は、PAD13を介して入力したアドレス制御信号がHレベル、コマンド制御信号がLレベルのときに、ライトイネーブル信号の立ち上がりでI/O[7:0]の値をアドレスとして取込み、内部のアドレスバッファに書込む。また、コマンドデコーダ11は、アドレス制御信号がLレベル、コマンド制御信号がHレベルのときに、ライトイネーブル信号の立ち上がりでI/O[7:0]の値をコマンドとして取込む。   The command decoder 11 takes in the value of I / O [7: 0] as an address at the rising edge of the write enable signal when the address control signal input via the PAD 13 is H level and the command control signal is L level. Write to the address buffer. Further, the command decoder 11 takes in the value of I / O [7: 0] as a command at the rising edge of the write enable signal when the address control signal is L level and the command control signal is H level.

コマンドデコーダ11はコマンドを取込むと、そのコマンドをデコードする。取込んだコマンドが通常処理時のCPUコマンドであれば、コマンドデコーダ11はCPUイネーブル信号を出力してCPU12を起動すると共に、CPUコマンドをCPU12に発行する。CPU12は、コマンドデコーダ11から受けたCPUコマンドの処理を終了すると、コマンドデコーダ11にCPU処理終了信号を出力する。   When the command decoder 11 takes in the command, it decodes the command. If the fetched command is a CPU command during normal processing, the command decoder 11 outputs a CPU enable signal to start the CPU 12 and issue the CPU command to the CPU 12. When the CPU 12 finishes processing the CPU command received from the command decoder 11, it outputs a CPU processing end signal to the command decoder 11.

また、コマンドデコーダ11は、BREAKモード中にBREAKモードからの復帰コマンドをデコードすると、BREAK復帰選択信号をCPU12に出力すると共に、BREAK復帰時のCPU命令コードをCPU12に発行する。なお、コマンドデコーダ11は、CPU12からのBREAKモード信号によってCPU12がBREAKモードであるか否かを判定する。   In addition, when the command decoder 11 decodes a return command from the break mode during the break mode, the command decoder 11 outputs a break return selection signal to the CPU 12 and issues a CPU instruction code at the time of the break return to the CPU 12. The command decoder 11 determines whether or not the CPU 12 is in the Break mode based on the Break mode signal from the CPU 12.

データレジスタ14は、フラッシュメモリ20への書込みデータおよびフラッシュメモリ20からの読出しデータを一時的に保持するレジスタであり、ライトイネーブル信号がHレベルのときにI/O[7:0]の値をデータとして取込み、リードイネーブル信号がHレベルのときに保持しているデータをI/O[7:0]に出力する。   The data register 14 is a register that temporarily holds write data to the flash memory 20 and read data from the flash memory 20, and sets the value of I / O [7: 0] when the write enable signal is at the H level. Data is taken in, and the data held when the read enable signal is at H level is output to I / O [7: 0].

アドレス制御回路15は、コマンドデコーダ11内部のアドレスバッファに保持されるアドレスをデコードし、フラッシュメモリ20のロウアドレス、カラムアドレスや、モードレジスタ16などのレジスタを指定するためのセレクト信号を生成する。   The address control circuit 15 decodes the address held in the address buffer inside the command decoder 11 and generates a select signal for designating a register such as the row address, the column address, and the mode register 16 of the flash memory 20.

モードレジスタ16は、後述するBREAKモードの設定、BREAK許可、フラッシュメモリ制御用電源の電圧値の変更、シーケンスの変更などの情報を保持する。このモードレジスタ16の内容を参照することにより、メモリ装置1は設定変更などを行なう。CPU12は、モードレジスタ16の内容を書換えることも可能である。   The mode register 16 holds information such as setting of a break mode (to be described later), enabling break, changing the voltage value of the flash memory control power supply, and changing the sequence. By referring to the contents of the mode register 16, the memory device 1 changes the setting. The CPU 12 can also rewrite the contents of the mode register 16.

ステータスレジスタ17は、フラッシュメモリ20の状態を保持するレジスタであり、フラッシュメモリ20の状態をI/O[7:0]を介して外部に出力する。   The status register 17 is a register that holds the state of the flash memory 20, and outputs the state of the flash memory 20 to the outside via I / O [7: 0].

センス/ラッチ部18は、フラッシュメモリ20からのデータ読出し時のセンス制御およびデータラッチと、フラッシュメモリ20へのデータ書込み時のデータラッチおよびメモリアレイに印加する電圧の制御とを行なう。   The sense / latch unit 18 performs sense control and data latch at the time of data reading from the flash memory 20, and data latch at the time of data writing to the flash memory 20 and control of a voltage applied to the memory array.

パワー制御部19は、CPU12からの指示に応じてモードレジスタ16の内容を参照し、電圧設定、印加回数などのフラッシュメモリ20の電源制御を行なう。また、パワー制御部19は、フラッシュメモリ20の電源制御の状態をCPU12に出力する。   The power control unit 19 refers to the contents of the mode register 16 in accordance with an instruction from the CPU 12 and performs power source control of the flash memory 20 such as voltage setting and the number of times of application. Further, the power control unit 19 outputs the power control state of the flash memory 20 to the CPU 12.

図3は、コマンドデコーダ11とCPU12との間の信号を動作モードで分けて示す図である。通常処理(通常動作モード)時においては、コマンドデコーダ11がコマンドをデコードすると、CPU12にCPUイネーブル信号を出力すると共に、CPUコマンドを発行する。CPU12がそのCPUコマンドの処理を終了すると、コマンドデコーダ11にCPU処理終了信号を出力する。   FIG. 3 is a diagram showing signals between the command decoder 11 and the CPU 12 divided by operation mode. In normal processing (normal operation mode), when the command decoder 11 decodes a command, it outputs a CPU enable signal to the CPU 12 and issues a CPU command. When the CPU 12 finishes processing the CPU command, it outputs a CPU processing end signal to the command decoder 11.

また、BREAKモード時においては、コマンドデコーダ11はCPU12からBREAKモード信号を受け、BREAKモード中であることを認識する。そして、BREAKモード中にBREAKモードからの復帰コマンドをデコードすると、BREAK復帰選択信号をCPU12に出力すると共に、BREAK復帰時のCPU命令コードをCPU12に発行する。CPU12は、コマンドデコーダ11からCPU命令コードを受けると、その命令コードを実行する。   In addition, in the Break mode, the command decoder 11 receives the Break mode signal from the CPU 12 and recognizes that the Break mode is in progress. When a return command from the break mode is decoded during the break mode, a break return selection signal is output to the CPU 12 and a CPU instruction code for returning to the break is issued to the CPU 12. When receiving a CPU instruction code from the command decoder 11, the CPU 12 executes the instruction code.

図4は、本発明の第1の実施の形態におけるコマンドデコーダ11の詳細な構成を示すブロック図である。コマンドデコーダ11は、外部I/F(Interface)制御部32と、コマンド制御部33と、BREAK制御部34と、クロック生成部35とを含む。また、BREAK制御部34は、BREAK解除コマンドデコード部36と、ステート制御部37と、データバッファ38とを含む。   FIG. 4 is a block diagram showing a detailed configuration of the command decoder 11 according to the first embodiment of the present invention. The command decoder 11 includes an external I / F (Interface) control unit 32, a command control unit 33, a BRAK control unit 34, and a clock generation unit 35. The Break control unit 34 includes a Break release command decoding unit 36, a state control unit 37, and a data buffer 38.

外部I/F制御部32は、PAD13を介して入力したアドレス制御信号がHレベル、コマンド制御信号がLレベルのときに、ライトイネーブル信号の立ち上がりでI/O[7:0]の値をアドレスとして取込み、図示しないアドレスバッファに書込む。また、コマンドデコーダ11は、アドレス制御信号がLレベル、コマンド制御信号がHレベルのときに、ライトイネーブル信号の立ち上がりでI/O[7:0]の値をコマンドとして取込み、コマンド制御部33およびBREAK解除コマンドデコード部36に出力する。   The external I / F control unit 32 addresses the value of I / O [7: 0] at the rising edge of the write enable signal when the address control signal input via the PAD 13 is H level and the command control signal is L level. And write to an address buffer (not shown). The command decoder 11 takes in the value of I / O [7: 0] as a command at the rising edge of the write enable signal when the address control signal is at the L level and the command control signal is at the H level. The data is output to the break cancellation command decoding unit 36.

コマンド制御部33は、外部I/F制御部32からコマンドを受けてデコードし、そのコマンドが通常処理時のCPUコマンドであれば、CPUイネーブル信号を出力してCPU12を起動すると共に、CPUコマンドをCPU12に発行する。このとき、コマンド制御部33は、Ready/Busy信号によって外部にBUSY状態であることを通知する。また、コマンド制御部33は、CPU12からCPU処理終了信号を受けると、Ready/Busy信号によって外部にReady状態であることを通知する。   The command control unit 33 receives and decodes the command from the external I / F control unit 32. If the command is a CPU command during normal processing, the command control unit 33 outputs a CPU enable signal to start the CPU 12, and Issued to CPU12. At this time, the command control unit 33 notifies the outside of the BUSY state by a Ready / Busy signal. In addition, when receiving a CPU processing end signal from the CPU 12, the command control unit 33 notifies the outside of the Ready state by a Ready / Busy signal.

BREAK解除コマンドデコード部36は、CPU12からBREAKモード信号を受けているときに、外部I/F制御部32からコマンドを受けると、そのコマンドがBREAK解除コマンドであるか否かを判定する。BREAK解除コマンドであれば、BREAK解除コマンドデコード部36はBREAK復帰選択信号をCPU12に出力し、ステート制御部37に復帰方法を指示すると共に、続いて入力されるCPU命令コードをデータバッファ38に書込む。   When receiving a command from the external I / F control unit 32 while receiving a break mode signal from the CPU 12, the break release command decoding unit 36 determines whether or not the command is a break release command. If it is a break release command, the break release command decoding unit 36 outputs a break return selection signal to the CPU 12, instructs the state control unit 37 on the return method, and writes the CPU instruction code to be subsequently input to the data buffer 38. Include.

BREAK解除コマンドには、複数の種類がある。たとえば、BREAK解除コマンドデコード部36がBREAK解除コマンド“C0”をデコードした場合、BREAK復帰選択信号によってCPU12にその旨を通知する。CPU12は、BREAK復帰選択信号によってBREAK解除コマンド“C0”が発行された通知を受けると、BREAKモードを直ちに解除してCPU12に内部クロックを供給し、ROM21の次のアドレスからの命令コードのフェッチを再開する。   There are a plurality of types of break release commands. For example, when the break release command decoding unit 36 decodes the break release command “C0”, the CPU 12 is notified of this by a break return selection signal. When the CPU 12 receives a notification that the BRAK release command “C0” has been issued in response to the break return selection signal, the CPU 12 immediately releases the break mode, supplies the internal clock to the CPU 12, and fetches the instruction code from the next address of the ROM 21. Resume.

また、BREAK解除コマンドデコード部36がBREAK解除コマンド“C1”をデコードした場合、BREAK復帰選択信号によってCPU12にその旨を通知する。このとき、ステート制御部37は、ライトイネーブル信号の3サイクルでI/O[7:0]を介してCPU命令コードを入力する制御を行ない、そのCPU命令コードをデータバッファ38に格納する。たとえば、CPU命令コードが17ビットであれば、ライトイネーブル信号の最初の立ち上がりでCPU命令コード[15:8]を入力し、2番目の立ち上がりでCPU命令コード[7:0]を入力し、3番目の立ち上がりでCPU命令コード[16]を入力するよう制御を行なう。   Further, when the break release command decoding unit 36 decodes the break release command “C1”, the CPU 12 is notified of this by a break return selection signal. At this time, the state control unit 37 performs control to input a CPU instruction code via I / O [7: 0] in three cycles of the write enable signal, and stores the CPU instruction code in the data buffer 38. For example, if the CPU instruction code is 17 bits, the CPU instruction code [15: 8] is input at the first rising edge of the write enable signal, and the CPU instruction code [7: 0] is input at the second rising edge. Control is performed so that the CPU instruction code [16] is input at the second rise.

BREAK解除コマンド“C1”の場合には、BREAKモードが解除されず、CPU12がCPU命令コードを実行した後、BREAKモードの状態を維持する。BREAKモードを解除する場合には、上述したBREAK解除コマンド“C0”を外部から入力する必要がある。   In the case of the break release command “C1”, the break mode is not released, and after the CPU 12 executes the CPU instruction code, the break mode state is maintained. In order to cancel the Break mode, it is necessary to input the above-described Break cancellation command “C0” from the outside.

クロック制御部35は、PAD13を介してライトイネーブル信号を受け、コマンドデコーダ11内部の各ブロックに与えるクロック信号を生成する。   The clock control unit 35 receives a write enable signal via the PAD 13 and generates a clock signal to be given to each block in the command decoder 11.

図5は、本発明の第1の実施の形態におけるCPU12の詳細な構成を示すブロック図である。このCPU12は、命令制御部41と、命令レジスタ42と、BREAKモード制御部43と、プログラムカウンタ44と、プログラムカウンタ44の値をインクリメントするインクリメンタ45と、CPU命令をデコードするデコーダ46と、アキュムレータ47と、汎用レジスタ48−1〜48−nとを含む。   FIG. 5 is a block diagram showing a detailed configuration of the CPU 12 in the first embodiment of the present invention. The CPU 12 includes an instruction control unit 41, an instruction register 42, a break mode control unit 43, a program counter 44, an incrementer 45 that increments the value of the program counter 44, a decoder 46 that decodes the CPU instruction, and an accumulator. 47 and general purpose registers 48-1 to 48-n.

命令制御部41は、通常動作モード時にはROM21からCPU命令をフェッチし、命令レジスタ42に格納する。また、命令制御部41は、BREAKモード時にはコマンドデコーダ11から外部CPU命令(BREAK復帰CPU命令コード)を受け、命令レジスタ42に格納する。   The instruction control unit 41 fetches a CPU instruction from the ROM 21 and stores it in the instruction register 42 in the normal operation mode. In addition, the instruction control unit 41 receives an external CPU instruction (BREAK return CPU instruction code) from the command decoder 11 and stores it in the instruction register 42 in the Break mode.

BREAKモード制御部43は、モードレジスタ16からBREAK許可信号およびBREAKアドレスを受け、プログラムカウンタ44から現在のプログラムカウント値を受ける。BREAKモード制御部43は、モードレジスタ16にBREAK許可が設定されている場合、モードレジスタ16に設定されたBREAKアドレスとプログラムカウント値とを比較し、一致するとBREAKモード信号を出力してBREAKモードになったことをコマンドデコーダ11および命令制御部41に通知すると共に、内部クロックを停止させる。   The break mode control unit 43 receives the break permission signal and the break address from the mode register 16 and receives the current program count value from the program counter 44. The break mode control unit 43 compares the break address set in the mode register 16 with the program count value when break permission is set in the mode register 16, and outputs a break mode signal and sets the break mode in the break mode. The command decoder 11 and the instruction control unit 41 are notified of the occurrence of the failure and the internal clock is stopped.

プログラムカウンタ44は、通常動作時にはインクリメンタ45によってプログラムカウント値を1ずつインクリメントし、ROMアドレスとしてROM21に与える。また、デコーダ46によって分岐命令がデコードされた場合は、プログラムカウンタ44に分岐先アドレスが設定される。   The program counter 44 increments the program count value by 1 by the incrementer 45 during normal operation, and supplies the incremented program count value to the ROM 21 as a ROM address. Further, when the branch instruction is decoded by the decoder 46, the branch destination address is set in the program counter 44.

また、プログラムカウンタ44は、BREAKモード時にはプログラムカウント値のインクリメントを停止する。そして、プログラムカウンタ44は、BREAKモードから復帰するときにプログラムカウント値のインクリメントを再開する。   Further, the program counter 44 stops incrementing the program count value in the Break mode. Then, the program counter 44 resumes incrementing the program count value when returning from the Break mode.

デコーダ46は、命令レジスタ42に格納された命令をデコードし、CPU12内の各ブロックの制御信号を生成する。   The decoder 46 decodes the instruction stored in the instruction register 42 and generates a control signal for each block in the CPU 12.

CPU12は、コマンドデコーダ11からのBREAK復帰選択信号を受け、BREAKモードからの復帰方法を決定する。コマンドデコーダ11がBREAK解除コマンド“C0”をデコードした場合、CPU12は内部クロックの供給を再開し、BREAKアドレスの次の命令からプログラムの実行を開始する。   The CPU 12 receives a BREAK return selection signal from the command decoder 11 and determines a return method from the BREAK mode. When the command decoder 11 decodes the break release command “C0”, the CPU 12 resumes the supply of the internal clock and starts executing the program from the instruction next to the break address.

また、コマンドデコーダ11がBREAK復帰解除コマンド“C1”をデコードした場合、CPU12は内部クロックの供給を再開して外部CPU命令を取込み、この外部CPU命令を実行した後、再度内部クロックを停止してBREAKモードに入る。このとき、プログラムカウンタ44の値はそのまま保持される。このBREAK復帰解除コマンド“C1”を外部から与えることによって、CPU12をBREAK状態にしたまま任意の処理が行なえるようになる。   When the command decoder 11 decodes the BRAK return release command “C1”, the CPU 12 resumes the supply of the internal clock and takes in the external CPU instruction. After executing the external CPU instruction, the CPU 12 stops the internal clock again. Enter the Break mode. At this time, the value of the program counter 44 is held as it is. By giving the break return cancellation command “C1” from the outside, arbitrary processing can be performed while the CPU 12 is in the break state.

このようなBREAKモードの使用方法として、たとえば外部からモードレジスタ16にBREAKアドレスを設定し、そのアドレスでCPU12をBREAKモードに遷移させる。このとき、メモリセルには高電圧が印加された状態であり、メモリ装置1の内部において各電源ポンプにどれだけの電圧が印加されているかを計測し、その情報をステータスレジスタ17に格納する。そして、外部からステータスレジスタ17の内容を読出すことにより、メモリ装置1の内部状態をモニタすることができる。内部状態のモニタが終了すると、BREAK復帰によってBREAKアドレスの次の命令の実行を再開する。   As a method of using such a BREAK mode, for example, a BREAK address is set in the mode register 16 from the outside, and the CPU 12 is shifted to the BREAK mode with the address. At this time, a high voltage is applied to the memory cell, and how much voltage is applied to each power supply pump in the memory device 1 is measured, and the information is stored in the status register 17. The internal state of the memory device 1 can be monitored by reading the contents of the status register 17 from the outside. When the monitoring of the internal state is completed, execution of the instruction next to the Break address is resumed by returning to Break.

また、CPU12をBREAKモードに遷移させて内部状態をモニタする。そして、CPU12がBREAKモードのときに、モードレジスタ16に次のBREAKアドレスを設定する。BREAK復帰によってCPU12が通常動作モードとなった後、次のBREAKアドレスでCPU12を再度停止させることができる。この操作を繰り返すことによって、連続的に任意の状態で内部状態をモニタすることが可能となる。   Further, the CPU 12 is shifted to the Break mode to monitor the internal state. Then, when the CPU 12 is in the Break mode, the next Break address is set in the mode register 16. After the CPU 12 enters the normal operation mode by the break return, the CPU 12 can be stopped again at the next break address. By repeating this operation, the internal state can be continuously monitored in an arbitrary state.

また、CPU12をBREAKモードに遷移させて内部状態をモニタする。そして、CPU12に外部CPU命令を与えることによって状態を変化させ、内部状態をモニタすることが可能となる。   Further, the CPU 12 is shifted to the Break mode to monitor the internal state. Then, it is possible to monitor the internal state by changing the state by giving an external CPU command to the CPU 12.

以上説明したように、本実施の形態におけるメモリ装置によれば、モードレジスタ16に設定されたBREAKアドレスとプログラムカウンタ44のアドレスとが一致するときにCPU12がBREAKモードに遷移するようにしたので、任意のアドレスでCPU12を停止させることが可能となった。したがって、従来のようにROM内にBREAK命令を埋め込む必要がなくなり、BREAKポイントを変更するためのマスクの修正などが不要となるので、開発コストの削減、開発期間の短縮などが可能となった。   As described above, according to the memory device of the present embodiment, the CPU 12 shifts to the Break mode when the Break address set in the mode register 16 matches the address of the program counter 44. The CPU 12 can be stopped at an arbitrary address. Therefore, there is no need to embed a Break instruction in the ROM as in the prior art, and it becomes unnecessary to modify a mask for changing the Break point, thereby reducing the development cost and the development period.

また、BREAKモード中にモードレジスタ16のBREAKアドレスを変更することによって、ステップバイステップでメモリ装置のテスト、評価、解析などを行なうことが可能となった。   Further, by changing the BREAK address of the mode register 16 during the BREAK mode, it becomes possible to test, evaluate, and analyze the memory device step by step.

また、CPU12に供給するクロックを1つとし、そのクロックの供給の停止/再開によってBREAKモードを実現しているので、異クロックを使用する場合のクロック切替えに伴う不良を削減することが可能となった。   In addition, since a single clock is supplied to the CPU 12 and the BREAK mode is realized by stopping / resuming the supply of the clock, it is possible to reduce defects associated with clock switching when using a different clock. It was.

また、CPU12がBREAKモードから復帰する(再度、BREAKモードに入る)ときに、CPU12が外部CPU命令を取込んで実行するようにしたので、CPU12に任意の処理を行なわせることができ、メモリ装置のテスト、評価、解析などが容易に行なえるようになった。   Since the CPU 12 fetches and executes an external CPU instruction when the CPU 12 returns from the break mode (enters the break mode again), the CPU 12 can perform arbitrary processing, and the memory device Testing, evaluation, analysis, etc. can now be performed easily.

(第2の実施の形態)
図6は、本発明の第2の実施の形態におけるメモリ装置の概略構成を示すブロック図である。このメモリ装置は、コマンドデコーダ11’と、CPU12’と、ROM21と、外部クロック生成回路51と、内部クロック生成回路52とを含む。なお、第1の実施の形態におけるメモリ装置と同じ構成および機能を有する部分には同一の参照番号を付しており、その詳細な説明は繰返さない。
(Second Embodiment)
FIG. 6 is a block diagram showing a schematic configuration of the memory device according to the second embodiment of the present invention. This memory device includes a command decoder 11 ′, a CPU 12 ′, a ROM 21, an external clock generation circuit 51, and an internal clock generation circuit 52. Parts having the same configuration and function as those of the memory device in the first embodiment are given the same reference numerals, and detailed description thereof will not be repeated.

コマンドデコーダ11’は、busy制御部31と、コマンドバッファ39と、クロック制御部40とを含む。   The command decoder 11 ′ includes a busy control unit 31, a command buffer 39, and a clock control unit 40.

コマンドバッファ39は、CPU12’がBREAKモードのときに外部CPU命令としてCPU12’に与える命令群を格納する。外部からの制御によって、アドレスバッファにアドレスを書込むことにより、コマンドバッファ39を指定する。そして、ライトイネーブル信号の立ち上がりで、I/O[7:0]を介して外部CPU命令をコマンドバッファ39に順次格納する。コマンドバッファ39への外部CPU命令の書込みタイミング信号は、外部クロック生成回路51によって生成される。   The command buffer 39 stores a group of instructions given to the CPU 12 'as an external CPU instruction when the CPU 12' is in the Break mode. The command buffer 39 is designated by writing an address into the address buffer under external control. Then, at the rising edge of the write enable signal, external CPU instructions are sequentially stored in the command buffer 39 via I / O [7: 0]. An external clock generation circuit 51 generates a timing signal for writing an external CPU instruction to the command buffer 39.

クロック制御部40は、CPU12’に与える内部クロックを制御する。CPU12’の通常動作時において、クロック制御部40は、CPU12’に対して内部クロックを供給するよう内部クロック生成回路52を制御する。また、CPU12’のBREAKモード時において、クロック制御部40は、CPU12’への内部クロックの供給を停止するよう内部クロック生成回路52を制御する。そして、CPU12’に外部CPU命令を与えるときに、内部クロック生成回路52を制御して内部クロックの供給を再開し、内部クロックに同期してコマンドバッファ39に格納された外部CPU命令を順次CPU12’に与える。   The clock control unit 40 controls an internal clock given to the CPU 12 '. During the normal operation of the CPU 12 ', the clock control unit 40 controls the internal clock generation circuit 52 to supply the internal clock to the CPU 12'. Further, when the CPU 12 'is in the break mode, the clock control unit 40 controls the internal clock generation circuit 52 so as to stop the supply of the internal clock to the CPU 12'. When an external CPU instruction is given to the CPU 12 ′, the internal clock generation circuit 52 is controlled to resume the supply of the internal clock, and the external CPU instructions stored in the command buffer 39 are sequentially transmitted to the CPU 12 ′ in synchronization with the internal clock. To give.

以上説明したように、本実施の形態におけるメモリ装置によれば、CPU12’に供給するクロックを1つとし、そのクロックの供給の停止/再開によってBREAKモードを実現しているので、異クロックを使用する場合のクロック切替えに伴う不良を削減することが可能となった。   As described above, according to the memory device of the present embodiment, one clock is supplied to the CPU 12 ', and the BRAKE mode is realized by stopping / resuming the supply of the clock. This makes it possible to reduce defects associated with clock switching.

また、CPU12’がBREAKモード中にコマンドバッファ39に格納された外部CPU命令を順次CPU12’に与えることができるので、メモリ装置のテスト、評価、解析などをさらに容易に行なうことが可能となった。   Further, since the CPU 12 'can sequentially give the external CPU instructions stored in the command buffer 39 to the CPU 12' during the break mode, it becomes possible to more easily test, evaluate, and analyze the memory device. .

(第3の実施の形態)
本発明の第3の実施の形態におけるメモリ装置の概略構成は、図2に示す第1の実施の形態におけるメモリ装置の概略構成と同様である。また、本発明の第3の実施の形態におけるコマンドデコーダ11およびCPU12の構成は、図4および図5に示す第1の実施の形態におけるコマンドデコーダ11およびCPU12の構成と同様である。したがって、重複する構成および機能の詳細な説明は繰返さない。
(Third embodiment)
The schematic configuration of the memory device according to the third embodiment of the present invention is the same as the schematic configuration of the memory device according to the first embodiment shown in FIG. The configuration of the command decoder 11 and the CPU 12 in the third embodiment of the present invention is the same as the configuration of the command decoder 11 and the CPU 12 in the first embodiment shown in FIGS. Therefore, detailed description of overlapping configurations and functions will not be repeated.

図5に示すCPU12において、BREAKモード制御部43は、モードレジスタ16に設定されたチェックサムテスト信号を受ける。BREAKモード制御部43は、チェックサムテスト信号が有効となっているときにBREAKモードに入ると、命令レジスタ42の内容にかかわらず常にプログラムカウンタの値を1ずつインクリメントするよう制御を行なう。したがって、分岐命令は無視される。   In the CPU 12 shown in FIG. 5, the break mode control unit 43 receives the checksum test signal set in the mode register 16. The break mode control unit 43 controls to always increment the value of the program counter by one regardless of the contents of the instruction register 42 when entering the break mode when the checksum test signal is valid. Therefore, branch instructions are ignored.

たとえば、コマンドデコーダ11がBREAK復帰解除コマンドをデコードした場合、CPU12は内部クロックの供給を再開してROM21からCPU命令をフェッチし、そのCPU命令をステータスレジスタ17に格納する。そして、外部システムがステータスレジスタ17に格納される値を読出す。このとき、CPU12は再度BREAKモードに入る。外部システムは、BREAK復帰解除コマンドを発行した後ステータスレジスタ17に格納される値を読出して順次加算することによってチェックサム値を算出することができる。また、ROM21内に予めチェックサムの期待値を格納しておき、算出したチェックサム値と期待値とを比較することによってチェックサムテストが容易に行なえるようになる。   For example, when the command decoder 11 decodes the break return cancellation command, the CPU 12 resumes the supply of the internal clock, fetches the CPU instruction from the ROM 21, and stores the CPU instruction in the status register 17. Then, the external system reads the value stored in the status register 17. At this time, the CPU 12 enters the Break mode again. The external system can calculate the checksum value by reading the value stored in the status register 17 and sequentially adding it after issuing the BRAK return release command. Also, the expected checksum value is stored in the ROM 21 in advance, and the checksum test can be easily performed by comparing the calculated checksum value with the expected value.

以上説明したように、本実施の形態におけるメモリ装置によれば、CPU12がBREAKモードとなったときに、ROM21の内容を読出してステータスレジスタ17に格納することにより、外部システムがROM21の内容を読出せるようにしたので、チェックサムテストを容易に行なうことが可能となった。   As described above, according to the memory device of the present embodiment, when the CPU 12 enters the Break mode, the contents of the ROM 21 are read and stored in the status register 17 so that the external system reads the contents of the ROM 21. Since it can be used, it is possible to easily perform a checksum test.

今回開示された実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

CPUを搭載したメモリ装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the memory device carrying CPU. 本発明の第1の実施の形態におけるメモリ装置の概略構成を示すブロック図である。1 is a block diagram showing a schematic configuration of a memory device according to a first embodiment of the present invention. コマンドデコーダ11とCPU12との間の信号を動作モードで分けて示す図である。It is a figure which divides and shows the signal between the command decoder 11 and CPU12 by the operation mode. 本発明の第1の実施の形態におけるコマンドデコーダ11の詳細な構成を示すブロック図である。It is a block diagram which shows the detailed structure of the command decoder 11 in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるCPU12の詳細な構成を示すブロック図である。It is a block diagram which shows the detailed structure of CPU12 in the 1st Embodiment of this invention. 本発明の第2の実施の形態におけるメモリ装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the memory device in the 2nd Embodiment of this invention.

符号の説明Explanation of symbols

1 メモリ装置、11,11’,110 コマンドデコーダ、12,12’,120 CPU、13 PAD、14 データレジスタ、15 アドレス制御回路、16 モードレジスタ、17 ステータスレジスタ、18 センス/ラッチ部、19 パワー制御部、20 フラッシュメモリ、22,51 外部クロック生成回路、23,52 内部クロック生成回路、31 busy制御部、32 外部I/F制御部、33 コマンド制御部、34 BREAK制御部、35 クロック生成部、36 BREAK解除コマンドデコード部、37 ステート制御部、38 データバッファ、39 コマンドバッファ、40 クロック制御部、41 命令制御部、42 命令レジスタ、43 BREAKモード制御部、44 プログラムカウンタ、45 インクリメンタ、46 デコーダ、47 アキュムレータ、48−1〜48−n 汎用レジスタ。   1 memory device, 11, 11 ′, 110 command decoder, 12, 12 ′, 120 CPU, 13 PAD, 14 data register, 15 address control circuit, 16 mode register, 17 status register, 18 sense / latch unit, 19 power control 20, flash memory, 22, 51 external clock generation circuit, 23, 52 internal clock generation circuit, 31 busy control unit, 32 external I / F control unit, 33 command control unit, 34 BRAK control unit, 35 clock generation unit, 36 BRAK release command decode unit, 37 state control unit, 38 data buffer, 39 command buffer, 40 clock control unit, 41 instruction control unit, 42 instruction register, 43 BRAK mode control unit, 44 program counter, 45 increment Data, 46 a decoder, 47 accumulator, 48-1~48-n general purpose registers.

Claims (10)

メモリと、
外部から受けたコマンドをデコードするコマンドデコード手段と、
前記コマンドデコード手段によるデコード結果に応じて、前記メモリの動作を制御するプロセッサと、
ブレークアドレスを格納する第1の格納手段とを含み、
前記プロセッサは、プログラムカウント値と前記格納手段に格納されたブレークアドレスとが一致するときに動作を停止する、メモリ装置。
Memory,
Command decoding means for decoding a command received from the outside;
A processor for controlling the operation of the memory in accordance with a decoding result by the command decoding means;
First storage means for storing a break address;
The processor is a memory device that stops operation when a program count value matches a break address stored in the storage means.
前記第1の格納手段は、外部からブレークアドレス受けて格納する、請求項2記載のメモリ装置。   3. The memory device according to claim 2, wherein the first storage means receives and stores a break address from the outside. 前記メモリ装置はさらに、外部から受けた命令コードを格納する第2の格納手段を含み、
前記コマンドデコード手段は、前記プロセッサが動作を停止中に外部から所定コマンドを受けると、前記第2の格納手段に格納された命令コードを前記プロセッサに与えて実行させる、請求項1記載のメモリ装置。
The memory device further includes second storage means for storing an instruction code received from the outside,
2. The memory device according to claim 1, wherein the command decoding unit gives the instruction code stored in the second storage unit to the processor for execution when a predetermined command is received from the outside while the processor is stopped. .
前記第2の格納手段は、外部から受けた命令コードを複数格納し、
前記コマンドデコード手段は、前記プロセッサが動作を停止中に外部から所定コマンドを受けると、前記第2の格納手段に格納された複数の命令コードを順次前記プロセッサに与えて実行させる、請求項3記載のメモリ装置。
The second storage means stores a plurality of instruction codes received from the outside,
4. The command decoding means, when receiving a predetermined command from the outside while the processor stops operating, sequentially gives a plurality of instruction codes stored in the second storage means to the processor for execution. Memory device.
前記プロセッサは、前記第2の格納手段に格納された命令コードを実行した後に、再度動作を停止する、請求項3記載のメモリ装置。   4. The memory device according to claim 3, wherein the processor stops operation again after executing the instruction code stored in the second storage means. 前記メモリ装置はさらに、前記プロセッサが動作を停止するときに前記プロセッサへのクロックの供給を停止し、前記第2の格納手段に格納された命令コードを前記プロセッサに実行させるときに前記プロセッサへのクロックの供給を再開するクロック制御手段を含む、請求項3〜5のいずれかに記載のメモリ装置。   The memory device further stops supply of a clock to the processor when the processor stops operation, and causes the processor to execute an instruction code stored in the second storage unit. The memory device according to claim 3, further comprising clock control means for restarting the supply of the clock. 前記メモリ装置はさらに、前記プロセッサによって実行されるプログラムを格納するプログラム格納手段を含み、
前記コマンドデコード手段は、前記プロセッサが動作を停止中に外部から所定コマンドを受けると、前記プロセッサに前記プログラム格納手段から命令コードを読出させて外部に出力させる、請求項1記載のメモリ装置。
The memory device further includes program storage means for storing a program executed by the processor,
2. The memory device according to claim 1, wherein the command decoding unit causes the processor to read an instruction code from the program storage unit and output the same to the outside when a predetermined command is received from the outside while the processor is stopped.
前記プロセッサは、プログラムカウント値をインクリメントしながら前記プログラム格納手段から命令コードを順次読出して外部に出力する、請求項7記載のメモリ装置。   8. The memory device according to claim 7, wherein said processor sequentially reads out instruction codes from said program storage means while incrementing a program count value and outputs them to the outside. 前記コマンドデコード手段は、通常処理時において外部から受けたコマンドのデコード結果を前記プロセッサに与えて前記プロセッサをイネーブルとし、前記プロセッサによる前記コマンドの処理が終了したときに前記プロセッサから処理終了の通知を受け、
前記コマンドデコード手段は、ブレークモード時において前記プロセッサからブレーク中である通知を受け、前記プロセッサをブレークモードから復帰させるときに、前記プロセッサにブレークモードからの復帰を通知すると共に前記プロセッサに実行させる命令コードを与える、請求項1記載のメモリ装置。
The command decoding means gives a decoding result of a command received from the outside during normal processing to the processor to enable the processor, and notifies the processing end from the processor when processing of the command by the processor is completed. received,
The command decoding means receives a notification that a break is in progress from the processor in the break mode, and notifies the processor to return from the break mode and causes the processor to execute when the processor is returned from the break mode. The memory device of claim 1, wherein a code is provided.
前記メモリ装置はさらに、前記コマンドデコード手段および前記第1の格納手段に接続されるパッドを含み、
前記プロセッサは、前記パッドには接続されずに、前記コマンドデコード手段および前記第1の格納手段に接続される、請求項2記載のメモリ装置。
The memory device further includes a pad connected to the command decoding means and the first storage means,
3. The memory device according to claim 2, wherein the processor is connected to the command decoding means and the first storage means without being connected to the pad.
JP2006034011A 2006-02-10 2006-02-10 Memory device Withdrawn JP2007213415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006034011A JP2007213415A (en) 2006-02-10 2006-02-10 Memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006034011A JP2007213415A (en) 2006-02-10 2006-02-10 Memory device

Publications (1)

Publication Number Publication Date
JP2007213415A true JP2007213415A (en) 2007-08-23

Family

ID=38491775

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006034011A Withdrawn JP2007213415A (en) 2006-02-10 2006-02-10 Memory device

Country Status (1)

Country Link
JP (1) JP2007213415A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013097518A (en) * 2011-10-31 2013-05-20 Kyocera Document Solutions Inc Arithmetic processor and arithmetic processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013097518A (en) * 2011-10-31 2013-05-20 Kyocera Document Solutions Inc Arithmetic processor and arithmetic processing system

Similar Documents

Publication Publication Date Title
TWI450078B (en) Debug register for terminating the processor core after reset or shutdown
KR101183651B1 (en) System and method of data forwarding within an execution unit
EP1324190B1 (en) Data processing system having a read-modify-write unit
JP3553946B2 (en) Execution of data processing instructions
US20030093612A1 (en) Microcomputer
KR20030059339A (en) Single-step processing
US10049025B2 (en) Processor with debug pipeline
KR20180133794A (en) Programmable instruction buffering
JP2008009721A (en) Evaluation system and evaluation method thereof
US11625316B2 (en) Checksum generation
US20110179255A1 (en) Data processing reset operations
US5930470A (en) Debugging system and debugging method
US10754743B2 (en) Apparatus and method using debug status storage element
JP2007213415A (en) Memory device
KR100543152B1 (en) Microprocessors and Processing Methods
JP2536726B2 (en) Microprocessor
JP2006221606A (en) Data processor
JP2008111682A (en) Method and apparatus for testing semiconductor
JP2004199630A (en) Data processor
JP2006099654A (en) Semiconductor circuit apparatus
JP2008108361A (en) Nonvolatile semiconductor storage device
JP2009070195A (en) Program processing system and program processing apparatus
KR20210080398A (en) Read-only memory testing with built-in memory self-test controller
JPH07281924A (en) Trace device and emulator equipped with the same
JP2000276347A (en) Portable electronic apparatus

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20090512