KR101346185B1 - A RTC module and a computer system including thereof - Google Patents

A RTC module and a computer system including thereof Download PDF

Info

Publication number
KR101346185B1
KR101346185B1 KR1020120031874A KR20120031874A KR101346185B1 KR 101346185 B1 KR101346185 B1 KR 101346185B1 KR 1020120031874 A KR1020120031874 A KR 1020120031874A KR 20120031874 A KR20120031874 A KR 20120031874A KR 101346185 B1 KR101346185 B1 KR 101346185B1
Authority
KR
South Korea
Prior art keywords
rtc
data
signal
host
clock signal
Prior art date
Application number
KR1020120031874A
Other languages
Korean (ko)
Other versions
KR20130109823A (en
Inventor
최성훈
김민수
은종호
박상동
윤성민
Original Assignee
삼성중공업 주식회사
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 삼성중공업 주식회사 filed Critical 삼성중공업 주식회사
Priority to KR1020120031874A priority Critical patent/KR101346185B1/en
Publication of KR20130109823A publication Critical patent/KR20130109823A/en
Application granted granted Critical
Publication of KR101346185B1 publication Critical patent/KR101346185B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

RTC 모듈이 개시된다. 본 발명의 실시예에 따른 RTC 모듈은 RTC 디바이스의 동작에 필요한 시스템 클럭 신호를 생성하는 RTC 클럭 생성부, 상기 시스템 클럭 신호에 따라 상기 RTC 디바이스가 생성한 RTC 데이터를 호스트로 전송하고, 상기 RTC 데이터에 따라 싱크 신호를 생성하는 RTC 커넥터 및 상기 싱크 신호에 따라 1초보다 작은 단위의 시간에 대한 세부 데이터 신호를 생성하는 RTC 세부 데이터 생성부를 포함한다. 본 발명의 실시예에 따른 RTC 모듈에 의하면, RTC 디바이스가 생성하는 시간 데이터의 해상도를 높일 수 있어 보다 세밀한 시간 정보를 호스트에 제공할 수 있는 효과가 있다.An RTC module is disclosed. RTC module according to an embodiment of the present invention is an RTC clock generation unit for generating a system clock signal for the operation of the RTC device, transmits the RTC data generated by the RTC device in accordance with the system clock signal to the host, the RTC data In accordance with the RTC connector for generating a sync signal and the RTC detailed data generator for generating a detailed data signal for a time of a unit of less than 1 second in accordance with the sync signal. According to the RTC module according to the embodiment of the present invention, it is possible to increase the resolution of time data generated by the RTC device, thereby providing more detailed time information to the host.

Description

RTC 모듈 및 이를 포함하는 컴퓨터 시스템{A RTC module and a computer system including thereof}A RTC module and a computer system including the same

본 발명은 RTC 모듈에 관한 것으로서, 보다 상세하게는 RTC 데이터의 시간 정보의 해상도를 높일 수 있는 RTC 모듈에 관한 것이다.The present invention relates to an RTC module, and more particularly, to an RTC module capable of increasing the resolution of time information of RTC data.

리얼 타임 클럭(real time clock) 장치는 각종 컴퓨터 장치에서 현재의 시간에 대한 정보를 얻기 위한 장치이다. 상기 컴퓨터 장치는 사용자가 요구하는 작업을 수행하기 위해서는 현재의 시간에 대한 정보를 실시간으로 확인해야 하는 경우가 많다. 따라서, 리얼 타임 클럭 장치는 시스템과 함께 또는 별도로 구성되어 시스템에 년, 월, 일 및 요일 등에 대한 날짜 정보와 시, 분 및 초 등의 시간정보를 제공해주는 역할을 한다.A real time clock device is a device for obtaining information about the current time from various computer devices. In order to perform a task required by a user, the computer device often needs to check information on a current time in real time. Accordingly, the real time clock device is configured together with or separately from the system to provide date information on the year, month, day, and day of the week, and time information such as hours, minutes, and seconds.

이러한 리얼 타임 클럭 장치는 주로 하드웨어 또는 소프트 웨어적인 방법으로 시스템에 정확한 시간 정보를 제공하기 위해 사용된다.These real time clock devices are often used to provide accurate time information to the system in a hardware or software manner.

본 발명이 이루고자 하는 과제는 시스템에 정확한 시간 정보를 제공하기 위해 RTC 데이터의 시간 정보의 해상도를 높일 수 있는 RTC 모듈을 제공하는데 있다.An object of the present invention is to provide an RTC module that can increase the resolution of the time information of the RTC data in order to provide accurate time information to the system.

본 발명의 실시예에 따른 RTC 모듈은 RTC 디바이스의 동작에 필요한 시스템 클럭 신호를 생성하는 RTC 클럭 생성부, 상기 시스템 클럭 신호에 따라 상기 RTC 디바이스가 생성한 RTC 데이터를 호스트로 전송하고, 상기 RTC 데이터에 따라 싱크 신호를 생성하는 RTC 커넥터 및 상기 싱크 신호에 따라 1초보다 작은 단위의 시간에 대한 세부 데이터 신호를 생성하는 RTC 세부 데이터 생성부를 포함한다.RTC module according to an embodiment of the present invention is an RTC clock generation unit for generating a system clock signal for the operation of the RTC device, transmits the RTC data generated by the RTC device in accordance with the system clock signal to the host, the RTC data In accordance with the RTC connector for generating a sync signal and the RTC detailed data generator for generating a detailed data signal for a time of a unit of less than 1 second in accordance with the sync signal.

실시예에 따라 상기 RTC 커넥터는 상기 RTC 데이터 중 초 데이터의 상태를 감지하여 상기 싱크 신호를 생성한다.According to an embodiment, the RTC connector detects the state of the second data among the RTC data to generate the sync signal.

실시예에 따라 상기 RTC 세부 데이터 생성부는 상기 싱크 신호가 상승 엣지 상태인 경우 상기 세부 데이터 신호를 생성하기 시작한다.According to an embodiment, the RTC detail data generator starts to generate the detail data signal when the sync signal is at the rising edge state.

실시예에 따라 상기 1초보다 작은 단위의 시간은 10 msec이다.According to an embodiment, the time in units smaller than 1 second is 10 msec.

실시예에 따라 시스템 클럭 신호는 100 kHz의 주파수는 갖는다.According to an embodiment the system clock signal has a frequency of 100 kHz.

실시예에 따라 상기 호스트는 FPGA 기반의 반도체 장치이다.In some embodiments, the host is an FPGA-based semiconductor device.

본 발명의 실시예에 따른 RTC 모듈 제어 방법은 RTC 커넥터가 RTC 디바이스로부터 RTC 데이터를 수신하는 단계, 상기 RTC 커넥터가 상기 RTC 데이터에 따라 싱크 신호를 생성하는 단계, RTC 세부 데이터 생성부가 상기 싱크 신호에 따라 1초보다 작은 단위의 시간에 대한 세부 데이터 신호를 생성하는 단계를 포함한다.RTC module control method according to an embodiment of the present invention comprises the steps of the RTC connector receiving RTC data from the RTC device, the RTC connector generating a sync signal according to the RTC data, RTC detailed data generation unit to the sync signal Accordingly generating a detailed data signal for a time in units of less than one second.

실시예에 따라 상기 RTC 커넥터는 상기 RTC 데이터 중 초 데이터의 값이 변경되는 경우 상기 싱크 신호를 생성한다.According to an embodiment, the RTC connector generates the sync signal when the value of the second data among the RTC data is changed.

실시예에 따라 상기 RTC 세부 데이터 생성부는 상기 싱크 신호가 상승 엣지 상태인 경우 상기 세부 데이터 신호를 생성하기 시작한다.According to an embodiment, the RTC detail data generator starts to generate the detail data signal when the sync signal is at the rising edge state.

실시예에 따라 상기 세부 데이터 신호를 생성하는 단계는 상기 싱크 신호가 상승 엣지 상태인 경우 상기 RTC 세부 데이터 생성부에 포함된 카운터를 리셋하는 단계를 포함한다.The generating of the detail data signal may include resetting a counter included in the RTC detail data generator when the sync signal is in an rising edge state.

실시예에 따라 상기 1초보다 작은 단위의 시간은 10 msec이다.According to an embodiment, the time in units smaller than 1 second is 10 msec.

본 발명의 실시예에 따른 컴퓨터 시스템은 FPGA 기반의 반도체 장치인 호스트, 상기 호스트의 제어에 따라 RTC 데이터를 생성하는 RTC 디바이스 및 상기 호스트와 상기 RTC 디바이스 사이에서 인터페이스 기능을 수행하는 RTC 모듈을 포함하며, 상기 RTC 모듈은 상기 RTC 디바이스의 동작에 필요한 시스템 클럭 신호를 생성하는 RTC 클럭 생성부, 상기 시스템 클럭 신호에 따라 상기 RTC 디바이스가 생성한 상기 RTC 데이터를 상기 호스트로 전송하고, 상기 RTC 데이터에 따라 싱크 신호를 생성하는 RTC 커넥터 및 상기 싱크 신호에 따라 1초보다 작은 단위의 시간에 대한 세부 데이터 신호를 생성하는 RTC 세부 데이터 생성부를 포함한다.A computer system according to an embodiment of the present invention includes a host that is an FPGA-based semiconductor device, an RTC device that generates RTC data under the control of the host, and an RTC module that performs an interface function between the host and the RTC device. The RTC module may include an RTC clock generator for generating a system clock signal for operating the RTC device, and transmits the RTC data generated by the RTC device to the host according to the system clock signal. An RTC connector for generating a sync signal and an RTC detail data generator for generating a detailed data signal for a time in a unit of less than 1 second according to the sync signal.

실시예에 따라 상기 RTC 커넥터는 상기 RTC 데이터 중 초 데이터의 상태를 감지하여 상기 싱크 신호를 생성한다.According to an embodiment, the RTC connector detects the state of the second data among the RTC data to generate the sync signal.

실시예에 따라 상기 RTC 세부 데이터 생성부는 상기 싱크 신호가 상승 엣지 상태인 경우 상기 세부 데이터 신호를 생성하기 시작한다.According to an embodiment, the RTC detail data generator starts to generate the detail data signal when the sync signal is at the rising edge state.

실시예에 따라 상기 1초보다 작은 단위의 시간은 10 msec이다.According to an embodiment, the time in units smaller than 1 second is 10 msec.

본 발명의 실시예에 따른 RTC 모듈에 의하면, RTC 디바이스가 생성하는 시간 데이터의 해상도를 높일 수 있어 보다 세밀한 시간 정보를 호스트에 제공할 수 있는 효과가 있다.According to the RTC module according to the embodiment of the present invention, it is possible to increase the resolution of time data generated by the RTC device, thereby providing more detailed time information to the host.

도 1은 본 발명의 실시예에 따른 컴퓨터 시스템을 나타내는 블록도이다.
도 2는 본 발명의 실시예에 따른 RTC 디바이스를 나타내는 블록도이다.
도 3은 본 발명의 실시예에 따른 RTC 모듈을 나타내는 블록도이다.
도 4는 본 발명의 실시예에 따른 RTC 모듈의 동작을 상세히 설명하기 위한 타이밍도이다.
도 5는 본 발명의 실시예에 따른 RTC 모듈의 동작을 설명하기 위한 흐름도이다.
1 is a block diagram illustrating a computer system according to an exemplary embodiment of the present invention.
2 is a block diagram illustrating an RTC device according to an embodiment of the present invention.
3 is a block diagram illustrating an RTC module according to an embodiment of the present invention.
4 is a timing diagram for explaining in detail the operation of the RTC module according to an embodiment of the present invention.
5 is a flowchart illustrating an operation of an RTC module according to an embodiment of the present invention.

본 명세서 또는 출원에 개시되어 있는 본 발명의 개념에 따른 실시 예들에 대해서 특정한 구조적 내지 기능적 설명들은 단지 본 발명의 개념에 따른 실시 예를 설명하기 위한 목적으로 예시된 것으로, 본 발명의 개념에 따른 실시 예들은 다양한 형태로 실시될 수 있으며 본 명세서 또는 출원에 설명된 실시 예들에 한정되는 것으로 해석되어서는 아니 된다.Specific structural and functional descriptions of embodiments according to the concepts of the present invention disclosed in this specification or application are merely illustrative for the purpose of illustrating embodiments in accordance with the concepts of the present invention, The examples may be embodied in various forms and should not be construed as limited to the embodiments set forth herein or in the application.

본 발명의 개념에 따른 실시 예는 다양한 변경을 가할 수 있고 여러 가지 형태를 가질 수 있으므로 특정 실시 예들을 도면에 예시하고 본 명세서 또는 출원에 상세하게 설명하고자 한다. 그러나, 이는 본 발명의 개념에 따른 실시 예을 특정한 개시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.Embodiments in accordance with the concepts of the present invention can make various changes and have various forms, so that specific embodiments are illustrated in the drawings and described in detail in this specification or application. It should be understood, however, that it is not intended to limit the embodiments according to the concepts of the present invention to specific forms of disclosure, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the present invention.

제1 및/또는 제2 등의 용어는 다양한 구성 요소들을 설명하는데 사용될 수 있지만, 상기 구성 요소들은 상기 용어들에 의해 한정되어서는 안된다. 상기 용어들은 하나의 구성 요소를 다른 구성 요소로부터 구별하는 목적으로만, 예컨대 본 발명의 개념에 따른 권리 범위로부터 이탈되지 않은 채, 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소는 제1 구성요소로도 명명될 수 있다.Terms such as first and / or second may be used to describe various components, but the components should not be limited by the terms. The terms are intended to distinguish one element from another, for example, without departing from the scope of the invention in accordance with the concepts of the present invention, the first element may be termed the second element, The second component may also be referred to as a first component.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. 구성요소들 간의 관계를 설명하는 다른 표현들, 즉 "~사이에"와 "바로 ~사이에" 또는 "~에 이웃하는"과 "~에 직접 이웃하는" 등도 마찬가지로 해석되어야 한다.When a component is referred to as being "connected" or "connected" to another component, it may be directly connected to or connected to that other component, but it may be understood that other components may be present in between. Should be. On the other hand, when an element is referred to as being "directly connected" or "directly connected" to another element, it should be understood that there are no other elements in between. Other expressions that describe the relationship between components, such as "between" and "between" or "neighboring to" and "directly adjacent to" should be interpreted as well.

본 명세서에서 사용한 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "포함하다" 또는 "가지다" 등의 용어는 설시된 특징, 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this specification, the terms "comprises ", or" having ", or the like, specify that there is a stated feature, number, step, operation, , Steps, operations, components, parts, or combinations thereof, as a matter of principle.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 명세서에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Terms such as those defined in the commonly used dictionaries should be construed as having meanings consistent with the meanings in the context of the related art, and are not construed in ideal or excessively formal meanings unless expressly defined herein. Do not.

이하, 첨부한 도면을 참조하여 본 발명의 바람직한 실시 예를 설명함으로써, 본 발명을 상세히 설명한다.BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the preferred embodiments of the present invention with reference to the accompanying drawings.

도 1은 본 발명의 실시예에 따른 컴퓨터 시스템을 나타내는 블록도이다.1 is a block diagram illustrating a computer system according to an exemplary embodiment of the present invention.

본 발명의 실시예에 따른 컴퓨터 시스템(10)은 호스트(Host; 100), RTC 모듈(Real Time Clock module; 200) 및 RTC 디바이스(Real Time Clock device; 300)을 포함할 수 있다. The computer system 10 according to an embodiment of the present invention may include a host 100, a real time clock module 200, and a real time clock device 300.

호스트(100)는 반도체 장치(semiconductor device)로 구성될 수 있으며, 상기 반도체 장치는 주문형 반도체(ASIC) 또는 FPGA(Field Programmable Gate Array) 기반의 반도체 장치일 수 있다. 상기 FPGA는 프로그래머블 논리 요소와 프로그래밍가능 내부선이 포함된 반도체 소자이다. 상기 프로그래머블 논리 요소는 AND, OR, XOR, NOT, 더 복잡한 디코더나 계산기능의 조합 기능같은 기본적인 논리 게이트의 기능을 복제하여 프로그래밍할 수 있다. 상기 FPGA는 프로그래밍가능 논리 요소에 간단한 플립플롭이나 메모리 블록으로 된 메모리 요소를 포함할 수 있다. 상기 FPGA는 일반적으로 개발시간이 짧고, 오류를 현장에서 재수정할 수 있고, 초기 개발비가 저렴하다는 장점이 있다The host 100 may be configured as a semiconductor device, and the semiconductor device may be an on-demand semiconductor (ASIC) or a field programmable gate array (FPGA) based semiconductor device. The FPGA is a semiconductor device that includes a programmable logic element and a programmable internal line. The programmable logic element can be programmed by duplicating basic logic gate functions such as AND, OR, XOR, NOT, more complex decoders or combinations of computational functions. The FPGA may include memory elements in simple flip-flops or memory blocks in programmable logic elements. The FPGA generally has the advantages of short development time, re-correction of errors in the field, and low initial development cost.

상기 호스트(100)는 시스템의 동작에 필요한 각종 제어 신호를 생성하고 주변 장치와 데이터를 교환할 수 있다. 또한, 상기 호스트(100)는 일정 주파수의 클럭 신호(CLK)를 생성하여 주변 장치에 공급할 수 있다.The host 100 may generate various control signals required for the operation of the system and exchange data with peripheral devices. In addition, the host 100 may generate a clock signal CLK of a predetermined frequency and supply it to the peripheral device.

RTC 모듈(200)은 상기 호스트(100)와 후술할 RTC 디바이스(300) 사이에서 제어 신호, 클럭 신호 및 데이터 신호를 매개할 수 있다. 상기 RTC 모듈(200)은 상기 호스트(100)의 제어 신호(CS)에 따라 입력 데이터(Data_IN) 및 출력 데이터(Data_OUT)를 교환할 수 있다. The RTC module 200 may mediate a control signal, a clock signal, and a data signal between the host 100 and the RTC device 300 to be described later. The RTC module 200 may exchange input data Data_IN and output data Data_OUT according to the control signal CS of the host 100.

상기 제어 신호(CS)는 RTC 인에이블 신호 및 라이트 신호를 포함할 수 있다. 상기 RTC 인에이블 신호가 RTC 디바이스(300)의 활성화 여부를 결정하며, 논리 하이(high) 상태가 되면 RTC 디바이스(300)가 활성화되고 논리 로우 상태에서는 RTC 디바이스(300)가 비활성화될 수 있다. 상기 라이트 신호는 RTC 디바이스(300)의 리드 모드 또는 라이트 모드를 결정할 수 있으며, 논리 하이 상태가 되면 RTC 디바이스(300)는 라이트 모드가 되고 논리 로우 상태가 되면 RTC 디바이스(300)는 리드 모드가 될 수 있다. 상기 리드 모드에서는 RTC 디바이스(300)가 생성하는 RTC 데이터가 호스트(100)로 전송될 수 있고, 상기 라이트 모드에서는 호스트(100)가 생성하는 변경 데이터가 RTC 디바이스(300)로 전송될 수 있다. The control signal CS may include an RTC enable signal and a write signal. The RTC enable signal determines whether the RTC device 300 is activated. When the RTC device 300 is in a logic high state, the RTC device 300 is activated and in the logic low state, the RTC device 300 may be deactivated. The write signal may determine a read mode or a write mode of the RTC device 300. When the logic signal is in the logic high state, the RTC device 300 is in the write mode and when the logic signal is in the logic low state, the RTC device 300 is in the read mode. Can be. In the read mode, RTC data generated by the RTC device 300 may be transmitted to the host 100, and in the write mode, change data generated by the host 100 may be transmitted to the RTC device 300.

상기 입력 데이터는 변경 데이터를 포함할 수 있으며, 상기 변경 데이터는 상기 호스트(100)가 상기 RTC 디바이스(300)에 저장된 시간 데이터를 강제적으로 변경 또는 설정하기 위한 정보일 수 있다. 상기 출력 데이터는 RTC 디바이스(300)가 생성하는 RTC 시간 데이터 및 후술할 시스템 정상 신호(FT/OUT)를 포함할 수 있다. 또한, 상기 RTC 모듈(200)은 상기 호스트(100)로부터 클럭 신호(CLK)를 입력 받아 상기 RTC 디바이스(300)의 동작에 필요한 주파수를 가진 시스템 클럭 신호(SCL)를 생성하여 상기 RTC 디바이스(300)로 전송할 수 있다. The input data may include change data, and the change data may be information for the host 100 to forcibly change or set time data stored in the RTC device 300. The output data may include RTC time data generated by the RTC device 300 and a system normal signal (FT / OUT) to be described later. In addition, the RTC module 200 receives the clock signal CLK from the host 100 and generates a system clock signal SCL having a frequency necessary for the operation of the RTC device 300 to generate the RTC device 300. ) Can be sent.

RTC 모듈(200)은 상기 RTC 디바이스(300)로부터 시스템 정상 신호(FT/OUT)를 입력 받아 상기 RTC 디바이스(300)가 정상적으로 동작하고 있는지 여부를 출력 데이터(Data_OUT)로 호스트(100)에 전송할 수 있다. 상기 RTC 모듈(200)은 상기 변경 데이터 및 상기 RTC 데이터를 RTC 디바이스(300) 또는 호스트(100)가 인식할 수 있는 형태로 변환할 수 있으며, 호스트(100)로부터 전송된 제어 신호(CS)를 RTC 디바이스(300)가 인식할 수 있는 형태로 변환할 수 있다. RTC 모듈(200)은 상기 RTC 디바이스(300)와 RTC 시간 데이터, 상기 변환된 변경 데이터 및 상기 제어 신호(CS)를 SDA 포트를 통해 교환할 수 있다. 상기 SDA 포트는 양방향 데이터 포트일 수 있다. 상기 RTC 모듈(200)의 상세한 구성과 동작은 후술하기로 한다.The RTC module 200 may receive a system normal signal (FT / OUT) from the RTC device 300 and transmit whether the RTC device 300 is operating normally as output data Data_OUT to the host 100. have. The RTC module 200 may convert the change data and the RTC data into a form that can be recognized by the RTC device 300 or the host 100, and convert the control signal CS transmitted from the host 100. The RTC device 300 may convert it into a form that can be recognized. The RTC module 200 may exchange the RTC device 300 with the RTC time data, the converted change data, and the control signal CS through an SDA port. The SDA port may be a bidirectional data port. Detailed configuration and operation of the RTC module 200 will be described later.

RTC 디바이스(300)는 년, 월, 일, 요일 등의 시간 데이터를 호스트(100)와는 독립적으로 카운팅하여 호스트(100)에 공급하기 위한 장치이다. RTC 디바이스(300)는 전원이 인가되면 상기 RTC 디바이스(300)가 정상적으로 동작하고 있는지 여부에 대한 시스템 정상 신호(FT/OUT)를 생성할 수 있다. 상기 RTC 디바이스(300)는 상기 RTC 모듈(200)로부터 시스템 클럭 신호(SCL)를 입력 받아 상기 시스템 클럭 신호(SCL)에 동기를 맞추어 상기 시스템 정상 신호(FT/OUT) 또는 RTC 데이터를 상기 RTC 모듈(200)로 전송할 수 있다.The RTC device 300 is an apparatus for supplying time data such as year, month, day, and day of the week to the host 100 by counting them independently of the host 100. When power is applied, the RTC device 300 may generate a system normal signal FT / OUT indicating whether the RTC device 300 is operating normally. The RTC device 300 receives the system clock signal SCL from the RTC module 200 and synchronizes the system clock signal SCL to the system normal signal FT / OUT or RTC data in synchronization with the system clock signal SCL. And transmit to 200.

도 2는 본 발명의 실시예에 따른 RTC 디바이스를 나타내는 블록도이다.2 is a block diagram illustrating an RTC device according to an embodiment of the present invention.

RTC 디바이스(300)는 오실레이터(oscillator; 310), 디바이더(divider; 320), 카운터 레지스터(counter register; 330), RTC 디바이스 인터페이스(RTC device interface; 340), RTC 제어부(RTC controller; 350), 어드레스 레지스터(address register; 360) 및 버스(bus; 370)를 포함할 수 있다. The RTC device 300 includes an oscillator 310, a divider 320, a counter register 330, an RTC device interface 340, an RTC controller 350, and an address. Address register 360 and bus 370.

오실레이터(310)는 전원이 인가되면 일정한 주파수를 가진 클럭 신호(예컨대, 32.768 kHz)를 발생시킬 수 있으며, 상기 발생된 클럭 신호는 디바이더(320)로 인가될 수 있다. 디바이더(320)는 상기 오실레이터(310)로부터 출력된 상기 클럭 신호를 수신하여 카운터 레지스터(330)의 동작에 필요한 주파수로 상기 클럭 신호를 분주할 수 있다. 상기 분주된 클럭 신호는 예컨대 1 Hz의 주파수를 가진 구형파일 수 있다. The oscillator 310 may generate a clock signal having a constant frequency (for example, 32.768 kHz) when power is applied, and the generated clock signal may be applied to the divider 320. The divider 320 may receive the clock signal output from the oscillator 310 and divide the clock signal at a frequency required for the operation of the counter register 330. The divided clock signal may be, for example, a spherical file having a frequency of 1 Hz.

카운터 레지스터(330)는 초(Second) 카운터, 분(Minute) 카운터, 시(Hour) 카운터, 일(Day) 카운터, 요일(Weekday) 카운터, 월(Month) 카운터, 년도(Year) 카운터, 세기(century) 카운터 등을 구비하고, 상기 분주된 클럭 신호를 수신하여 1초 단위로 초부터 세기까지 순차적으로 카운팅을 수행하여 레지스터에 저장할 수 있다. 상기 카운터 레지스터(330)는 상기 초부터 세기까지의 시간 데이터 뿐 아니라 상기 시간 데이터에 대한 설정 값 및 호스트(100)로부터 수신된 변경 데이터를 저장할 수 있다. The counter register 330 includes a Second counter, Minute counter, Hour counter, Day counter, Weekday counter, Month counter, Year counter, Century ( century) counter, and the like, and may receive the divided clock signal and perform counting sequentially from second to century in units of 1 second to store in a register. The counter register 330 may store not only the time data from the second to the intensity but also a setting value for the time data and change data received from the host 100.

RTC 디바이스 인터페이스(340)는 SDA 포트를 통해 상기 변환된 변경 데이터, 제어 신호(CS) 및 시스템 클럭 신호(SCL)를 수신하고, RTC 제어부(350)로 전송할 수 있다. 또한, RTC 디바이스 인터페이스(340)는 상기 RTC 제어에 따라 상기 변경 데이터를 버스(370)를 통해 카운터 레지스터(330)에 저장할 수 있다. 상기 RTC 디바이스 인터페이스(340)는 상기 시스템 클럭 신호(SCL)에 동기화되어 상기 카운터 레지스터(330)에 저장된 상기 초부터 세기까지의 시간 데이터 즉, RTC 데이터를 버스(370)를 통해 입력받아 상기 RTC 모듈(200)로 전송할 수 있다. The RTC device interface 340 may receive the converted change data, the control signal CS and the system clock signal SCL through the SDA port, and transmit the converted data to the RTC controller 350. In addition, the RTC device interface 340 may store the change data in the counter register 330 through the bus 370 according to the RTC control. The RTC device interface 340 receives the second-to-intensity time data, that is, RTC data stored in the counter register 330 through the bus 370, in synchronization with the system clock signal SCL. And transmit to 200.

RTC 제어부(350)는 RTC 디바이스(300)의 전반적인 동작을 제어할 수 있으며, 상기 RTC 디바이스 인터페이스(340)로부터 상기 변환된 변경데이터, 제어 신호(CS) 및 시스템 클럭 신호(SCL)를 수신할 수 있다. RTC 제어부(350)는 전원이 인가되면 일정한 주파수(예컨대, 512 Hz)를 가지고 하이(high)와 로우(low)를 주기적으로 반복하는 시스템 정상 신호(FT/OUT)를 생성하여 RTC 모듈(200)로 전송할 수 있다. RTC 제어부(350)는 RTC 디바이스(300)의 동작에 이상이 발생한 경우 상기 주파수와 다른 주파수(예컨대, 256 Hz)의 시스템 정상 신호(FT/OUT)를 생성하여 RTC 모듈(200)로 전송할 수 있다. 호스트(100)는 상기 시스템 정상 신호(FT/OUT)로부터 RTC 디바이스(300)가 정상적으로 전원이 공급되고 있는지 여부 및 정상적인 동작 여부를 판단할 수 있다.The RTC controller 350 may control the overall operation of the RTC device 300, and receive the converted change data, the control signal CS, and the system clock signal SCL from the RTC device interface 340. have. The RTC control unit 350 generates a system normal signal (FT / OUT) that periodically repeats high and low with a constant frequency (for example, 512 Hz) when power is applied to the RTC module 200. Can be sent to. If an abnormality occurs in the operation of the RTC device 300, the RTC controller 350 may generate a system normal signal (FT / OUT) having a frequency different from the frequency (for example, 256 Hz) and transmit the generated signal to the RTC module 200. . The host 100 may determine whether the RTC device 300 is normally powered from the system normal signal FT / OUT and whether it is operating normally.

RTC 제어부(350)는 호스트(100)의 제어 신호(CS)에 따라 상기 시스템 클럭 신호(SCL)에 동기화하여 어드레스 레지스터(360)에 저장된 주소 값에 대응하는 상기 카운터 레지스터(330)에 저장된 RTC 데이터를 지정할 수 있다. RTC 제어부(350)는 리드 모드에서 상기 지정된 RTC 데이터를 버스(370)를 통해 RTC 디바이스 인터페이스(340)에 전달할 수 있다.The RTC control unit 350 stores the RTC data stored in the counter register 330 corresponding to the address value stored in the address register 360 in synchronization with the system clock signal SCL according to the control signal CS of the host 100. Can be specified. The RTC controller 350 may transfer the designated RTC data to the RTC device interface 340 through the bus 370 in the read mode.

또한, RTC 제어부(350)는 라이트 모드에서 호스트(100)의 제어 신호(CS)에 따라 상기 시스템 클럭 신호(SCL)에 동기화하여 상기 변경 데이터를 어드레스 레지스터(360)에 저장된 주소 값에 대응하는 상기 카운터 레지스터(330)의 해당 주소에 저장할 수 있다.In addition, the RTC controller 350 may synchronize the change data with the address value stored in the address register 360 in synchronization with the system clock signal SCL according to the control signal CS of the host 100 in the write mode. It may be stored at a corresponding address of the counter register 330.

어드레스 레지스터(360)는 상기 카운터 레지스터(330)에 저장된 상기 RTC 데이터의 상기 카운터 레지스터(330) 상의 주소를 저장할 수 있다. 즉, 상기 어드레스 레지스터(360)는 상기 RTC 제어부(350)의 제어에 따라 상기 RTC 데이터를 상기 카운터 레지스터(330)로부터 리드하거나 상기 변환된 변경 데이터 또는 호스트(100)로부터의 제어 신호(CS)를 상기 카운터 레지스터(330)의 해당 영역에 라이트하는 경우 각각 해당하는 주소를 저장할 수 있다. The address register 360 may store an address on the counter register 330 of the RTC data stored in the counter register 330. That is, the address register 360 reads the RTC data from the counter register 330 or receives the converted change data or the control signal CS from the host 100 under the control of the RTC controller 350. When writing to the corresponding area of the counter register 330, a corresponding address may be stored.

예컨대, 상기 카운터 레지스터(330)의 RTC 데이터 중 시(hours), 분(minutes) 및 초(seconds)를 RTC 디바이스 인터페이스(340)로 전송하고자 하는 경우 RTC 제어부(350)는 상기 어드레스 레지스터(360) 상에 상기 시, 분 및 초에 해당하는 주소를 검색하여 이에 해당하는 상기 카운터 레지스터(330)의 주소에서 상기 시, 분 및 초의 RTC 데이터를 리드할 수 있다. 또한, RTC 디바이스 인터페이스(340)로부터 호스트(100)가 요청하는 변경 데이터를 수신한 경우 RTC 제어부(350)는 상기 어드레스 레지스터(360) 상에 상기 시, 분 및 초에 해당하는 주소를 검색하여 이에 해당하는 상기 카운터 레지스터(330)의 주소에 상기 시, 분 및 초의 변경 데이터를 라이트할 수 있다.For example, when the hour, minutes, and seconds of the RTC data of the counter register 330 are to be transmitted to the RTC device interface 340, the RTC controller 350 may transmit the address register 360. The RTC data of the hour, minute, and second may be read from the address corresponding to the hour, minute, and second on the counter and the address of the counter register 330 corresponding thereto. In addition, when the change data requested by the host 100 is received from the RTC device interface 340, the RTC controller 350 searches for an address corresponding to the hour, minute, and second on the address register 360. The change data of the hour, minute, and second may be written to the address of the corresponding counter register 330.

도 3은 본 발명의 실시예에 따른 RTC 모듈을 나타내는 블록도이다.3 is a block diagram illustrating an RTC module according to an embodiment of the present invention.

도 1 내지 도 3을 참조하면, RTC 모듈(200)은 RTC 클럭 생성부(RTC clock generator; 210) 및 RTC 인터페이스(RTC interface; 220)을 포함할 수 있다.1 to 3, the RTC module 200 may include an RTC clock generator 210 and an RTC interface 220.

RTC 클럭 생성부(210)는 호스트(100)로부터 클럭 신호를 수신하여 RTC 디바이스(300)의 동작에 필요한 시스템 클럭 신호(SCL)를 생성할 수 있다. 즉, RTC 클럭 생성부(210)는 호스트(100)로부터 일정 주파수(예컨대, 50 MHz)의 클럭 신호를 수신하여 이를 분주하여 특정 주파수(예컨대, 100 kHz)의 시스템 클럭 신호(SCL)를 발생하여 RTC 인터페이스(220)로 전송할 수 있다. RTC 디바이스(300)는 상기 시스템 클럭 신호(SCL)에 동기화하여 RTC 데이터 또는 변경 데이터를 리드하거나 라이트 할 수 있다. The RTC clock generator 210 may generate a system clock signal SCL required for the operation of the RTC device 300 by receiving a clock signal from the host 100. That is, the RTC clock generator 210 receives a clock signal of a predetermined frequency (for example, 50 MHz) from the host 100 and divides the clock signal to generate a system clock signal SCL of a specific frequency (for example, 100 kHz). It may transmit to the RTC interface 220. The RTC device 300 may read or write RTC data or change data in synchronization with the system clock signal SCL.

RTC 인터페이스(220)는 호스트(100)와 RTC 디바이스(300) 사이에서 데이터 및 제어 신호(CS)를 매개하는 역할을 하며, RTC 커넥터(230) 및 RTC 세부 데이터 생성부(240)를 포함할 수 있다. RTC 커넥터(230)는 호스트(100)로부터 제어 신호(CS) 및 변경 데이터를 수신하고, RTC 디바이스(300)로부터 출력된 RTC 데이터 및 시스템 정상 신호(FT/OUT)를 호스트(100)가 인식할 수 있는 형태로 변환하여 호스트(100)로 전송할 수 있다. 상기 RTC 커넥터(230)는 RTC 디바이스(300)로부터 시스템 정상 신호(FT/OUT) 및 RTC 데이터를 수신하고, 호스트(100)로부터 출력된 제어 신호(CS) 및 변경 데이터를 RTC 디바이스(300)가 인식할 수 있는 형태로 변환하여 RTC 디바이스(300)로 전송할 수 있다. The RTC interface 220 mediates data and control signals CS between the host 100 and the RTC device 300, and may include an RTC connector 230 and an RTC detailed data generator 240. have. The RTC connector 230 receives the control signal CS and the change data from the host 100, and the host 100 recognizes the RTC data and the system normal signal FT / OUT output from the RTC device 300. It can be converted into a form that can be transmitted to the host 100. The RTC connector 230 receives the system normal signal (FT / OUT) and RTC data from the RTC device 300, and the control signal (CS) and change data output from the host 100 are stored in the RTC device 300. The data may be converted into a recognizable form and transmitted to the RTC device 300.

또한, 상기 RTC 커넥터(230)는 상기 RTC 데이터 중 초(seconds) 데이터의 상태를 감지하여 싱크 신호(sync)를 생성할 수 있다. 예컨대, 상기 초 데이터의 값이 바뀌는 경우(예컨대, 초 데이터가 1에서 2로 바뀌는 경우) 상기 RTC 커넥터(230)는 논리 하이의 싱크 신호(sync)를 생성하여 RTC 세부 데이터 생성부(240)로 전송할 수 있다. 상기 RTC 커넥터(230)는 상기 RTC 세부 데이터 생성부(240)로부터 세부 데이터 신호(dsec)를 수신하여 상기 RTC 데이터의 일부로서 세부 데이터 신호(dsec)를 호스트(100)로 전송할 수 있다. Also, the RTC connector 230 may generate a sync signal by detecting a state of seconds data among the RTC data. For example, when the value of the second data is changed (for example, when the second data is changed from 1 to 2), the RTC connector 230 generates a sync signal of a logic high to the RTC detail data generator 240. Can transmit The RTC connector 230 may receive the detailed data signal dsec from the RTC detailed data generator 240 and transmit the detailed data signal dsec as part of the RTC data to the host 100.

RTC 세부 데이터 생성부(240)는 상기 싱크 신호(sync)의 상태를 감지하여 내부 카운터(미도시)를 동작시켜 카운팅을 행할 수 있으며, 그에 따른 카운팅 값인 세부 데이터 신호(dsec)를 상기 RTC 커넥터(230)로 전송할 수 있다. 예컨대, 상기 싱크 신호(sync)가 상승 엣지(edge) 상태가 되면 상기 RTC 세부 데이터 생성부(240)에 포함된 내부 카운터(미도시)는 리셋(reset) 된 후 카운팅을 시작하여 그 카운팅 값을 RTC 커넥터(230)로 전송할 수 있다. The RTC detail data generation unit 240 may perform counting by operating an internal counter (not shown) by detecting a state of the sync signal sync, and may transmit the detailed data signal dsec corresponding to the counting value to the RTC connector ( 230). For example, when the sync signal sync is at the rising edge, an internal counter (not shown) included in the RTC detailed data generator 240 is reset and starts counting to reset the count value. Transmit to RTC connector 230.

예를 들어, 내부 카운터(미도시)는 시스템 클럭 신호(SCL)에 동기화 되어 카운팅을 수행하며 상기 시스템 클럭 신호(SCL)가 100 kHz인 경우 10 msec 주기로 카운팅을 수행할 수 있다. 즉, 초 데이터가 0에서 1로 바뀌어 상승 엣지 상태로 변경된 싱크 신호(sync)를 수신한 RTC 세부 데이터 생성부(240)는 내부 카운터(미도시)를 리셋한 뒤 10 msec 주기로 카운팅을 수행하여 시스템 클럭 신호(SCL)에 동기화 되어 그 카운팅 값을 RTC 커넥터(230)로 전송할 수 있다. 따라서, 초 데이터가 1에서 2로 바뀌기 전까지 RTC 세부 데이터 생성부(240)는 10 msec 단위로 1000 msec까지 카운팅을 수행할 수 있으며, 초 데이터가 1에서 2로 바뀌어 상승 엣지 상태로 변경된 싱크 신호(sync)를 수신한 RTC 세부 데이터 생성부(240)는 내부 카운터(미도시)를 다시 리셋한 뒤 시스템 클럭 신호(SCL)에 동기화 되어 10 msec 주기로 카운팅을 수행하여 그 카운팅 값인 세부 데이터 신호(dsec)를 RTC 커넥터(230)로 전송할 수 있다.For example, an internal counter (not shown) may perform a counting in synchronization with the system clock signal SCL, and may count in a 10 msec period when the system clock signal SCL is 100 kHz. That is, the RTC detailed data generator 240, which receives the sync signal changed from the second data to the rising edge state from 0 to 1, resets the internal counter (not shown) and performs counting every 10 msec. The counting value may be synchronized with the clock signal SCL to transmit the counting value to the RTC connector 230. Accordingly, until the second data is changed from 1 to 2, the RTC detailed data generator 240 may perform counting from 1000 msec in 10 msec increments, and the sink signal changed to the rising edge state by changing the second data from 1 to 2 After receiving the sync, the RTC detail data generator 240 resets an internal counter (not shown) and synchronizes with the system clock signal SCL to perform counting every 10 msec. The detailed data signal dsec is a counting value. To the RTC connector 230.

실시예에 따라, RTC 세부 데이터 생성부(240)는 호스트(100)로부터 클럭 신호를 상기 RTC 클럭 생성부(210)와는 별도로 수신받아 시스템 클럭 신호(SCL)와 다른 주파수로 분주시키는 RTC 세부 클럭 생성부(미도시)를 포함하거나, 호스트(100)의 제어 신호(CS)에 따라 내부 카운터(미도시)의 동작 주기를 조절함으로써, RTC 세부 데이터 생성부(240)가 제공하는 세부 데이터 신호(dsec)의 해상도를 조절할 수 있다. 예컨대, RTC 세부 데이터 생성부(240)의 내부 카운터(미도시)가 1 msec 주기로 카운팅을 수행하면, 1 msec의 해상도를 가진 시간 데이터를 호스트(100)에 제공할 수 있다. According to an embodiment, the RTC detail data generator 240 receives the clock signal from the host 100 separately from the RTC clock generator 210 and generates an RTC detail clock that divides the clock signal at a different frequency from the system clock signal SCL. A detailed data signal (dsec) provided by the RTC detailed data generator 240 by including a unit (not shown) or by adjusting an operation period of an internal counter (not shown) according to the control signal CS of the host 100. ) You can adjust the resolution. For example, when the internal counter (not shown) of the RTC detailed data generator 240 performs counting at a 1 msec period, time data having a resolution of 1 msec may be provided to the host 100.

따라서, 본 발명의 실시예에 따른 RTC 모듈에 의하면, RTC 디바이스가 생성하는 시간 데이터의 해상도를 높일 수 있어 보다 세밀한 시간 정보를 호스트(100)에 제공할 수 있는 효과가 있다.Therefore, according to the RTC module according to the embodiment of the present invention, it is possible to increase the resolution of the time data generated by the RTC device, thereby providing more detailed time information to the host 100.

또한, 하드웨어를 이용한 시간 데이터이므로 OS에서 제공하는 소프트웨어를 이용한 시간 데이터보다 보다 정확한 시간 정보를 제공할 수 있다.In addition, since the time data using hardware, more accurate time information may be provided than time data using software provided by the OS.

도 4는 본 발명의 실시예에 따른 RTC 모듈의 동작을 상세히 설명하기 위한 타이밍도이다.4 is a timing diagram for explaining in detail the operation of the RTC module according to an embodiment of the present invention.

도 1 내지 도 4를 참조하면, 호스트(100)로부터의 제어 신호(CS) 중 RTC 인에이블 신호가 논리 하이가 되면, t1 시점에서 RTC 디바이스(300)가 동작하기 시작할 수 있다. 도 4와 같이 모든 구간에서 라이트 신호가 논리 로우이므로, 상기 RTC 디바이스(300)는 리드 모드에서 동작할 수 있다. 즉, 상기 RTC 디바이스(300)는 RTC 데이터를 생성하고, 시스템 클럭 신호(SCL)에 동기화하여 상기 RTC 데이터를 RTC 모듈(200)로 전송할 수 있다. 도 4에서는 상기 시스템 클럭 신호(SCL)가 100 kHz의 주파수를 가지는 경우를 예를 들어 설명하기로 한다.1 to 4, when the RTC enable signal of the control signal CS from the host 100 becomes logic high, the RTC device 300 may start to operate at a time t1. As shown in FIG. 4, since the write signal is logic low in all sections, the RTC device 300 may operate in the read mode. That is, the RTC device 300 may generate RTC data and transmit the RTC data to the RTC module 200 in synchronization with a system clock signal SCL. In FIG. 4, a case where the system clock signal SCL has a frequency of 100 kHz will be described as an example.

상기 RTC 데이터는 시스템 클럭 신호(SCL)에 동기화되어 카운터 레지스터(330)에 저장된 데이터가 전송되므로 t2 시점에서부터 상기 RTC 데이터의 전송이 시작될 수 있고, 10 msec 마다 RTC 데이터가 전송될 수 있다. Since the RTC data is synchronized with the system clock signal SCL and the data stored in the counter register 330 is transmitted, the RTC data may be started from time t2, and the RTC data may be transmitted every 10 msec.

RTC 디바이스(300)가 동작하기 시작한 지 1 초가 경과하기 이전까지는 RTC 데이터 중 초(seconds) 데이터는 0의 값을 가질 수 있다. 이후, RTC 디바이스(300)가 동작하기 시작한 지 1 초가 경과한 시점 즉, t3 시점에서 RTC 데이터 중 초 데이터는 1의 값을 가질 수 있다.Until one second has passed since the RTC device 300 starts to operate, second data among the RTC data may have a value of zero. Subsequently, the second data of the RTC data may have a value of 1 at a time elapsed 1 second after the RTC device 300 starts to operate, that is, at a time t3.

RTC 커넥터(230)는 상기 RTC 데이터 중 초 데이터가 0에서 1로 바뀌면, 상기 RTC 커넥터(230)는 싱크 신호(sync)를 논리 하이 값으로 변경하여 RTC 세부 데이터 생성부(240)로 전송할 수 있다. RTC 세부 데이터 생성부(240)가 상승 엣지 상태의 싱크 신호(sync)를 감지하면, 내부 카운터(미도시)를 리셋한 뒤 10 msec 주기로 카운팅을 수행하여 시스템 클럭 신호(SCL)에 동기화 되어 그 카운팅 값 즉, 세부 데이터 신호(dsec)를 RTC 커넥터(230)로 전송할 수 있다. If the RTC connector 230 changes the initial data of the RTC data from 0 to 1, the RTC connector 230 may change the sync signal sync to a logic high value and transmit the same to the RTC detail data generator 240. . When the RTC detailed data generator 240 detects the sync signal of the rising edge state, the internal counter (not shown) is reset and counted at 10 msec period to synchronize with the system clock signal (SCL). In other words, the detailed data signal dsec may be transmitted to the RTC connector 230.

상기 세부 데이터 신호(dsec)는 시스템 클럭 신호(SCL)에 동기화되어 전송되므로 t4 시점에서부터 상기 세부 데이터 신호(dsec)의 전송이 시작될 수 있고, 10 msec 마다 상기 세부 데이터 신호(dsec)가 전송될 수 있다. Since the detailed data signal dsec is transmitted in synchronization with the system clock signal SCL, transmission of the detailed data signal dsec may be started from time t4, and the detailed data signal dsec may be transmitted every 10 msec. have.

이후, RTC 디바이스(300)가 동작하기 시작한 지 2 초가 경과한 시점 즉, t5 시점에서 RTC 데이터 중 초 데이터는 2의 값을 가질 수 있다.Thereafter, the second data of the RTC data may have a value of 2 at the time point 2 seconds after the start of the operation of the RTC device 300, that is, at the time t5.

RTC 커넥터(230)는 상기 RTC 데이터 중 초 데이터가 1에서 2로 바뀌면, 상기 RTC 커넥터(230)는 싱크 신호(sync)를 논리 하이 값으로 변경하여 RTC 세부 데이터 생성부(240)로 전송할 수 있다. RTC 세부 데이터 생성부(240)가 상승 엣지 상태의 싱크 신호(sync)를 감지하면, 내부 카운터(미도시)를 리셋한 뒤 10 msec 주기로 카운팅을 수행하여 시스템 클럭 신호(SCL)에 동기화 되어 그 카운팅 값 즉, 변경된 초 데이터에 대한 세부 데이터 신호(dsec)를 RTC 커넥터(230)로 전송할 수 있다.If the RTC connector 230 changes the initial data of the RTC data from 1 to 2, the RTC connector 230 may change the sync signal sync to a logic high value and transmit the same to the RTC detail data generator 240. . When the RTC detailed data generator 240 detects the sync signal of the rising edge state, the internal counter (not shown) is reset and counted at 10 msec period to synchronize with the system clock signal (SCL). In other words, the detailed data signal dsec of the changed second data may be transmitted to the RTC connector 230.

상기 세부 데이터 신호(dsec)는 시스템 클럭 신호(SCL)에 동기화되어 전송되므로 t6 시점에서부터 상기 세부 데이터 신호(dsec)의 전송이 시작될 수 있고, 10 msec 마다 상기 세부 데이터 신호(dsec)가 전송될 수 있다. Since the detailed data signal dsec is transmitted in synchronization with the system clock signal SCL, transmission of the detailed data signal dsec may be started from time t6, and the detailed data signal dsec may be transmitted every 10 msec. have.

따라서, RTC 모듈(200)은 RTC 데이터의 초 데이터보다 1/100 초 단위로 해상도가 증가된 세부 데이터 신호(dsec)를 호스트(100)로 제공할 수 있다.Accordingly, the RTC module 200 may provide the host 100 with the detailed data signal dsec whose resolution is increased in units of 1/100 second of the second data of the RTC data.

도 5는 본 발명의 실시예에 따른 RTC 모듈의 동작을 설명하기 위한 흐름도이다. 5 is a flowchart illustrating an operation of an RTC module according to an embodiment of the present invention.

도 1 내지 도 5를 참조하면, RTC 디바이스(300)는 호스트(100)의 제어에 따라 RTC 데이터를 시스템 클럭 신호(SCL)에 동기화하여 RTC 모듈(200)로 전송할 수 있다(S510).1 to 5, the RTC device 300 may transmit RTC data to the RTC module 200 in synchronization with the system clock signal SCL under the control of the host 100 (S510).

RTC 커넥터(230)가 상기 RTC 데이터 중 초 데이터의 값이 변경되는지 여부를 판단할 수 있다. 상기 RTC 커넥터(230)가 초 데이터가 변경되지 않았다고 판단한 경우 시스템 클럭 신호(SCL)에 동기화하여 RTC 데이터를 수신한다(S520의 No 경로). 만약 상기 RTC 커넥터(230)가 초 데이터가 변경되었다고 판단한 경우 예컨대, 0에서 1로 변경된 경우 논리 하이의 싱크 신호(sync)를 생성하여 RTC 세부 데이터 생성부(240)로 전송할 수 있다(S530).  The RTC connector 230 may determine whether the value of the second data among the RTC data is changed. When the RTC connector 230 determines that the second data has not been changed, the RTC connector 230 receives the RTC data in synchronization with the system clock signal SCL (No path of S520). If the RTC connector 230 determines that the second data has been changed, for example, if it is changed from 0 to 1, the RTC connector 230 may generate a sync signal sync of a logic high and transmit the generated sync signal to the RTC detailed data generator 240 (S530).

RTC 세부 데이터 생성부(240)가 상승 엣지 상태의 싱크 신호(sync)를 감지하면, 내부 카운터(미도시)를 리셋한 뒤 일정한 주기(예컨대, 10 msec 주기)로 카운팅을 수행하여 시스템 클럭 신호(SCL)에 동기화 되어 그 카운팅 값 즉, 세부 데이터 신호(dsec)를 RTC 커넥터(230)로 전송할 수 있다(S540). 상기 RTC 세부 데이터 생성부(240)가 상기 세부 데이터 신호(dsec)를 생성하는 동작은 다음의 상승 엣지 상태의 싱크 신호(sync)가 감지되기 이전까지 지속될 수 있다(S550의 No경로).When the RTC detail data generator 240 detects a sync signal in a rising edge state, the internal counter (not shown) is reset and counted at a predetermined period (for example, 10 msec period) to generate a system clock signal ( The counting value, that is, the detailed data signal dsec may be transmitted to the RTC connector 230 in synchronization with the SCL (S540). The operation of generating the detailed data signal dsec by the RTC detailed data generator 240 may continue until a sync signal sync of a next rising edge state is detected (No path of S550).

만약, RTC 세부 데이터 생성부(240)가 다음의 상승 엣지 상태의 싱크 신호(sync)가 감지하면, 내부 카운터(미도시)를 리셋한 뒤 일정한 주기(예컨대, 10 msec 주기)로 카운팅을 수행하여 시스템 클럭 신호(SCL)에 동기화 되어 그 카운팅 값 즉, 변경된 초 데이터에 대한 세부 데이터 신호(dsec)를 RTC 커넥터(230)로 전송할 수 있다(S560).If the RTC detailed data generator 240 detects a sync signal of a next rising edge state, the RTC detailed data generator 240 resets an internal counter (not shown) and counts at a predetermined period (for example, 10 msec period). The counting value, that is, the detailed data signal dsec for the changed second data may be transmitted to the RTC connector 230 in synchronization with the system clock signal SCL (S560).

본 발명은 또한 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다.The present invention can also be embodied as computer-readable codes on a computer-readable recording medium. A computer-readable recording medium includes all kinds of recording apparatuses in which data that can be read by a computer system is stored.

컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광 데이터 저장장치 등이 있으며, 또한 본 발명에 따른 온라인 광고 방법을 수행하기 위한 프로그램 코드는 캐리어 웨이브(예를 들어, 인터넷을 통한 전송)의 형태로 전송될 수도 있다. Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like. The program code for performing the online advertising method according to the present invention may be a carrier wave ( For example, transmission via the Internet).

또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다. 그리고 본 발명을 구현하기 위한 기능적인(functional) 프로그램, 코드 및 코드 세그먼트들은 본 발명이 속하는 기술분야의 프로그래머들에 의해 용이하게 추론될 수 있다.The computer readable recording medium may also be distributed over a networked computer system so that computer readable code can be stored and executed in a distributed manner. And functional programs, codes, and code segments for implementing the present invention can be easily inferred by programmers skilled in the art to which the present invention pertains.

발명은 도면에 도시된 일 실시 예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시 예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 등록청구범위의 기술적 사상에 의해 정해져야 할 것이다.While the present invention has been described with reference to exemplary embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the scope of the present invention. Accordingly, the true scope of the present invention should be determined by the technical idea of the appended claims.

컴퓨터 시스템(10) RTC 커넥터(230)
호스트(100) RTC 세부 데이터 생성부(240)
RTC 모듈(200) RTC 디바이스(300)
RTC 클럭 생성부(210) RTC 제어부(350)
RTC 인터페이스(220)
Computer System (10) RTC Connector (230)
Host 100 RTC detailed data generator 240
RTC Module (200) RTC Device (300)
RTC clock generator 210 RTC controller 350
RTC Interface (220)

Claims (6)

삭제delete 삭제delete RTC(Real Time Clock) 디바이스의 동작에 필요한 시스템 클럭 신호를 생성하는 RTC 클럭 생성부;
상기 시스템 클럭 신호에 따라 상기 RTC 디바이스가 생성한 RTC 데이터를 호스트로 전송하고, 상기 RTC 데이터에 따라 싱크 신호를 생성하는 RTC 커넥터; 및
상기 싱크 신호에 따라 1초보다 작은 단위의 시간에 대한 세부 데이터 신호를 생성하는 RTC 세부 데이터 생성부를 포함하며,
상기 RTC 세부 데이터 생성부는 상기 싱크 신호가 상승 엣지 상태인 경우 상기 세부 데이터 신호를 생성하는 RTC 모듈.
An RTC clock generator configured to generate a system clock signal for operating an RTC device;
An RTC connector configured to transmit RTC data generated by the RTC device to a host according to the system clock signal, and generate a sink signal according to the RTC data; And
An RTC detail data generation unit generating a detail data signal for a time in a unit of less than 1 second according to the sync signal,
The RTC detail data generator generates the detail data signal when the sync signal is at the rising edge state.
RTC(Real Time Clock) 디바이스의 동작에 필요한 시스템 클럭 신호를 생성하는 RTC 클럭 생성부;
상기 시스템 클럭 신호에 따라 상기 RTC 디바이스가 생성한 RTC 데이터를 호스트로 전송하고, 상기 RTC 데이터에 따라 싱크 신호를 생성하는 RTC 커넥터; 및
상기 싱크 신호에 따라 1초보다 작은 단위의 시간에 대한 세부 데이터 신호를 생성하는 RTC 세부 데이터 생성부를 포함하며,
상기 1초보다 작은 단위의 시간은 상기 시스템 클럭 신호의 주파수에 따라 결정되는 RTC 모듈.
An RTC clock generator configured to generate a system clock signal for operating an RTC device;
An RTC connector configured to transmit RTC data generated by the RTC device to a host according to the system clock signal, and generate a sink signal according to the RTC data; And
An RTC detail data generation unit generating a detail data signal for a time in a unit of less than 1 second according to the sync signal,
The unit of time less than the 1 second RTC module is determined according to the frequency of the system clock signal.
RTC(Real Time Clock) 디바이스의 동작에 필요한 시스템 클럭 신호를 생성하는 RTC 클럭 생성부;
상기 시스템 클럭 신호에 따라 상기 RTC 디바이스가 생성한 RTC 데이터를 호스트로 전송하고, 상기 RTC 데이터에 따라 싱크 신호를 생성하는 RTC 커넥터; 및
상기 싱크 신호에 따라 1초보다 작은 단위의 시간에 대한 세부 데이터 신호를 생성하는 RTC 세부 데이터 생성부를 포함하며,
상기 호스트는 FPGA(Field Programmable Gate Array) 기반의 반도체 장치인 RTC 모듈.
An RTC clock generator configured to generate a system clock signal for operating an RTC device;
An RTC connector configured to transmit RTC data generated by the RTC device to a host according to the system clock signal, and generate a sink signal according to the RTC data; And
An RTC detail data generation unit generating a detail data signal for a time in a unit of less than 1 second according to the sync signal,
The host is a field programmable gate array (FPGA) -based semiconductor device RTC module.
FPGA 기반의 반도체 장치인 호스트;
상기 호스트의 제어에 따라 RTC 데이터를 생성하는 RTC 디바이스; 및
상기 호스트와 상기 RTC 디바이스 사이에서 인터페이스 기능을 수행하는 제3항 내지 제5항 중 어느 한 항에 기재된 RTC 모듈을 포함하는 컴퓨터 시스템.
A host that is an FPGA-based semiconductor device;
An RTC device for generating RTC data under control of the host; And
A computer system comprising the RTC module of any one of claims 3 to 5 for performing an interface function between the host and the RTC device.
KR1020120031874A 2012-03-28 2012-03-28 A RTC module and a computer system including thereof KR101346185B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020120031874A KR101346185B1 (en) 2012-03-28 2012-03-28 A RTC module and a computer system including thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120031874A KR101346185B1 (en) 2012-03-28 2012-03-28 A RTC module and a computer system including thereof

Publications (2)

Publication Number Publication Date
KR20130109823A KR20130109823A (en) 2013-10-08
KR101346185B1 true KR101346185B1 (en) 2013-12-31

Family

ID=49631971

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120031874A KR101346185B1 (en) 2012-03-28 2012-03-28 A RTC module and a computer system including thereof

Country Status (1)

Country Link
KR (1) KR101346185B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004077171A (en) * 2002-08-12 2004-03-11 Tic Citizen Co Ltd Time data receiving device
JP2004519679A (en) 2001-03-15 2004-07-02 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Method for modifying the real-time clock of an electronic device
KR100683379B1 (en) 2005-09-12 2007-02-15 주식회사 케이티프리텔 Method and device for providing current time information of mobilestation
US20110160601A1 (en) * 2009-12-30 2011-06-30 Yang Wang Wire Free Self-Contained Single or Multi-Lead Ambulatory ECG Recording and Analyzing Device, System and Method Thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004519679A (en) 2001-03-15 2004-07-02 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Method for modifying the real-time clock of an electronic device
JP2004077171A (en) * 2002-08-12 2004-03-11 Tic Citizen Co Ltd Time data receiving device
KR100683379B1 (en) 2005-09-12 2007-02-15 주식회사 케이티프리텔 Method and device for providing current time information of mobilestation
US20110160601A1 (en) * 2009-12-30 2011-06-30 Yang Wang Wire Free Self-Contained Single or Multi-Lead Ambulatory ECG Recording and Analyzing Device, System and Method Thereof

Also Published As

Publication number Publication date
KR20130109823A (en) 2013-10-08

Similar Documents

Publication Publication Date Title
KR101912135B1 (en) Low-speed bus timestamp method and circuitry
US10764026B2 (en) Acoustic gesture recognition systems and methods
CN100530134C (en) System and method of measurement for a distributed computer system
US8412975B2 (en) USB based synchronization and timing system
JP2004507812A (en) Clock generator especially for USB devices
KR20150095500A (en) Data interface method having de-skew function and Apparatus there-of
CN101373629A (en) Clock signal generator, semiconductor memory device including the same, and methods of operating the same
US11657006B2 (en) Low latency memory access
CN102298414A (en) Server time synchronizing system
CN106815155B (en) Accessing data via different clocks
US9235255B2 (en) Semiconductor integrated circuit and information processing apparatus
KR102148806B1 (en) Semiconductor device and semiconductor system with the same
US20130103969A1 (en) Clock generation device for usb device
US9928193B2 (en) Distributed timer subsystem
JP2011146043A (en) Semiconductor device, semiconductor system having the device, and method of operating the system
CN100547933C (en) Be used for the synchronous system and method for clock signal
KR101346185B1 (en) A RTC module and a computer system including thereof
KR20150038560A (en) Power savings apparatus and method for memory device using delay locked loop
US20180083800A1 (en) Aggregation Device, System, And Method Thereof
US7249275B2 (en) Clock generating device and method for executing overclocking operation
CN101261875A (en) Memory controller
US8631214B2 (en) Memory control circuit, control method therefor, and image processing apparatus
US9419599B2 (en) Semiconductor integrated circuit, apparatus including semiconductor integrated circuit, and method for controlling clock signal in semiconductor integrated circuit
KR100734521B1 (en) Intellectual Property Module for System on Chip
US11237588B2 (en) Periodic process performing system and system on chip

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee