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 PDFInfo
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/387—Information 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/16—Handling requests for interconnection or transfer for access to memory bus
- G06F13/1668—Details of memory controller
- G06F13/1673—Details of memory controller using buffers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex 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
본 발명의 상세한 설명에서 인용되는 도면을 보다 충분히 이해하기 위하여 각 도면의 간단한 설명이 제공된다.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
상기와 같은 외부 입출력 데이터 콘트롤 장치에서, 외부 입출력 장치 접근이 필요한 경우에, 상기 메인 스테이트 머신 로직(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
메모리와 같은 외부 입출력 장치를 구비하여 데이터를 저장하거나 그 데이터를 이용하여 동작하는 많은 디지털 시스템에서는, 외부 입출력 장치의 관리가 중요하다. 이와 같은 외부 입출력 장치는 하나일 수 있지만, 복잡한 많은 디지털 시스템은 다수 뱅크들로 구성되는 여러 개의 외부 입출력 장치들을 구비한다. 이와 같이 다수의 외부 입출력 장치들을 관리하는 외부 입출력 데이터 콘트롤 장치는, 도 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
따라서, 본 발명이 이루고자하는 기술적 과제는, 시스템이 파워 온(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
상기 시스템 버스 인터페이스 로직(210)은 시스템 버스 인터페이스 신호들(INTADDR, INTDATA, INTCON)을 입력받아 래치하여 출력한다. 시스템 버스 인터페이스 신호들(INTADDR, INTDATA, INTCON)은 내부 어드레스(INTADDR), 내부 데이터(INTDATA), 및 내부 콘트롤 신호(INTCON) 등으로 구성되고, 이들은 소정 프로세서가 외부 버스에 연결되어있는 외부 입출력 장치에 접근을 요구할 때, 시스템 버 스를 통하여 수신되는 신호들이다. 상기 소정 프로세서는 시스템 버스에 연결되고, 상기 외부 입출력 장치는 외부 버스에 연결된다. 위에서 기술한 바와 같이, 소정 프로세서가 외부 입출력 장치에 접근을 요구하는 것은 상기 외부 입출력 장치로부터 필요한 해당 데이터를 리드하거나 라이트하기 위함이다. The system
상기 타이밍 및 콘트롤 레지스터부(220)는 디펄트 콘트롤 파라메터 정보(DCP)를 저장하고, 초기 설정 과정에 의하여 추출된 최종 콘트롤 파라메터 정보(FCP)를 저장한다. 디펄트 콘트롤 파라메터 정보(DCP)는 시스템 버스 인터페이스 신호들(INTADDR, INTDATA, INTCON)을 이용하여 저장되거나, 유저의 세팅에 의하여 저장될 수 있다.The timing and control
소정 프로세서가 파워 온후 최초로 상기 외부 입출력 장치에 접근할 때에, 상기 입출력 콘트롤 로직(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 /
상기 입출력 콘트롤 로직(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 /
상기 메인 스테이트 머신 로직(231)은 파워 온 후 상기 외부 입출력 장치에 최초 접근 시 상기 초기 설정 과정을 제어하는 메인 콘트롤 신호(MAINCON)를 발생시켜 출력하고, 상기 외부 입출력 장치에 상기 정상 상태 접근 시 상기 시스템 버스 인터페이스 신호들(INTADDR, INTDATA, INTCON)에 응답하여 상기 정상 상태 접근을 제어하는 메인 콘트롤 신호(MAINCON)를 발생시켜 출력한다. 파워 온 후 상기 외부 입출력 장치에 최초 접근이 이루어지는 가는 내부 콘트롤 신호(INTCON)가 시스템 인터페이스 로직에서 래치된 후 출력되는 콘트롤 신호(CON)에 의하여 판단될 수 있다. 또한, 상기 메인 스테이트 머신 로직(231)은 상기 초기 설정 과정을 제어하는 메인 콘트롤 신호(MAINCON)를 발생시킬 때, 대기 신호(WATE)를 시스템 버스에 출력하고, 상기 초기 설정 과정이 완료되면, 대기 신호(WATE)를 해제하는 신호를 시스템 버스에 출력한다.The main
상기 임시 파라메터 레지스터(232)는 초기 콘트롤 정보(PECON)에 응답하여 최초로 상기 디펄트 콘트롤 파라메터 정보(DCP)를 저장하고, 상기 초기 설정 과정 에서 발생하는 임시 탐색 버퍼값으로 업데이트시켜 저장하며, 상기 초기 설정 과정 완료 후에 저장되는 상기 최종 콘트롤 파라메터 정보(FCP)를 상기 타이밍 및 콘트롤 레지스터부(220)로 전달한다. 임시 탐색 버퍼는 콘트롤 신호 생성 로직(239) 등에 구비될 수 있다.The
상기 탐색 로직(233)은 상기 초기 콘트롤 정보에 응답하여 상기 디펄트 콘트롤 파라메터 정보(DCP)를 입력받아 그에 속하는 소정 파라메터의 최대값(MAX) 및 최소값(MIN) 각각을 탐색하여 저장하고, 상기 초기 설정 과정에서 상기 임시 파라메터 레지스터(232)에서 출력되는 상기 임시 탐색 버퍼값을 탐색하여 상기 최대값(MAX) 또는 상기 최소값(MIN)을 업데이트시켜 저장한다. The
상기 라이트 동작 생성 로직(234)은 상기 초기 콘트롤 정보(PECON)에 응답하여 라이트 동작 신호(WOP)를 생성하여 출력한다. The write
상기 라이트 데이터 버퍼(235)는 상기 라이트 동작 신호(WOP)에 응답하여 디펄트 라이트 데이터(DWD)를 출력한다. The
상기 리드 동작 생성 로직(236)은 상기 초기 콘트롤 정보(PECON)에 응답하여 리드 동작 신호(ROP)를 생성하여 출력한다. The read
상기 리드 데이터 버퍼(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
상기 콘트롤 신호 생성 로직(239)은 상기 메인 콘트롤 신호(MAINCON)에 응답하여, 상기 초기 설정 과정에서 상기 초기 콘트롤 정보(PECON)를 발생시키고 상기 비교 정보의 논리 상태에 대응하여 상기 임시 탐색 버퍼값을 업데이트시키며, 상기 정상 상태 접근 시에 정상 상태 입출력 콘트롤 정보(DSCON)를 출력한다. 상기 초기 콘트롤 정보(PECON)에 의하여, 상기 임시 탐색 버퍼값은, 상기 비교 정보가 제1 논리 상태일 때, [수학식 1]과 같이 업데이트된다. 또한, 상기 초기 콘트롤 정보(PECON)에 의하여, 상기 임시 탐색 버퍼값은, 상기 비교 정보가 제2 논리 상태일 때, [수학식 2]와 같이 업데이트된다.The control
[수학식 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 /
이하, 본 발명의 일실시예에 따른 상기 외부 입출력 데이터 콘트롤 장치의 초기 설정 과정 수행 동작을 좀더 상세하게 설명한다.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
반복 구간(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
한편, 라이트 동작 생성 로직(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
위와 같이 업데이트되는 임시 파라메터 레지스터(232) 값을 소정 임시 비교 레지스터에도 저장하고, 소정 임시 비교 레지스터 값이 임시 탐색 버퍼값과 같아지면, 해당 임시 파라메터 레지스터(232)의 값으로 억세스 사이클 타임 파라메터(TACC)의 설정이 완료되고, 계속하여 다른 파라메터들의 설정을 다시 시작한다(S329, S333). 소정 임시 비교 레지스터는 콘트롤 신호 생성 로직(239)에 구비될 수 있다.The
예를 들어, 칩 선택 홀드 타임 파라메터(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
이와 같이, 상기 초기 설정 과정 완료되면, 디펄트 콘트롤 파라메터 정보(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
위에서 기술한 바와 같이, 본 발명의 일실시예에 따른 외부 입출력 데이터 콘트롤 장치는, 상기 디펄트 콘트롤 파라메터 정보(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
이상에서와 같이 도면과 명세서에서 최적 실시예가 개시되었다. 여기서 특정한 용어들이 사용되었으나, 이는 단지 본 발명을 설명하기 위한 목적에서 사용된 것이지 의미한정이나 특허청구범위에 기재된 본 발명의 범위를 제한하기 위하여 사용된 것은 아니다. 그러므로 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의해 정 해져야 할 것이다.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)
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) |
-
2003
- 2003-09-30 KR KR1020030067916A patent/KR100594231B1/en not_active IP Right Cessation
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 |