KR20070120365A - Controller compatible with both pci and pci express and method thereof - Google Patents

Controller compatible with both pci and pci express and method thereof Download PDF

Info

Publication number
KR20070120365A
KR20070120365A KR1020060055041A KR20060055041A KR20070120365A KR 20070120365 A KR20070120365 A KR 20070120365A KR 1020060055041 A KR1020060055041 A KR 1020060055041A KR 20060055041 A KR20060055041 A KR 20060055041A KR 20070120365 A KR20070120365 A KR 20070120365A
Authority
KR
South Korea
Prior art keywords
pci
signal
frequency
express
clock
Prior art date
Application number
KR1020060055041A
Other languages
Korean (ko)
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 KR1020060055041A priority Critical patent/KR20070120365A/en
Publication of KR20070120365A publication Critical patent/KR20070120365A/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/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus 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/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • 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/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Landscapes

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

Abstract

A control apparatus and a method for simultaneously supporting PCI(Peripheral Component Interconnect) and PCI express are provided to determine whether an external network device supports PCI or PCI express using the frequency of a signal received from the external network device and transmit/receive data using a controller according to the determination. A PCI control apparatus(100) includes a common connector(140), a PCI type confirmation module(130), and a central processing unit(110). The common connector performs data communication with an external network device(200). The PCI type confirmation module determines whether a signal received by the common connector is a PCI signal or a PCI express signal. The central processing unit transmits/receives data to/from the external network device through the common connector according to the PCI type determined by the PCI type confirmation module.

Description

PCI와 PCI Express를 동시에 지원하는 제어 장치 및 그 방법{Controller Compatible with both PCI and PCI Express and Method Thereof}Controller compatible with both PCI and PCI Express and Method Thereof}

도 1은 본 발명의 일 실시예에 따른 PCI 제어 장치의 내부 구조를 나타낸 블록도.1 is a block diagram showing the internal structure of a PCI control device according to an embodiment of the present invention.

도 2는 본 발명의 일 실시예에 따른 PCI 제어 장치의 공통 커넥터 인터페이스를 나타낸 예시도.2 is an exemplary view showing a common connector interface of the PCI control device according to an embodiment of the present invention.

도 3은 본 발명의 일 실시예에 따른 PCI 제어 장치의 PCI 타입 확인 모듈의 내부 구성을 나타낸 블록도.Figure 3 is a block diagram showing the internal configuration of a PCI type identification module of the PCI control device according to an embodiment of the present invention.

도 4는 본 발명의 일 실시예에 따른 신호 분배 모듈과 중앙처리장치의 연결 관계를 나타낸 블록도.4 is a block diagram illustrating a connection relationship between a signal distribution module and a CPU according to an embodiment of the present invention.

도 5는 본 발명의 다른 실시예에 따른 PCI 제어 장치를 이용한 PCI와 PCI Express 제어 방법을 나타낸 순서도.5 is a flowchart illustrating a PCI and PCI Express control method using a PCI control device according to another embodiment of the present invention.

<도면의 주요 부분에 대한 부호 설명><Description of the symbols for the main parts of the drawings>

100 : PCI 제어 장치 110 : 중앙처리장치100: PCI controller 110: central processing unit

120 : 신호 분배 모듈 130 : PCI 타입 확인 모듈120: signal distribution module 130: PCI type check module

140 : 공통 커넥터140: common connector

본 발명은 PCI와 PCI Express를 동시에 지원하는 제어 장치 및 그 방법에 관한 것이다.The present invention relates to a control device and a method for simultaneously supporting PCI and PCI Express.

먼저 일반적인 PCI(Peripheral Component Interconnect)에 대하여 살펴보기로 한다. PCI란, 인텔사를 중심으로 한 미국의 주요 개인용 컴퓨터(PC) 관련 제조업체 백수십 개 회사가 참가하여 작성한 로컬 버스 규격이다. PCI 버스 또는 PCI 로컬 버스라고도 한다. PCI 버스는 중앙 처리 장치(CPU)와 주변 장치를 직접 연결하여 고속으로 데이터를 전달하는 데이터 통로를 제공하는 로컬 버스인데, 안정성이나 확장성 등이 먼저 보급된 VL(Vesa Local) 버스보다 우수하여 펜티엄을 탑재한 대부분의 PC에 채용되고 있다. PC 본체 기판에 ISA(Industry Standard Architecture)나 EISA(Extended ISA) 확장 슬롯과는 별도로 3개 또는 4개의 PCI 슬롯을 내장할 수 있어서 고속 데이터 전송 능력이 요구되는 비디오 카드, SCSI(Small Computer System Interface) 확장 보드 등을 PCI 슬롯에 삽입하여 사용할 수 있다. PCI 버스는 CPU와 버스 사이에 브리지 회로를 두는 구조이기 때문에 VL 버스와 같이 CPU의 종류에 의존하지 않으므로, CPU의 종류가 달라도 그에 대응하는 브리지 회로를 갖추기만 하면 어떤 CPU와도 연결할 수 있다. 그러나, 이와 같 은 PCI는 신호 왜곡이 많이 발생하여, 이용 클럭 주파수를 높이는 것이 쉽지 않게 된다. 따라서, 보다 빠른 속도의 데이터 전송을 할 수 없다는 한계점을 가지고 있다. PCI Express는 PCI의 단점들을 극복하기 위한 것으로 직렬 연결 기술을 이용하고 있다. PCI Express는 직렬 전송 방식을 이용함과 동시에 버스 폭을 줄이고 동작 주파수를 높이게 된다. 이와 같이 대역폭을 넓힘으로써 다양화되어 있는 많은 인터페이스를 통합할 수 있다는 장점이 존재한다. First, a general Peripheral Component Interconnect (PCI) will be described. PCI is a local bus specification written by hundreds of companies from major US personal computer (PC) manufacturers, led by Intel. Also known as PCI bus or PCI local bus. The PCI bus is a local bus that provides a data path that delivers data at high speed by directly connecting the central processing unit (CPU) and peripherals.The Pentium is superior to the Vesa (Vesa Local) bus, which has the stability and scalability first. It is adopted in most PCs equipped with. Video card and small computer system interface (SCSI) that require high-speed data transfer capability because three or four PCI slots can be embedded in the PC main board, apart from Industry Standard Architecture (ISA) or Extended ISA (EISA) expansion slots. Expansion boards can be inserted into PCI slots. Since the PCI bus has a bridge circuit between the CPU and the bus, it does not depend on the type of CPU like the VL bus. Therefore, the PCI bus can be connected to any CPU as long as it has a corresponding bridge circuit. However, such a PCI signal distortion occurs a lot, it is not easy to increase the clock frequency used. Therefore, there is a limitation that data transmission at higher speed cannot be performed. PCI Express uses serial connection technology to overcome the shortcomings of PCI. PCI Express uses serial transmission, while reducing bus width and operating frequency. This broader bandwidth has the advantage of integrating a wide variety of interfaces.

이상에서 살펴본 바와 같이 PCI Express는 PCI의 단점을 극복하고 있다. 그러나, 현재는 PCI 기기들이 주로 사용되고 있으며, 점차 PCI Express를 채용한 기기들이 많아지고 있다. 이와 같이 PCI와 PCI Express는 공존하고 있으므로, 두 가지 규격을 모두 지원하는 PCI 제어 장치가 필요하게 된다. 일반적으로 PCI와 PCI Express를 모두 지원하는 인터페이스는 PCI와 PCI Express 엔드 포인트를 모두 구비하고 있다. 또한, 이와 연결되는 장치가 지원하는 PCI 타입에 따라 그 연결을 바꾸어 주어야 한다는 불편함이 존재한다. As discussed above, PCI Express overcomes the shortcomings of PCI. However, PCI devices are mainly used nowadays, and more and more devices adopt PCI Express. Since PCI and PCI Express coexist, a PCI control device that supports both specifications is required. Typically, interfaces that support both PCI and PCI Express have both PCI and PCI Express endpoints. In addition, there is an inconvenience of changing the connection according to the PCI type supported by the device connected thereto.

따라서, 본 발명은 상기한 종래 기술에 따른 문제점을 해결하기 위한 것으로, 네트워크 카드를 통하여 데이터를 수신하고, 상기 신호가 PCI 신호인지 PCI Express 신호인지 여부를 판단하여, 상기 판단한 PCI 타입에 따라 PCI 또는 PCI Express 방식의 데이터 송수신을 수행하는 PCI 제어 장치 및 그 방법의 제공을 목적으로 한다.Accordingly, the present invention is to solve the problems according to the prior art, and receives data through a network card, determines whether the signal is a PCI signal or a PCI Express signal, according to the determined PCI type PCI or An object of the present invention is to provide a PCI control device and a method for performing PCI Express data transmission and reception.

본 발명의 일 측면에 따른 PCI 제어 장치는 외부 네트워크 장치와 데이터 통신을 하기 위한 공통 커넥터, 상기 공통 커넥터가 수신한 신호가 PCI 신호인지 PCI Express 신호인지 여부를 판단하는 PCI 타입 확인 모듈, 및 상기 PCI 타입 확인 모듈이 판단한 PCI 타입에 따라 상기 공통 커넥터를 통하여 상기 외부 네트워크 장치와 PCI 또는 PCI Express 방식에 따라 데이터 송수신을 수행하는 중앙처리장치를 포함할 수 있다.PCI control apparatus according to an aspect of the present invention is a common connector for data communication with an external network device, a PCI type identification module for determining whether the signal received by the common connector is a PCI signal or a PCI Express signal, and the PCI According to the PCI type determined by the type check module may include a central processing unit for performing data transmission and reception with the external network device in the PCI or PCI Express method through the common connector.

이 경우 PCI 타입 확인 모듈은, 상기 네트워크 카드가 수신한 신호에 포함되어 있는 클럭 주파수를 이용하여 PCI 타입을 판단하는 것을 특징으로 한다. 이를 위하여 상기 PCI 타입 확인 모듈은, PCI 신호의 클럭과 PCI Express 신호 클럭의 중간 주파수를 가지는 클럭을 발생하는 클럭 발생부, 상기 공통 커넥터를 통하여 수신한 신호의 주파수를 감지하는 주파수 입력부, 및 상기 클럭 발생부가 생성한 클럭의 주파수와 상기 공통 커넥터가 수신한 신호의 주파수를 비교함으로써, 상기 수신한 신호가 PCI 신호인지 PCI Express 신호인지 판단하는 주파수 비교부를 포함할 수 있다.In this case, the PCI type checking module may determine the PCI type using a clock frequency included in the signal received by the network card. To this end, the PCI type identification module, the clock generator for generating a clock having an intermediate frequency of the clock of the PCI signal and the PCI Express signal clock, the frequency input unit for detecting the frequency of the signal received through the common connector, and the clock By comparing the frequency of the clock generated by the generator and the frequency of the signal received by the common connector, it may include a frequency comparison unit for determining whether the received signal is a PCI signal or a PCI Express signal.

또한, 상기 중앙처리장치는 PCI 방식의 데이터 송수신을 위한 PCI 컨트롤러와 PCI Express 방식의 데이터 송수신을 위한 PCI Express 컨트롤러를 포함할 수 있다.In addition, the CPU may include a PCI controller for data transmission and reception of a PCI system and a PCI express controller for data transmission and reception of a PCI Express system.

본 발명의 다른 측면에 따른 PCI 제어 방법은 PCI 제어 장치는 외부 네트워크 장치로부터 수신한 신호의 주파수를 이용하여 상기 신호가 PCI 신호인지 PCI Express 신호인지 여부를 판단하는 단계와 상기 PCI 제어 장치는 상기 결정된 PCI 타입에 따라 상기 외부 네트워크 장치와 PCI 또는 PCI Express 방식에 따른 데이터 송수신을 수행하는 단계를 포함할 수 있다.In a PCI control method according to another aspect of the present invention, a PCI control device determines whether the signal is a PCI signal or a PCI Express signal using a frequency of a signal received from an external network device, and the PCI control device is determined According to the PCI type may include performing data transmission and reception with the external network device according to the PCI or PCI Express.

이하, 본 발명에 따른 PCI와 PCI Express를 동시에 지원하는 제어 장치 및 그 방법에 대하여 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, a control device and a method for supporting both PCI and PCI Express according to the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일 실시예에 따른 PCI 제어 장치의 내부 구조를 나타낸 블록도이다. 1 is a block diagram showing the internal structure of a PCI control device according to an embodiment of the present invention.

도 1에 도시된 바와 같이 PCI(Peripheral Component Interconnect) 제어 장치(100)는 중앙처리장치(110), 신호 분배 모듈(120), PCI 타입 확인 모듈(130), 공통 커넥터(Common Connector)(140)로 구성될 수 있다. 또한, 이와 같은 PCI 제어 장치는 네트워크 카드(NIC : Network Interface Card) 등의 통신 장비에 구현될 수 있다.As shown in FIG. 1, the peripheral component interconnect (PCI) control device 100 includes a central processing unit 110, a signal distribution module 120, a PCI type identification module 130, and a common connector 140. It can be configured as. In addition, such a PCI control device may be implemented in communication equipment such as a network card (NIC).

공통 커넥터(140)는 PCI와 PCI Express 신호를 모두 수신할 수 있는 핀 배열을 가지고 있다. PCI와 PCI Express 신호를 모두 수신할 수 있는 공통 커넥터(140)의 구조는 도 3에서 보다 자세히 살펴보기로 한다. 상기 공통 커넥터(140)로 전송된 데이터는 PCI 타입 확인 모듈(130)과 신호 분배 모듈(120)로 동시에 전달된다. The common connector 140 has a pin arrangement capable of receiving both PCI and PCI Express signals. The structure of the common connector 140 that can receive both PCI and PCI Express signals will be described in more detail with reference to FIG. 3. Data transmitted to the common connector 140 is simultaneously transferred to the PCI type identification module 130 and the signal distribution module 120.

이 중 PCI 타입 확인 모듈(120)은 공통 커넥터(140)로 전송된 신호의 주파수 를 이용하여, 상기 신호가 PCI 신호인지 PCI Express 신호인지 결정한다. 일반적으로 PCI 신호는 33MHz의 주파수 신호이며, PCI Express 신호는 100MHz의 주파수를 갖는 것을 특징으로 한다. PCI 타입 확인 모듈(120)은 이와 같은 특성을 이용하여 수신 신호의 타입을 결정할 수 있다. 이와 같이 결정된 타입 신호는 신호 분배 모듈(120)과 중앙처리장치(110)로 전달된다.The PCI type identification module 120 determines whether the signal is a PCI signal or a PCI Express signal using the frequency of the signal transmitted to the common connector 140. In general, the PCI signal is a frequency signal of 33MHz, PCI Express signal is characterized by having a frequency of 100MHz. The PCI type checking module 120 may determine the type of the received signal by using such a characteristic. The type signal thus determined is transmitted to the signal distribution module 120 and the central processing unit 110.

본 발명에 따른 신호 분배 모듈(120)은 머지(Merge)되어 입력되는 PCI 및 PCI Express 신호 중 PCI 타입 확인 모듈(130)에 의하여 결정된 신호를 중앙처리장치(110)로 출력하게 된다.The signal distribution module 120 according to the present invention outputs a signal determined by the PCI type checking module 130 among the PCI and PCI Express signals that are merged and input to the CPU 110.

중앙처리장치(110)는 본 PCI 제어 장치(100)의 전반적인 제어를 담당한다. 중앙처리장치(110)는 상기 PCI 제어 장치(100)로 전송된 데이터가 PCI 규격을 따른 데이터인지 PCI Express 규격을 따른 데이터인지 여부를 나타내는 GPI(General Purpose Input) 포트(113)를 포함한다. 특히, 중앙처리장치(110)는 PCI 또는 PCI Express에 따른 신호를 수신하고, 상기 수신한 신호를 처리하는 역할을 한다. PCI와 PCI Express 신호를 모두 수신하기 위하여 중앙처리장치는 PCI 컨트롤러(111)와 PCI Express 컨트롤러(112)를 구비하게 된다. The central processing unit 110 is responsible for the overall control of the PCI control device 100. The central processing unit 110 includes a general purpose input (GPI) port 113 indicating whether the data transmitted to the PCI control device 100 is data conforming to the PCI standard or data conforming to the PCI Express standard. In particular, the central processing unit 110 receives a signal according to the PCI or PCI Express, and serves to process the received signal. In order to receive both PCI and PCI Express signals, the central processing unit includes a PCI controller 111 and a PCI Express controller 112.

도 2는 본 발명의 일 실시예에 따른 PCI 제어 장치의 공통 커넥터 인터페이스를 나타낸 예시도이다. 2 is an exemplary view showing a common connector interface of a PCI control device according to an embodiment of the present invention.

위에서 살펴본 바와 같이 공통 커넥터는 PCI 규격의 데이터와 PCI Express 규격의 데이터를 모두 수신할 수 있어야 한다. 이를 위하여 공통 커넥터(140)는 도 2와 같은 인터페이스를 가지게 된다. PCI_PAD, PCI_CBEn, PCI_DEVSELn, PCI_FRAMEn, PCI_IDSEL, PCI_INTn, PCI_IRDYn, PCI_PAR, PCI_PERRn, PCI_STOPn, PCI_SERRn, PCI_TRDYn 등의 포트들은 PCI 규격의 데이터만을 위한 포트들이다. As discussed above, the common connector must be able to receive both PCI-compliant and PCI Express-compliant data. To this end, the common connector 140 has an interface as shown in FIG. 2. PCI_PAD, PCI_CBEn, PCI_DEVSELn, PCI_FRAMEn, PCI_IDSEL, PCI_INTn, PCI_IRDYn, PCI_PAR, PCI_PERRn, PCI_STOPn, PCI_SERRn and PCI_TRDYn are ports for PCI standard data only.

도 2에서 PCI_CLK / PEX_CLKn, PCI_CLK / PEX_CLKp, PCI_GNT0 / PEX_R, PCI_REQ0 / PEX_Rn, PCI_GNT1 / PEX_T, PCI_REQ1 / PEX_Tn 등의 포트를 살펴볼 수 있다. 이와 같은 포트들은 PCI 규격의 데이터와 PCI Express 규격의 데이터가 모두 입력될 수 있는 포트들에 해당한다. 예를 들어, PCI_CLK / PEX_CLKn 포트의 경우라면, PCI 규격에 따른 PCI/CLK 신호가 입력되거나, PCI Express 규격에 따른 PEX_CLKn 신호가 입력되는 포트이다. In FIG. 2, ports such as PCI_CLK / PEX_CLKn, PCI_CLK / PEX_CLKp, PCI_GNT0 / PEX_R, PCI_REQ0 / PEX_Rn, PCI_GNT1 / PEX_T, PCI_REQ1 / PEX_Tn, etc. may be examined. These ports correspond to ports that can receive both PCI standard data and PCI Express data. For example, in the case of a PCI_CLK / PEX_CLKn port, a PCI / CLK signal according to the PCI standard is input or a PEX_CLKn signal according to the PCI Express standard is input.

상기 공통 커넥터(140)가 외부 네트워크 장치로부터 수신한 신호는 PCI 타입 확인 모듈(130)과 신호 분배 모듈(120)로 전송된다. PCI 타입 확인 모듈(130)은 상기 포트에 어떤 타입의 신호가 전송되었는지 판단하게 되며, 신호 분배 모듈(120)이 상기 판단 결과에 따라 수신된 신호를 PCI 컨트롤러(111) 또는 PCI Express 컨트롤러(112)로 분배하는 역할을 하게 된다.The signal received from the external network device by the common connector 140 is transmitted to the PCI type checking module 130 and the signal distribution module 120. The PCI type checking module 130 determines what type of signal is transmitted to the port, and the signal distribution module 120 receives the received signal according to the determination result of the PCI controller 111 or the PCI express controller 112. To serve as a distributor.

도 3은 본 발명의 일 실시예에 따른 PCI 제어 장치의 PCI 타입 확인 모듈의 내부 구성을 나타낸 블록도이다.3 is a block diagram showing an internal configuration of a PCI type checking module of the PCI control device according to an embodiment of the present invention.

도 3에 도시된 바와 같이 PCI 타입 확인 모듈(130)은 크게 주파수 입력부(131), 주파수 비교부(135), 클럭 발생부(134), 앤드 게이트(136)로 구성되어 있다. 이하, 각 블록의 기능에 대하여 살펴보기로 한다.As shown in FIG. 3, the PCI type identification module 130 is largely comprised of a frequency input unit 131, a frequency comparator 135, a clock generator 134, and an end gate 136. Hereinafter, the function of each block will be described.

주파수 입력부(131)는 공통 커넥터를 통하여 수신된 신호에서 주파수 정보를 입력받는 블록이다. 주파수 입력부(131)는 PCI 신호 또는 PCI Express 신호의 주파수 정보를 추출하여야 한다. 일반적으로 PCI 신호의 클럭은 PCICLK 포트를 통하여 수신되며, PCI Express 신호의 클럭은 PEX_CLKn과 PEX_CLKp 포트를 통하여 수신된다. 따라서, 본 PCI 제어 장치에서는 도 2에서 설명한 공통 커넥터(140)를 통하여 주파수 입력부(131)의 PCICLK / PEX_CLKn 포트(132)와 PCICLK / PEX_CLKp 포트(133)로 수신된다. 이 경우 PCI 신호의 경우 33MHz의 주파수 특징을 가지며, PCI Express의 경우 100MHz 주파수를 갖게 된다.The frequency input unit 131 is a block that receives frequency information from a signal received through a common connector. The frequency input unit 131 should extract frequency information of the PCI signal or the PCI Express signal. In general, clocks of PCI signals are received through the PCICLK port, and clocks of PCI Express signals are received through the PEX_CLKn and PEX_CLKp ports. Accordingly, the PCI controller receives the PCICLK / PEX_CLKn port 132 and the PCICLK / PEX_CLKp port 133 of the frequency input unit 131 through the common connector 140 described with reference to FIG. 2. In this case, the PCI signal has a 33MHz frequency characteristic, and the PCI Express has a 100MHz frequency.

한편, 클럭 발생부(134)에서는 PCI 신호의 주파수와 PCI Express 신호 주파수의 중간 주파수 클럭을 발생시킨다. 즉, 클럭 발생부(134)는 33MHz 보다 크고, 100MHz 보다 작은 주파수를 가지는 클럭을 발생시키는 것이다. 본 실시예에서의 클럭 발생부(134)는 80MHz 주파수의 클럭을 발생시키는 것으로 가정한다. The clock generator 134 generates an intermediate frequency clock between the frequency of the PCI signal and the frequency of the PCI Express signal. That is, the clock generator 134 generates a clock having a frequency larger than 33 MHz and smaller than 100 MHz. It is assumed that the clock generator 134 generates a clock having an 80 MHz frequency in this embodiment.

주파수 비교부(135)는 주파수 입력부(131)로 입력된 신호의 클럭 주파수와 클럭 발생부(134)가 발생한 클럭의 주파수를 비교하게 된다. 만일 입력된 신호의 클럭 주파수가 클럭 발생부(134)가 발진한 클럭의 주파수보다 큰 경우, PCI Express 신호임을 알 수 있다. 반대로, 입력된 신호의 클럭 주파수가 자체 발진한 클럭의 주파수보다 작은 경우, 입력된 신호는 PCI 신호임을 알 수 있게 된다. The frequency comparison unit 135 compares the clock frequency of the signal input to the frequency input unit 131 with the frequency of the clock generated by the clock generator 134. If the clock frequency of the input signal is greater than the frequency of the clock generated by the clock generator 134, it can be seen that the signal is a PCI Express signal. Conversely, if the clock frequency of the input signal is smaller than the frequency of the self-oscillating clock, it can be seen that the input signal is a PCI signal.

위에서 설명하였듯이 PCI 타입 확인 모듈(130)은 PCICLK / PEX_CLKn 포트(132)와 PCICLK / PEX_CLKp 포트(133)를 통하여 입력된 신호의 클럭을 수신한다. 보다 정확한 PCI 타입 판별을 위하여 두 개의 포트(122, 123)로 입력된 클럭 주파 수 모두 자체 발진한 클럭 주파수와 비교를 하게 된다. 이와 같이 두 번 비교된 결과는 앤드 게이트(136)를 거쳐 중앙처리장치(110)의 GPI 포트(113)와 신호 분배 모듈(120)로 전달된다. As described above, the PCI type checking module 130 receives a clock of a signal input through the PCICLK / PEX_CLKn port 132 and the PCICLK / PEX_CLKp port 133. For more accurate PCI type determination, both clock frequencies inputted to the two ports 122 and 123 are compared with the self-oscillating clock frequency. The result of the two comparisons is transferred to the GPI port 113 and the signal distribution module 120 of the central processing unit 110 via the AND gate 136.

이와 같은 PCI 타입 확인 모듈(130)의 동작 예는 다음과 같다. 주파수 입력부(131)는 PCICLK / PEK_CLKn(132), PCICLK / PEX_CLKp 포트(133)로 PCI 신호의 클럭(33MHz)을 입력받게 된다. 이 때 입력되는 33MHz는 클럭 발생부가 발생한 80MHz의 주파수 보다 낮은 주파수이다. 따라서, 주파수 비교부(135)는 Low 신호를 출력하게 된다. 이와 같은 주파수 비교부(135)의 출력은 신호 분배 모듈(120)로 전달된다. 신호 분배 모듈(120)은 주파수 비교부(135)로부터의 입력 신호가 Low이므로 PCI 데이터 신호에 따라 출력하는 것이다. 한편 주파수 비교부(135)의 Low 출력은 중앙처리장치(110)의 GPI 포트(113)로 전달되므로, 중앙처리장치(110)는 외부 네트워크 장치가 PCI를 지원하는 장치임을 알고, PCI 버스를 이용한 데이터 송수신을 준비하게 된다.An operation example of the PCI type checking module 130 is as follows. The frequency input unit 131 receives a clock (33 MHz) of a PCI signal through the PCICLK / PEK_CLKn 132 and the PCICLK / PEX_CLKp port 133. At this time, the input 33MHz is a frequency lower than the frequency of the 80MHz clock generation unit. Therefore, the frequency comparator 135 outputs a low signal. The output of the frequency comparison unit 135 is transmitted to the signal distribution module 120. The signal distribution module 120 outputs according to the PCI data signal because the input signal from the frequency comparator 135 is low. On the other hand, since the low output of the frequency comparison unit 135 is transmitted to the GPI port 113 of the central processing unit 110, the central processing unit 110 knows that the external network device supports the PCI, using a PCI bus You are ready to send and receive data.

도 4는 본 발명의 일 실시예에 따른 신호 분배 모듈과 중앙처리장치의 연결 관계를 나타낸 블럭도이다.4 is a block diagram illustrating a connection relationship between a signal distribution module and a CPU according to an embodiment of the present invention.

신호 분배 모듈(120)은 PCI 타입 확인 모듈(130)의 앤드 게이트(136)로부터 PCI 타입 체크 신호를 전달받는다. 도 2의 실시예에 따르면, PCI 타입 확인 모듈(130)로부터 High 신호를 입력받는 경우 신호 분배 모듈(120)은 PCI Express 신호를 중계하게 된다. 반대로 신호 분배 모듈(120)이 PCI 타입 확인 모듈(130)로부 터 Low 신호를 입력받으면, PCI 신호를 중계하게 된다. 이와 같은 중계 과정은 4개의 멀티플렉서(121)를 이용하여 구현할 수 있다.The signal distribution module 120 receives a PCI type check signal from the end gate 136 of the PCI type identification module 130. According to the embodiment of Figure 2, when receiving a high signal from the PCI type identification module 130, the signal distribution module 120 is to relay the PCI Express signal. On the contrary, when the signal distribution module 120 receives the low signal from the PCI type checking module 130, the signal distribution module 120 relays the PCI signal. Such a relay process may be implemented using four multiplexers 121.

구체적으로 신호 분배 모듈(120)은 High 신호를 입력받게 되는 경우, PCI/REQ0 /PEX_RN 포트로 수신된 신호가 PCI Express 신호임을 알게 된다. 따라서 신호 분배 모듈(120)은 상기 PCI/REQ0 / PEX_RN 포트로 입력된 신호를 중앙처리장치(110) PCI Express 컨트롤러(112)의 PEX_RN 포트로 중계하게 된다. 이와 같이 중계하는 역할은 멀티플렉서(121)가 담당한다. 또한, 신호 분배 모듈(120)은 PCI/GNT0 / PEX_R 포트로 입력된 신호를 중앙처리장치(110) PCI Express 컨트롤러(112)의 PEX_R 포트로 중계한다. 물론, PCI_REQ1 / PEX_Tn 포트와 PCI_GNT1 / PEX_T 포트로 입력된 신호도 각각 PEX_Tn 포트와 PEX_T 포트로 중계된다. 이와 같이 신호 분배 모듈(120)은 4개의 멀티플렉서를 이용하여 공통 커넥터(140)로 입력된 신호를 중앙처리장치(110)로 중계할 수 있다.In detail, when the signal distribution module 120 receives the high signal, the signal distribution module 120 recognizes that the signal received through the PCI / REQ0 / PEX_RN port is a PCI Express signal. Therefore, the signal distribution module 120 relays the signal input to the PCI / REQ0 / PEX_RN port to the PEX_RN port of the PCI Express controller 112 of the CPU 110. The role of relaying in this manner is the multiplexer 121. In addition, the signal distribution module 120 relays the signal input to the PCI / GNT0 / PEX_R port to the PEX_R port of the PCI Express controller 112 of the central processing unit 110. Of course, signals input through the PCI_REQ1 / PEX_Tn port and the PCI_GNT1 / PEX_T port are also relayed to the PEX_Tn port and the PEX_T port, respectively. As such, the signal distribution module 120 may relay the signal inputted to the common connector 140 to the CPU 110 using four multiplexers.

이와 같은 과정을 통하여 PCI 제어 장치(100)는 임의의 데이터 신호가 수신된 경우, 상기 신호의 타입을 판별하고 상기 판별된 타입의 컨트롤러의 포트에 맞게 데이터를 전달하는 것이다.When a random data signal is received through the above process, the PCI control apparatus 100 determines the type of the signal and transfers the data according to the port of the controller of the determined type.

도 5는 본 발명의 다른 실시예에 따른 PCI 제어 장치를 이용한 PCI와 PCI Express 제어 방법을 나타낸 순서도이다.5 is a flowchart illustrating a PCI and PCI Express control method using a PCI control device according to another embodiment of the present invention.

먼저 PCI 제어 장치는 PCI 또는 PCI와 PCI Express를 지원하는 호스트 프린터와 연결된다(S501). 물론, 외부 네트워크 장치의 일 예로 호스트 프린터를 설명 한 것이며, PCI와 PCI Express를 동시에 지원하는 외부 네트워크 장치는 모두 본 발명의 범주에 속한다. 그 후 PCI 제어 장치는 상기 호스트 프린터로부터 전송되는 신호를 수신하게 된다(S502). 만일 호스트 프린터가 PCI를 지원하는 경우라면, PCI 신호를 수신하게 되며, 호스트 프린터가 PCI Express를 지원하는 경우라면, PCI Express 신호를 수신하게 된다.First, the PCI control device is connected to a host printer that supports PCI or PCI and PCI Express (S501). Of course, a host printer has been described as an example of an external network device, and all external network devices that support PCI and PCI Express are included in the scope of the present invention. After that, the PCI controller receives a signal transmitted from the host printer (S502). If the host printer supports PCI, it will receive PCI signals. If the host printer supports PCI Express, it will receive PCI Express signals.

PCI 제어 장치는 호스트 프린터로부터 수신한 신호의 클럭 주파수를 감지하고(S503), 상기 클럭의 주파수와 자체 발생 클럭 주파수를 비교함으로써 연결된 호스트 프린터의 PCI 타입을 결정한다(S504). 이 경우 PCI 제어 장치가 자체 발생하는 클럭의 주파수는 PCI 클럭의 주파수인 33MHz와 PCI Express 클럭의 주파수인 100MHz의 중간 주파수여야 한다.The PCI controller detects the clock frequency of the signal received from the host printer (S503), and determines the PCI type of the connected host printer by comparing the clock frequency with the self-generated clock frequency (S504). In this case, the frequency of the clock generated by the PCI control device should be an intermediate frequency of 33 MHz, which is the frequency of the PCI clock, and 100 MHz, which is the frequency of the PCI Express clock.

PCI 제어 장치는 호스트 프린터가 PCI를 지원하는 프린터라면 PCI 인터페이스 및 드라이버를 이용하여 데이터를 호스트 프린터로 전송하게 된다(S506). 물론, 상기 호스트 프린터가 PCI Express를 지원하는 프린터라면 PCI 제어 장치는 PCI Express 컨트롤러를 통하여 데이터를 호스트 프린터로 전송하는 것이다(S507). If the host controller is a printer that supports PCI, the PCI controller transmits data to the host printer using a PCI interface and a driver (S506). Of course, if the host printer is a printer that supports PCI Express, the PCI controller transmits data to the host printer through the PCI Express controller (S507).

PCI 제어 장치가 PCI 신호와 PCI Express 신호를 선택하여 전송하는 방법에 대하여는 이미 자세히 설명하였다. 이와 같은 데이터 송수신 방법을 이용하여 PCI 제어 장치는 호스트 프린터로 타입에 맞는 데이터를 전송할 수 있으며, 상기 호스트 프린터는 이를 수신하여 출력하게 된다.How the PCI controller selects and transmits PCI signals and PCI Express signals has already been described in detail. By using the data transmission and reception method as described above, the PCI control apparatus may transmit data corresponding to a type to a host printer, and the host printer receives and outputs the data.

상기한 바와 같이 본 발명에 따른 PCI와 PCI Express를 동시에 지원하는 제어 장치 및 그 방법에 따르면, 호스트 프린터와 같은 외부 네트워크 장치로부터 수신한 신호의 주파수를 이용하여 상기 외부 네트워크 장치가 PCI와 PCI Express 중 어느 방식을 지원하는지 판단하고, 상기 판단에 따른 컨트롤러를 이용하여 데이터를 송수신하는 장치를 제공함으로써, 보다 간편하게 PCI와 PCI Express를 모두 지원 가능한 기기를 사용자에게 제공할 수 있다.As described above, according to the control device and method for supporting both PCI and PCI Express according to the present invention, the external network device is a PCI and PCI Express using the frequency of the signal received from an external network device such as a host printer. By determining which method is supported, and by providing a device for transmitting and receiving data using the controller according to the determination, it is possible to provide a user with a device that can support both PCI and PCI Express more easily.

Claims (5)

PCI(Peripheral Component Interconnect)와 PCI Express를 지원하기 위한 PCI 제어장치에 있어서,In PCI controller to support Peripheral Component Interconnect (PCI) and PCI Express, 외부 네트워크 장치와 데이터 통신을 하기 위한 공통 커넥터;A common connector for data communication with an external network device; 상기 공통 커넥터가 수신한 신호가 PCI 신호인지 PCI Express 신호인지 여부를 판단하는 PCI 타입 확인 모듈;A PCI type checking module for determining whether a signal received by the common connector is a PCI signal or a PCI Express signal; 상기 PCI 타입 확인 모듈이 판단한 PCI 타입에 따라 상기 공통 커넥터를 통하여 상기 외부 네트워크 장치와 PCI 또는 PCI Express 방식에 따라 데이터 송수신을 수행하는 중앙처리장치를 포함하는 PCI 제어 장치.And a central processing unit configured to perform data transmission / reception with the external network device through the common connector according to the PCI type according to the PCI type determined by the PCI type checking module. 제1항에 있어서,The method of claim 1, 상기 PCI 타입 확인 모듈은,The PCI type check module, 상기 네트워크 카드가 수신한 신호에 포함되어 있는 클럭 주파수를 이용하여 PCI 타입을 판단하는 PCI 제어 장치.PCI control apparatus for determining the PCI type by using the clock frequency included in the signal received by the network card. 제2항에 있어서,The method of claim 2, 상기 PCI 타입 확인 모듈은,The PCI type check module, PCI 신호의 클럭과 PCI Express 신호 클럭의 중간 주파수를 가지는 클럭을 발생하는 클럭 발생부; A clock generator for generating a clock having an intermediate frequency between the clock of the PCI signal and the clock of the PCI Express signal; 상기 공통 커넥터를 통하여 수신한 신호의 주파수를 감지하는 주파수 입력부; 및A frequency input unit for sensing a frequency of a signal received through the common connector; And 상기 클럭 발생부가 생성한 클럭의 주파수와 상기 공통 커넥터가 수신한 신호의 주파수를 비교함으로써, 상기 수신한 신호가 PCI 신호인지 PCI Express 신호인지 판단하는 주파수 비교부를 포함하는 PCI 제어 장치.And a frequency comparator configured to determine whether the received signal is a PCI signal or a PCI Express signal by comparing a frequency of a clock generated by the clock generator and a frequency of a signal received by the common connector. 제1항에 있어서,The method of claim 1, 상기 중앙처리장치는,The central processing unit, PCI 방식의 데이터 송수신을 위한 PCI 컨트롤러; 와PCI controller for data transmission and reception of the PCI system; Wow PCI Express 방식의 데이터 송수신을 위한 PCI Express 컨트롤러를 포함하는 PCI 제어 장치.PCI control device including a PCI Express controller for the PCI Express data transmission and reception. PCI와 PCI Express를 지원하기 위한 PCI 제어 방법에 있어서,In the PCI control method for supporting PCI and PCI Express, PCI 제어 장치는 외부 네트워크 장치로부터 수신한 신호의 주파수를 이용하여 상기 신호가 PCI 신호인지 PCI Express 신호인지 여부를 판단하는 단계; 와Determining whether the signal is a PCI signal or a PCI Express signal using a frequency of a signal received from an external network device; Wow 상기 PCI 제어 장치는 상기 결정된 PCI 타입에 따라 상기 외부 네트워크 장 치와 PCI 또는 PCI Express 방식에 따른 데이터 송수신을 수행하는 단계를 포함하는 PCI 제어 방법.The PCI control device comprises the step of performing data transmission and reception according to the PCI or PCI Express method with the external network device according to the determined PCI type.
KR1020060055041A 2006-06-19 2006-06-19 Controller compatible with both pci and pci express and method thereof KR20070120365A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060055041A KR20070120365A (en) 2006-06-19 2006-06-19 Controller compatible with both pci and pci express and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060055041A KR20070120365A (en) 2006-06-19 2006-06-19 Controller compatible with both pci and pci express and method thereof

Publications (1)

Publication Number Publication Date
KR20070120365A true KR20070120365A (en) 2007-12-24

Family

ID=39138208

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060055041A KR20070120365A (en) 2006-06-19 2006-06-19 Controller compatible with both pci and pci express and method thereof

Country Status (1)

Country Link
KR (1) KR20070120365A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016085016A1 (en) * 2014-11-28 2016-06-02 윤동구 Extendable multi device bay system having device extension function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016085016A1 (en) * 2014-11-28 2016-06-02 윤동구 Extendable multi device bay system having device extension function

Similar Documents

Publication Publication Date Title
US7539801B2 (en) Computing device with flexibly configurable expansion slots, and method of operation
US10229080B2 (en) Dual bus standard switching bus controller
US9575552B2 (en) Device, method and system for operation of a low power PHY with a PCIe protocol stack
US6845420B2 (en) System for supporting both serial and parallel storage devices on a connector
CN100424668C (en) Automatic configurating system for PCI-E bus
US7000057B1 (en) Method and apparatus for adding OTG dual role device capability to a USB peripheral
CN108255776B (en) I3C master device compatible with APB bus, master-slave system and communication method
EP3063640A1 (en) A method, apparatus and system for measuring latency in a physical unit of a circuit
CN101901202B (en) Circuit for cross clock domain accessing of AHB bus equipment to APB bus equipment
JP5096024B2 (en) USB controller and USB controller test method
US9760525B2 (en) Sideband signal consolidation fanout using a clock generator chip
KR101107903B1 (en) Automatic configuration of a communication port as transmitter or receiver depending on the sensed transfer direction of a connected device
US10299219B2 (en) Transmitter, a receiver, a data transfer system and a method of data transfer
US20140245053A1 (en) Distributed computer system
KR102635457B1 (en) PCIe DEVICE AND COMPUTING SYSTEM INCLUDING THEREOF
KR20060130664A (en) Signaling arrangement and approach therefor
WO2017171997A1 (en) A method, apparatus and system for communicating between multiple protocols
US5905744A (en) Test mode for multifunction PCI device
US8364880B2 (en) Integrated transmission circuit and method using a media access control circuit that collectively encodes data from two distinct application circuits
KR20070120365A (en) Controller compatible with both pci and pci express and method thereof
JP2003505761A (en) How to extend a synchronous bus by an arbitrary length using a specific bus protocol
US20240012770A1 (en) Interface device having plurality of ports and method of operating the same
US20050268020A1 (en) Data transfer system with bus
Xiaoru et al. Design and implementation of the universal rs232-gpib interface
KR20230142103A (en) Interface device and computing system including thereof

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination