KR100594231B1 - External Input/Output data control apparatus improving system performance using automatically set control parameters and method thereof - Google Patents

External Input/Output data control apparatus improving system performance using automatically set control parameters and method thereof Download PDF

Info

Publication number
KR100594231B1
KR100594231B1 KR1020030067916A KR20030067916A KR100594231B1 KR 100594231 B1 KR100594231 B1 KR 100594231B1 KR 1020030067916 A KR1020030067916 A KR 1020030067916A KR 20030067916 A KR20030067916 A KR 20030067916A KR 100594231 B1 KR100594231 B1 KR 100594231B1
Authority
KR
South Korea
Prior art keywords
control
information
output
response
logic
Prior art date
Application number
KR1020030067916A
Other languages
Korean (ko)
Other versions
KR20050031682A (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 KR1020030067916A priority Critical patent/KR100594231B1/en
Publication of KR20050031682A publication Critical patent/KR20050031682A/en
Application granted granted Critical
Publication of KR100594231B1 publication Critical patent/KR100594231B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/387Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1668Details of memory controller
    • G06F13/1673Details of memory controller using buffers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Physics (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Algebra (AREA)
  • Pure & Applied Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Information Transfer Systems (AREA)

Abstract

자동적으로 콘트롤 파라메터를 세팅하여 시스템 성능을 개선한 외부 입출력 데이터 콘트롤 장치 및 그 방법이 개시된다. 상기 외부 입출력 데이터 콘트롤 장치에는, 시스템이 파워 온(power on) 된 후 처음으로 외부 입출력 장치에 접근 시, 외부 입출력 장치에 접근하기 위하여 필요한 콘트롤 파라메터 정보를 자동적으로 찾아 세팅하는 로직이 추가되어 시스템 성능을 개선한다. 다시말하여, 유저가 시스템 설계 시마다 외부 입출력 장치를 원활히 동작시키기 위한 콘트롤 파라메터 정보를 직접 찾아서 입력시켜주는 과정이 필요 없고, 이에 따라 휴먼 에러(human error)를 제거할 수 있으며, 콘트롤 파라메터 정보가 외부 입출력 장치에 맞게 적절한 값으로 세팅되므로 시스템을 효율적으로 구동할 수 있는 효과가 있다.Disclosed are an external input / output data control apparatus and a method for automatically improving system performance by setting control parameters. The external I / O data control device includes a logic for automatically finding and setting control parameter information necessary for accessing the external I / O device when the external I / O device is accessed for the first time after the system is powered on. To improve. In other words, the user does not need to directly find and input the control parameter information for smoothly operating the external input / output device every time the system is designed. Accordingly, the human error can be eliminated, and the control parameter information is Since it is set to an appropriate value for the input / output device, the system can be operated efficiently.

Description

자동적으로 콘트롤 파라메터를 세팅하여 시스템 성능을 개선한 외부 입출력 데이터 콘트롤 장치 및 그 방법{External Input/Output data control apparatus improving system performance using automatically set control parameters and method thereof}External input / output data control apparatus improving system performance using automatically set control parameters and method

본 발명의 상세한 설명에서 인용되는 도면을 보다 충분히 이해하기 위하여 각 도면의 간단한 설명이 제공된다.BRIEF DESCRIPTION OF THE DRAWINGS In order to better understand the drawings cited in the detailed description of the invention, a brief description of each drawing is provided.

도 1은 종래의 외부 입출력 데이터 콘트롤 장치를 나타내는 블록도이다.1 is a block diagram illustrating a conventional external input / output data control apparatus.

도 2는 본 발명의 일실시예에 따른 외부 입출력 데이터 콘트롤 장치를 나타내는 블록도이다.2 is a block diagram illustrating an external input / output data control apparatus according to an embodiment of the present invention.

도 3a 및 도 3b는 외부 입출력 데이터 콘트롤 장치의 동작 설명을 위한 흐름도이다.3A and 3B are flowcharts for describing an operation of an external input / output data control apparatus.

본 발명은 외부 입출력 데이터의 전송을 중계하는 장치에 관한 것으로, 특히 시스템과 외부 사이의 데이터 송수신을 효율적으로 중계하는 입출력 데이터 콘트롤 장치 및 그 방법에 관한 것이다.The present invention relates to an apparatus for relaying transmission of external input / output data, and more particularly, to an input / output data control apparatus and a method for efficiently relaying data transmission and reception between a system and an external device.

도 1은 종래의 외부 입출력 데이터 콘트롤 장치를 나타내는 블록도이다. 도 1을 참조하면, 시스템 버스와 외부 버스 사이에 구비되는 종래의 외부 입출력 데이터 콘트롤 장치는, 시스템 버스 인터페이스 로직(110), 타이밍 및 콘트롤 레지스터부(120), 및 입출력 콘트롤 로직(130)을 구비한다. 여기서, 입출력 콘트롤 로직(130)은 메인 스테이트 머신 로직(131), 콘트롤 신호 생성 로직(133), 및 신호 입출력 로직(135)을 구비한다. 이와 같은 종래의 외부 입출력 데이터 콘트롤 장치에서, 메모리와 같은 외부 입출력 장치(External I/O Device)에 접근 시에 필요한 콘트롤 파라메터 정보(CP)는 상기 타이밍 및 콘트롤 레지스터부(120)에 저장된다. 상기 콘트롤 파라메터 정보(CP)는 외부 입출력 장치에 접근 시 필요한 디펄트 파라메터 값들이거나 유저가 레지스터 세팅으로 설정한 파라메터 값들이다. 이와 같은 파라메터 값들은, 메모리와 같은 외부 입출력 장치의 사이즈에 맞게 상기 외부 입출력 장치에 접근하기 위하여, 전송할 데이터의 사이즈, 억세스 사이클 타임(access cycle time) 등에 대한 디지털 정보이다.1 is a block diagram illustrating a conventional external input / output data control apparatus. Referring to FIG. 1, a conventional external input / output data control device provided between a system bus and an external bus includes a system bus interface logic 110, a timing and control register unit 120, and an input / output control logic 130. do. Here, the input / output control logic 130 includes a main state machine logic 131, a control signal generation logic 133, and a signal input / output logic 135. In such a conventional external input / output data control device, control parameter information CP necessary for accessing an external I / O device such as a memory is stored in the timing and control register unit 120. The control parameter information CP is default parameter values required for accessing an external input / output device or parameters set by a user in register settings. Such parameter values are digital information about the size of data to be transmitted, an access cycle time, etc. in order to access the external I / O device according to the size of the external I / O device such as a memory.

상기와 같은 외부 입출력 데이터 콘트롤 장치에서, 외부 입출력 장치 접근이 필요한 경우에, 상기 메인 스테이트 머신 로직(131)은 시스템 버스 인터페이스 로직(110)으로부터 받은 콘트롤 신호(CON)에 응답하여 상기 콘트롤 신호 생성 로직(133)을 동작시킨다. 이에 따라, 상기 콘트롤 신호 생성 로직(133)은 상기 타이밍 및 콘트롤 레지스터부(120)로부터 콘트롤 파라메터 정보(CP)를 로딩하여 상기 신호 입출력 로직(135)을 구동한다. 상기 신호 입출력 로직(135)에서 출력되는 어드레스(EXTADDR), 데이터(EXTDATA), 및 콘트롤 신호(EXTCON)에 응답하여, 외부 입출력 장치는 해당 데이터를 리드(read)하거나 라이트(write)한다. 즉, 소정 프로세서가 시스템 버스를 통하여 내부 콘트롤 신호(INTCON) 등을 전송함으로써, 외부 버스에 연결되어있는 외부 입출력 장치에 접근을 요구할 때, 상기 외부 입출력 장치는 해당 데이터를 리드(read)하거나 라이트(write)한다.In the external I / O data control device as described above, when external I / O device access is required, the main state machine logic 131 may generate the control signal generation logic in response to the control signal CON received from the system bus interface logic 110. 133 is operated. Accordingly, the control signal generation logic 133 loads the control parameter information CP from the timing and control register unit 120 to drive the signal input / output logic 135. In response to the address EXTADDR, data EXTDATA, and control signal EXTCON output from the signal input / output logic 135, the external input / output device reads or writes the corresponding data. That is, when a predetermined processor requests access to an external input / output device connected to an external bus by transmitting an internal control signal INTCON through a system bus, the external input / output device reads or writes the corresponding data. write).

메모리와 같은 외부 입출력 장치를 구비하여 데이터를 저장하거나 그 데이터를 이용하여 동작하는 많은 디지털 시스템에서는, 외부 입출력 장치의 관리가 중요하다. 이와 같은 외부 입출력 장치는 하나일 수 있지만, 복잡한 많은 디지털 시스템은 다수 뱅크들로 구성되는 여러 개의 외부 입출력 장치들을 구비한다. 이와 같이 다수의 외부 입출력 장치들을 관리하는 외부 입출력 데이터 콘트롤 장치는, 도 1에 도시된 바와 같이, 콘트롤 파라메터 정보(CP)를 저장하는 타이밍 및 콘트롤 레지스터부(120)를 구비하여, 외부 입출력 장치들에의 접근을 지원한다. 그러나, 종래의 외부 입출력 데이터 콘트롤 장치에서는, 외부 입출력 장치들 각각을 원활히 동작시키기 위하여, 유저가 적절한 콘트롤 파라메터 정보(CP)를 찾아서 타이밍 및 콘트롤 레지스터부(120)에 직접 입력시켜 주어야 한다. 따라서, 이러한 과정에서 많은 오류가 발생될 수 있고, 사용자는 적지 않은 시간과 노력을 기울여야 한다는 문제점이 있다.In many digital systems having an external input / output device such as a memory to store data or operating using the data, management of the external input / output device is important. There may be one such external input / output device, but many complex digital systems have several external input / output devices composed of multiple banks. As described above, the external I / O data control device managing the plurality of external I / O devices includes a timing and control register unit 120 storing the control parameter information CP, as illustrated in FIG. 1. Support access to However, in the conventional external input / output data control apparatus, in order to smoothly operate each of the external input / output devices, the user must find the appropriate control parameter information CP and input the input directly to the timing and control register unit 120. Therefore, a lot of errors can be generated in this process, the user has a problem that a lot of time and effort should be taken.

따라서, 본 발명이 이루고자하는 기술적 과제는, 시스템이 파워 온(power on) 된 후 처음으로 외부 입출력 장치에 접근 시, 외부 입출력 장치에 접근하기 위하여 필요한 콘트롤 파라메터 정보를 자동적으로 찾아 세팅하는 로직을 추가하여 시스템 성능을 개선한 외부 입출력 데이터 콘트롤 장치 및 그 방법을 제공하는 데 있다. Accordingly, the technical problem to be achieved by the present invention is to add a logic for automatically finding and setting the control parameter information required to access the external I / O device for the first time after the system is powered on. The present invention provides an external input / output data control device and method for improving system performance.

상기의 기술적 과제를 달성하기 위한 본 발명에 따른 외부 입출력 데이터 콘트롤 장치는, 시스템 버스 인터페이스 로직, 타이밍 및 콘트롤 레지스터부, 및 입출력 콘트롤 로직을 구비하는 것을 특징으로 한다.An external input / output data control apparatus according to the present invention for achieving the above technical problem is characterized by comprising a system bus interface logic, a timing and control register unit, and an input and output control logic.

상기 시스템 버스 인터페이스 로직은 시스템 버스 인터페이스 신호들을 입력받아 래치하여 출력한다. 상기 타이밍 및 콘트롤 레지스터부는 디펄트 콘트롤 파라메터 정보를 저장하고, 초기 설정 과정에 의하여 추출된 최종 콘트롤 파라메터 정보를 저장한다. 상기 입출력 콘트롤 로직은 상기 디펄트 콘트롤 파라메터 정보를 이용하여 상기 초기 설정 과정을 수행하여 외부 입출력 장치에 접근 시 사용될 상기 최종 콘트롤 파라메터 정보를 추출하여 상기 타이밍 및 콘트롤 레지스터부에 저장시키고, 상기 최종 콘트롤 파라메터 정보, 및 상기 시스템 버스 인터페이스 로직에서 출력되는 상기 시스템 버스 인터페이스 신호들에 따라 상기 외부 입출력 장치에 대한 정상 상태 접근을 콘트롤한다.The system bus interface logic receives and latches and outputs system bus interface signals. The timing and control register unit stores default control parameter information and stores final control parameter information extracted by an initial setting process. The input / output control logic performs the initial setting process by using the default control parameter information, extracts the last control parameter information to be used when accessing an external input / output device, and stores the final control parameter information in the timing and control register. Control the steady state access to the external input / output device according to information and the system bus interface signals output from the system bus interface logic.

상기 입출력 콘트롤 로직은, 메인 스테이트 머신 로직, 임시 파라메터 레지스터, 탐색 로직, 라이트 동작 생성 로직, 라이트 데이터 버퍼, 리드 동작 생성 로직, 리드 데이터 버퍼, 비교 로직, 콘트롤 신호 생성 로직, 및 신호 입출력 로직을 구비하는 것을 특징으로 한다.The input / output control logic includes main state machine logic, temporary parameter register, search logic, write operation generation logic, write data buffer, read operation generation logic, read data buffer, comparison logic, control signal generation logic, and signal input / output logic. Characterized in that.

상기 메인 스테이트 머신 로직은 파워 온 후 상기 외부 입출력 장치에 최초 접근 시 상기 초기 설정 과정을 제어하는 메인 콘트롤 신호를 발생시켜 출력하고, 상기 외부 입출력 장치에 상기 정상 상태 접근 시 상기 시스템 버스 인터페이스 신호들에 응답하여 상기 정상 상태 접근을 제어하는 메인 콘트롤 신호를 발생시켜 출력한다. 상기 임시 파라메터 레지스터는 초기 콘트롤 정보에 응답하여 최초로 상기 디펄트 콘트롤 파라메터 정보를 저장하고, 상기 초기 설정 과정에서 발생하는 임시 탐색 버퍼값으로 업데이트시켜 저장하며, 상기 초기 설정 과정 완료 후에 저장되는 상기 최종 콘트롤 파라메터 정보를 상기 타이밍 및 콘트롤 레지스터부로 전달한다. 상기 탐색 로직은 상기 초기 콘트롤 정보에 응답하여 상기 디펄트 콘트롤 파라메터 정보를 입력받아 그에 속하는 소정 파라메터의 최대값 및 최소값 각각을 탐색하여 저장하고, 상기 초기 설정 과정에서 상기 임시 파라메터 레지스터에서 출력되는 상기 임시 탐색 버퍼값을 탐색하여 상기 최대값 또는 상기 최소값을 업데이트시켜 저장한다. 상기 라이트 동작 생성 로직은 상기 초기 콘트롤 정보에 응답하여 라이트 동작 신호를 생성하여 출력한다. 상기 라이트 데이터 버퍼는 상기 라이트 동작 신호에 응답하여 디펄트 라이트 데이터를 출력한다. 상기 리드 동작 생성 로직은 상기 초기 콘트롤 정보에 응답하여 리드 동작 신호를 생성하여 출력한다. 상기 리드 데이터 버퍼는 상기 리드 동작 신호에 응답하여 리드 데이터를 저장한다. 상기 비교 로직은 상기 디펄트 라이트 데이터와 상기 리드 데이터가 같은지 같지 않은지 여부에 따라 서로 다른 논리 상태를 가지는 비교 정보를 출력한다. 상기 콘트롤 신호 생성 로직은 상기 메인 콘트롤 신호에 응답하여, 상기 초기 설정 과정에서 상기 초기 콘트롤 정보를 발생시키고 상기 비교 정보의 논리 상태에 대응하여 상기 임시 탐색 버퍼값을 업데이트시키며, 상기 정상 상태 접근 시에 정상 상태 입출력 콘트롤 정보를 출력한다. 상기 신호 입출력 로직은 상기 초기 콘트롤 정보에 응답하여, 상기 디펄트 라이트 데이터를 받아 외부로 출력하고 이에 대응하여 상기 외부 입출력 장치로부터 입력되는 상기 리드 데이터를 받아 출력하며, 상기 정상 상태 입출력 콘트롤 정보에 응답하여, 상기 외부 입출력 장치를 콘트롤하는 콘트롤 신호, 어드레스, 및 데이터를 출력한다. The main state machine logic generates and outputs a main control signal for controlling the initial setting process upon initial access to the external input / output device after power-on, and on the system bus interface signals when the external state approaches the external input / output device. In response, a main control signal for controlling the steady state access is generated and output. The temporary parameter register first stores the default control parameter information in response to initial control information, updates and stores the temporary search buffer value generated during the initial setting process, and stores the final control stored after completion of the initial setting process. Parameter information is transmitted to the timing and control register unit. The search logic receives the default control parameter information in response to the initial control information, searches for and stores each of a maximum value and a minimum value of a predetermined parameter belonging to the default control information, and the temporary output output from the temporary parameter register during the initial setting process. The search buffer value is searched and the maximum value or the minimum value is updated and stored. The write operation generation logic generates and outputs a write operation signal in response to the initial control information. The write data buffer outputs default write data in response to the write operation signal. The read operation generation logic generates and outputs a read operation signal in response to the initial control information. The read data buffer stores read data in response to the read operation signal. The comparison logic outputs comparison information having different logic states depending on whether the default write data and the read data are the same or not. The control signal generation logic generates the initial control information in the initial setting process in response to the main control signal, updates the temporary search buffer value in response to the logic state of the comparison information, and, upon approaching the steady state, Outputs steady state I / O control information. The signal input / output logic receives the default write data and outputs the read data received from the external input / output device in response to the initial control information, and outputs the read data input from the external input / output device in response thereto. The controller outputs a control signal, an address, and data for controlling the external input / output device.

상기 임시 탐색 버퍼값은, 상기 비교 정보가 제1 논리 상태일 때, 수학식,The temporary search buffer value is, when the comparison information is a first logical state, the equation,

임시 탐색 버퍼값=(임시 파라메터 레지스터 값 + 파라메터 최대값)/2Temporary search buffer value = (temporary parameter register value + parameter maximum value) / 2

에 의하여 업데이트되는 것을 특징으로 한다. 또한, 상기 임시 탐색 버퍼값은, 상기 비교 정보가 제2 논리 상태일 때, 수학식,It is characterized by being updated by. In addition, the temporary search buffer value, when the comparison information is a second logic state, the equation,

임시 탐색 버퍼값=(임시 파라메터 레지스터 값 + 파라메터 최소값)/2Temporary search buffer value = (temporary parameter register value + parameter minimum value) / 2

에 의하여 업데이트되는 것을 특징으로 한다.It is characterized by being updated by.

상기의 다른 기술적 과제를 달성하기 위한 본 발명에 따른 외부 입출력 데이터 콘트롤 방법은, 디펄트 콘트롤 파라메터 정보를 저장하는 제1 레지스터를 구비하여, 외부 입출력 데이터를 콘트롤하는 방법에 있어서, 다음과 같은 단계를 구비하는 것을 특징으로 한다.In accordance with another aspect of the present invention, there is provided a method for controlling external input / output data, the method including a first register for storing default control parameter information. It is characterized by including.

즉, 본 발명에 따른 외부 입출력 데이터 콘트롤 방법은, 시스템 버스 인터페이스 신호들을 입력받아 래치하여 출력하는 단계; 상기 디펄트 콘트롤 파라메터 정보를 이용하여 초기 설정 과정을 수행하여 외부 입출력 장치에 접근 시 사용될 최종 콘트롤 파라메터 정보를 추출하는 단계; 상기 초기 설정 과정에 의하여 추출된 상기 최종 콘트롤 파라메터 정보를 상기 제1 레지스터에 저장하는 단계; 및 상기 최종 콘트롤 파라메터 정보, 및 상기 시스템 버스 인터페이스 신호들에 따라 상기 외부 입출력 장치에 대한 정상 상태 접근을 콘트롤하는 단계를 구비하는 것을 특징으로 한다.That is, the method for controlling external input / output data according to the present invention comprises the steps of: receiving and latching and outputting system bus interface signals; Extracting final control parameter information to be used when accessing an external input / output device by performing an initial setting process using the default control parameter information; Storing the final control parameter information extracted by the initial setting process in the first register; And controlling a steady state access to the external input / output device according to the last control parameter information and the system bus interface signals.

본 발명과 본 발명의 동작상의 이점 및 본 발명의 실시에 의하여 달성되는 목적을 충분히 이해하기 위해서는 본 발명의 바람직한 실시예를 예시하는 첨부 도면 및 첨부 도면에 기재된 내용을 참조하여야만 한다.In order to fully understand the present invention, the operational advantages of the present invention, and the objects achieved by the practice of the present invention, reference should be made to the accompanying drawings which illustrate preferred embodiments of the present invention and the contents described in the accompanying drawings.

이하, 첨부한 도면을 참조하여 본 발명의 바람직한 실시예를 설명함으로써, 본 발명을 상세히 설명한다. 각 도면에 제시된 동일한 참조부호는 동일한 부재를 나타낸다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. Like reference numerals in the drawings denote like elements.

도 2는 본 발명의 일실시예에 따른 외부 입출력 데이터 콘트롤 장치를 나타내는 블록도이다. 도 2를 참조하면, 상기 외부 입출력 데이터 콘트롤 장치는, 시스템 버스 인터페이스 로직(system bus interface logic)(210), 타이밍 및 콘트롤 레지스터부(timing and control register)(220), 및 입출력 콘트롤 로직(input/output control logic)(230)을 구비한다.2 is a block diagram illustrating an external input / output data control apparatus according to an embodiment of the present invention. Referring to FIG. 2, the external input / output data control device includes a system bus interface logic 210, a timing and control register 220, and an input / output control logic. output control logic 230.

상기 시스템 버스 인터페이스 로직(210)은 시스템 버스 인터페이스 신호들(INTADDR, INTDATA, INTCON)을 입력받아 래치하여 출력한다. 시스템 버스 인터페이스 신호들(INTADDR, INTDATA, INTCON)은 내부 어드레스(INTADDR), 내부 데이터(INTDATA), 및 내부 콘트롤 신호(INTCON) 등으로 구성되고, 이들은 소정 프로세서가 외부 버스에 연결되어있는 외부 입출력 장치에 접근을 요구할 때, 시스템 버 스를 통하여 수신되는 신호들이다. 상기 소정 프로세서는 시스템 버스에 연결되고, 상기 외부 입출력 장치는 외부 버스에 연결된다. 위에서 기술한 바와 같이, 소정 프로세서가 외부 입출력 장치에 접근을 요구하는 것은 상기 외부 입출력 장치로부터 필요한 해당 데이터를 리드하거나 라이트하기 위함이다. The system bus interface logic 210 receives and latches and outputs system bus interface signals INTADDR, INTDATA, and INTCON. The system bus interface signals INTADDR, INTDATA, and INTCON are composed of an internal address INTADDR, internal data INTDATA, and an internal control signal INTCON, which are external I / O devices in which a predetermined processor is connected to an external bus. These are the signals received through the system bus when requesting access. The predetermined processor is connected to a system bus, and the external input / output device is connected to an external bus. As described above, a predetermined processor requests access to an external input / output device to read or write corresponding data required from the external input / output device.

상기 타이밍 및 콘트롤 레지스터부(220)는 디펄트 콘트롤 파라메터 정보(DCP)를 저장하고, 초기 설정 과정에 의하여 추출된 최종 콘트롤 파라메터 정보(FCP)를 저장한다. 디펄트 콘트롤 파라메터 정보(DCP)는 시스템 버스 인터페이스 신호들(INTADDR, INTDATA, INTCON)을 이용하여 저장되거나, 유저의 세팅에 의하여 저장될 수 있다.The timing and control register unit 220 stores default control parameter information DCP and stores final control parameter information FCP extracted by an initial setting process. The default control parameter information DCP may be stored using the system bus interface signals INTADDR, INTDATA, and INTCON, or may be stored according to a user's setting.

소정 프로세서가 파워 온후 최초로 상기 외부 입출력 장치에 접근할 때에, 상기 입출력 콘트롤 로직(230)은 상기 초기 설정 과정을 수행하고, 상기 초기 설정 과정의 수행 후, 두 번째 이후의 상기 외부 입출력 장치에 대한 접근은 정상 상태 접근을 콘트롤한다. 즉, 상기 입출력 콘트롤 로직(230)은 상기 디펄트 콘트롤 파라메터 정보(DCP)를 이용하여 상기 초기 설정 과정을 수행하여 외부 입출력 장치에 접근 시 사용될 상기 최종 콘트롤 파라메터 정보(FCP)를 추출하여 상기 타이밍 및 콘트롤 레지스터부(220)에 저장시킨다. 또한, 상기 입출력 콘트롤 로직(230)은 상기 최종 콘트롤 파라메터 정보(FCP), 및 상기 시스템 버스 인터페이스 로직(210)에서 출력되는 상기 시스템 버스 인터페이스 신호들(INTADDR, INTDATA, INTCON)에 따라 상기 외부 입출력 장치에 대한 정상 상태 접근을 콘트롤한다. When a predetermined processor approaches the external input / output device for the first time after power-on, the input / output control logic 230 performs the initial setting process, and after performing the initial setting process, access to the second and subsequent external input / output devices after the execution of the initial setting process. Controls steady state access. That is, the input / output control logic 230 performs the initial setting process by using the default control parameter information DCP, extracts the final control parameter information FCP to be used when accessing an external input / output device, and generates the timing and It is stored in the control register unit 220. In addition, the input / output control logic 230 may control the external input / output device according to the final control parameter information FCP and the system bus interface signals INTADDR, INTDATA, and INTCON output from the system bus interface logic 210. Controls steady state access to

상기 입출력 콘트롤 로직(230)은, 도 2에 도시된 바와 같이, 메인 스테이트 머신 로직(main state machine logic)(231), 임시 파라메터 레지스터(temporary parameter register)(232), 탐색 로직(value searching logic)(233), 라이트 동작 생성 로직(write operation generation logic)(234), 라이트 데이터 버퍼(write data buffer)(235), 리드 동작 생성 로직(read operation generation logic)(236), 리드 데이터 버퍼(read data buffer)(237), 비교 로직(comparison losic)(238), 콘트롤 신호 생성 로직(control signal generation logic)(239), 및 신호 입출력 로직(signal input/output logic)(240)을 구비한다.As illustrated in FIG. 2, the input / output control logic 230 may include a main state machine logic 231, a temporary parameter register 232, and a value searching logic. 233, write operation generation logic 234, write data buffer 235, read operation generation logic 236, read data buffer a buffer 237, comparison logic 238, control signal generation logic 239, and signal input / output logic 240.

상기 메인 스테이트 머신 로직(231)은 파워 온 후 상기 외부 입출력 장치에 최초 접근 시 상기 초기 설정 과정을 제어하는 메인 콘트롤 신호(MAINCON)를 발생시켜 출력하고, 상기 외부 입출력 장치에 상기 정상 상태 접근 시 상기 시스템 버스 인터페이스 신호들(INTADDR, INTDATA, INTCON)에 응답하여 상기 정상 상태 접근을 제어하는 메인 콘트롤 신호(MAINCON)를 발생시켜 출력한다. 파워 온 후 상기 외부 입출력 장치에 최초 접근이 이루어지는 가는 내부 콘트롤 신호(INTCON)가 시스템 인터페이스 로직에서 래치된 후 출력되는 콘트롤 신호(CON)에 의하여 판단될 수 있다. 또한, 상기 메인 스테이트 머신 로직(231)은 상기 초기 설정 과정을 제어하는 메인 콘트롤 신호(MAINCON)를 발생시킬 때, 대기 신호(WATE)를 시스템 버스에 출력하고, 상기 초기 설정 과정이 완료되면, 대기 신호(WATE)를 해제하는 신호를 시스템 버스에 출력한다.The main state machine logic 231 generates and outputs a main control signal MAINCON for controlling the initial setting process upon initial access to the external input / output device after power on, and when the normal state approaches the external input / output device. In response to system bus interface signals INTADDR, INTDATA, INTCON, a main control signal MAINCON for controlling the steady state access is generated and output. The internal control signal INTCON, which initially accesses the external input / output device after power-on may be determined by the control signal CON which is output after being latched by the system interface logic. In addition, the main state machine logic 231 outputs a wait signal WATE to a system bus when generating the main control signal MAINCON for controlling the initial setup process, and when the initial setup process is completed, waits. Output a signal to the system bus to release the signal (WATE).

상기 임시 파라메터 레지스터(232)는 초기 콘트롤 정보(PECON)에 응답하여 최초로 상기 디펄트 콘트롤 파라메터 정보(DCP)를 저장하고, 상기 초기 설정 과정 에서 발생하는 임시 탐색 버퍼값으로 업데이트시켜 저장하며, 상기 초기 설정 과정 완료 후에 저장되는 상기 최종 콘트롤 파라메터 정보(FCP)를 상기 타이밍 및 콘트롤 레지스터부(220)로 전달한다. 임시 탐색 버퍼는 콘트롤 신호 생성 로직(239) 등에 구비될 수 있다.The temporary parameter register 232 stores the default control parameter information DCC for the first time in response to the initial control information PECON, updates the temporary search buffer value generated during the initial setting process, and stores the initial search buffer value. The final control parameter information FCP stored after completion of the setting process is transferred to the timing and control register unit 220. The temporary search buffer may be provided in the control signal generation logic 239 or the like.

상기 탐색 로직(233)은 상기 초기 콘트롤 정보에 응답하여 상기 디펄트 콘트롤 파라메터 정보(DCP)를 입력받아 그에 속하는 소정 파라메터의 최대값(MAX) 및 최소값(MIN) 각각을 탐색하여 저장하고, 상기 초기 설정 과정에서 상기 임시 파라메터 레지스터(232)에서 출력되는 상기 임시 탐색 버퍼값을 탐색하여 상기 최대값(MAX) 또는 상기 최소값(MIN)을 업데이트시켜 저장한다. The search logic 233 receives the default control parameter information DCP in response to the initial control information, searches for and stores each of a maximum value MAX and a minimum value MIN of a predetermined parameter belonging to the initial control information, and stores the initial value. In the setting process, the temporary search buffer value output from the temporary parameter register 232 is searched and the maximum value MAX or the minimum value MIN is updated and stored.

상기 라이트 동작 생성 로직(234)은 상기 초기 콘트롤 정보(PECON)에 응답하여 라이트 동작 신호(WOP)를 생성하여 출력한다. The write operation generation logic 234 generates and outputs a write operation signal WOP in response to the initial control information PECON.

상기 라이트 데이터 버퍼(235)는 상기 라이트 동작 신호(WOP)에 응답하여 디펄트 라이트 데이터(DWD)를 출력한다. The write data buffer 235 outputs default write data DWD in response to the write operation signal WOP.

상기 리드 동작 생성 로직(236)은 상기 초기 콘트롤 정보(PECON)에 응답하여 리드 동작 신호(ROP)를 생성하여 출력한다. The read operation generation logic 236 generates and outputs a read operation signal ROP in response to the initial control information PECON.

상기 리드 데이터 버퍼(237)는 상기 리드 동작 신호(ROP)에 응답하여 리드 데이터(RD)를 저장한다. The read data buffer 237 stores read data RD in response to the read operation signal ROP.

상기 비교 로직(238)은 상기 디펄트 라이트 데이터(DWD)와 상기 리드 데이터(RD)가 같은지 같지 않은지 여부에 따라 서로 다른 논리 상태를 가지는 비교 정보를 출력한다. 상기 디펄트 라이트 데이터(DWD)와 상기 리드 데이터(RD)가 다른 경우에 상기 비교 정보는 제1 논리 상태(논리 로우 상태)이고, 상기 디펄트 라이트 데이터(DWD)와 상기 리드 데이터(RD)가 같은 경우에 상기 비교 정보는 제2 논리 상태(논리 하이 상태)이다.The comparison logic 238 outputs comparison information having different logic states depending on whether the default write data DWD and the read data RD are the same or not. When the default write data DWD and the read data RD are different from each other, the comparison information is in a first logic state (logical low state), and the default write data DWD and the read data RD are different from each other. In the same case, the comparison information is a second logic state (logical high state).

상기 콘트롤 신호 생성 로직(239)은 상기 메인 콘트롤 신호(MAINCON)에 응답하여, 상기 초기 설정 과정에서 상기 초기 콘트롤 정보(PECON)를 발생시키고 상기 비교 정보의 논리 상태에 대응하여 상기 임시 탐색 버퍼값을 업데이트시키며, 상기 정상 상태 접근 시에 정상 상태 입출력 콘트롤 정보(DSCON)를 출력한다. 상기 초기 콘트롤 정보(PECON)에 의하여, 상기 임시 탐색 버퍼값은, 상기 비교 정보가 제1 논리 상태일 때, [수학식 1]과 같이 업데이트된다. 또한, 상기 초기 콘트롤 정보(PECON)에 의하여, 상기 임시 탐색 버퍼값은, 상기 비교 정보가 제2 논리 상태일 때, [수학식 2]와 같이 업데이트된다.The control signal generation logic 239 generates the initial control information PECON in the initial setting process in response to the main control signal MAINCON and sets the temporary search buffer value in response to a logic state of the comparison information. And outputs steady state input / output control information (DSCON) when the steady state approaches. By the initial control information PECON, the temporary search buffer value is updated as shown in [Equation 1] when the comparison information is in the first logical state. Further, by the initial control information PECON, the temporary search buffer value is updated as shown in [Equation 2] when the comparison information is in the second logical state.

[수학식 1][Equation 1]

임시 탐색 버퍼값=(임시 파라메터 레지스터 값 + 파라메터 최대값)/2Temporary search buffer value = (temporary parameter register value + parameter maximum value) / 2

[수학식 2][Equation 2]

임시 탐색 버퍼값=(임시 파라메터 레지스터 값 + 파라메터 최소값)/2Temporary search buffer value = (temporary parameter register value + parameter minimum value) / 2

상기 신호 입출력 로직(240)은 상기 초기 콘트롤 정보(PECON)에 응답하여, 상기 디펄트 라이트 데이터(DWD)를 받아 외부로 출력하고 이에 대응하여 상기 외부 입출력 장치로부터 입력되는 상기 리드 데이터(RD)를 받아 출력하며, 상기 정상 상태 입출력 콘트롤 정보(DSCON)에 응답하여, 상기 외부 입출력 장치를 콘트롤하는 콘트롤 신호(EXTCON), 어드레스(EXTADDR), 및 데이터(EXTDATA)를 출력한다. The signal input / output logic 240 receives the default write data DWD in response to the initial control information PECON and outputs the read data RD to the outside and correspondingly outputs the read data RD input from the external input / output device. The controller outputs the control signal EXTCON, the address EXTADDR, and the data EXTDATA that control the external input / output device in response to the steady state input / output control information DSCON.

이하, 본 발명의 일실시예에 따른 상기 외부 입출력 데이터 콘트롤 장치의 초기 설정 과정 수행 동작을 좀더 상세하게 설명한다.Hereinafter, an operation of performing an initial setting process of the external input / output data control apparatus according to an embodiment of the present invention will be described in detail.

도 3a 및 도 3b는 도 2의 외부 입출력 데이터 콘트롤 장치의 동작 설명을 위한 흐름도이다. 도 3a 및 도 3b를 참조하면, 도 2의 외부 입출력 데이터 콘트롤 장치가 파워 온 된 후 초기 설정 과정을 수행하는 과정이 나타나있다. 먼저, 파워가 온 된 후 소정 프로세서가 외부 입출력 장치에 접근을 시도하면(S311), 상기 메인 스테이트 머신 로직(231)은 초기 설정 과정을 제어하는 메인 콘트롤 신호(MAINCON)를 발생시키고, 이때, 대기 신호(WATE)를 시스템 버스에 출력한다(S313). 이에 따라, 임시 파라메터 레지스터(232)는 초기 콘트롤 정보(PECON)에 응답하여 최초로 디펄트 콘트롤 파라메터 정보(DCP)를 저장하고, 탐색 로직(233)은 상기 초기 콘트롤 정보(PECON)에 응답하여 상기 디펄트 콘트롤 파라메터 정보(DCP)를 입력받아 그에 속하는 소정 파라메터의 최대값(MAX) 및 최소값(MIN) 각각을 탐색하여 저장한다(S315~S317). 최대값(MAX) 및 최소값(MIN) 각각은 파라메터에 따라 다른 값을 가질 수 있다. 상기 메인 콘트롤 신호(MAINCON)에 응답하여, 상기 초기 설정 과정에서 상기 초기 콘트롤 정보(PECON)를 발생시키는 것은 콘트롤 신호 생성 로직(239)에 의하여 이루어진다. 여기서 소정 파라메터에 대응하는 최대값(MAX) 및 최소값(MIN)을 탐색하는 과정은 모든 파라메터들에 공통적이며, 반복 구간(repeat block)(S319~S333)에서 이들은 새로운 값으로 업데이트된다. 디펄트 콘트롤 파라메터 정보(DCP)에 속하는 파라메터들에는 억세스 사이클 타임 파라메터(access cycle time parameter)(TACC), 칩 선택 홀드 타임 파라메터(chip selection hold time parameter)(TCOH), 칩 선택 셋업 타임 파라메터(chip selection set up time parameter)(TCOS), 어드레스 셋업 타임 파라메터(address set up time parameter)(TACS), 페이지 어드레스 억세스 타임 파라메터(page address access time parameter)(TPA) 등이 있고, 이외에도 필요한 다른 파라메터들이 더 있을 수 있다.3A and 3B are flowcharts for describing an operation of the external input / output data control device of FIG. 2. 3A and 3B, a process of performing an initial setting process after powering on the external input / output data control device of FIG. 2 is shown. First, when a predetermined processor attempts to access an external input / output device after power is turned on (S311), the main state machine logic 231 generates a main control signal MAINCON for controlling an initial setting process, and at this time, the standby The signal WATE is output to the system bus (S313). Accordingly, the temporary parameter register 232 first stores the default control parameter information DCP in response to the initial control information PECON, and the search logic 233 stores the decode control in response to the initial control information PECON. The pulse control parameter information DCP is received, and each of the maximum value MAX and the minimum value MIN of a predetermined parameter belonging thereto is searched for and stored (S315 to S317). Each of the maximum value MAX and the minimum value MIN may have a different value depending on the parameter. In response to the main control signal MAINCON, generating the initial control information PECON in the initial setting process is performed by the control signal generation logic 239. The process of searching for the maximum value MAX and the minimum value MIN corresponding to a predetermined parameter is common to all parameters, and they are updated with new values in repeat blocks S319 to S333. Parameters belonging to the default control parameter information (DCP) include the access cycle time parameter (TACC), the chip selection hold time parameter (TCOH), and the chip selection setup time parameter (chip). selection set up time parameter (TCOS), address set up time parameter (TACS), page address access time parameter (TPA), and more. There may be.

반복 구간(S319~S333)에서, 먼저, 디펄트 콘트롤 파라메터 정보(DCP) 중 억세스 사이클 타임 파라메터(TACC)를 설정하기 위하여, 콘트롤 신호 생성 로직(239)에서 발생된 초기 콘트롤 정보(PECON)에 의하여, 임시 파라메터 레지스터(232)의 해당 파라메터 값을 임시 탐색 버퍼값으로 한다(S319). 단, 초기 임시 탐색 버퍼값은, 예를 들어 상기 최대값(MAX)이 31이고, 상기 최소값(MIN)이 0인 경우에, 이들의 중간값, 즉, 15 또는 16이다. 임시 탐색 버퍼는 콘트롤 신호 생성 로직(239)에 구비될 수 있다. 다시, 콘트롤 신호 생성 로직(239)은, 초기 콘트롤 정보(PECON)에 의하여, 초기 설정 과정에서 발생하는 임시 탐색 버퍼값을 가지고 임시 파라메터 레지스터(232)를 업데이트시키고, 이에 따라 업데이트된 임시 파라메터 레지스터(232) 값으로 라이트 동작 생성 로직(234)을 구동한다(S321). 라이트 동작 생성 로직(234)은 상기 초기 콘트롤 정보(PECON)에 응답하여 라이트 동작 신호(WOP)를 생성하고, 라이트 데이터 버퍼(235)는 상기 라이트 동작 신호(WOP)에 응답하여 디펄트 라이트 데이터(DWD)를 출력한다(S321). 이때, 신호 입출력 로직(240)은 상기 초기 콘트롤 정보(PECON)에 응답하여, 상기 디펄트 라이트 데이터(DWD)를 받아 외부로 출력하고 이에 대응하여 외부 입출력 장치로부터 입력되는 리드 데이터(RD)를 받아 출력한다(S321). 리드 동작 생성 로직(236)은 상기 초기 콘트롤 정보(PECON)에 응답하여 리드 동작 신호(ROP)를 생성하여 출력하고, 리드 데이터 버퍼(237)는 상기 리드 동작 신호(ROP)에 응답하여 신호 입출력 로직(240)에서 출력되는 리드 데이터(RD)를 저장한다(S323). In the repetition period (S319 to S333), first, in order to set the access cycle time parameter (TACC) among the default control parameter information (DCP), by the initial control information (PECON) generated in the control signal generation logic (239). The parameter value of the temporary parameter register 232 is set as a temporary search buffer value (S319). However, the initial temporary search buffer values are, for example, when the maximum value MAX is 31 and the minimum value MIN is 0, their intermediate values, that is, 15 or 16. The temporary search buffer may be provided in the control signal generation logic 239. Again, the control signal generation logic 239 updates the temporary parameter register 232 with the temporary search buffer value generated in the initial setting process by the initial control information PECON, and accordingly the updated temporary parameter register ( In operation S321, the write operation generation logic 234 is driven with the value. The write operation generating logic 234 generates a write operation signal WOP in response to the initial control information PECON, and the write data buffer 235 responds to the default write data WOP in response to the write operation signal WOP. DWD) is output (S321). In this case, the signal input / output logic 240 receives the default write data DWD and outputs the output to the outside in response to the initial control information PECON, and receives the read data RD input from the external input / output device correspondingly. Output (S321). The read operation generation logic 236 generates and outputs a read operation signal ROP in response to the initial control information PECON, and the read data buffer 237 outputs signal input / output logic in response to the read operation signal ROP. The read data RD output from the 240 is stored (S323).

한편, 라이트 동작 생성 로직(234) 및 리드 동작 생성 로직(236)의 동작에 따라, 비교 로직(238)은 상기 디펄트 라이트 데이터(DWD)와 상기 리드 데이터(RD)가 같은지 같지 않은지 여부에 따라 서로 다른 논리 상태를 가지는 비교 정보를 출력한다(S325). 콘트롤 신호 생성 로직(239)은 상기 비교 정보가 제1 논리 상태일 때, 파워온 후 최초 접근인지를 판단하여, 최초 접근이면 임시 탐색 버퍼값을 최소값으로 저장하고, 최초를 나타내는 소정 플래그를 세팅하며, 임시 탐색 버퍼값을, [수학식 1]과 같이 업데이트시킨다(S335~S339). 콘트롤 신호 생성 로직(239)은 상기 비교 정보가 제2 논리 상태일 때, 파워온 후 최초 접근인지를 판단하여, 최초 접근이면 임시 탐색 버퍼값을 최대값으로 저장하고, 최초를 나타내는 소정 플래그를 세팅하며, 임시 탐색 버퍼값을 [수학식 2]과 같이 업데이트시킨다(S327~S331). 그러나, 상기 비교 정보가 제1 논리 상태일 때에는, 외부 입출력 장치가 억세스 사이클 타임 파라메터(TACC)의 최소값(MIN)이 더 커져야하는 경우에 해당하므로, 임시 탐색 버퍼값은 더 커지는 방향으로 업데이트 되고, 현재의 임시 파라메터 레지스터(232) 값이 최소값(MIN)으로 업데이트된다(S337). 또한, 상기 비교 정보가 제2 논리 상태일 때에는, 외부 입출력 장치가 억세스 사이클 타임 파라메터(TACC)의 최대값(MAX)이 더 작아져야하는 경우에 해당하므로, 임시 탐색 버퍼값은 더 작아지는 방향으로 업데이트 되고, 현재의 임시 파라메터 레지스터(232) 값이 최대값(MAX)으로 업데이트된다(S329).Meanwhile, according to the operations of the write operation generation logic 234 and the read operation generation logic 236, the comparison logic 238 determines whether the default write data DWD and the read data RD are the same or not. The comparison information having different logic states is output (S325). When the comparison information is in the first logic state, the control signal generation logic 239 determines whether the first access is after power-on, stores the temporary search buffer value as the minimum value when the first access occurs, and sets a predetermined flag indicating the first time. , Update the temporary search buffer value as shown in [Equation 1] (S335 ~ S339). When the comparison information is in the second logic state, the control signal generation logic 239 determines whether the first access is after power-on, stores the temporary search buffer value as the maximum value when the first access is made, and sets a predetermined flag indicating the first time. The temporary search buffer value is updated as shown in [Equation 2] (S327 to S331). However, when the comparison information is in the first logical state, since the external input / output device corresponds to a case in which the minimum value MIN of the access cycle time parameter TACC is to be larger, the temporary search buffer value is updated in a larger direction. The current temporary parameter register 232 value is updated to the minimum value MIN (S337). In addition, when the comparison information is in the second logic state, the external input / output device corresponds to a case in which the maximum value MAX of the access cycle time parameter TACC is to be smaller, so that the temporary search buffer value is smaller. The current temporary parameter register 232 is updated to the maximum value MAX (S329).

위와 같이 업데이트되는 임시 파라메터 레지스터(232) 값을 소정 임시 비교 레지스터에도 저장하고, 소정 임시 비교 레지스터 값이 임시 탐색 버퍼값과 같아지면, 해당 임시 파라메터 레지스터(232)의 값으로 억세스 사이클 타임 파라메터(TACC)의 설정이 완료되고, 계속하여 다른 파라메터들의 설정을 다시 시작한다(S329, S333). 소정 임시 비교 레지스터는 콘트롤 신호 생성 로직(239)에 구비될 수 있다.The temporary parameter register 232 value updated as described above is also stored in the predetermined temporary comparison register, and when the predetermined temporary comparison register value is equal to the temporary search buffer value, the access cycle time parameter (TACC) is used as the value of the temporary parameter register 232. ) Is completed, and setting of other parameters is continued (S329, S333). The predetermined temporary comparison register may be provided in the control signal generation logic 239.

예를 들어, 칩 선택 홀드 타임 파라메터(TCOH)의 설정시에도, 탐색 로직(233)은 상기 초기 콘트롤 정보(PECON)에 응답하여 상기 디펄트 콘트롤 파라메터 정보(DCP)를 입력받아 그에 속하는 소정 파라메터의 최대값(MAX) 및 최소값(MIN) 각각을 탐색하여 저장한다(S341). 이에 따라, 위에서 기술된 바와 같은 반복 구간(S319~S333)이 수행되면, 해당 임시 파라메터 레지스터(232)의 값으로 칩 선택 홀드 타임 파라메터(TCOH)의 설정이 완료된다(S343). 마찬가지로, 칩 선택 셋업 타임 파라메터(TCOS), 어드레스 셋업 타임 파라메터(TACS), 및 페이지 어드레스 억세스 타임 파라메터(TPA) 등에 대해서도 동일한 방법으로 설정된다(S345~S355)For example, even when the chip select hold time parameter TCOH is set, the search logic 233 receives the default control parameter information DCP in response to the initial control information PECON, and determines that the predetermined parameter belonging to it is received. Each of the maximum value MAX and the minimum value MIN is searched for and stored (S341). Accordingly, when the repetition periods S319 to S333 as described above are performed, setting of the chip select hold time parameter TCOH to the value of the temporary parameter register 232 is completed (S343). Similarly, the chip selection setup time parameter (TCOS), the address setup time parameter (TACS), and the page address access time parameter (TPA) are set in the same manner (S345 to S355).

