JP3449907B2 - Data input / output device - Google Patents

Data input / output device

Info

Publication number
JP3449907B2
JP3449907B2 JP03407798A JP3407798A JP3449907B2 JP 3449907 B2 JP3449907 B2 JP 3449907B2 JP 03407798 A JP03407798 A JP 03407798A JP 3407798 A JP3407798 A JP 3407798A JP 3449907 B2 JP3449907 B2 JP 3449907B2
Authority
JP
Japan
Prior art keywords
data
real
shift register
time clock
speed
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 - Lifetime
Application number
JP03407798A
Other languages
Japanese (ja)
Other versions
JPH11219337A (en
Inventor
俊行 前川
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.)
Schneider Electric Japan Holdings Ltd
Original Assignee
Digital Electronics 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 Digital Electronics Corp filed Critical Digital Electronics Corp
Priority to JP03407798A priority Critical patent/JP3449907B2/en
Publication of JPH11219337A publication Critical patent/JPH11219337A/en
Application granted granted Critical
Publication of JP3449907B2 publication Critical patent/JP3449907B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】この発明は、リアルタイムク
ロック(以下、「RTC」と略す)の様なデータの入出
力速度が比較的低速の機能手段に対して、CPUの様な
高速の機能手段からアクセスすることを可能とするデー
タの入出力装置に関する。 【0002】 【従来の技術】通常、コンピュータを始めとする各種の
デジタル回路で実時間を処理する場合、例えばRTCと
呼ばれるそれ専用の機能チップをバッテリーでバックア
ップしながら使用することにより、日時の様な時間デー
タをリアルタイムで保持できる様に構成することが一般
的に行われている。 【0003】ところでこのチップに対するデータの入出
力は、4ないしは8ビットのデータを一度に読み書きで
きる様に構成したものが従来は多かったが、近年、機能
チップそれ自体およびそのチップとのインターフェイス
側の素子におけるピン数を減少させることにより、チッ
プのパッケージサイズ、ひいてはそのチップを組み込む
電子機器全体のサイズを縮小する目的で、データの入出
力を1ビットずつシリアル状に取り出す形式のものも増
加している。 【0004】 【発明が解決しようとする課題】しかしながら、上記し
た様なシリアル式のインターフェイスを備えたチップに
あっては更に、データバックアップ時における電池の消
費電力を抑制するためにデータの転送速度が最高でも1
00kHz程度の低速に抑制されている結果、データの
読み書きを頻繁に繰り返すアプリケーションを使用した
場合には特に、このチップに対するデータ転送の遅さ
が、システム全体としてのデータ処理速度に影響する。 【0005】たとえば、年を8ビットで、月を5ビット
で、時を6ビットで、分および秒をそれぞれ7ビットで表
現する場合が多いが、合計ビット数である32ビットの
データを100kHz以下のクロック周波数で転送する
場合、1ビット分の転送に10μ秒かかるので、32ビ
ット分では最低でも320μ秒となる。最近のCPUに
あっては、バス幅のデータを読み書きするのに1μ秒以
下の時間しか要しないので、もし頻繁に上記したI/O
アクセスを繰り返す必要が生じた場合には、このアクセ
スがシステム全体としてのデータ処理速度を遅らせる原
因となる。 【0006】本発明はかかる問題を一挙に解消するもの
であって、低速側の機能手段に対して高速側の機能手段
からの制御で直接的にデータを読み書きするのではな
く、低速側の機能手段との間でデータを自動的に読み書
きさせる機能を備えることにより、CPUの様な高速の
機能手段からも待ち時間を要することなく高速にアクセ
スできるデータの入出力装置を提供することを目的とす
る。 【0007】 【課題を解決するための手段】本発明にかかるデータ入
出力装置10は、図1にその全体的な構成を概略的に示
すごとく、シリアル式のインターフェイスを持つRTC
の様なデータの入出力動作が低速の機能手段12と、パ
ラレル式のインターフェイスを有するCPUの様な高速
の機能手段16の間にあって、互いにデータの受け渡し
を可能とするものである。 【0008】更に、上記した低速の機能手段12との間
でデータの受け渡しを可能とする低速側インターフェイ
スと、上記した高速の機能手段16との間でデータの受
け渡しを可能とする高速側インターフェイスとを備えた
データ記憶手段32と、そのデータ記憶手段32に対し
て上記した低速の機能手段12から周期的にデータを読
み出す制御手段34を備えており、上記した高速の機能
手段16は、上記したデータ記憶手段32の高速側イン
ターフェイスを介して低速の機能手段12に対し任意時
期にアクセス可能としたことを特徴とする。 【0009】上記したデータ記憶手段32は、図2に例
示する如く、低速の機能手段12との間でデータをシリ
アル状に直接的に受け渡すシフトレジスタ36と、その
シフトレジスタ36との間でデータをパラレル状に受け
渡す書き込み用と読み出し用のバッファメモリ38・4
0とから構成される。 【0010】一方、上記した制御手段34はデータの読
み出し時期に対応して低速の機能手段12におけるデー
タ転送速度で連続的にデータをシフトレジスタ36内に
送り込み、一連のデータがシフトレジスタ36に格納さ
れた段階でそのデータを読み出し用のバッファメモリ4
0に書き出す。 【0011】また高速の機能手段16から書き込み用の
バッファメモリ38に対するデータの書き込み時期に対
応して、低速の機能手段12からシフトレジスタ36に
対するデータの読み出しを一時停止するとともに、書き
込み用バッファメモリ38からシフトレジスタ36にデ
ータを移したのち、低速の機能手段12におけるデータ
転送速度でシフトレジスタ36内のデータをシリアル状
にデータ転送し、一連のデータを転送し終えるとデータ
の読み出しモードに戻る。 【0012】 【発明の効果】本発明は上記のごとく、RTC14の様
な低速の機能手段12と、CPU18の様な高速の機能
手段16との間にあって、低速の機能手段12に対する
データの読み書きを自動的に行うバッファ手段を備え、
そのバッファ手段を介して高速の機能手段16から間接
的に低速の機能手段12にアクセスする様に構成するこ
とにより、高速の機能手段16から低速の機能手段12
に対してデータの入出力の遅れを生ずることなく高速に
アクセスでき、システム全体として高いデータ処理速度
を維持可能とする。 【0013】 【発明の実施の形態】本発明にかかるデータ入出力装置
10は、図1および図2にその構成を示すごとく、低速
の機能手段12として備えたRTC14と、高速の機能
手段16として備えたCPU18との間にあって、CP
U18とRTC14間でデータの受け渡しを行うもので
ある。 【0014】RTC14は、年月日の様な日付データや
時分秒の様な時間データ、あるいは必要に応じて10分
の1秒や100分の1秒の様な時間データをリアルタイ
ムに形成可能する従来と略同様な回路構成の1チップ化
された機能手段であって、それが組み込まれた電子機器
がその動作を停止中にあっても電池20でその動作をバ
ックアップすることにより、チップ内部のデータ保持部
22上に最新の実時間データを常に維持できる様にして
いる。 【0015】上記したデータ保持部22はデータの入力
端24と出力端26を備えたシフトレジスタであって、
例えば100kHz程度のパルス信号からなる転送クロ
ック信号48と同期して、1ビットずつシリアル状にデ
ータが入出力される様に構成している。 【0016】すなわち、チップに対する読み出し信号4
4の印加時には、チップ内のデータ保持部22に保持さ
れているデータが出力端26を介して1ビットずつシリ
アル状に取り出される。逆に書き込み信号46の印加時
には、外部からデータが入力端24を介してデータ保持
部22に一連のデータが1ビットずつシリアル状に読み
込まれ、データ保持部22上のデータを書き換えたの
ち、その書き換えたデータを基準としてデータの変更動
作がチップ内部で自動的に行われる。 【0017】一方、高速の機能手段16として備えたC
PU18は、従来と略同様に、データバス28やアドレ
スバスの様な各種のバス30を備え、CPU18からの
アドレス指定で特定される番地のデータ記憶手段32に
対し、データバス28を介したデータのパラレル状の受
け渡し可能とする。 【0018】本発明にかかるデータ入出力装置10は、
データ記憶手段32と制御手段34を備え、制御手段3
4の働きでRTC14とデータ記憶手段32との間にお
けるデータの受け渡しを行う一方、CPU18からのア
クセス動作と連動して、データ記憶手段32とCPU1
8間でデータの受け渡しを可能とする。 【0019】ここでデータ記憶手段32には、RTC1
4との間でシリアル状にデータの受け渡しを行うシフト
レジスタ36と、CPU18との間でパラレル状にデー
タの受け渡しを行う書込用および読出用のバッファメモ
リ38・40とを備える。 【0020】シフトレジスタ36とRTC14内のデー
タ保持部22とは同一のビット数であって、RTC14
の入出力端24・26をシフトレジスタ36と互いにル
ープ状に接続するとともに、制御手段34に備えた発振
器42で上記した転送クロック信号48を形成してシフ
トレジスタ36とRTC14チップに対して並列的に印
加することにより、両者は転送クロック信号48と同期
して作動し、互いに必要なデータをシリアル状に受け渡
し可能とする。 【0021】またシフトレジスタ36と書き込み用およ
び読み出し用のバッファメモリ38・40も同一のビッ
ト数とするとともに、各ビットを互いにパラレル状に接
続する。更に制御手段34の働きで、シフトレジスタ3
6内にRTC14から1組分のデータが読み出されるの
と連動して、シフトレジスタ36から読出用のバッファ
メモリ40にデータがパラレル状に一括して転送可能と
し、また書込用バッファメモリ38にデータが書き込ま
れるのと連動して、上記した場合とは逆に、書込用バッ
ファメモリ38からシフトレジスタ36側にデータが一
括して転送可能とする。 【0022】次に上記したデータ入出力装置10の動作
を、図3に示す流れ図にしたがって更に詳細に説明す
る。装置をステップS1でスタートさせると、ステップ
S2で所定の初期設定がなされる。この初期設定は、例
えばシフトレジスタ36および書込用と読出用のバッフ
ァメモリ38・40をクリアするとともに、RTCチッ
プに対してデータの読出信号44を出力したのち、ステ
ップS3から始まるメインルーチンに入る。 【0023】本装置にあっては、常時は周期的にシフト
レジスタ36に対してRTC14からデータを読み出す
動作を行うが、CPU18側からデータの書き込み要求
が出ると、データの読み出し動作を一旦停止してシフト
レジスタ36側からRTC14に対する1組分のデータ
書き込み動作を行ったのち、上記したデータの読み出し
動作に戻る。 【0024】そこでステップS3において、書込用のバ
ッファメモリ38にCPU18側からデータ入力がある
か否かを判定し、「NO」であればステップS4から始
まるデータの読み込み動作に入る。 【0025】ステップS4において、RTC14側から
1組分のデータが入力されたか否かが判定され、「N
O」であればステップS5で次の1ビット分のデータを
RTC14側からシフトレジスタ36内に送ったのち、
ステップS3に戻る。一方、ステップS4の判定が「Y
ES」であれば、ステップS6に移ってシフトレジスタ
36内のデータを読出用のバッファメモリ40に読み出
すことにより、一連のデータ読み出し動作が終了する。 【0026】このデータ読み出し動作を、転送クロック
信号48に同期させて繰り返すことにより、読出用バッ
ファメモリ40内には最小限の時間遅れをもって、RT
C14内で発生されるものと同一内容のデータが、RT
C14側から隔離された状態で読出用バッファメモリ4
0内に保持される。そこで、CPU18からは任意のタ
イミングで読出用バッファメモリ40にアクセスするだ
けで、データバス28のバス幅で一度に全データが読み
出されるのである。 【0027】一方、CPU18側からRTC14内にデ
ータを書き込む場合にあっては、データバス28を介し
て書き込み用のバッファメモリ38に任意のタイミング
で必要なデータの書き込みを行う。 【0028】すると、ステップS3の判定が「YES」
となるので、ステップS7においてRTC14に対する
データの書込信号46をONして、RTC14とシフト
レジスタ36間におけるデータの受け渡し方向をデータ
の書き込み側にセットするとともに、ステップS8にお
いて書き込み用バッファメモリ38からシフトレジスタ
36にデータを転送する。 【0029】更に、ステップS10において1ビットず
つシフトレジスタ36側からRTC14に向けてデータ
を送り込みながら、ステップS9でシフトレジスタ36
内の一連のデータがすべてRTC14側に送られたこと
が確認されると、ステップS11で書込信号46を反転
して読出信号44に戻したあとステップS3に戻り、上
記したRTC14側からのデータ読み出し動作を繰り返
すのである。 【0030】なお、上記した機能手段は一例であって、
例えば低速側機能手段12として備えたRTC14に代
え、シリアル式のデータ入出力回路を備えたスキャナの
様に、データ入出力のための規格が高速側の機能手段1
6におけるものよりも十分に低速の場合にも略同様に実
施できる。 【0031】更に、データ記憶手段32および制御手段
34の構成も、低速側と高速側のデータをバッファリン
グしながら受け渡すことができるものであれば、適宜変
更して実施できることは勿論である。また、低速の機能
手段12からデータ記憶手段32へのデータ読み出し頻
度も70%以上でほぼ連続と近い状態で読み出すことも
可能であるし、高速の機能手段16側からデータの読み
出し要求が発生するのと連動してデータの読み出しを行
うこともできる。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a functional means such as a real-time clock (hereinafter abbreviated as "RTC") whose data input / output speed is relatively low. And a data input / output device that can be accessed from high-speed functional means such as a CPU. 2. Description of the Related Art Normally, when real-time processing is performed by various digital circuits such as a computer, for example, by using a dedicated function chip called an RTC while backing up the battery with a battery, it is possible to perform processing such as date and time. It is common practice to configure such that it can hold various time data in real time. [0003] By the way, data input / output to / from this chip has conventionally been configured so that 4- or 8-bit data can be read / written at once, but in recent years, the functional chip itself and an interface on the interface side with the chip have recently been used. In order to reduce the package size of the chip, and thus the overall size of the electronic device incorporating the chip, by reducing the number of pins in the device, the type of data input / output that is serialized one bit at a time has also increased. I have. [0004] However, in the chip having the serial interface as described above, the data transfer speed is further reduced in order to suppress the power consumption of the battery at the time of data backup. At most 1
As a result of being suppressed to a low speed of about 00 kHz, especially when an application that repeatedly reads and writes data is used, the delay in data transfer to this chip affects the data processing speed of the entire system. For example, in many cases, the year is represented by 8 bits, the month is represented by 5 bits, the hour is represented by 6 bits, and the minute and the second are represented by 7 bits, respectively. When the transfer is performed at the clock frequency of 10 bits, it takes 10 μs to transfer one bit, so that at least 320 μs for 32 bits. In recent CPUs, it takes less than 1 μs to read and write data of the bus width.
If it becomes necessary to repeat the access, this access causes a reduction in the data processing speed of the entire system. The present invention solves such a problem at once. Instead of directly reading / writing data from / to a low-speed side functional unit under control of a high-speed side functional unit, the present invention relates to a low-speed side functional unit. The object of the present invention is to provide a data input / output device capable of accessing data from a high-speed functional means such as a CPU at a high speed without requiring a waiting time by providing a function of automatically reading and writing data between the data input and output means. I do. A data input / output device 10 according to the present invention has an RTC having a serial interface as schematically shown in FIG.
The data input / output operation as described above is between the low-speed function means 12 and the high-speed function means 16 such as a CPU having a parallel interface, so that data can be exchanged with each other. Further, a low-speed interface enabling data transfer to and from the low-speed function means 12 and a high-speed interface enabling data transfer to and from the high-speed function means 16 described above. And a control unit 34 for periodically reading data from the low-speed function unit 12 to the data storage unit 32. The high-speed function unit 16 The low-speed function means 12 can be accessed at any time via the high-speed interface of the data storage means 32. As shown in FIG. 2, the data storage means 32 includes a shift register 36 for directly transferring data to and from the low-speed function means 12 in a serial manner. Buffer memory 38.4 for writing and reading for transferring data in parallel
0. On the other hand, the control means 34 continuously sends data into the shift register 36 at the data transfer speed of the low-speed function means 12 corresponding to the data reading time, and a series of data is stored in the shift register 36. When the data is read, the data is read out from the buffer memory 4 for reading.
Write to 0. In accordance with the timing of writing data from the high-speed function means 16 to the write buffer memory 38, the reading of data from the low-speed function means 12 to the shift register 36 is temporarily stopped, and the write buffer memory 38 After the data is transferred to the shift register 36, the data in the shift register 36 is serially transferred at the data transfer speed of the low-speed function means 12, and when the series of data has been transferred, the mode returns to the data read mode. As described above, the present invention is provided between the low-speed function means 12 such as the RTC 14 and the high-speed function means 16 such as the CPU 18 to read and write data from and to the low-speed function means 12. Equipped with buffer means to perform automatically,
By indirectly accessing the low-speed function means 12 from the high-speed function means 16 via the buffer means, the high-speed function means 16 can be accessed from the low-speed function means 12.
Can be accessed at high speed without delay in data input / output, and a high data processing speed can be maintained as a whole system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS As shown in FIGS. 1 and 2, a data input / output device 10 according to the present invention includes an RTC 14 provided as a low-speed function unit 12 and a high-speed function unit 16. Between the equipped CPU 18 and the CP
It transfers data between U18 and RTC14. The RTC 14 can form in real time date data such as year, month and day, time data such as hour, minute and second, or time data such as 1/10 second and 1/100 second as required. A single-chip functional means having a circuit configuration substantially the same as that of the related art. Even when an electronic device in which the electronic device is incorporated stops its operation, the operation is backed up by the battery 20 so that the inside of the chip is The latest real-time data can always be maintained on the data holding unit 22 of the. The data holding unit 22 is a shift register having a data input terminal 24 and a data input terminal 26.
For example, in synchronization with a transfer clock signal 48 composed of a pulse signal of about 100 kHz, data is serially input and output bit by bit. That is, the read signal 4 for the chip
At the time of application of 4, data held in the data holding unit 22 in the chip is taken out serially one bit at a time via the output terminal 26. Conversely, when the write signal 46 is applied, a series of data is read from the outside via the input terminal 24 into the data holding unit 22 in a serial manner bit by bit, and the data on the data holding unit 22 is rewritten. The data change operation is automatically performed inside the chip based on the rewritten data. On the other hand, the C provided as the high-speed function means 16
The PU 18 is provided with various buses 30 such as a data bus 28 and an address bus in the same manner as in the prior art, and sends data via the data bus 28 to the data storage means 32 at the address specified by the address designation from the CPU 18. Can be delivered in parallel. The data input / output device 10 according to the present invention comprises:
A data storage means 32 and a control means 34;
4, the data is exchanged between the RTC 14 and the data storage means 32, while the data storage means 32 and the CPU 1 are linked with the access operation from the CPU 18.
Data can be exchanged between the eight. The data storage means 32 stores the RTC 1
4 and a shift register 36 for transferring data in a serial manner to and from the CPU 18 and write and read buffer memories 38 and 40 for transferring data to and from the CPU 18 in a parallel manner. The shift register 36 and the data holding unit 22 in the RTC 14 have the same number of bits, and
The input / output terminals 24 and 26 are connected to the shift register 36 in a loop, and the above-mentioned transfer clock signal 48 is formed by the oscillator 42 provided in the control means 34 so that the shift register 36 and the RTC 14 chip are , They operate in synchronization with the transfer clock signal 48, and can mutually transmit necessary data in a serial manner. The shift register 36 and the buffer memories 38 and 40 for writing and reading have the same number of bits, and each bit is connected in parallel with each other. Further, by the operation of the control means 34, the shift register 3
In conjunction with the reading of one set of data from the RTC 14 into the memory 6, the data can be transferred collectively in parallel from the shift register 36 to the reading buffer memory 40, and the data can be transferred to the writing buffer memory 38. In conjunction with the writing of data, contrary to the above case, the data can be collectively transferred from the write buffer memory 38 to the shift register 36 side. Next, the operation of the data input / output device 10 will be described in more detail with reference to the flowchart shown in FIG. When the apparatus is started in step S1, predetermined initial settings are made in step S2. This initialization involves, for example, clearing the shift register 36 and the buffer memories 38 and 40 for writing and reading, outputting the data read signal 44 to the RTC chip, and then entering the main routine starting from step S3. . In this apparatus, data is always read from the RTC 14 to the shift register 36 periodically, but when the CPU 18 issues a data write request, the data read operation is temporarily stopped. After performing a data write operation for one set on the RTC 14 from the shift register 36 side, the process returns to the data read operation described above. In step S3, it is determined whether or not there is data input from the CPU 18 to the buffer memory 38 for writing. If " NO ", the data reading operation starts from step S4. In step S4, it is determined whether or not one set of data has been input from the RTC 14 side.
If "O", the next 1-bit data is sent from the RTC 14 into the shift register 36 in step S5.
It returns to step S3. On the other hand, if the determination in step S4 is “Y
If "ES", the process proceeds to step S6 to read the data in the shift register 36 into the read buffer memory 40, thereby completing a series of data read operations. This data read operation is repeated in synchronization with the transfer clock signal 48, so that the read buffer memory 40 has a minimum time delay in the read buffer memory RT.
The data having the same content as that generated in C14 is RT
Read buffer memory 4 isolated from C14 side
It is kept within 0. Therefore, by simply accessing the read buffer memory 40 at an arbitrary timing from the CPU 18, all data is read at once with the bus width of the data bus 28. On the other hand, when writing data from the CPU 18 into the RTC 14, necessary data is written into the write buffer memory 38 via the data bus 28 at an arbitrary timing. Then, the determination in step S3 is "YES".
In step S7, the data write signal 46 to the RTC 14 is turned on, the data transfer direction between the RTC 14 and the shift register 36 is set to the data write side, and the write buffer memory 38 The data is transferred to the shift register 36. Further, in step S10, while data is sent from the shift register 36 side to the RTC 14 one bit at a time, the shift register 36
When it is confirmed that all of the series of data has been sent to the RTC 14 side, the write signal 46 is inverted in step S11 and returned to the read signal 44, and then the process returns to step S3, where the data from the RTC 14 side is returned. The read operation is repeated. The above-mentioned functional means is an example,
For example, instead of the RTC 14 provided as the low-speed side function unit 12, the function unit 1 whose data input / output standard is the high-speed side like a scanner having a serial data input / output circuit is used.
6 can be implemented in substantially the same manner when the speed is sufficiently lower than that in FIG. Further, the configurations of the data storage means 32 and the control means 34 can be changed as appropriate as long as the low-speed data and the high-speed data can be transferred while being buffered. Also, the frequency of reading data from the low-speed function means 12 to the data storage means 32 is 70% or more, so that data can be read in a nearly continuous state, and a data read request is issued from the high-speed function means 16 side. The data can be read out in conjunction with.

【図面の簡単な説明】 【図1】全体的な構成を概略的に示す説明図である。 【図2】本発明にかかるデータ入出力装置の構成を具体
的に示すブロック図である。 【図3】データ入出力装置の動作手順の一例を示す流れ
図である。 【符号の説明】 10 データ入出力装置 12 低速の機能手段 14 RTC 16 高速の機能手段 18 CPU 20 電池 22 データ保持部 24 データ保持部の入力端 26 データ保持部の出力端 28 データバス 30 その他のバス 32 データ記憶手段 34 制御手段 36 シフトレジスタ 38 書込用バッファメモリ 40 読出用バッファメモリ 42 発振器 44 読出信号 46 書込信号 48 転送クロック信号
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is an explanatory diagram schematically showing an overall configuration. FIG. 2 is a block diagram specifically showing a configuration of a data input / output device according to the present invention. FIG. 3 is a flowchart illustrating an example of an operation procedure of the data input / output device. DESCRIPTION OF SYMBOLS 10 Data input / output device 12 Low-speed function means 14 RTC 16 High-speed function means 18 CPU 20 Battery 22 Data holding unit 24 Data holding unit input terminal 26 Data holding unit output terminal 28 Data bus 30 Other Bus 32 data storage means 34 control means 36 shift register 38 write buffer memory 40 read buffer memory 42 oscillator 44 read signal 46 write signal 48 transfer clock signal

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 13/38 320 G06F 5/06 JICSTファイル(JOIS) WPI(DIALOG)Continued on the front page (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 13/38 320 G06F 5/06 JICST file (JOIS) WPI (DIALOG)

Claims (1)

(57)【特許請求の範囲】 【請求項1】 シリアル式のインターフェイスを持つリ
アルタイムクロック(14)と、パラレル式のインター
フェイスを有するCPU(18)の間にあって、互いに
データの受け渡しを行うデータ入出力装置であって、前記リアルタイムクロック(14) との間で直接的に
ータの受け渡しを可能とする低速側インターフェイス
と、前記CPU(18)との間でデータの受け渡しを可
能とする高速側インターフェイスとを備えたデータ記憶
手段(32)と、 該データ記憶手段(32)と前記リアルタイムクロック
(14)との間におけるデータ読み書きを制御する
段(34)を備え、前記データ記憶手段(32)は、 前記リアルタイムクロック(14)との間でデータをシ
リアル状に受け渡すシフトレジスタ(36)と、該シフ
トレジスタ(36)との間でデータをパラレル状に受け
渡す書き込み用と読み出し用のバッファメモリ(38)
・(40)と、から構成され、 前記制御手段(34)は、 前記リアルタイムクロック(14)におけるデータ転送
速度で連続的にデータを前記リアルタイムクロック(1
4)からシフトレジスタ(36)内に送り込み、一連の
データがシフトレジスタ(36)に格納された段階でそ
のデータを前記読み出し用のバッファメモリ(40)に
書き出してデータの更新をする動作を、周期的に繰り返
す一方、 前記CPU(18)から前記書き込み用のバッファメモ
リ(38)に対するデータの書き込み時期に対応して、
前記リアルタイムクロック(14)から前記シフトレジ
スタ(36)に対するデータの読み出し動作を一時停止
するとともに、前記書き込み用バッファメモリ(38)
からシフトレジスタ(36)にデータを移したのち、前
記リアルタイムクロック(14)におけるデータ転送速
度でシフトレジスタ(36)内のデータをシリアル状に
前記リアルタイムクロック(14)に対してデータ転送
し、一連のデータを転送し終えると、前記リアルタイム
クロック(14)から前記シフトレジスタ(36)に対
するデータの読み出し動作を再開する ことを特徴とする
データ入出力装置。
(57) [Claims] (1)A library with a serial interface
Real-time clock (14) and parallel interface
CPU with face (18)Between each other
A data input / output device for transferring data,The real-time clock (14) BetweendirectlyDe
Low-speed interface that enables data transfer
When,The CPU (18)Data can be passed between and
Data storage with high speed interface
Means (32); The data storage means (32)And the real-time clock
Between (14)dataofreadingWritingcontrolDohand
Step (34)WhenWithThe data storage means (32) Data is exchanged with the real-time clock (14).
A shift register (36) for delivering in real form;
Data in parallel with the register (36)
Write and read buffer memory to be passed (38)
・ (40) is composed of The control means (34) Data transfer in the real-time clock (14)
The data is continuously transferred at the speed by the real-time clock (1).
4) into the shift register (36),
When the data is stored in the shift register (36),
In the read buffer memory (40).
The operation of writing and updating data is repeated periodically.
Meanwhile, The buffer memo for writing from the CPU (18).
According to the timing of writing data to the memory (38),
From the real-time clock (14) to the shift register
Suspends the data read operation for the star (36)
And the write buffer memory (38)
After transferring the data from to the shift register (36),
Data transfer speed in real time clock (14)
Serialize the data in the shift register (36)
Data transfer to the real-time clock (14)
When a series of data has been transferred, the real-time
A clock (14) is supplied to the shift register (36).
The read operation of the data to be restarted Characterized by
Data input / output device.
JP03407798A 1998-02-01 1998-02-01 Data input / output device Expired - Lifetime JP3449907B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03407798A JP3449907B2 (en) 1998-02-01 1998-02-01 Data input / output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03407798A JP3449907B2 (en) 1998-02-01 1998-02-01 Data input / output device

Publications (2)

Publication Number Publication Date
JPH11219337A JPH11219337A (en) 1999-08-10
JP3449907B2 true JP3449907B2 (en) 2003-09-22

Family

ID=12404210

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03407798A Expired - Lifetime JP3449907B2 (en) 1998-02-01 1998-02-01 Data input / output device

Country Status (1)

Country Link
JP (1) JP3449907B2 (en)

Also Published As

Publication number Publication date
JPH11219337A (en) 1999-08-10

Similar Documents

Publication Publication Date Title
EP0242879B1 (en) Data processor with wait control allowing high speed access
EP0348240A2 (en) Microprocessor equipped with parity control unit on same chip
JPS6217783B2 (en)
US5546567A (en) System for limiting change in bus clock frequency to duration of I/O operation upon completion signal
JPH0271344A (en) Micro-computer-system
JP3191302B2 (en) Memory circuit
JP3449907B2 (en) Data input / output device
JPH0652070A (en) Device and method for data protection in integrated circuit
JPS585867A (en) Data transmission method and apparatus
JP3281211B2 (en) Information processing apparatus having synchronous memory and synchronous memory
JP2741014B2 (en) Computer electronics
JP2944280B2 (en) Interface circuit
EP0359232A2 (en) Computer system and method for setting recovery time
JP2634893B2 (en) Single chip microcomputer
JPH03177953A (en) Data transfer system
JPS6326753A (en) Memory bus control method
JPH0589041A (en) Data processor
JP3179891B2 (en) Bus control method
JP2794717B2 (en) Digital device modeling device
JP3074897B2 (en) Memory circuit
JPH113274A (en) Memory access control system
JP2968636B2 (en) Microcomputer
JP2000285013A (en) Interface device
JP2000066946A (en) Memory controller
JPH1139278A (en) Processor and memory access method

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080711

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20080711

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090711

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090711

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100711

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110711

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110711

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120711

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120711

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130711

Year of fee payment: 10

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term