JP2004029952A - Semiconductor integrated circuit and image processor - Google Patents

Semiconductor integrated circuit and image processor Download PDF

Info

Publication number
JP2004029952A
JP2004029952A JP2002181770A JP2002181770A JP2004029952A JP 2004029952 A JP2004029952 A JP 2004029952A JP 2002181770 A JP2002181770 A JP 2002181770A JP 2002181770 A JP2002181770 A JP 2002181770A JP 2004029952 A JP2004029952 A JP 2004029952A
Authority
JP
Japan
Prior art keywords
state
image data
hang
storage unit
state machine
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.)
Granted
Application number
JP2002181770A
Other languages
Japanese (ja)
Other versions
JP4103463B2 (en
Inventor
Mitsuhiro Motome
本目 光弘
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.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2002181770A priority Critical patent/JP4103463B2/en
Publication of JP2004029952A publication Critical patent/JP2004029952A/en
Application granted granted Critical
Publication of JP4103463B2 publication Critical patent/JP4103463B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a semiconductor integrated circuit capable of recovering from a hang-up state by itself without depending on a method such as software reset. <P>SOLUTION: A read timing signal RTIM and a write timing signal WTIM outputted from flip flops 212C and 212D configuring a state machine are inputted to an AND circuit 212G, therby the start of the state of the state machine is detected. A counter 212H starts a count by using the output signal of the AND circuit 212G as a trigger. This count value CNT is compared with a predetermined value TMAX by a comparator 212J, and when the count value CNT reaches the predetermined value TMAX, a hang-up flag HFLG is outputted. Then, OR circuits 212A and 212B forcibly reset the flop flops 212C and 212D based on the hang-up flag HFLG. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、半導体集積回路および画像処理装置に関し、特にパチンコ機などの遊技機において、遊技の展開状況に応じて演出用の画像や効果音を発生させるための技術に関する。
【0002】
【従来の技術】
従来、パチンコ機などの遊技機には、遊技の進行を制御するための制御装置や、遊技の進行に応じた図柄などの画像を生成するための画像処理装置、あるいは効果音を発生するための音響制御装置等が内蔵されている。この種の装置は、いわゆるステートマシンとして構成されており、現在の動作状態に応じて次の動作状態が決定されるようになっている。
ところで、遊技機内部には、打球用のモータや電飾用の駆動回路など、ノイズの発生源が多く存在するため、ステートマシンとして構成された各装置内の半導体集積回路が誤動作し、装置がハングアップ状態に陥る場合がある。そこで、従来から、この種の装置には、ハングアップ状態から復帰するための機能が設けられている。
【0003】
ここで、ハングアップ状態から復帰させるための従来技術として、いわゆるソフトウェア上の処理により回路状態をリセットする手法(以下、ソフトウェアリセットと称す)がある。このソフトウェアリセットによれば、装置を構成するCPU(Central Processing Unit)から、ハングアップ状態に陥ったLSI(Large Scale Integration)の動作をリセットするためのコマンドを発行し、このLSIの内部回路(たとえばフリップフロップやレジスタ)により構成されるステートマシンをリセットする。ソフトウェアリセットの方法には、ウォチドッグタイマーを用いる方法と、ハングアップが発生したことを表すフラグをリードするなどして、ハングアップを検知した場合にリセットを行う方法がある。
【0004】
【発明が解決しようとする課題】
しかしながら、上述のソフトウェアリセットによれば、一部にリセット不能な回路が存在すると、回路全体がリセットされず、装置がハングアップ状態から復帰できなくなる場合が起こり得るという問題がある。また、LSIの内部回路がハングアップ状態に陥ったことをCPUが検知する必要があるため、CPUの負荷が重くなる。さらに、CPUのインタフェース回路がハングアップ状態に陥ると、CPUはLSIのハングアップを検知することができなくなるばかりか、リセットするためのコマンドを発行するもできなくなる。
【0005】
この発明は、上記事情に鑑みてなされたもので、ソフトウェアリセット等の手法によらず、自らハングアップ状態から復帰することが可能な半導体集積回路および画像処理装置を提供することを目的とする。
【0006】
【課題を解決するための手段】
上記課題を解決するため、この発明は以下の構成を有する。
即ち、請求項1に記載された発明は、ステートマシンとして機能するように構成された半導体集積回路において、前記ステートマシンのステートを検出する検出手段(例えば後述する論理積回路212Gに相当する構成要素)と、前記検出手段により検出されたステートの滞在時間を計時する計時手段(例えば後述するカウンタ212Hに相当する構成要素)と、前記計時手段により計時された滞在時間から前記ステートマシンがハングアップ状態にあるか否かを判断する判断手段(例えば後述するコンパレータ212Jに相当する構成要素)と、前記判断手段の判断結果がハングアップ状態にあることを示す場合に前記ステートマシンをリセットするリセット手段(例えば後述する論理和回路212A,212Bに相当する構成要素)と、を備えたことを特徴とする。
【0007】
この発明の構成によれば、ステートマシンがハングアップ状態に陥ると、同一ステートの滞在時間が長くなることを利用し、同一ステートの滞在時間からハングアップ状態を把握する。即ち、計時手段により同一ステートの滞在時間を計時し、この計時された滞在時間から判断手段によりステートマシンがハングアップ状態にあるか否かを判断する。ハングアップ状態にあると判断された場合には、リセット手段によりステートマシンをリセットする。換言すれば、この構成によれば、ステートマシンの現在のステートが予定時間以内に次のステートに移行しないことを条件としてステートマシンがリセットされる。従って、例えばソフトウェアリセットなどの外部からの操作によることなく、ステートマシンをハングアップ状態から復帰させることが可能になる。
【0008】
請求項2に記載された発明は、請求項1に記載された半導体集積回路において、前記計時手段が、前記ステートマシンのステートの開始を検出するための論理回路(例えば後述する論理積回路212Gに相当する構成要素)と、前記論理回路の出力信号をトリガーとしてカウントを開始するカウンタ(例えば後述するカウンタ212Hに相当する構成要素)とを備え、前記判断手段が、前記カウンタのカウント値と、前記滞在時間の最大値として予め設定された所定値とを比較するコンパレータ(例えば後述するコンパレータ212Jに相当する構成要素)を備えたことを特徴とする。
【0009】
この構成によれば、計時手段を構成する論理回路により、例えばステートマシン内の論理信号の組み合わせに基づきステートの開始が検出される。ステートの開始が検出されると、カウンタによりカウントが開始され、ステートの滞在時間の計時が開始される。判断手段を構成するコンパレータにより、カウンタのカウント値と所定値とが比較される。ここで、所定値はステートの滞在時間の最大値であるから、カウンタのカウント値が所定値に到達するということは、ステートが予定時間内に次ぎのステートに移行していないことを意味する。そこで、カウンタのカウント値が所定値に達すると、コンパレータの出力信号は、現在のステートがハングアップ状態にある旨の判断結果を表すものとなる。
【0010】
請求項3に記載された発明にかかる画像処理装置は、画像データを記憶する第1の記憶部(例えば後述するメモリ80に相当する構成要素)と、前記画像データを一時記憶するための第2の記憶部(例えば後述するメモリ230に相当する構成要素)を有し、該第2の記憶部に記憶された画像データから表示用画像データを生成する画像データ生成部(例えば後述する画像データ生成部23に相当する構成要素)と、前記第1の記憶部に記憶された画像データを読み出して前記第2の記憶部に書き込むことにより、前記第1の記憶部に記憶された画像データを前記第2の記憶部に転送するデータ転送部(例えば後述するデータ転送モジュール210に相当する構成要素)と、前記データ転送部が前記第1の記憶部からの画像データの読み出しを終了した後、前記第2の記憶部に画像データの書き込みを行っている時間を計時する計時手段(例えば後述する論理積回路212Gおよびカウンタ212Hに相当する構成要素)と、前記計時手段により計時された時間から前記データ転送部がハングアップ状態にあるか否かを判断する判断手段(例えば後述するコンパレータ212Jに相当する構成要素)と、前記判断手段の判断結果がハングアップ状態にあることを示す場合に前記データ転送部をリセットするリセット手段(例えば後述する論理和回路212A,212Bに相当する構成要素)と、を備えたことを特徴とする。
【0011】
【発明の実施の形態】
以下、図面を参照して、この発明の実施の形態を説明する。
図1に、この実施の形態に係る半導体集積回路が適用されたパチンコ機などの遊技機に用いられる制御回路系の構成例を示す。同図において、CPU(CentralProcessing Unit)10は、一連の遊技の進行を制御するもので、遊技の展開に応じて、例えばパチンコ機のアタッカーが所定時間にわたって開状態に固定される確率や大当たりが発生する確率を決定する機能等を有する。このCPU10には、表示装置(CRT)30を制御する画像処理部20と、スピーカ50を駆動する音源40とが接続される。
【0012】
CPU10には、遊技の制御に関するプログラムを格納するROM(Read OnlyMemory)60が接続される。また、CPU10と上述の画像処理部20および音源40とを接続するバス上には、遊技の制御の過程で発生する一時的なデータを格納するためのRAM(Random Access Memory)70が接続される。さらに、画像処理部20には、遊技の進行に応じて表示すべき図柄の素材データ(画像データ)や、図柄の拡大/縮小処理などの表示に関する制御データを格納するROM80が接続される。これら画像処理部20およびROM80は、この発明に係る画像処理装置を構成する。ここで、画像処理部20は、例えばNTSC(National Television Systems Committee)規格に準拠して各フレームの画像データを生成するものであって、この発明に係る半導体集積回路を構成する。音源40は、MIDI(Musical Instrument Digital Interface)規格に準拠したものであって、CPU10の制御の下に遊技を演出するための音響信号を発生する。
【0013】
図2に、画像処理部20の構成を示す。
同図に示すように、画像処理部20は、ステートマシンとして機能するものであって、データ転送モジュール210を内蔵するCPUインタフェース21,CRTコントローラ22、メモリ(RAM)230を内蔵する画像データ生成部23、パターンメモリインタフェース26、画像メモリ(SDRAM)27、色変換部28を備え、これらはバス29を介して接続されている。また、データ転送モジュール210は、コントロールバス29Aおよびパターンメモリインタフェース26並びに後述するROMインタフェース800を介してメモリ80と接続され、コントロールバス29Bおよび後述するRAMインタフェース231を介してメモリ230と接続されている。さらに、画像データ生成部23には、解凍処理部24を介してメモリ(SDRAM)25が接続される。上述のCPU10はCPUインタフェース21に接続され、表示装置30はCRTコントローラ22に接続され、メモリ80はパターンメモリインタフェース26に接続される。
【0014】
ここで、画像処理部20の動作を簡単に説明しておく。画像の表示を行う場合、外部のCPU10の制御の下に、データ転送モジュール210は、外部のメモリ80からパターンメモリインタフェース26を介して画像の制御データ(プログラムデータ)および圧縮された画像データを読み出してメモリ230に書き込む。即ち、制御データと画像データをメモリ80からメモリ230に転送する。このうち、画像データは、解凍処理部24により解凍(伸長)されてメモリ25に格納される。
【0015】
画像データ生成部23は、メモリ25から画像データを読み出し、メモリ230に格納された制御データに従って加工を施して1フレーム分の表示用画像データを生成し、これをバス29を介して画像メモリ27に書き込む。画像メモリ27に書き込まれた表示用画像データは色変換部28によりRGB系の画像信号に色変換されて表示装置30に出力される。以上により、画像処理部20は、CPU10の制御の下にステートマシンとして機能してリード動作とライト動作とを順次実行し、表示装置30に画像を表示させる。
【0016】
次に、図3に、データ転送モジュール210の構成を示す。このデータ転送モジュール210は、メモリ80から読み出したデータを、適切なタイミングで画像データ生成部23内のメモリ230に転送するためのものであって、FIFO211、FIFOコントローラ212、アドレスカウンタ213,215、コンパレータ214,216を備えて構成される。このデータ転送モジュール210は、ROMインタフェース800を介して上述のメモリ80に接続され、RAMインタフェース231を介して上述のメモリ230に接続される。なお、図3ではデータ転送モジュール210とROMインタフェース800との間に存在する図2に示すパターンメモリインタフェース26が省略されている。
【0017】
ここで、FIFO211には、ROMインタフェース800からリードデータRDATが入力され、このFIFO211からRAMインタフェース231にライトデータWDATが出力される。リードデータRDATは、メモリ80から読み出された制御データまたは画像データである。ライトデータWDATは、リードデータRDATと同一内容のものであり、データ転送モジュール210により転送されてメモリ230に書き込まれる制御データまたは画像データである。また、FIFOコントローラ212からROMインタフェース800にリードリクエスト信号RREQが出力され、ROMインタフェースからFIFOコントローラ212にリードデータタイミング信号RDTIMが入力される。一方、FIFOコントローラ212からRAMインタフェース231にライトリクエスト信号WREQが出力され、RAMインタフェース231からFIFOコントローラ212にライトアクノリッジ信号WACKが入力される。
【0018】
アドレスカウンタ213には、ROMインタフェース800からリードアクノリッジ信号RACKが入力され、このアドレスカウンタ213からROMインタフェース800にリードアドレス信号RADRが出力される。コンパレータ214には上述のリードアドレスRADRが入力され、このコンパレータ214からROMインタフェース800にリードエンド信号RENDが出力される。一方、アドレスカウンタ215には上述のライトアクノリッジ信号WACKが入力され、このアドレスカウンタ215からRAMインタフェース231にライトアドレス信号WADRが出力される。コンパレータ216には上述のライトアドレスWADRが入力され、このコンパレータ216からRAMインタフェース231にライトエンド信号WENDが出力される。
【0019】
ここで、データ転送モジュール210の動作を説明しておく。
データ(画像データ・制御データ)を転送する場合、FIFOコントローラ212は、リードリクエスト信号RREQをROMインタフェース800に出力する。これを受けて、ROMインタフェース800は、リードアクノリッジ信号RACKをアドレスカウンタ213に出力し、これをトリガーとしてアドレスカウンタ213が順次的にリードアドレスRADRを発生する。このとき、リードアクノリッジ信号RACKに対応してROMインタフェース800からリードデータタイミング信号RDTIMが出力され、このリードデータタイミング信号RDTIMで規定されるタイミングでリードデータRDATがFIFO211に書き込まれる。このようにして、リード動作が行われ、ROMインタフェース800を介してメモリ80からFIFO211にリードデータRDATとしてデータが転送される。コンパレータ214は、リードアドレスRADRとリードエンドアドレスREAとを逐次比較し、これらが一致すると、リードエンド信号RENDを出力する。そしてリードアドレスRADRとリードエンドアドレスREAとが一致し、全てのデータがFIFO211に転送されると、一連のリード動作が終了する。
【0020】
一方、FIFOコントローラ212は、RAMインタフェース231にライトリクエスト信号WREQを出力する。これを受けてRAMインタフェース231は、ライトアクノリッジ信号WACKを出力し、これをトリガーとしてアドレスカウンタ215がライトアドレス信号WADRを出力し、その後インクリメントする。これにより、ライト動作が行われ、RAMインタフェース231を介してFIFO211からメモリ230にライトデータWDATとしてデータが転送される。コンパレータ216は、ライトアドレス信号WADRとライトエンドアドレスWEAとを逐次比較し、ライトアドレス信号WADRがライトエンドアドレスWEAと一致すると、ライトエンド信号WENDを出力して一連のライト動作が終了する。
【0021】
次にFIFOコントローラ212を説明する。
図4に、FIFOコントローラ212の構成の一部を示す。この構成は、この発明に関連する部分を抽出したものであって、同図に示すように、論理和回路212A,212B、RS型のフリップフロップ(FF)212C,212D、212K、信号生成部212E,212F、論理積回路212G、カウンタ212H、コンパレータ212Jを含んで構成される。
【0022】
具体的に説明する。論理和回路212A,212Bには、それぞれ上述のリードエンド信号RENDおよびライトエンド信号WENDが入力されると共に、これら論理和回路には後述するハングアップフラグHFLGが共通に入力される。また、フリップフロップ212C,212Dのリセット端子には、論理和回路212A,212Bの出力信号がそれぞれ入力されると共に、各セット端子にはCPU10から供給されるスタート信号STRが共通に入力される。
フリップフロップ212Cの出力信号はリードタイミング信号RTIMとして信号生成部212Eに供給され、フリップフロップ212Dの出力信号はライトタイミング信号WTIMとして信号生成部212Fに供給される。ここで、信号生成部212Eは、リードタイミング信号RTIMと、上述のFIFO211における空領域の有無もしくはデータが書き込まれた領域の割合とに応じてリードリクエスト信号RREQを生成し、信号生成部212Fは、ライトタイミング信号WTIMと、上述のFIFO211におけるデータの有無もしくはデータが書き込まれた領域の割合とに応じてライトリクエスト信号WREQを生成する。
【0023】
論理積回路212Gは、負論理入力端子と正論理入力端子とを有し、この負論理入力端子にはリードタイミング信号RTIMが入力され、正論理端子にはライトタイミング信号WTIMが入力される。この実施の形態では、論理積回路212Gは、デコーダとして機能するものであって、メモリ80のリード動作が終了してからメモリ230のライト動作が終了するまでのステートを検出する検出手段として機能する。
論理積回路212Gの出力信号は、カウンタ212Hのキャリーイン端子(Ci)とネガティブリセット端子(RN)とに共通に入力される。このカウンタ212Hは、論理積回路212Gの出力信号として論理値「1」を入力した時にカウントを開始し、論理値「0」を入力した時にカウント値をリセットするように構成されている。この実施の形態では、カウンタ212Hは、論理積回路212Gにより検出されたステートの滞在時間を計時する計時手段として機能する。
【0024】
カウンタ212Hの出力信号(カウント値CNT)はコンパレータ212Jの一方の入力端子に与えられ、コンパレータ212Jの他方の入力端子には所定値TMAXが供給される。この所定値TMAXは、メモリ80からのリード動作が終了してからメモリ230の書き込みが終了するまでのステートの最大時間であって、そのようなステートの滞在時間の最大値として予め設定された値である。コンパレータ212Jは、カウント値CNTが所定値TMAXに達したときにハングアップフラグHFLGとして論理値「1」の信号を出力するものである。これにより、コンパレータ212Jは、カウンタ212Hによって計時された滞在時間からハングアップ状態にあるか否かを判断する判断手段として機能し、その判断結果はハングアップフラグHFLGとして出力される。
【0025】
コンパレータ212Jから出力されるハングアップフラグHFLGは、上述の論理和回路212A,212Bに与えられる。この実施の形態では、論理和回路212A,212Bは、コンパレータ212Jから出力されるハングアップフラグHFLGがハングアップ状態にあることを示す場合にステートマシンをリセットするリセット手段として機能する。また、ハングアップフラグHFLGは、RS型のフリップフロップ212Kのセット端子に与えられると共に、そのリセット端子にはCPU10からのリセット信号が与えられる。フリップフロップ212Kの出力信号はエラーフラグEFLGとしてCPU10に供給される。
【0026】
以下、この実施の形態の動作について、図5に示す波形図を参照しながら図6に示すフローに沿って説明する。
初期状態では、画像処理部20はアイドル状態にあり、イベントが発生するまで画像処理部20はアイドル状態を保つ(ステップS1;NO)。このアイドル状態から、遊技の進行に応じてイベントが発生し、CPU10の制御の下に一連の動作が開始すると(ステップS2;YES)、画像処理部20内のデータ転送モジュール210では、図4に示すフリップフロップ212C,212DがCPU10からのスタート信号STRによりセットされ、図5に示すように、リードタイミング信号RTIMおよびライトタイミング信号WTIMが共に論理値「1」とされる。
【0027】
続いて、信号生成部212Eは、FIFO211に空き領域が存在し、かつリードタイミング信号RTIMが論理値「1」であるという条件が満足されていれば、リードリクエスト信号RREQとして論理値「1」を出力する。一方の信号生成部212Fは、FIFO211にデータが存在し、かつライトタイミング信号WTIMが論理値「1」であるという条件が満足されていれば、ライトリクエスト信号WREQとして論理値「1」を出力する。これを受けてROMインタフェース800およびRAMインタフェース231は、それぞれリードアクノリッジ信号RACKおよびライトアクノリッジ信号WACKを出力し、メモリ80のリード動作およびメモリ230のライト動作が開始する(ステップS3)。
【0028】
続いて、コンパレータ214からリードエンド信号RENDとして論理値「1」が出力され、メモリ80からの制御データのリード動作が終了すると(ステップS4;YES)、メモリ230に対するライト動作のみが継続して行われる(ステップS5)。ここで、リードエンド信号RENDとして論理値「1」が図4に示す論理和回路212Aに入力されると、この論理和回路212Aの出力信号によりフリップフロップ212Cがリセットされ、リードタイミング信号RTIMとして論理値「0」が出力される。このとき、ライトエンド信号WENDとして論理値「0」が保持されていて、フリップフロップ212Dはリセットされないから、フリップフロップ212Dはセット状態を保ち、ライトタイミング信号WTIMとして論理値「1」が維持される。このため、論理積回路212Gが出力信号として論理値「1」を出力し、これにより、ステートマシンの現在のステートが、リード動作が終了し且つライト動作が終了していないステートであることが検知される。
【0029】
論理積回路212Gの出力信号として論理値「1」が出力されると、これをトリガーとしてカウンタ212Hがカウント動作を開始し、現在のステートの滞在時間の計時が開始される。ここで、通常であれば、上述のリード動作が終了してから、予定された時間内にライト動作も終了し、ライトエンド信号WENDとして論理値「1」が出力される。この結果、フリップフロップ212Dがリセットされてライトタイミング信号WTIMとして論理値「0」を出力し、これを入力する信号処理部212Fからライトリクエスト信号WREQとして論理値「0」が出力する。また、論理積回路212Gは論理値「0」を出力し、カウンタ212Hはカウントを停止する。これにより、一連のライト動作が終了し、ステートマシンが次のステートに移行する。
【0030】
これに対し、ライト動作中に例えばフリップフロップ212Dがノイズによりセット状態に固定されると、ライトタイミング信号WTIMが論理値「1」に固定され、ライトリクエスト信号WREQが論理値「1」に維持される。このため、見かけ上、ライト動作が終了しないこととなり、ハングアップ状態に陥る。この場合、論理積回路212Gが論理値「1」を出力した時点(リード動作が終了した時点)からカウンタ212Hがカウントを開始しているので、ライトタイミング信号WTIMが論理値「1」を維持していればカウントが継続され、現在のステートの滞在時間が計時される。
【0031】
そして、カウント値CNTが所定値TMAX(図5に示す「N」)に到達すると、コンパレータ212JがハングアップフラグHFLGとして論理値「1」を出力する(ステップS6;YES)。この場合、ハングアップフラグHFLGにより、図4に示す論理和回路212A,212Bの出力信号が強制的に論理値「1」とされるので、これをリセット端子に入力するフリップフロップ212C,212Dは強制的にリセットされる。この結果、図5に示すように、リードタイミング信号RTIMおよびライトタイミング信号WTIMが共に論理値「0」とされて初期状態に戻される。これにより、ステートマシンがハングアップ状態から復帰し、一連の制御動作が最初のステートからやり直されることとなる。このハングアップフラグHFLGは、フリップフロップ212Kに取り込まれ、エラーフラグEFLGとしてCPU10に供給される。これにより、CPU10は、画像処理部20の内部でハングアップからの復帰が行われたことを事後的に把握することができ、必要に応じてその後の制御に反映させることが可能になる。
【0032】
また、上述のライト動作(ステップS5)においてハングアップ状態に陥らない場合には、カウンタ値CNTが所定値TMAX(図5に示す「N」)に到達する前に、フリップフロップ212Dからライトタイミング信号WTIMとして論理値「0」が出力されるので、論理積回路212Gの出力信号が論理値「0」とされ、カウンタ212Hのカウント値CNTがリセットされる。従って、この場合、ハングアップフラグHFLGは論理値「0」に維持され、正規のライトエンド信号WENDに応答してライトリクエスト信号WREQが論理値「0」となり、ライト動作が正常に終了する(ステップS7;YES)。そして、この後、ステートマシンのステートは、アイドル状態となり(ステップS1)、新たなイベントの発生を待つ。
【0033】
以上説明したように、この実施の形態によれば、メモリ230のライト動作時間(ライトステートの滞在時間)を計時するようにしたので、このライト動作におけるFIFOコントローラ212のハングアップを把握することができ、FIFOコントローラ212をリセットすることが可能になる。従って、遊技機の遊戯中に、ステートマシンを構成するFIFOコントローラ212がハングアップ状態となっても、このハングアップ状態から復帰することが可能となり、ハングアップにより遊技が中止される事態を回避することが可能になる。
また、上述の実施の形態では、ライト動作でのハングアップに対処するものとして構成したが、これに限定されることなく、どのようなステートでのハングアップに対処するものとしてもよい。
【0034】
【発明の効果】
以上説明したように、この発明に係る半導体集積回路によれば、ステートマシンのステートを検出してステートの滞在時間を計時し、この計時された滞在時間からステートマシンがハングアップ状態にあるか否かを判断してリセットするようにしたので、ソフトウェアリセットによらず、自らハングアップ状態から復帰することが可能となる。
【図面の簡単な説明】
【図1】この発明の実施の形態に係る半導体集積回路が適用された遊技機の制御系の構成例を示すブロック図である。
【図2】この発明の実施の形態に係る半導体集積回路として構成された画像処理部の構成を示すブロック図である。
【図3】この発明の実施の形態に係るデータ転送モジュールの構成を示すブロック図である。
【図4】この発明の実施の形態に係るFIFOコントローラの構成を示すブロック図である。
【図5】この発明の実施の形態に係るFIFOコントローラの動作を説明するための波形図である。
【図6】この発明の実施の形態に係る画像処理部の動作の流れを示すフローチャートである。
【符号の説明】
20…画像処理部、21…CPUインタフェース、22…CRTコントローラ、23…画像データ生成部、24…解凍処理部、25…メモリ、26…パターンメモリ、27…画像メモリ、28…色変換部、29…バス、29A,29B…コントロールバス、80…メモリ、212…FIFOコントローラ、212A,212B…論理和回路、212C,212D,212K…フリップフロップ、212E,212F…信号生成部、212G…論理積回路、212H…カウンタ、212J…コンパレータ。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a semiconductor integrated circuit and an image processing apparatus, and more particularly to a technique for generating an effect image and sound effects in a game machine such as a pachinko machine in accordance with a game development situation.
[0002]
[Prior art]
Conventionally, gaming machines such as pachinko machines have a control device for controlling the progress of the game, an image processing device for generating images such as symbols according to the progress of the game, or a device for generating a sound effect. A sound control device and the like are built in. This type of device is configured as a so-called state machine, and the next operation state is determined according to the current operation state.
By the way, since there are many noise sources such as a motor for hitting the ball and a driving circuit for lighting decoration inside the gaming machine, a semiconductor integrated circuit in each device configured as a state machine malfunctions, and It may fall into a hang-up state. Therefore, conventionally, this type of device is provided with a function for returning from a hang-up state.
[0003]
Here, as a conventional technique for returning from the hang-up state, there is a method of resetting a circuit state by a so-called software process (hereinafter, referred to as software reset). According to this software reset, a command for resetting the operation of an LSI (Large Scale Integration) that has fallen into a hang-up state is issued from a CPU (Central Processing Unit) constituting the device, and an internal circuit of the LSI (for example, Reset the state machine formed by flip-flops and registers. Software reset methods include a method using a watchdog timer and a method of resetting when a hang-up is detected by reading a flag indicating that a hang-up has occurred.
[0004]
[Problems to be solved by the invention]
However, according to the above-described software reset, if a circuit that cannot be reset partially exists, there is a problem that the entire circuit may not be reset and the device may not be able to return from the hang-up state. Further, since the CPU needs to detect that the internal circuit of the LSI has fallen into a hang-up state, the load on the CPU increases. Further, when the interface circuit of the CPU falls into a hang-up state, the CPU cannot not only detect a hang-up of the LSI, but also cannot issue a command for resetting.
[0005]
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a semiconductor integrated circuit and an image processing apparatus capable of returning from a hang-up state by itself without using a method such as software reset.
[0006]
[Means for Solving the Problems]
In order to solve the above problems, the present invention has the following configurations.
That is, according to the first aspect of the present invention, in a semiconductor integrated circuit configured to function as a state machine, a detecting means for detecting a state of the state machine (for example, a component corresponding to an AND circuit 212G described later) ), Time counting means for counting the stay time of the state detected by the detection means (for example, a component corresponding to a counter 212H described later), and the state machine being in a hang-up state based on the stay time counted by the time counting means. (E.g., a component corresponding to a comparator 212J described later) and a reset unit (e.g., a reset unit that resets the state machine when the determination result of the determination unit indicates a hang-up state). For example, constituent elements corresponding to OR circuits 212A and 212B described later), Characterized by comprising.
[0007]
According to the configuration of the present invention, when the state machine falls into a hang-up state, the hang-up state is grasped from the stay time of the same state by utilizing the fact that the stay time of the same state becomes longer. That is, the staying time of the same state is counted by the timer, and whether or not the state machine is in a hang-up state is determined by the determining unit based on the counted staying time. If it is determined that the state machine is in the hang-up state, the state machine is reset by reset means. In other words, according to this configuration, the state machine is reset on condition that the current state of the state machine does not shift to the next state within the scheduled time. Therefore, the state machine can be returned from the hang-up state without an external operation such as a software reset.
[0008]
According to a second aspect of the present invention, in the semiconductor integrated circuit according to the first aspect, the timing means detects a start of a state of the state machine by a logic circuit (for example, an AND circuit 212G described later). And a counter (for example, a component corresponding to a counter 212H to be described later) that starts counting by using an output signal of the logic circuit as a trigger, wherein the determination unit determines the count value of the counter, A comparator (for example, a component corresponding to a comparator 212J to be described later) for comparing a maximum value of the stay time with a predetermined value set in advance is provided.
[0009]
According to this configuration, the start of the state is detected by the logic circuit constituting the timekeeping means, for example, based on a combination of the logic signals in the state machine. When the start of the state is detected, the counting is started by the counter, and the counting of the stay time of the state is started. The count value of the counter is compared with a predetermined value by a comparator constituting the determination means. Here, since the predetermined value is the maximum value of the stay time of the state, the fact that the count value of the counter reaches the predetermined value means that the state has not transitioned to the next state within the scheduled time. Therefore, when the count value of the counter reaches a predetermined value, the output signal of the comparator indicates the result of the determination that the current state is in the hang-up state.
[0010]
An image processing apparatus according to a third aspect of the present invention provides a first storage unit (for example, a component corresponding to a memory 80 described later) for storing image data, and a second storage unit for temporarily storing the image data. (For example, a component corresponding to a memory 230 described later), and an image data generator (for example, an image data generator described later) that generates display image data from the image data stored in the second storage unit. By reading the image data stored in the first storage unit and writing the image data in the second storage unit, the image data stored in the first storage unit A data transfer unit (for example, a component corresponding to a data transfer module 210 to be described later) that transfers the image data to the second storage unit, and the data transfer unit reads image data from the first storage unit After the completion, the time is measured by the time measuring means (for example, a component corresponding to an AND circuit 212G and a counter 212H to be described later) for measuring the time during which the image data is being written to the second storage unit, and the time is measured by the time measuring means. Determining means (e.g., a component corresponding to a comparator 212J described later) for determining whether or not the data transfer unit is in a hang-up state based on the time elapsed. Reset means (for example, constituent elements corresponding to OR circuits 212A and 212B to be described later) for resetting the data transfer unit in such a case.
[0011]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 shows a configuration example of a control circuit system used in a game machine such as a pachinko machine to which the semiconductor integrated circuit according to this embodiment is applied. In the figure, a CPU (Central Processing Unit) 10 controls the progress of a series of games, and according to the development of the games, for example, the probability that an attacker of a pachinko machine is fixed in an open state for a predetermined time or a big hit occurs. It has a function to determine the probability of performing. The CPU 10 is connected with an image processing unit 20 that controls a display device (CRT) 30 and a sound source 40 that drives a speaker 50.
[0012]
The CPU 10 is connected to a ROM (Read Only Memory) 60 that stores a program related to game control. A RAM (Random Access Memory) 70 for storing temporary data generated in the course of game control is connected to the bus connecting the CPU 10, the image processing unit 20, and the sound source 40. . Further, the image processing unit 20 is connected to a ROM 80 for storing material data (image data) of a symbol to be displayed in accordance with the progress of the game and control data for display such as symbol enlargement / reduction processing. The image processing unit 20 and the ROM 80 constitute an image processing device according to the present invention. Here, the image processing unit 20 generates image data of each frame in accordance with, for example, the NTSC (National Television Systems Committee) standard, and constitutes a semiconductor integrated circuit according to the present invention. The sound source 40 complies with the MIDI (Musical Instrument Digital Interface) standard, and generates an audio signal for producing a game under the control of the CPU 10.
[0013]
FIG. 2 shows the configuration of the image processing unit 20.
As shown in FIG. 1, the image processing unit 20 functions as a state machine, and includes a CPU interface 21 including a data transfer module 210, a CRT controller 22, and an image data generation unit including a memory (RAM) 230. 23, a pattern memory interface 26, an image memory (SDRAM) 27, and a color conversion unit 28, which are connected via a bus 29. The data transfer module 210 is connected to the memory 80 via the control bus 29A and the pattern memory interface 26 and a ROM interface 800 described later, and is connected to the memory 230 via the control bus 29B and a RAM interface 231 described later. . Further, a memory (SDRAM) 25 is connected to the image data generation unit 23 via a decompression processing unit 24. The above-described CPU 10 is connected to the CPU interface 21, the display device 30 is connected to the CRT controller 22, and the memory 80 is connected to the pattern memory interface 26.
[0014]
Here, the operation of the image processing unit 20 will be briefly described. When displaying an image, the data transfer module 210 reads out image control data (program data) and compressed image data from the external memory 80 via the pattern memory interface 26 under the control of the external CPU 10. To the memory 230. That is, the control data and the image data are transferred from the memory 80 to the memory 230. The image data is decompressed (decompressed) by the decompression processing unit 24 and stored in the memory 25.
[0015]
The image data generating unit 23 reads out the image data from the memory 25, performs processing in accordance with the control data stored in the memory 230, generates one frame of display image data, and transfers this to the image memory 27 via the bus 29. Write to. The display image data written in the image memory 27 is color-converted by the color conversion unit 28 into RGB image signals and output to the display device 30. As described above, the image processing unit 20 functions as a state machine under the control of the CPU 10 to sequentially execute the read operation and the write operation, and causes the display device 30 to display an image.
[0016]
Next, FIG. 3 shows a configuration of the data transfer module 210. The data transfer module 210 is for transferring data read from the memory 80 to the memory 230 in the image data generating unit 23 at an appropriate timing, and includes a FIFO 211, a FIFO controller 212, address counters 213, 215, It comprises comparators 214 and 216. The data transfer module 210 is connected to the above-described memory 80 via the ROM interface 800, and is connected to the above-described memory 230 via the RAM interface 231. In FIG. 3, the pattern memory interface 26 shown in FIG. 2 existing between the data transfer module 210 and the ROM interface 800 is omitted.
[0017]
Here, the read data RDAT is input from the ROM interface 800 to the FIFO 211, and the write data WDAT is output from the FIFO 211 to the RAM interface 231. The read data RDAT is control data or image data read from the memory 80. The write data WDAT has the same contents as the read data RDAT, and is control data or image data transferred by the data transfer module 210 and written into the memory 230. A read request signal RREQ is output from the FIFO controller 212 to the ROM interface 800, and a read data timing signal RDTIM is input to the FIFO controller 212 from the ROM interface. On the other hand, a write request signal WREQ is output from the FIFO controller 212 to the RAM interface 231, and a write acknowledge signal WACK is input from the RAM interface 231 to the FIFO controller 212.
[0018]
A read acknowledge signal RACK is input from the ROM interface 800 to the address counter 213, and a read address signal RADR is output from the address counter 213 to the ROM interface 800. The above-described read address RADR is input to the comparator 214, and the read-end signal REND is output from the comparator 214 to the ROM interface 800. On the other hand, the above-mentioned write acknowledge signal WACK is input to the address counter 215, and the write address signal WADR is output from the address counter 215 to the RAM interface 231. The above-described write address WADR is input to the comparator 216, and the comparator 216 outputs a write end signal WEND to the RAM interface 231.
[0019]
Here, the operation of the data transfer module 210 will be described.
When transferring data (image data / control data), the FIFO controller 212 outputs a read request signal RREQ to the ROM interface 800. In response to this, the ROM interface 800 outputs a read acknowledge signal RACK to the address counter 213, and the address counter 213 sequentially generates the read address RADR using this as a trigger. At this time, the read data timing signal RDTIM is output from the ROM interface 800 in response to the read acknowledge signal RACK, and the read data RDAT is written to the FIFO 211 at the timing specified by the read data timing signal RDTIM. Thus, the read operation is performed, and the data is transferred from the memory 80 to the FIFO 211 via the ROM interface 800 as the read data RDAT. The comparator 214 sequentially compares the read address RADR and the read end address REA, and when they match, outputs a read end signal REND. Then, when the read address RADR matches the read end address REA and all data is transferred to the FIFO 211, a series of read operations ends.
[0020]
On the other hand, the FIFO controller 212 outputs a write request signal WREQ to the RAM interface 231. In response to this, the RAM interface 231 outputs a write acknowledge signal WACK, and using this as a trigger, the address counter 215 outputs a write address signal WADR, and then increments. As a result, a write operation is performed, and data is transferred as write data WDAT from the FIFO 211 to the memory 230 via the RAM interface 231. The comparator 216 successively compares the write address signal WADR and the write end address WEA, and when the write address signal WADR matches the write end address WEA, outputs a write end signal WEND and ends a series of write operations.
[0021]
Next, the FIFO controller 212 will be described.
FIG. 4 shows a part of the configuration of the FIFO controller 212. In this configuration, portions related to the present invention are extracted, and as shown in the figure, OR circuits 212A and 212B, RS flip-flops (FF) 212C, 212D and 212K, and a signal generator 212E. , 212F, an AND circuit 212G, a counter 212H, and a comparator 212J.
[0022]
This will be specifically described. The above-described read end signal REND and write end signal WEND are input to the OR circuits 212A and 212B, respectively, and a hang-up flag HFLG described later is commonly input to these OR circuits. Output signals of the OR circuits 212A and 212B are respectively input to reset terminals of the flip-flops 212C and 212D, and a start signal STR supplied from the CPU 10 is commonly input to each set terminal.
The output signal of the flip-flop 212C is supplied to the signal generation unit 212E as a read timing signal RTIM, and the output signal of the flip-flop 212D is supplied to the signal generation unit 212F as a write timing signal WTIM. Here, the signal generation unit 212E generates the read request signal RREQ according to the read timing signal RTIM and the presence or absence of an empty area in the FIFO 211 or the ratio of the area where data is written, and the signal generation unit 212F A write request signal WREQ is generated according to the write timing signal WTIM and the presence or absence of data in the above-described FIFO 211 or the ratio of the area where data is written.
[0023]
The AND circuit 212G has a negative logic input terminal and a positive logic input terminal. The read timing signal RTIM is input to the negative logic input terminal, and the write timing signal WTIM is input to the positive logic terminal. In this embodiment, the AND circuit 212G functions as a decoder, and functions as detecting means for detecting a state from the end of the read operation of the memory 80 to the end of the write operation of the memory 230. .
The output signal of the AND circuit 212G is commonly input to the carry-in terminal (Ci) and the negative reset terminal (RN) of the counter 212H. The counter 212H is configured to start counting when a logical value “1” is input as an output signal of the AND circuit 212G, and to reset the count value when a logical value “0” is input. In this embodiment, the counter 212H functions as a clock unit that counts the stay time of the state detected by the AND circuit 212G.
[0024]
An output signal (count value CNT) of the counter 212H is provided to one input terminal of a comparator 212J, and a predetermined value TMAX is supplied to the other input terminal of the comparator 212J. The predetermined value TMAX is the maximum time of the state from the end of the read operation from the memory 80 to the end of the write to the memory 230, and is a value preset as the maximum value of the stay time of such a state. It is. The comparator 212J outputs a signal of a logical value “1” as the hang-up flag HFLG when the count value CNT reaches a predetermined value TMAX. As a result, the comparator 212J functions as a judging means for judging whether or not the vehicle is in the hang-up state from the stay time measured by the counter 212H, and the result of the judgment is output as the hang-up flag HFLG.
[0025]
The hang-up flag HFLG output from the comparator 212J is provided to the above-mentioned OR circuits 212A and 212B. In this embodiment, the OR circuits 212A and 212B function as reset means for resetting the state machine when the hang-up flag HFLG output from the comparator 212J indicates that the hang-up state is established. The hang-up flag HFLG is provided to a set terminal of the RS flip-flop 212K, and a reset signal from the CPU 10 is provided to its reset terminal. The output signal of the flip-flop 212K is supplied to the CPU 10 as an error flag EFLG.
[0026]
Hereinafter, the operation of this embodiment will be described along the flow chart shown in FIG. 6 with reference to the waveform chart shown in FIG.
In the initial state, the image processing unit 20 is in an idle state, and keeps the idle state until an event occurs (step S1; NO). From this idle state, an event occurs in accordance with the progress of the game, and when a series of operations is started under the control of the CPU 10 (step S2; YES), the data transfer module 210 in the image processing unit 20 returns to FIG. The flip-flops 212C and 212D shown are set by the start signal STR from the CPU 10, and as shown in FIG. 5, both the read timing signal RTIM and the write timing signal WTIM are set to the logical value "1".
[0027]
Subsequently, the signal generation unit 212E sets the logical value “1” as the read request signal RREQ if an empty area exists in the FIFO 211 and the condition that the read timing signal RTIM is the logical value “1” is satisfied. Output. On the other hand, if data exists in the FIFO 211 and the condition that the write timing signal WTIM is a logical value “1” is satisfied, the signal generation unit 212F outputs a logical value “1” as the write request signal WREQ. . In response to this, the ROM interface 800 and the RAM interface 231 output the read acknowledge signal RACK and the write acknowledge signal WACK, respectively, and the read operation of the memory 80 and the write operation of the memory 230 start (step S3).
[0028]
Subsequently, the logical value “1” is output from the comparator 214 as the read end signal REND, and when the operation of reading the control data from the memory 80 ends (step S4; YES), only the write operation to the memory 230 continues. (Step S5). Here, when the logical value “1” is input to the OR circuit 212A shown in FIG. 4 as the read end signal REND, the flip-flop 212C is reset by the output signal of the OR circuit 212A, and the logical value is read as the read timing signal RTIM. The value "0" is output. At this time, since the logical value “0” is held as the write end signal WEND and the flip-flop 212D is not reset, the flip-flop 212D keeps the set state, and the logical value “1” is kept as the write timing signal WTIM. . Therefore, the logical product circuit 212G outputs a logical value “1” as an output signal, thereby detecting that the current state of the state machine is a state where the read operation has been completed and the write operation has not been completed. Is done.
[0029]
When a logical value “1” is output as an output signal of the logical product circuit 212G, the counter 212H starts a count operation by using this as a trigger, and starts measuring the stay time in the current state. Here, under normal circumstances, the write operation also ends within a predetermined time after the end of the above-described read operation, and a logical value “1” is output as the write end signal WEND. As a result, the flip-flop 212D is reset and outputs a logical value “0” as the write timing signal WTIM, and the signal processing unit 212F that receives the output outputs a logical value “0” as the write request signal WREQ. Further, the AND circuit 212G outputs a logical value “0”, and the counter 212H stops counting. Thus, a series of write operations is completed, and the state machine shifts to the next state.
[0030]
On the other hand, if, for example, the flip-flop 212D is fixed to the set state due to noise during the write operation, the write timing signal WTIM is fixed at the logical value “1”, and the write request signal WREQ is maintained at the logical value “1”. You. Therefore, apparently, the write operation is not completed, and a hang-up state occurs. In this case, since the counter 212H starts counting from the time when the logical product circuit 212G outputs the logical value "1" (the time when the read operation ends), the write timing signal WTIM maintains the logical value "1". If so, the count is continued, and the stay time in the current state is measured.
[0031]
When the count value CNT reaches the predetermined value TMAX ("N" shown in FIG. 5), the comparator 212J outputs a logical value "1" as the hang-up flag HFLG (step S6; YES). In this case, the output signals of the OR circuits 212A and 212B shown in FIG. 4 are forcibly set to the logical value "1" by the hang-up flag HFLG, so that the flip-flops 212C and 212D for inputting this to the reset terminal are forced. Reset. As a result, as shown in FIG. 5, the read timing signal RTIM and the write timing signal WTIM are both set to the logical value “0” and the state is returned to the initial state. As a result, the state machine returns from the hang-up state, and a series of control operations is restarted from the first state. The hang-up flag HFLG is taken into the flip-flop 212K and supplied to the CPU 10 as an error flag EFLG. Thereby, the CPU 10 can recognize later that the recovery from the hang-up has been performed inside the image processing unit 20, and reflect it in the subsequent control as necessary.
[0032]
If the write operation (step S5) does not fall into the hang-up state, the write timing signal is output from the flip-flop 212D before the counter value CNT reaches the predetermined value TMAX ("N" shown in FIG. 5). Since the logical value “0” is output as WTIM, the output signal of the AND circuit 212G is set to the logical value “0”, and the count value CNT of the counter 212H is reset. Therefore, in this case, the hang-up flag HFLG is maintained at the logical value "0", the write request signal WREQ becomes the logical value "0" in response to the normal write end signal WEND, and the write operation ends normally (step S1). S7; YES). After that, the state of the state machine becomes an idle state (step S1), and waits for the occurrence of a new event.
[0033]
As described above, according to this embodiment, the write operation time of the memory 230 (the stay time of the write state) is measured, so that it is possible to grasp the hang-up of the FIFO controller 212 in this write operation. Thus, the FIFO controller 212 can be reset. Therefore, even if the FIFO controller 212 constituting the state machine is in a hang-up state during the play of the gaming machine, it is possible to return from the hang-up state and avoid a situation in which the game is stopped due to the hang-up. It becomes possible.
Further, in the above-described embodiment, the configuration is made to deal with the hang-up in the write operation. However, the present invention is not limited to this, and it may be possible to deal with the hang-up in any state.
[0034]
【The invention's effect】
As described above, according to the semiconductor integrated circuit of the present invention, the state of the state machine is detected and the staying time of the state is counted, and whether or not the state machine is in the hang-up state is determined based on the counted staying time. Since the reset is performed by judging whether or not it is possible, it is possible to return from the hang-up state by itself irrespective of software reset.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration example of a control system of a gaming machine to which a semiconductor integrated circuit according to an embodiment of the present invention is applied.
FIG. 2 is a block diagram illustrating a configuration of an image processing unit configured as a semiconductor integrated circuit according to the embodiment of the present invention;
FIG. 3 is a block diagram showing a configuration of a data transfer module according to the embodiment of the present invention.
FIG. 4 is a block diagram showing a configuration of a FIFO controller according to the embodiment of the present invention.
FIG. 5 is a waveform chart for explaining an operation of the FIFO controller according to the embodiment of the present invention;
FIG. 6 is a flowchart illustrating a flow of an operation of the image processing unit according to the embodiment of the present invention.
[Explanation of symbols]
Reference Signs List 20 image processing unit, 21 CPU interface, 22 CRT controller, 23 image data generation unit, 24 decompression processing unit, 25 memory, 26 pattern memory, 27 image memory, 28 color conversion unit, 29 ... bus, 29A, 29B ... control bus, 80 ... memory, 212 ... FIFO controller, 212A, 212B ... logical sum circuit, 212C, 212D, 212K ... flip-flop, 212E, 212F ... signal generator, 212G ... logical product circuit 212H: counter, 212J: comparator.

Claims (3)

ステートマシンとして機能するように構成された半導体集積回路において、
前記ステートマシンのステートを検出する検出手段と、
前記検出手段により検出されたステートの滞在時間を計時する計時手段と、
前記計時手段により計時された滞在時間から前記ステートマシンがハングアップ状態にあるか否かを判断する判断手段と、
前記判断手段の判断結果がハングアップ状態にあることを示す場合に前記ステートマシンをリセットするリセット手段と、
を備えたことを特徴とする半導体集積回路。
In a semiconductor integrated circuit configured to function as a state machine,
Detecting means for detecting a state of the state machine;
Clocking means for clocking the stay time of the state detected by the detecting means,
Judgment means for judging whether or not the state machine is in a hang-up state from the stay time measured by the time measurement means,
Resetting means for resetting the state machine when a result of the judgment by the judging means indicates a hang-up state;
A semiconductor integrated circuit comprising:
前記計時手段が、前記ステートマシンのステートの開始を検出するための論理回路と、前記論理回路の出力信号をトリガーとしてカウントを開始するカウンタとを備え、
前記判断手段が、前記カウンタのカウント値と、前記滞在時間の最大値として予め設定された所定値とを比較するコンパレータを備えたことを特徴とする請求項1に記載された半導体集積回路。
The timing means includes a logic circuit for detecting the start of the state of the state machine, and a counter that starts counting with an output signal of the logic circuit as a trigger,
2. The semiconductor integrated circuit according to claim 1, wherein the determination unit includes a comparator that compares a count value of the counter with a predetermined value set as a maximum value of the stay time.
画像データを記憶する第1の記憶部と、
前記画像データを一時記憶するための第2の記憶部を有し、該第2の記憶部に記憶された画像データから表示用画像データを生成する画像データ生成部と、
前記第1の記憶部に記憶された画像データを読み出して前記第2の記憶部に書き込むことにより、前記第1の記憶部に記憶された画像データを前記第2の記憶部に転送するデータ転送部と、
前記データ転送部が前記第1の記憶部からの画像データの読み出しを終了した後、前記第2の記憶部に画像データの書き込みを行っている時間を計時する計時手段と、
前記計時手段により計時された時間から前記データ転送部がハングアップ状態にあるか否かを判断する判断手段と、
前記判断手段の判断結果がハングアップ状態にあることを示す場合に前記データ転送部をリセットするリセット手段と、
を備えたことを特徴とする画像処理装置。
A first storage unit for storing image data;
An image data generation unit having a second storage unit for temporarily storing the image data, and generating display image data from the image data stored in the second storage unit;
Data transfer for transferring the image data stored in the first storage unit to the second storage unit by reading out the image data stored in the first storage unit and writing the image data in the second storage unit Department and
After the data transfer unit finishes reading the image data from the first storage unit, a timing unit that counts the time during which the image data is being written to the second storage unit;
Determining means for determining whether or not the data transfer unit is in a hang-up state from the time measured by the time measuring means;
Resetting means for resetting the data transfer unit when the result of the judgment by the judging means indicates a hang-up state;
An image processing apparatus comprising:
JP2002181770A 2002-06-21 2002-06-21 Image processing device Expired - Fee Related JP4103463B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002181770A JP4103463B2 (en) 2002-06-21 2002-06-21 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002181770A JP4103463B2 (en) 2002-06-21 2002-06-21 Image processing device

Publications (2)

Publication Number Publication Date
JP2004029952A true JP2004029952A (en) 2004-01-29
JP4103463B2 JP4103463B2 (en) 2008-06-18

Family

ID=31178528

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002181770A Expired - Fee Related JP4103463B2 (en) 2002-06-21 2002-06-21 Image processing device

Country Status (1)

Country Link
JP (1) JP4103463B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020065710A (en) * 2018-10-24 2020-04-30 株式会社藤商事 Game machine
CN113254247A (en) * 2021-05-14 2021-08-13 山东英信计算机技术有限公司 Server BMC I2C exception recovery method and related device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020065710A (en) * 2018-10-24 2020-04-30 株式会社藤商事 Game machine
CN113254247A (en) * 2021-05-14 2021-08-13 山东英信计算机技术有限公司 Server BMC I2C exception recovery method and related device

Also Published As

Publication number Publication date
JP4103463B2 (en) 2008-06-18

Similar Documents

Publication Publication Date Title
US7639764B2 (en) Method and apparatus for synchronizing data between different clock domains in a memory controller
JP4103463B2 (en) Image processing device
US7636834B2 (en) Method and apparatus for resetting a gray code counter
JP4745904B2 (en) Electronic equipment
JP2004117344A (en) Method for adjusting transition of bitstream
TWI803222B (en) Video recording method and system thereof
EP0575228A1 (en) Method for loading a program into the program memory of a processor
JP3939078B2 (en) Data write control circuit
JP2005242929A (en) Accessing method for shared memory and data processor
JP2868501B1 (en) How to avoid processing stop
JPH10311867A (en) Semiconductor device
JPH10214209A (en) Data processor having debugging function
JP3792470B2 (en) Image transfer method and apparatus, and image processing apparatus
JP3643020B2 (en) Data transfer method and apparatus, and data processing apparatus using the apparatus
JPH0895830A (en) Abnormality monitor device for electronic equipment
JP2004061114A (en) Self-diagnosis test circuit and method
JPH0831110B2 (en) Logic simulation system
JP2002099504A (en) Data transfer unit and data transfer method
JP2004157646A (en) Verification device for integrated circuit, verification method, and generation method for interface model for verifying integrated circuit
JP2002351696A (en) Debugging device
JPH05224642A (en) Picture display device
JPH0830502A (en) Circuit for continuous writing in flash memory
JP2006119905A (en) Fault detection apparatus and computer system
JP2000112789A (en) Semiconductor device
JP2002215601A (en) Microcomputer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040705

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070111

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070123

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070323

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070605

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070806

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070813

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080304

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080317

R150 Certificate of patent or registration of utility model

Ref document number: 4103463

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110404

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120404

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130404

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140404

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees