JPH0363808A - Time data reader - Google Patents

Time data reader

Info

Publication number
JPH0363808A
JPH0363808A JP1199488A JP19948889A JPH0363808A JP H0363808 A JPH0363808 A JP H0363808A JP 1199488 A JP1199488 A JP 1199488A JP 19948889 A JP19948889 A JP 19948889A JP H0363808 A JPH0363808 A JP H0363808A
Authority
JP
Japan
Prior art keywords
time data
data
clock
time
clock lsi
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1199488A
Other languages
Japanese (ja)
Inventor
Hisaaki Ono
小野 久明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi High Tech Corp
Original Assignee
Hitachi Electronics Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Electronics Engineering Co Ltd filed Critical Hitachi Electronics Engineering Co Ltd
Priority to JP1199488A priority Critical patent/JPH0363808A/en
Publication of JPH0363808A publication Critical patent/JPH0363808A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)

Abstract

PURPOSE:To output intermittent time data after converting to continuous time data by providing a storage means which fetches time data from a clock LSI and stores it corresponding to a synchronizing signal outputted synchronized with a timing with which effective time data is outputted from the clock LSI. CONSTITUTION:The microcomputer 2 of a working device performs the setting of an initial value PSV on the clock LSI 3 via a register 5 at a time when a time data reader 1 in initialized. When the initial value PSV is set, the clock LSI 3 outputs the time data after the initial value PSV. A read register 10 stores the intermittent time data TD outputted from the clock LSI 3 as the continuous time data, and the microcomputer 2 of the working device 20 reads the time data in parallel and outputs it to external equipment. In such a way, it is possible to output the intermittent time data TD outputted from the clock LSI 3 as the continuous time data without having a break.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は1時刻データ読取り装置、特に1時計LSI
によって間欠的に出力される時刻データを切れ目のない
持続的な時刻データに変換して出力するようにしたもの
に関する。
[Detailed Description of the Invention] [Field of Industrial Application] This invention relates to a one-time data reading device, particularly a one-clock LSI.
This invention relates to a device that converts time data that is intermittently outputted by the system into continuous time data that is continuous and outputs the converted time data.

[従来の技術] 時計LSIとは年、月、日1時、分、秒、等の時刻要素
ごとのデータからなる時刻データを所定のクロックタイ
ミングに従って出力するものであり、一般的に、この時
計LSIから出力される時刻データは、マイクロコンピ
ュータを用いた利用装置によって読取られて1時刻表示
等その他適宜に利用されるようになっている6時計LS
Iによって時刻データが出力されるタイミングは第2図
(a)のようであり、時刻データTDが出力される各有
効データ出力期間PAの前には1時刻データTDを更新
(アップデート)するための更新期間PBが存在し、該
更新期間PB中には時刻データTDは出力されないよう
になっている。従って、時計LSIからは、時刻データ
が間欠的に繰り返し出力されることとなる。
[Prior Art] A clock LSI outputs time data consisting of data for each time element such as year, month, day 1:00, minute, second, etc. according to a predetermined clock timing. The time data output from the LSI is read by a device using a microcomputer and used for displaying the time and other appropriate purposes.
The timing at which time data is output by I is as shown in FIG. There is an update period PB, and time data TD is not output during this update period PB. Therefore, the clock LSI repeatedly outputs time data intermittently.

[発明が解決しようとする課題] このように時計LSIからは時刻データTDが間欠的に
出力されるため1時計LSIの時刻データTDを切れ目
のない持続的なデータとして出力することができなかっ
た。すなわち5時計LSIの利用装置側においては、時
計LSIによって有効時刻データが出力されるタイミン
グに合わせて時刻データTDのサンプリングが行なわれ
るよう。
[Problems to be Solved by the Invention] As described above, since the time data TD is outputted intermittently from the clock LSI, it has been impossible to output the time data TD of a single clock LSI as uninterrupted continuous data. . That is, on the side of the device using the 5-clock LSI, sampling of the time data TD is performed in synchronization with the timing at which the valid time data is output by the clock LSI.

プログラム上考慮する必要があった。It was necessary to consider this in the program.

故に1本発明は、時計LSIから間欠的に出力される時
刻データを切れ目のない持続的な時刻データとして出力
することができる時刻データ読取り装置を提供すること
を目的とする。
Therefore, one object of the present invention is to provide a time data reading device that can output time data that is intermittently output from a clock LSI as continuous time data.

[11題を解決するための手段] 上記目的を達成するため1本発明に係る時刻データ読取
り装置は1時計LSIから有効な時刻データが出力され
るタイミングに同期して出力される同期信号に応じて1
時計LSIから時刻データを取り込んで記憶する記憶手
段を備えることにより、間欠的な時刻データを持続的な
時刻データに変換して出力するものである。
[Means for Solving the 11 Problems] In order to achieve the above object, the time data reading device according to the present invention (1) responds to a synchronization signal outputted in synchronization with the timing at which valid time data is outputted from the clock LSI. te1
By providing a storage means for capturing and storing time data from a clock LSI, intermittent time data is converted into continuous time data and output.

[作用] 時計LSIによって有効な時刻データが出力されるタイ
ミングに同期した同期信号が発せられると、記憶手段で
は、該同期信号に応じて、前記時計LSIから時刻デー
タを取り込んで記憶する。
[Operation] When a synchronization signal synchronized with the timing at which valid time data is output by the clock LSI, the storage means takes in and stores the time data from the clock LSI in accordance with the synchronization signal.

このようにして、該記憶手段により、時計LSIによっ
て出力される間欠的な時刻データが持続的な時刻データ
に変換される。かくして、記憶手段によって持続的な時
刻データに変換されたデータが、マイクロコンピュータ
等によって読取られて外部に出力されることとなる1以
上のようにして、本発明に係る時刻データ読取り装置に
おいては。
In this way, the storage means converts the intermittent time data output by the clock LSI into continuous time data. In the time data reading device according to the present invention, the data converted into continuous time data by the storage means is read by a microcomputer or the like and outputted to the outside in one or more ways.

時計LSIによって出力される間欠的な時刻データを切
れ目のない持続的な時刻データとして出力することがで
きるものである。
Intermittent time data output by a clock LSI can be output as continuous time data.

また、前記記憶手段では、時計LSIから発せられる同
期信号に応じて時刻データを取り込むようになっている
ため1時計LSIによって有効時刻データが出力される
タイミングに合わせて時刻データのサンプリングが行な
われるよう、プログラム上考慮する必要もない。
Furthermore, since the storage means captures time data in response to a synchronization signal issued from the clock LSI, sampling of the time data is performed in synchronization with the timing at which valid time data is output by the clock LSI. , there is no need to consider it in the program.

[実施例] 以下、添付図面に示す実施例に基づいて本発明を詳述す
る。
[Examples] Hereinafter, the present invention will be described in detail based on examples shown in the accompanying drawings.

第1図において、利用装置20のマイクロコンピュータ
2は1本発明に係る時刻データ読取り装置11のイニシ
ャライズ時において、レジスタ5を介し1時計LSI3
に対して初期値PSvの設定を行なう。
In FIG. 1, a microcomputer 2 of a utilization device 20 is connected to a clock LSI 3 via a register 5 at the time of initializing a time data reading device 11 according to the present invention.
An initial value PSv is set for .

このようにして初期値PSvの設定がなされると、時計
LSI5は、第2図(a)で示すようなタイミングで、
該初期値PSv以後の時刻データを出力することとなる
。すなわち、各有効データ出力期間FAの前には有効な
時刻データTDが出力されないデータ更新期間PBが存
在する。また。
When the initial value PSv is set in this way, the clock LSI 5 will set the initial value PSv at the timing shown in FIG. 2(a).
Time data after the initial value PSv will be output. That is, before each valid data output period FA, there is a data update period PB in which no valid time data TD is output. Also.

時計LSI3は、各データ更新期間FBの終了時に更新
終了パルスUCPを出力するものである(第2図(b)
参照)。
The clock LSI 3 outputs an update end pulse UCP at the end of each data update period FB (FIG. 2(b)).
reference).

ROM6には、時計LSI3から例えば1年。In ROM6, for example, one year has passed since clock LSI3.

月1日1時1分1秒」の各時刻要素ごとのデータを読出
すための時刻要求アドレス指定Aがそれぞれの時刻要素
ごとに格納されている。
A time request address designation A for reading data for each time element of "1 hour, 1 minute, 1 second of the first day of the month" is stored for each time element.

読取り制御部7は1時計LSI3から発せられた更新終
了パルスUCPが入力した時、ROMBに対して、先ず
、1年」時刻要素についての時刻要求アドレスTDA−
Yが格納されている所定のアドレスを指定する。ROM
6は、読取り制御部7によるアドレス指定に従って前記
「年」についての時刻要求アドレスTDA−Yを時計L
SI3に出力する。該時計LSI3では、前記時刻要求
アドレスTDA−Yに従って「年」時刻要素についての
年データYDをデータバス15を介して時計レジスタ8
に送出する。このようにして、該時計レジスタ8は、読
取り制御部7から入力する時刻要素データセットパルス
5P−Aによって年データYDをラッチする0次に、読
取り制御部7は。
When the update end pulse UCP issued from the 1-clock LSI 3 is input, the read control unit 7 first sends the time request address TDA- for the 1 year time element to the ROMB.
Specify the predetermined address where Y is stored. ROM
6 transmits the time request address TDA-Y for the “year” to the clock L according to the address specification by the read control unit 7.
Output to SI3. In the clock LSI 3, the year data YD regarding the "year" time element is sent to the clock register 8 via the data bus 15 according to the time request address TDA-Y.
Send to. In this way, the clock register 8 latches the year data YD by the time element data set pulse 5P-A input from the read control section 7.The read control section 7 then latches the year data YD.

ROM6に対して1月」時刻要素についての時刻要求ア
ドレスTDA−Mが格納されているアドレスを指定する
。このようにして、ROM6は「月」についての時刻要
求アドレスTDA−Mを時計LSI3に出力し、時計L
SI3では前記時刻アドレスTDA−Mに従って月デー
タMDを時計レジスタ8に送出する。このようにして、
時計レジスタ8では、前記データセットパルス5P−A
によって月データMDをラッチする。以下、読取り制御
部7が1日」、「時」、「分」、1秒」時刻要素それぞ
れについての時刻要求アドレスTDA−D、TDA−H
,TDA−MI、TDA−8が格納されているアドレス
を順次指定することにより前述のような手順で1日デー
タDD、時データHD、分データMIDおよび秒データ
SDが順次時計レジスタ8にラッチされる。その結果、
時計レジスタ8には、前記更新終了パルスUCP直後の
1時点におけるすべての時刻要素のデータ、すなわち、
時計データTDがラッチされる。リードレジスタ10は
、時計レジスタ8にラッチされた前記1時点における時
刻データTDを読取り制御部7から入力する時刻データ
セットパルス5P−Bによってラッチする。このように
して、リードレジスタ10には、時計LSI3によって
出力される間欠的な時刻データTDが持続的な時刻デー
タとして記憶されることとなる。利用装置120のマイ
クロコンピュータ2は、リードレジスタ10にラッチさ
れた時刻データTDを並列的に読取って、外部機器に出
力する。
The address in which the time request address TDA-M for the "January" time element is stored is specified in the ROM 6. In this way, the ROM 6 outputs the time request address TDA-M for "month" to the clock LSI 3, and
At SI3, monthly data MD is sent to the clock register 8 according to the time address TDA-M. In this way,
In the clock register 8, the data set pulse 5P-A
The monthly data MD is latched by . Hereinafter, the read control unit 7 uses the time request addresses TDA-D and TDA-H for the time elements "1 day", "hour", "minute", and 1 second, respectively.
, TDA-MI, and TDA-8, the daily data DD, hour data HD, minute data MID, and second data SD are sequentially latched into the clock register 8 using the procedure described above. Ru. the result,
The clock register 8 contains data of all time elements at one point in time immediately after the update end pulse UCP, that is,
Clock data TD is latched. The read register 10 latches the time data TD at one point in time latched by the clock register 8 in response to a time data set pulse 5P-B input from the read control section 7. In this way, the intermittent time data TD output by the clock LSI 3 is stored in the read register 10 as continuous time data. The microcomputer 2 of the utilization device 120 reads the time data TD latched in the read register 10 in parallel and outputs it to an external device.

以下、第2図を参照して本発明に係る時刻読取り装[1
の動作の一例を説明する。
Hereinafter, with reference to FIG. 2, the time reading device [1] according to the present invention will be described.
An example of the operation will be explained.

第2図(b)のように時計LSI3から更新終了パルス
UCPが入力すると、読取り制御部7がROM6に対し
て所定のアドレスを指定することにより、ROM6から
時計LSI3に対して先ず1年」についての時刻要求ア
ドレスTDA−Yが出力される(第2図(c))、この
ようにして。
When the update end pulse UCP is input from the clock LSI 3 as shown in FIG. In this way, the time request address TDA-Y of is output (FIG. 2(c)).

時計LSI3から年データYDが読出され、該年データ
YDが時計レジスタ8にラッチされる(第2図(d)’
)、以下、ROM6から1月」、1日」「時」、1分」
、1秒」についてのそれぞれの時刻アドレスTDA−M
、TDA−D、TDA−H,TDA−MI、TDA−8
が順次出力されることにより、時計LSI3から月デー
タMD、日データDD、時データHD、分データMID
および秒データSDが読出され、時計レジスタ8に順次
ラッチされる。なお、前記ROM6によるすべての時刻
アドレスの出力は、時計LSI3による前記更新終了パ
ルスucpの出力後所定時間以内。
The year data YD is read from the clock LSI 3, and the year data YD is latched into the clock register 8 (FIG. 2(d)'
), hereafter, from ROM6 "January", "1st", "hour", "1 minute"
, 1 second", each time address TDA-M
, TDA-D, TDA-H, TDA-MI, TDA-8
are sequentially output, month data MD, day data DD, hour data HD, and minute data MID are output from the clock LSI3.
and seconds data SD are read and sequentially latched into the clock register 8. Note that the ROM 6 outputs all the time addresses within a predetermined time after the clock LSI 3 outputs the update end pulse ucp.

すなわち、該更新終了パルスUCP直後の有効データ出
力期間PA内になされるものである。
That is, it is performed within the valid data output period PA immediately after the update end pulse UCP.

このようにして、時計レジスタ8に前記更新終了パルス
UCP直後の時計データTDがラッチされた時、該デー
タTDは、リードレジスタ10にラッチされる(第2図
(a))、そこで、リードレジスタ10にラッチされた
時刻データTDが。
In this way, when the clock data TD immediately after the update end pulse UCP is latched in the clock register 8, the data TD is latched in the read register 10 (FIG. 2(a)). The time data TD latched to 10.

利用装置20のマイクロコンピュータ2によって並列的
に読取られることとなる。
It will be read in parallel by the microcomputer 2 of the utilization device 20.

以下、この装置llにおいては1時計LSI3から更新
終了パルスUCPが入力するごとに、前述の動作を繰り
返す。
Hereinafter, in this device 11, the above-described operation is repeated every time the update end pulse UCP is input from the 1-clock LSI 3.

なお、前記利用装置!20のマイクロコンピュータ2は
、常時リードレジスタ10にラッチされた持続的な時刻
データTDを読取ることとなるため。
In addition, the above-mentioned device used! This is because the 20 microcomputers 2 always read the continuous time data TD latched in the read register 10.

時計LSI3によってデータ更新期間PBを介在させな
がら出力される間欠的な時刻データTDを切れ目のない
持続的な時刻データとして出力する。
The intermittent time data TD outputted by the clock LSI 3 with a data update period PB in between is output as continuous time data without any breaks.

[発明の効果] 以上のようにして、本発明に係る時刻データ読取り装置
は、時計LSIから取り込んだ時刻データを持続的なデ
ータに変換しているため1時計LSIによって出力され
る間欠的な時刻データを切れ目のない持続的な時刻デー
タとして出力できるという効果を奏する。また、時計L
SIから発せられる同期信号に応じて時刻データを取り
込むようにしているため1時計LSIによって有効時刻
データが出力されるタイミングに合わせて時刻データの
サンプリングが行なわれる様、プログラム上考慮する必
要もない。
[Effects of the Invention] As described above, the time data reading device according to the present invention converts the time data taken in from the clock LSI into continuous data, so that the time data reading device according to the present invention converts the time data taken in from the clock LSI into continuous data. This has the effect that data can be output as continuous time data without any breaks. Also, watch L
Since the time data is taken in according to the synchronization signal issued from the SI, there is no need to consider in the program that the time data is sampled in synchronization with the timing at which valid time data is output by the one-clock LSI.

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

第1図は本発明に係る時刻データ読取り装置の一実施例
を示す図、第2図は前記装置の動作の一例を説明するタ
イムチャートである。 6・・・ROM、7・・・読取り制御部、8・・・時計
レジスタ、9・・・リードレジスタ。
FIG. 1 is a diagram showing an embodiment of a time data reading device according to the present invention, and FIG. 2 is a time chart illustrating an example of the operation of the device. 6... ROM, 7... Read control unit, 8... Clock register, 9... Read register.

Claims (1)

【特許請求の範囲】 時計LSIから与えられる時刻データを読取るための時
刻データ読取り装置であって、 前記時計LSIは、時刻データを間欠的に繰り返し出力
するとともに、有効な時刻データが出力されるタイミン
グに同期して同期信号を出力するものであり、 この時刻データ読取り装置において、 前記同期信号に応じて時計LSIから時刻データを取り
込んで記憶する記憶手段を備え、間欠的な時刻データを
持続的な時刻データに変換したデータが前記記憶手段か
ら出力されることを特徴とする時刻データ読取り装置。
[Scope of Claims] A time data reading device for reading time data provided from a clock LSI, wherein the clock LSI intermittently repeatedly outputs time data and determines the timing at which valid time data is output. This time data reading device outputs a synchronization signal in synchronization with the synchronization signal, and is equipped with a storage means for capturing and storing time data from a clock LSI in response to the synchronization signal, and converts intermittent time data into a continuous one. A time data reading device characterized in that data converted to time data is output from the storage means.
JP1199488A 1989-08-02 1989-08-02 Time data reader Pending JPH0363808A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1199488A JPH0363808A (en) 1989-08-02 1989-08-02 Time data reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1199488A JPH0363808A (en) 1989-08-02 1989-08-02 Time data reader

Publications (1)

Publication Number Publication Date
JPH0363808A true JPH0363808A (en) 1991-03-19

Family

ID=16408645

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1199488A Pending JPH0363808A (en) 1989-08-02 1989-08-02 Time data reader

Country Status (1)

Country Link
JP (1) JPH0363808A (en)

Similar Documents

Publication Publication Date Title
JPH0363808A (en) Time data reader
JPS599117B2 (en) Storage device
JPH0219869Y2 (en)
JP2556918Y2 (en) Waveform control circuit of IC test equipment
JPH0714932Y2 (en) IC test equipment
JPH04101148U (en) serial data transmitter
SU1515163A1 (en) Signature analyzer
JPH02292630A (en) Memory control circuit
SU1478193A1 (en) Reprogrammable microprogrammer
JPS61136320A (en) Timing pulse generating circuit of synchronizing type counter
JPS59131214A (en) Signal delay circuit
JPS612085A (en) Analog lsi tester
JPH0216829A (en) Data reception control system
JPS63214456A (en) Kanji-character generator
JPH04134553A (en) Bus system
JPH06161808A (en) Emulation circuit
JPH10190766A (en) Format conversion method for serial/digital data
JPH04293380A (en) Picture memory control circuit
JPS59178703U (en) digital output circuit
JPS62199868U (en)
JPH08340217A (en) Waveform generator
JPS60158234U (en) Counter reset circuit
JPS6350759B2 (en)
JPS60174947U (en) input/output control device
JPH0431847U (en)