이와 같이, 상기 초기 설정 과정 완료되면, 디펄트 콘트롤 파라메터 정보(DCP)에 대응하는 모든 파라메터들이 해당 임시 파라메터 레지스터(232)에 저장되고, 콘트롤 신호 생성 로직(239)은 초기 콘트롤 정보(PECON)에 따라, 임시 파라메터 레지스터(232)에 저장된 값들을, 상기 최종 콘트롤 파라메터 정보(FCP)로서 상기 타이밍 및 콘트롤 레지스터부(220)로 전달시킨다(S357). 이와 같이, 메인 스테이트 머신 로직(231)은 초기 설정 과정이 완료되면, 대기 신호(WATE)를 해제하는 신호를 시스템 버스에 출력한다(S359). 이에 따라, 최종 콘트롤 파라메터 정보(FCP)가 정상 상태 접근 시의 파라메터 정보로 되고, 프로세서로부터 정상 상태 접근이 발생하면, 콘트롤 신호 생성 로직(239)은 정상 상태 입출력 콘트롤 정보(DSCON)를 출력한다. 신호 입출력 로직(240)은 상기 정상 상태 입출력 콘트롤 정보(DSCON)에 응답하여, 상기 외부 입출력 장치를 콘트롤하는 콘트롤 신호(EXTCON), 어드레스(EXTADDR), 및 데이터(EXTDATA)를 출력한다. As such, when the initial setting process is completed, all parameters corresponding to the default control parameter information DCP are stored in the corresponding temporary parameter register 232, and the control signal generation logic 239 is stored in the initial control information PECON. Accordingly, the values stored in the temporary parameter register 232 are transferred to the timing and control register 220 as the final control parameter information FCP (S357). As such, when the initial setting process is completed, the main state machine logic 231 outputs a signal for releasing the wait signal WATE to the system bus (S359). Accordingly, the final control parameter information (FCP) becomes the parameter information at the steady state approach, and when the steady state access occurs from the processor, the control signal generation logic 239 outputs the steady state input / output control information (DSCON). The signal input / output logic 240 outputs a control signal EXTCON, an address EXTADDR, and data EXTDATA for controlling the external input / output device in response to the steady state input / output control information DSCON.

위에서 기술한 바와 같이, 본 발명의 일실시예에 따른 외부 입출력 데이터 콘트롤 장치는, 상기 디펄트 콘트롤 파라메터 정보(DCP)를 이용하여 상기 초기 설정 과정을 수행하는 로직을 입출력 콘트롤 로직(230)에 구비하여, 외부 입출력 장치에 접근 시 사용될 상기 최종 콘트롤 파라메터 정보(FCP)를 추출하여 상기 타이밍 및 콘트롤 레지스터부(220)에 저장시킬 수 있다. As described above, the external input / output data control apparatus according to an embodiment of the present invention, the input and output control logic 230 has logic for performing the initial setting process using the default control parameter information (DCP). The final control parameter information FCP to be used when accessing an external input / output device may be extracted and stored in the timing and control register unit 220.

이상에서와 같이 도면과 명세서에서 최적 실시예가 개시되었다. 여기서 특정한 용어들이 사용되었으나, 이는 단지 본 발명을 설명하기 위한 목적에서 사용된 것이지 의미한정이나 특허청구범위에 기재된 본 발명의 범위를 제한하기 위하여 사용된 것은 아니다. 그러므로 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의해 정 해져야 할 것이다.As described above, optimal embodiments have been disclosed in the drawings and the specification. Although specific terms have been used herein, they are used only for the purpose of describing the present invention and are not intended to limit the scope of the invention as defined in the claims or the claims. Therefore, those skilled in the art will understand that various modifications and equivalent other embodiments are possible from this. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.

상술한 바와 같이 본 발명에 따른 상기 외부 입출력 데이터 콘트롤 장치에는, 시스템이 파워 온(power on) 된 후 처음으로 외부 입출력 장치에 접근 시, 외부 입출력 장치에 접근하기 위하여 필요한 콘트롤 파라메터 정보를 자동적으로 찾아 세팅하는 로직이 추가되어 시스템 성능을 개선한다. 다시 말하여, 유저가 시스템 설계 시마다 외부 입출력 장치를 원활히 동작시키기 위한 콘트롤 파라메터 정보를 직접 찾아서 입력시켜주는 과정이 필요 없고, 이에 따라 휴먼 에러(human error)를 제거할 수 있으며, 콘트롤 파라메터 정보가 외부 입출력 장치에 맞게 적절한 값으로 세팅되므로 시스템을 효율적으로 구동할 수 있는 효과가 있다.As described above, the external I / O data control device according to the present invention automatically finds control parameter information necessary for accessing the external I / O device when the external I / O device is accessed for the first time after the system is powered on. Logic setting is added to improve system performance. In other words, the user does not need to directly find and input the control parameter information for smoothly operating the external input / output device every time the system is designed. Accordingly, the human error can be eliminated. Since it is set to an appropriate value for the input / output device, the system can be operated efficiently.

Claims (8)

시스템 버스 인터페이스 신호들을 입력받아 래치하여 출력하는 시스템 버스 인터페이스 로직;System bus interface logic for receiving and latching and outputting system bus interface signals; 디펄트 콘트롤 파라메터 정보를 저장하고, 초기 설정 과정에 의하여 추출된 최종 콘트롤 파라메터 정보를 저장하는 타이밍 및 콘트롤 레지스터부; 및A timing and control register unit for storing default control parameter information and storing final control parameter information extracted by an initial setting process; And 상기 디펄트 콘트롤 파라메터 정보를 이용하여 상기 초기 설정 과정을 수행하여 외부 입출력 장치에 접근 시 사용될 상기 최종 콘트롤 파라메터 정보를 추출하여 상기 타이밍 및 콘트롤 레지스터부에 저장시키고, 상기 최종 콘트롤 파라메터 정보, 및 상기 시스템 버스 인터페이스 로직에서 출력되는 상기 시스템 버스 인터 페이스 신호들에 따라 상기 외부 입출력 장치에 대한 정상 상태 접근을 콘트롤하는 입출력 콘트롤 로직을 구비하는 것을 특징으로 하는 외부 입출력 데이터 콘트롤 장치.The initial control process is performed using the default control parameter information to extract the last control parameter information to be used when accessing an external input / output device, and store the final control parameter information in the timing and control register, and the final control parameter information and the system. And an input / output control logic for controlling a steady state access to the external input / output device according to the system bus interface signals output from the bus interface logic. 제 1항에 있어서, 상기 입출력 콘트롤 로직은,The method of claim 1, wherein the input and output control logic, 파워 온 후 상기 외부 입출력 장치에 최초 접근 시 상기 초기 설정 과정을 제어하는 메인 콘트롤 신호를 발생시켜 출력하고, 상기 외부 입출력 장치에 상기 정상 상태 접근 시 상기 시스템 버스 인터페이스 신호들에 응답하여 상기 정상 상태 접근을 제어하는 메인 콘트롤 신호를 발생시켜 출력하는 메인 스테이트 머신 로직;When the external access to the external input and output device for the first time after power-on generates and outputs a main control signal for controlling the initial setting process, and the normal state approach in response to the system bus interface signals when the normal state approaches the external input and output device Main state machine logic for generating and outputting a main control signal for controlling the controller; 초기 콘트롤 정보에 응답하여 최초로 상기 디펄트 콘트롤 파라메터 정보를 저장하고, 상기 초기 설정 과정에서 발생하는 임시 탐색 버퍼값으로 업데이트시켜 저장하며, 상기 초기 설정 과정 완료 후에 저장되는 상기 최종 콘트롤 파라메터 정보를 상기 타이밍 및 콘트롤 레지스터부로 전달하는 임시 파라메터 레지스터;The default control parameter information is first stored in response to initial control information, updated and stored with a temporary search buffer value generated during the initial setting process, and the timing of the final control parameter information stored after completion of the initial setting process. And a temporary parameter register transferred to the control register unit. 상기 초기 콘트롤 정보에 응답하여 상기 디펄트 콘트롤 파라메터 정보를 입력받아 그에 속하는 소정 파라메터의 최대값 및 최소값 각각을 탐색하여 저장하고, 상기 초기 설정 과정에서 상기 임시 파라메터 레지스터에서 출력되는 상기 임시 탐색 버퍼값을 탐색하여 상기 최대값 또는 상기 최소값을 업데이트시켜 저장하는 탐색 로직;Receives the default control parameter information in response to the initial control information, searches for and stores each of the maximum and minimum values of predetermined parameters belonging to the default control information, and stores the temporary search buffer value output from the temporary parameter register during the initial setting process. Search logic for searching and updating and storing the maximum value or the minimum value; 상기 초기 콘트롤 정보에 응답하여 라이트 동작 신호를 생성하여 출력하는 라이트 동작 생성 로직;A write operation generation logic configured to generate and output a write operation signal in response to the initial control information; 상기 라이트 동작 신호에 응답하여 디펄트 라이트 데이터를 출력하는 라이트 데이터 버퍼;A write data buffer configured to output default write data in response to the write operation signal; 상기 초기 콘트롤 정보에 응답하여 리드 동작 신호를 생성하여 출력하는 리드 동작 생성 로직;Read operation generation logic for generating and outputting a read operation signal in response to the initial control information; 상기 리드 동작 신호에 응답하여 리드 데이터를 저장하는 리드 데이터 버퍼;A read data buffer configured to store read data in response to the read operation signal; 상기 디펄트 라이트 데이터와 상기 리드 데이터가 같은지 같지 않은지 여부에 따라 서로 다른 논리 상태를 가지는 비교 정보를 출력하는 비교 로직;Comparison logic for outputting comparison information having different logic states depending on whether the default write data and the read data are the same or not; 상기 메인 콘트롤 신호에 응답하여, 상기 초기 설정 과정에서 상기 초기 콘트롤 정보를 발생시키고 상기 비교 정보의 논리 상태에 대응하여 상기 임시 탐색 버퍼값을 업데이트시키며, 상기 정상 상태 접근 시에 정상 상태 입출력 콘트롤 정보를 출력하는 콘트롤 신호 생성 로직; 및In response to the main control signal, the initial control information is generated in the initial setting process, and the temporary search buffer value is updated in response to the logical state of the comparison information. A control signal generation logic to output; And 상기 초기 콘트롤 정보에 응답하여, 상기 디펄트 라이트 데이터를 받아 외부로 출력하고 이에 대응하여 상기 외부 입출력 장치로부터 입력되는 상기 리드 데이터를 받아 출력하며, 상기 정상 상태 입출력 콘트롤 정보에 응답하여, 상기 외부 입출력 장치를 콘트롤하는 콘트롤 신호, 어드레스, 및 데이터를 출력하는 신호 입출력 로직을 구비하는 것을 특징으로 하는 외부 입출력 데이터 콘트롤 장치.In response to the initial control information, the default write data is received and output to the outside, and correspondingly, the read data input from the external input / output device is received and output, and in response to the steady state input / output control information, the external input / output And an input / output logic for outputting a control signal, an address, and data for controlling the device. 제 2항에 있어서, 상기 임시 탐색 버퍼값은,The method of claim 2, wherein the temporary search buffer value, 상기 비교 정보가 제1 논리 상태일 때, 수학식,When the comparison information is in the first logic state, equation, 임시 탐색 버퍼값=(임시 파라메터 레지스터 값 + 파라메터 최대값)/2Temporary search buffer value = (temporary parameter register value + parameter maximum value) / 2 에 의하여 업데이트되는 것을 특징으로 하는 외부 입출력 데이터 콘트롤 장치.External input and output data control device, characterized in that for updating. 제 2항에 있어서, 상기 임시 탐색 버퍼값은,The method of claim 2, wherein the temporary search buffer value, 상기 비교 정보가 제2 논리 상태일 때, 수학식,When the comparison information is in the second logical state, 임시 탐색 버퍼값=(임시 파라메터 레지스터 값 + 파라메터 최소값)/2Temporary search buffer value = (temporary parameter register value + parameter minimum value) / 2 에 의하여 업데이트되는 것을 특징으로 하는 외부 입출력 데이터 콘트롤 장치.External input and output data control device, characterized in that for updating. 디펄트 콘트롤 파라메터 정보를 저장하는 제1 레지스터를 구비하여, 외부 입출력 데이터를 콘트롤하는 방법에 있어서, A method for controlling external input / output data, comprising: a first register for storing default control parameter information; 시스템 버스 인터페이스 신호들을 입력받아 래치하여 출력하는 단계;Receiving and latching and outputting system bus interface signals; 상기 디펄트 콘트롤 파라메터 정보를 이용하여 초기 설정 과정을 수행하여 외부 입출력 장치에 접근 시 사용될 최종 콘트롤 파라메터 정보를 추출하는 단계;Extracting final control parameter information to be used when accessing an external input / output device by performing an initial setting process using the default control parameter information; 상기 초기 설정 과정에 의하여 추출된 상기 최종 콘트롤 파라메터 정보를 상기 제1 레지스터에 저장하는 단계; 및Storing the final control parameter information extracted by the initial setting process in the first register; And 상기 최종 콘트롤 파라메터 정보, 및 상기 시스템 버스 인터페이스 신호들에 따라 상기 외부 입출력 장치에 대한 정상 상태 접근을 콘트롤하는 단계를 구비하는 것을 특징으로 하는 외부 입출력 데이터 콘트롤 방법.And controlling a steady state access to the external input / output device according to the final control parameter information and the system bus interface signals. 제 5항에 있어서, 상기 최종 콘트롤 파라메터 정보를 추출하는 단계는,The method of claim 5, wherein the extracting of the last control parameter information comprises: 파워 온 후 상기 외부 입출력 장치에 최초 접근 시 상기 초기 설정 과정을 제어하는 메인 콘트롤 신호를 발생시키는 단계;Generating a main control signal for controlling the initial setting process upon initial access to the external input / output device after power on; 초기 콘트롤 정보에 응답하여 최초로 제2 레지스터에 상기 디펄트 콘트롤 파라메터 정보를 저장하고, 상기 초기 설정 과정에서 발생하는 임시 탐색 버퍼값으로 업데이트시켜 저장하며, 상기 초기 설정 과정 완료 후에 저장되는 상기 최종 콘트롤 파라메터 정보를 상기 제1 레지스터로 전달하는 단계;The default control parameter information is first stored in a second register in response to initial control information, updated and stored with a temporary search buffer value generated in the initial setting process, and the final control parameter stored after completion of the initial setting process. Passing information to the first register; 상기 초기 콘트롤 정보에 응답하여 상기 디펄트 콘트롤 파라메터 정보를 입력받아 그에 속하는 소정 파라메터의 최대값 및 최소값 각각을 탐색하여 저장하고, 상기 초기 설정 과정에서 상기 제2 레지스터에서 출력되는 상기 임시 탐색 버퍼값을 탐색하여 상기 최대값 또는 상기 최소값을 업데이트시켜 저장하는 단계;Receives the default control parameter information in response to the initial control information, searches for and stores each of the maximum and minimum values of a predetermined parameter belonging to the default control information, and stores the temporary search buffer value output from the second register during the initial setting process. Searching and updating and storing the maximum value or the minimum value; 상기 초기 콘트롤 정보에 응답하여 라이트 동작 신호를 생성하여 출력하는 단계;Generating and outputting a write operation signal in response to the initial control information; 상기 라이트 동작 신호에 응답하여 디펄트 라이트 데이터를 출력하는 단계;Outputting default write data in response to the write operation signal; 상기 초기 콘트롤 정보에 응답하여 리드 동작 신호를 생성하여 출력하는 단계;Generating and outputting a read operation signal in response to the initial control information; 상기 리드 동작 신호에 응답하여 리드 데이터를 저장하는 단계;Storing read data in response to the read operation signal; 상기 디펄트 라이트 데이터와 상기 리드 데이터가 같은지 같지 않은지 여부에 따라 서로 다른 논리 상태를 가지는 비교 정보를 출력하는 단계;Outputting comparison information having different logic states depending on whether the default write data and the read data are the same or not; 상기 메인 콘트롤 신호에 응답하여, 상기 초기 설정 과정에서 상기 초기 콘트롤 정보를 발생시키고 상기 비교 정보의 논리 상태에 대응하여 상기 임시 탐색 버퍼값을 업데이트시키는 단계; 및In response to the main control signal, generating the initial control information in the initial setting process and updating the temporary search buffer value in response to a logic state of the comparison information; And 상기 초기 콘트롤 정보에 응답하여, 상기 디펄트 라이트 데이터를 받아 외부로 출력하고 이에 대응하여 상기 외부 입출력 장치로부터 입력되는 상기 리드 데이터를 받아 출력하는 단계를 구비하는 것을 특징으로 하는 외부 입출력 데이터 콘트롤 방법.And receiving the default write data and outputting the read data to the outside in response to the initial control information, and receiving and outputting the read data input from the external input / output device in response thereto. 제 6항에 있어서, 상기 임시 탐색 버퍼값은,The method of claim 6, wherein the temporary search buffer value, 상기 비교 정보가 제1 논리 상태일 때, 수학식,When the comparison information is in the first logic state, equation, 임시 탐색 버퍼값=(임시 파라메터 레지스터 값 + 파라메터 최대값)/2Temporary search buffer value = (temporary parameter register value + parameter maximum value) / 2 에 의하여 업데이트되는 것을 특징으로 하는 외부 입출력 데이터 콘트롤 방법.External input and output data control method, characterized in that for updating. 제 6항에 있어서, 상기 임시 탐색 버퍼값은,The method of claim 6, wherein the temporary search buffer value, 상기 비교 정보가 제2 논리 상태일 때, 수학식,When the comparison information is in the second logical state, 임시 탐색 버퍼값=(임시 파라메터 레지스터 값 + 파라메터 최소값)/2Temporary search buffer value = (temporary parameter register value + parameter minimum value) / 2 에 의하여 업데이트되는 것을 특징으로 하는 외부 입출력 데이터 콘트롤 방법.External input and output data control method, characterized in that for updating.
KR1020030067916A 2003-09-30 2003-09-30 External Input/Output data control apparatus improving system performance using automatically set control parameters and method thereof KR100594231B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030067916A KR100594231B1 (en) 2003-09-30 2003-09-30 External Input/Output data control apparatus improving system performance using automatically set control parameters and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030067916A KR100594231B1 (en) 2003-09-30 2003-09-30 External Input/Output data control apparatus improving system performance using automatically set control parameters and method thereof

Publications (2)

Publication Number Publication Date
KR20050031682A KR20050031682A (en) 2005-04-06
KR100594231B1 true KR100594231B1 (en) 2006-06-30

Family

ID=37236503

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030067916A KR100594231B1 (en) 2003-09-30 2003-09-30 External Input/Output data control apparatus improving system performance using automatically set control parameters and method thereof

Country Status (1)

Country Link
KR (1) KR100594231B1 (en)

Also Published As

Publication number Publication date
KR20050031682A (en) 2005-04-06

Similar Documents

Publication Publication Date Title
CN101390062B (en) Data processing system having address translation bypass and method therefor
CN104238957A (en) Serial peripheral interface controller, serial peripheral interface flash memory, access method and access control method
JPH10161868A (en) Synchronous semiconductor memory device having macro instruction function and macro instruction storage and execution method
KR100594231B1 (en) External Input/Output data control apparatus improving system performance using automatically set control parameters and method thereof
JP2003050739A (en) Memory controller
TW567489B (en) DRAM having SRAM equivalent interface
EP2194458A2 (en) Request processing device, request processing system, and access testing method
JP5532050B2 (en) Data processing device
JPH07182170A (en) Microprocessor
US6118682A (en) Method and apparatus for reading multiple matched addresses
JP3029326B2 (en) Data transmission device
US7047363B2 (en) Cache memory and control method thereof
JP3096576B2 (en) Memory control circuit and integrated circuit device incorporating the circuit
KR20210108466A (en) Memory control system with sequence processing unit
US7516290B2 (en) Memory controller
JP2000099452A (en) Dma control device
JP2001084230A (en) System and method for initializing distributed computer system
KR100891390B1 (en) Micro controller and method of updating the same
JPH11259356A (en) Initializing device
JPH1020906A (en) Data processor and data processing method
CN112416677B (en) Server with soft-off function and soft-off method
US6757752B2 (en) Micro controller development system
JP5877348B2 (en) Memory control system and power control method
US20200202913A1 (en) Mode conversion method and apparatus for a nonvolatile memory
JP2003051190A (en) Semiconductor memory device, device and method for setting burst mode to the memory device

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
FPAY Annual fee payment

Payment date: 20100528

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee