JP6283858B2 - Chip that can output multiple divided clocks - Google Patents
Chip that can output multiple divided clocks Download PDFInfo
- Publication number
- JP6283858B2 JP6283858B2 JP2013210229A JP2013210229A JP6283858B2 JP 6283858 B2 JP6283858 B2 JP 6283858B2 JP 2013210229 A JP2013210229 A JP 2013210229A JP 2013210229 A JP2013210229 A JP 2013210229A JP 6283858 B2 JP6283858 B2 JP 6283858B2
- Authority
- JP
- Japan
- Prior art keywords
- clock
- external
- gaming machine
- circuit
- chip
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、パチンコ遊技機やコイン遊技機あるいはスロットマシン等で代表される遊技機の制御に使用されるマイクロコンピュータであって、特に内部システムクロックからの分周クロックとタイマー信号からの分周クロックという複数の分周クロックの出力端子を有する遊技機制御用マイクロコンピュータに関する。 The present invention is a microcomputer used for controlling a gaming machine represented by a pachinko gaming machine, a coin gaming machine, a slot machine, or the like, and in particular, a divided clock from an internal system clock and a divided clock from a timer signal. The present invention relates to a microcomputer for controlling a gaming machine having a plurality of divided clock output terminals.
これまで、パチンコ台等の遊技機において、マイクロコンピュータ(以下、「メインチップ」という。)は、クロック入力端子(EX端子)から入力されたクロックを任意の分周比(例えば、2分周など)で分周してからクロックを生成し、CPUや内部の各回路に供給する。また、生成されたクロックは、クロック出力端子から外部にも出力される。 Until now, in a gaming machine such as a pachinko machine, a microcomputer (hereinafter referred to as “main chip”) uses a clock input terminal (EX terminal) as an arbitrary frequency division ratio (for example, frequency division by 2). ), The clock is generated and supplied to the CPU and internal circuits. The generated clock is also output to the outside from the clock output terminal.
チップ外部に設けられた外部回路が使用できるクロックは、上述した内部システムクロックのみであって、例えばモータドライブなどを起動/制御するための外部周辺回路でクロックを使用する場合は、チップ外に別のクロックを実装して利用するか或いは分周回路を実装して内部システムクロックを分周させるしかなかった。 The clock that can be used by an external circuit provided outside the chip is only the internal system clock described above. For example, when the clock is used in an external peripheral circuit for starting / controlling a motor drive, etc. However, there is no choice but to divide the internal system clock by mounting a frequency dividing circuit.
上述したように従来のチップ構成の場合、遊技機開発メーカーであるユーザが、内部システムクロックを分周させるための分周回路や、別のクロックをチップ外で実装させることが必要であるためコスト高になっていた。
また、パチンコ台等の遊技機は、風俗営業法に基づき国家公安委員会の規則に従い遊技機の認定及び型式の検定を受けて合格しなければならないが、その検定項目には遊技機アプリケーションプログラムで使用できるプログラムステップ数は上限を含んでいる。したがって、魅力ある遊技機アプリケーションプログラムほど高度化又は複雑になる傾向を考慮すると、クロック又は分周回路の設定に関して要求されるプログラムステップはできるだけ少なくしたいというニーズも生じていた。
As described above, in the case of the conventional chip configuration, it is necessary for the user who is a game machine development manufacturer to divide the internal system clock and to mount another clock outside the chip. It was high.
In addition, pachinko machines and other gaming machines must pass the accreditation and type certification of gaming machines in accordance with the rules of the National Public Safety Commission in accordance with the Customs Business Law. The number of program steps that can be used includes an upper limit. Accordingly, in view of the trend toward more sophisticated or complicated game machine application programs that are more attractive, there has also been a need to reduce the number of program steps required for setting the clock or the frequency dividing circuit.
そこで、本発明は、従来はチップ外に実装される分周回路などで行われていた機能をチップ内に取り込むことによって、これら分周回路などの実装コスト及びユーザプログラムステップ数の削減を図ることを目的とする。 Therefore, the present invention aims to reduce the mounting cost and the number of user program steps of the frequency divider circuit and the like by incorporating the function conventionally performed by the frequency divider circuit and the like mounted outside the chip into the chip. With the goal.
本発明の遊技機用コンピュータチップは、CPUと、クロック生成回路と、前記クロック生成回路により生成された内部システムクロックを分周するプリスケーラであって、前記内部システムクロックを所定の分周比で分周した複数の分周クロックの中から選択して外部クロックとして出力する当該プリスケーラと、前記クロック生成回路により生成された内部システムクロックを分周するタイマー回路とを含み、当該遊技機用コンピュータチップの外部クロックとして、前記プリスケーラからの第1の出力信号及び前記タイマー回路からの第2の出力信号を含む複数の外部クロックを供給することを特徴とする。 The computer chip for gaming machines of the present invention is a prescaler that divides a CPU, a clock generation circuit, and an internal system clock generated by the clock generation circuit, and divides the internal system clock by a predetermined division ratio. A prescaler that selects and outputs as an external clock from a plurality of frequency-divided clocks, and a timer circuit that divides the internal system clock generated by the clock generation circuit. A plurality of external clocks including a first output signal from the prescaler and a second output signal from the timer circuit are supplied as external clocks.
また、本発明の遊技機用コンピュータチップは、さらに、遊技機アプリケーションプログラムに所望の分周比の外部クロックを得るためのプログラムコードを指定することで、又はプログラム管理エリアに設定された複数の分周比を識別する値を指定することで、前記プリスケーラにより指定された値に対応する分周クロックを出力することを特徴とする。 The gaming machine computer chip of the present invention further includes a plurality of divisions set in the program management area by specifying a program code for obtaining an external clock having a desired frequency division ratio in the gaming machine application program. By designating a value for identifying the frequency ratio, a frequency-divided clock corresponding to the value designated by the prescaler is output.
また、本発明の遊技機用コンピュータチップは、さらに、周波数の高いクロックに関して前記プリスケーラからの第1の出力信号、周波数の低いクロックに関して前記タイマー回路からの第2の出力信号が前記遊技機アプリケーションプログラムにより使用されることを特徴とする。 In the gaming machine computer chip of the present invention, the gaming machine application program further includes a first output signal from the prescaler for a clock having a high frequency and a second output signal from the timer circuit for a clock having a low frequency. It is used by.
本発明の遊技機用コンピュータチップによれば、クロック生成回路により生成された内部システムクロックを分周するプリスケーラが当該遊技機用コンピュータチップ内に備えられた構成であるため、従来、遊技機開発メーカーが遊技機用コンピュータチップ外部に実装していた分周回路などが不要となる。このため、遊技機用コンピュータチップを使用する遊技機開発メーカーは、遊技機の製造コストを抑えることができる。 According to the gaming machine computer chip of the present invention, a prescaler that divides the internal system clock generated by the clock generation circuit is provided in the gaming machine computer chip. However, the frequency dividing circuit mounted outside the computer chip for gaming machines is not necessary. For this reason, a gaming machine development manufacturer that uses gaming machine computer chips can reduce the manufacturing cost of gaming machines.
また、遊技機アプリケーションプログラムの開発ユーザは、遊技機用コンピュータチップの外部クロックとして、プリスケーラからの第1の出力信号及び前記タイマー回路からの第2の出力信号という複数の外部クロックを遊技機アプリケーションプログラムに指定することで使用することができるので、遊技機の高度な制御のためにこれら複数の外部クロックで対応することが可能になる。 A game machine application program development user uses a plurality of external clocks, a first output signal from a prescaler and a second output signal from the timer circuit, as an external clock of a gaming machine computer chip. Therefore, it is possible to cope with these multiple external clocks for advanced control of the gaming machine.
さらに、所望の分周比の外部クロックを得るためのプログラムコードを指定する他に、分周比に対応する設定値をプログラム管理エリアに記憶しておくことも可能であるため、遊技機アプリケーションプログラムの開発ユーザが所望の設定値を指定すると、これを受けたプリスケーラは、設定値に対応する分周比の第1の出力信号を外部端子に出力できる。すなわち、内部システムクロックを所望の分周比に分周することをバックグランドで実行することができるようになるので、内部システムクロックを所望の分周比に分周するためのステップが省略され、ユーザプログラムに負担がかからない効果もある。 Furthermore, in addition to designating a program code for obtaining an external clock having a desired frequency division ratio, it is also possible to store a setting value corresponding to the frequency division ratio in the program management area. When the development user designates a desired set value, the prescaler that has received this can output a first output signal having a frequency division ratio corresponding to the set value to the external terminal. In other words, since the division of the internal system clock to the desired division ratio can be performed in the background, the step for dividing the internal system clock to the desired division ratio is omitted. There is also an effect that the user program is not burdened.
以下に図面を参照しながら、本発明の実施形態について説明する。図1は、遊技機用コンピュータチップ(以下、「メインチップ」という。)1の一般的なハードウェア構成を示す内部ブロック図である。CPU2は、例えば、ザイログ社のZ80、モトローラ社の68HC11、またはこれらの互換性のあるソフトウェアコンパチブルなCPUを用いることができる。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is an internal block diagram illustrating a general hardware configuration of a gaming machine computer chip (hereinafter referred to as “main chip”) 1. The
内蔵ROM3は、その容量が関連法規で制限されているROMであり、ユーザプログラム(遊技機メーカーが作成したプログラム)を格納している。内蔵RAM4は、ユーザプログラムのワークエリアとして使用されるRAMである。
CPU2のバスを介して、内蔵ROM3、内蔵RAM4、及び以下に述べる遊技機制御用チップ1内に設けられたいくつかの回路が接続される。
The built-in ROM 3 is a ROM whose capacity is limited by related laws and regulations and stores a user program (a program created by a gaming machine manufacturer). The built-in
Via the bus of the
外部制御回路10は、アドレスバス、データバス、及び各制御信号の方向制御や駆動能力を強化するバスインタフェース回路である。
クロック回路11は、クロック入力端子(EXTAL端子)に入力されるクロックを例えば2分周し、内部システムクロックとして各回路に供給するとともに、このクロックをクロック出力端子(E端子)から出力する回路である。
タイマー回路5は、例えばザイログ社のZ80−CTC互換のタイマー回路である。アドレスデコード回路12は、ユーザプログラムの外部デバイス用のデコード回路であり、チップセレクト信号(*CSIO)を出力する。リセット制御回路6は、各種リセットと、外部からの割込み要求と内蔵タイマー回路5からの割込み要求を制御する回路である。
The external control circuit 10 is a bus interface circuit that reinforces the address bus, the data bus, and the direction control and drive capability of each control signal.
The clock circuit 11 is a circuit that divides the clock input to the clock input terminal (EXTAL terminal) by, for example, two and supplies it to each circuit as an internal system clock, and outputs this clock from the clock output terminal (E terminal). is there.
The
なお、外部からのトリガ信号を入力すると乱数取込制御回路8に渡し、乱数を発生させるための乱数回路9や、ユーザプログラムが指定エリア内で正しく実行されているかどうかを監視し、指定エリア外でユーザプログラムが実行されるとIAT信号を発生し、それによりユーザリセットが発生させる指定エリア外走行禁止回路(不図示)があるが、本発明とは直接関係しないので詳細は省略する。
When an external trigger signal is input, it is passed to the random number
図2は、本実施の形態のメインチップにおける外部クロックの生成に関連する回路の関係を示した概念ブロック図である。外部クロック信号(EX)がメインチップ1内の分周器20に入力され、例えば1/2に分周して内部システムクロック(SCLK)を生成する。生成された内部システムクロック(SCLK)は、プリスケーラ21及びタイマー回路5に渡される。
なお、外部クロック信号(EX)を1/2分周しているのは外部クロック信号(EX)のデューティ比を整えるためであり、外部クロック信号(EX)の元々のデューティ比が高く理想的なパルス列に近いものであれば必ずしも分周器20で1/2分周する必要はない。さらに、クロック入力端子(EX端子)を用いずにメインチップ内で内部システムクロックを生成する内部クロック回路を実装した構成の場合は、当該内部クロック生成回路からのSCLKがプリスケーラ21及びタイマー回路5に渡されるようにすることもある。
FIG. 2 is a conceptual block diagram showing the relationship of circuits related to the generation of an external clock in the main chip of the present embodiment. An external clock signal (EX) is input to the
The reason why the external clock signal (EX) is divided by 1/2 is to adjust the duty ratio of the external clock signal (EX), and the original duty ratio of the external clock signal (EX) is high and ideal. As long as it is close to the pulse train, the
プリスケーラ21は、内部システムクロック(SCLK)を、例えば、1/2nである1/2,1/4,1/8などの分周比の中から選択した分周比で分周し、第1の外部信号(DCLK)を出力する。なお、上記分周比はあくまで例示であり任意の分周比が設定可能であることは言うまでもない。例示の分周比1/2nがあらわすように、プリスケーラ21から出力されるDCLKは、内部システムクロック(SCLK)から比較的早いクロックを生成するための回路といえる。どの分周比を選択するかは、ユーザの遊技機アプリケーションプログラムでの指定、またはプログラム管理エリアからの設定値に従って決定する。
一方、内部システムクロック(SCLK)によって設定されたタイマー回路5は、その設定に基づきタイムアウト信号を例えば1/2に分周し、第2の外部信号(ESCK)として出力する。一般に、タイマー回路5の出力を分周したものは、低い周波数が対象となるため、タイマー22から出力されるESCKはDCLKに比べて遅いクロックを生成するという機能に区別することができる。
The
On the other hand, the
図3は、図2を実際のメインチップに実装した際のDCLK及びESCKの生成に関係する回路及びレジスタなどのブロック構成図である。上述したように、プリスケーラ21で具体的にどの分周比を選択するかは、ユーザが遊技機アプリケーションプログラムにおいて指定した値、またはユーザのプログラム管理エリアから読み出された値をDCLK設定レジスタ(DCKS)に設定しておけばよい。
FIG. 3 is a block configuration diagram of circuits and registers related to generation of DCLK and ESCK when FIG. 2 is mounted on an actual main chip. As described above, which frequency division ratio is specifically selected by the
また、本ブロック図に示すチップ構成は、端子数を増やす目的で、セレクト回路22によって第1の外部信号(DCLK)とチップセレクト信号(XCS6)を切替えて使用している。同様に、セレクト回路23及び分周器25によって第2の外部信号(ESLK)とチップセレクト信号(XCS5)を切替えて使用している。この切替えは、プログラム管理エリアでどちらを使用するかを設定しておく。したがって、ユーザプログラムが立ち上がったときは、プログラム管理エリアに設定された値に基づき、第1の外部信号(DCLK)とチップセレクト信号(XCS6)の何れか一方、第2の外部信号(ESLK)とチップセレクト信号(XCS5)の何れか一方の機能しか使用できないようになっている。
In the chip configuration shown in this block diagram, the first external signal (DCLK) and the chip select signal (XCS6) are switched and used by the
本実施の形態のメインチップによれば、従来ユーザがメインチップの外部で内部システムクロックを分周器などにより分周していたことを、メインチップ内に実装されたプリスケーラ21やタイマー回路5により実行しており、各遊技機開発メーカーは分周回路などを実装する必要がない。しかも、プログラム管理エリアに設定された複数の分周比を識別する値を指定するようにした場合、あらかじめ設定されたユーザプログラム管理エリア内の分周比からどれを選択するかを指示するデータは2ビットがあれば十分であり、或るレジスタに初期値を設定するストア命令なども不要になるため、ユーザプログラムの負担を小さくすることにも貢献できる。
According to the main chip of the present embodiment, the fact that the user has conventionally divided the internal system clock by a frequency divider or the like outside the main chip is indicated by the
また、タイマー回路からの比較的周波数が低いクロックの供給も行いながら、さらに比較的周波数が高いクロックでモータドライバ等を制御したいというユーザに対してDCLK出力を供給することが可能になり、拡張性のあるメインチップを実現することができるようになった。 In addition, it is possible to supply a DCLK output to a user who wants to control a motor driver or the like with a clock having a relatively high frequency while supplying a clock having a relatively low frequency from the timer circuit. It became possible to realize the main chip with.
1 メインチップ
2 CPU
3 内蔵ROM
4 内蔵RAM
5 タイマー回路
6 リセット制御回路
10 外部バス制御回路
11クロック回路
20 分周器
21 プリスケーラ
22 セレクト回路
23 セレクト回路
1
3 Internal ROM
4 Built-in RAM
5 Timer circuit 6 Reset control circuit 10 External bus control circuit 11
Claims (3)
CPUと、
クロック生成回路と、
前記クロック生成回路により生成された内部システムクロックを分周するプリスケーラであって、前記内部システムクロックを複数の分周クロックの中から選択した分周比で分周し、外部クロックとして出力する当該プリスケーラと、
タイムアウト信号を所定の分周比により分周し、外部クロックとして出力するタイマー回路とを含み、
当該遊技機用コンピュータチップの外部クロックとして、周波数の高いクロックに関して前記プリスケーラからの第1の出力信号及び周波数の低いクロックに関して前記タイマー回路からの第2の出力信号を含む複数の外部クロックを供給する遊技機用コンピュータチップ。 A computer chip for a gaming machine used for a gaming machine, at least,
CPU,
A clock generation circuit;
A prescaler that divides the internal system clock generated by the clock generation circuit, and divides the internal system clock by a division ratio selected from a plurality of divided clocks and outputs the divided external system clock as an external clock; With prescaler,
A timer circuit that divides the time-out signal by a predetermined division ratio and outputs it as an external clock ;
A plurality of external clocks including a first output signal from the prescaler with respect to a clock having a high frequency and a second output signal from the timer circuit with respect to a clock having a low frequency are supplied as external clocks of the computer chip for the gaming machine. Computer chips for gaming machines.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013210229A JP6283858B2 (en) | 2013-10-07 | 2013-10-07 | Chip that can output multiple divided clocks |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013210229A JP6283858B2 (en) | 2013-10-07 | 2013-10-07 | Chip that can output multiple divided clocks |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015075824A JP2015075824A (en) | 2015-04-20 |
JP6283858B2 true JP6283858B2 (en) | 2018-02-28 |
Family
ID=53000662
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013210229A Expired - Fee Related JP6283858B2 (en) | 2013-10-07 | 2013-10-07 | Chip that can output multiple divided clocks |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6283858B2 (en) |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3322893B2 (en) * | 1991-09-30 | 2002-09-09 | エヌイーシーマイクロシステム株式会社 | Microcomputer |
JPH0844594A (en) * | 1994-08-03 | 1996-02-16 | Nec Corp | Data processor |
JPH08234865A (en) * | 1995-02-24 | 1996-09-13 | Canon Inc | Equipment provided with microcomputer |
JPH11312026A (en) * | 1998-04-28 | 1999-11-09 | Nec Corp | Clock signal switching method and system therefor |
JP2001022692A (en) * | 1999-07-06 | 2001-01-26 | Hitachi Ltd | Microcomputer and control system |
JP5764314B2 (en) * | 2010-12-02 | 2015-08-19 | 株式会社エルイーテック | Reel control circuit of a spinning cylinder type gaming machine and gaming machine control chip having the same |
-
2013
- 2013-10-07 JP JP2013210229A patent/JP6283858B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2015075824A (en) | 2015-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6839654B2 (en) | Debug interface for an event timer apparatus | |
US7954101B2 (en) | Skipping non-time-critical task according to control table when operating frequency falls | |
JP2762670B2 (en) | Data processing device | |
US10037063B2 (en) | Semiconductor integrated circuit including a system controlling circuit | |
US6963992B1 (en) | Method and apparatus to generate clock and control signals for over-clocking recovery in a PLL | |
KR20120055784A (en) | Apparatus for controlling power of multi core processor and method thereof | |
US8086885B2 (en) | Runtime control of system performance | |
EP2736040A2 (en) | Display method of OSD system | |
JP6283858B2 (en) | Chip that can output multiple divided clocks | |
KR20180078558A (en) | Method of operating system on chip, system on chip performing the same and electronic system including the same | |
JP2007188213A (en) | Semiconductor integrated circuit device | |
US7484035B2 (en) | Microcomputer with built-in flash memory | |
CN107894813B (en) | Rotatable complete machine, driving method and device of fan and storage medium | |
TWI459189B (en) | Motherboard and power management method thereof | |
US20180059648A1 (en) | Techniques for network charting and configuration in a welding or cutting system | |
JP3012556B2 (en) | Processor power control method | |
CN100483356C (en) | Computer mainboard noise and efficiency balance control system and method | |
US7206957B2 (en) | Clock distribution circuit | |
JP2004032632A (en) | Semiconductor integrated circuit | |
JP6537450B2 (en) | Microcontroller with Digital Clock Source | |
US20160334831A1 (en) | Semiconductor device | |
CN114329973A (en) | Method for reducing electromagnetic conducted interference of brushless motor control system | |
JP2005242439A (en) | Microcomputer and emulation device | |
JP2004094325A (en) | Semiconductor integrated circuit device | |
CN114217684A (en) | Hard disk heat dissipation method, BMC and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20161007 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170705 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170710 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170908 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20171004 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171204 |
|
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: 20180104 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180110 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6283858 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |