KR100346207B1 - Apparatus and method for testing ethernet packet switching between mac and phy - Google Patents

Apparatus and method for testing ethernet packet switching between mac and phy Download PDF

Info

Publication number
KR100346207B1
KR100346207B1 KR1019990048953A KR19990048953A KR100346207B1 KR 100346207 B1 KR100346207 B1 KR 100346207B1 KR 1019990048953 A KR1019990048953 A KR 1019990048953A KR 19990048953 A KR19990048953 A KR 19990048953A KR 100346207 B1 KR100346207 B1 KR 100346207B1
Authority
KR
South Korea
Prior art keywords
ethernet
packet
mac
physical layer
ethernet packet
Prior art date
Application number
KR1019990048953A
Other languages
Korean (ko)
Other versions
KR20010045612A (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 KR1019990048953A priority Critical patent/KR100346207B1/en
Publication of KR20010045612A publication Critical patent/KR20010045612A/en
Application granted granted Critical
Publication of KR100346207B1 publication Critical patent/KR100346207B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Abstract

본 발명은 가상으로 구현된 물리계층을 이용하여 MAC과 물리계층간의 이더넷 패킷 스위칭을 테스트함에 있어, 이더넷 패킷을 정의한 이더넷 파일을 읽어들이는 과정과, 상기 이더넷 패킷의 정보를 분석하여 해당 포트의 소스피포에 저장시키는 과정과, 상기 이더넷 패킷을 물리계층의 해당 포트를 통해 MAC으로 송신시키는 과정과, 이더넷 스위칭을 통해 상기 MAC으로부터 수신되는 이더넷 패킷을 수신예상피포에 저장시키는 과정과, 상기 소스피포에 저장된 이더넷 패킷의 정보와 상기 수신예상피포에 저장된 이더넷 패킷의 정보가 일치하는지 판단하여 이더넷 스위칭을 검사하는 과정을 포함하여 구성함을 특징으로 한다.The present invention is to test the Ethernet packet switching between the MAC and the physical layer by using a virtually implemented physical layer, the process of reading the Ethernet file defining the Ethernet packet, and analyzing the information of the Ethernet packet source of the corresponding port Storing the packet in a packet; transmitting the Ethernet packet to a MAC through a corresponding port of a physical layer; storing the Ethernet packet received from the MAC in an expected packet through Ethernet switching; And checking the Ethernet switching by determining whether the information of the stored Ethernet packet and the information of the Ethernet packet stored in the expected anticipation packet coincide with each other.

Description

맥과 물리계층간의 이더넷 패킷 스위칭 테스트장치 및 방법{APPARATUS AND METHOD FOR TESTING ETHERNET PACKET SWITCHING BETWEEN MAC AND PHY}Device and method for testing Ethernet packet switching between MAC and physical layer {APPARATUS AND METHOD FOR TESTING ETHERNET PACKET SWITCHING BETWEEN MAC AND PHY}

본 발명은 이더넷(Ethernet) 네트워크에 관한 것으로, 특히 이더넷 패킷(Ethernet packet)을 MAC(Medium Access Control:매체 접근 제어)으로 송/수신하기 위한 가상의 물리계층 장치를 HDL(Hardware Description Language)로 구현하여 가상의 물리계층에서 만들어진 이더넷 패킷을 MII(Media Independent Interface)를 통해 MAC으로 전송하고 이더넷 스위칭 로직에서 패킷이 정상적으로 스위칭되어 MAC을 통해 물리계층으로 정확히 출력되는지를 시험하기 위한 테스트장치 및 방법에 관한 것이다.The present invention relates to an Ethernet network, and in particular, a virtual physical layer device for transmitting / receiving an Ethernet packet to a medium access control (MAC) is implemented in a hardware description language (HDL). Test method and method for testing whether an Ethernet packet made in a virtual physical layer is transmitted to a MAC through a MII (Media Independent Interface) and whether the packet is normally switched in the Ethernet switching logic to be outputted correctly to the physical layer through the MAC. will be.

통상적으로 상기 이더넷 네트워크의 이더넷 스위칭 칩은 종래에는 MAC을 포함하지 않아 MAC부분을 HDL로 모델링하여 칩의 동작을 테스트 하였다.In general, since the Ethernet switching chip of the Ethernet network does not include a MAC, the operation of the chip was tested by modeling the MAC part as HDL.

도 1은 상기 종래 MAC과 일체화되지 않은 이더넷 스위칭 칩을 테스트하기 위해 MAC부분을 HDL로 모델링한 이더넷 스위칭 테스트 장치를 도시한 것으로, 이더넷 파일부(100), 이더넷 리드 파일 드라이브부(ETH_READ_FILE_DRV)(102), 이더넷 소스 피포부(ETH_SRC_FIFO)(104), 이더넷 맥계층 드라이브부(ETH_QUAD_DRV)(108), 수신예상 피포부(ETH_EXP_FIFO)(106) 등으로 구성된 상기 종래 테스트 장치(101)는 상기 도 1에서 알 수 있는 바와 같이 MAC부분을 별도의 HDL로 구현해야 하는 문제점이 있었다.FIG. 1 illustrates an Ethernet switching test apparatus modeling a MAC part in HDL for testing an Ethernet switching chip not integrated with the conventional MAC. The Ethernet file unit 100 and the Ethernet read file drive unit ETH_READ_FILE_DRV 102 ), The conventional test apparatus 101 including the Ethernet source envelope (ETH_SRC_FIFO) 104, the Ethernet MAC layer drive unit (ETH_QUAD_DRV) 108, the reception expected envelope unit (ETH_EXP_FIFO) 106, and the like, is illustrated in FIG. As can be seen, there was a problem that the MAC part should be implemented in a separate HDL.

상술한 바와 같이 종래 이더넷 스위칭 테스트 장치는 MAC부분을 별도의 HDL로 구현한다.As described above, the conventional Ethernet switching test apparatus implements the MAC part as a separate HDL.

따라서 본 발명의 목적은 기존 SECore 10 테스트용 MAC TB의 구조를 그대로 가지면서도 MAC이 일체화된 이더넷 스위칭 칩을 테스트할 수 있는 테스트장치 및 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a test apparatus and method capable of testing an Ethernet switching chip in which a MAC is integrated while maintaining the structure of a conventional MAC TB for SECore 10 testing.

도 1은 종래 이더넷 스위칭 칩 테스트장치의 블록 구성도,1 is a block diagram of a conventional Ethernet switching chip test apparatus,

도 2는 본 발명의 실시 예에 따른 이더넷 스위칭 칩 테스트장치의 블록 구성도,2 is a block diagram of an Ethernet switching chip test apparatus according to an embodiment of the present invention;

도 3은 본 발명의 실시 예에 따른 MAC과 물리계층간의 이더넷 패킷 스위칭을 테스트하기 위한 처리 흐름도.3 is a process flow diagram for testing Ethernet packet switching between a MAC and a physical layer in accordance with an embodiment of the present invention.

상술한 목적을 달성하기 위한 본 발명은 가상으로 구현된 물리계층을 이용하여 MAC과 물리계층간의 이더넷 패킷 스위칭을 테스트함에 있어, 이더넷 패킷을 정의한 이더넷 파일을 읽어들이는 과정과, 상기 이더넷 패킷의 정보를 분석하여 해당 포트의 소스피포에 저장시키는 과정과, 상기 이더넷 패킷을 물리계층의 해당 포트를 통해 MAC으로 송신시키는 과정과, 이더넷 스위칭을 통해 상기 MAC으로부터 수신되는 이더넷 패킷을 수신예상피포에 저장시키는 과정과, 상기 소스피포에 저장된 이더넷 패킷의 정보와 상기 수신예상피포에 저장된 이더넷 패킷의 정보가 일치하는지 판단하여 이더넷 스위칭을 검사하는 과정을 포함하여 구성함을 특징으로 한다.The present invention for achieving the above object in the Ethernet packet switching between the MAC and the physical layer using the physical layer implemented virtually, the process of reading an Ethernet file defining the Ethernet packet, and the information of the Ethernet packet Analyzing and storing the packet in the source packet of the corresponding port, transmitting the Ethernet packet to the MAC through the corresponding port of the physical layer, and storing the Ethernet packet received from the MAC through the Ethernet switching in the expected packet. And checking the Ethernet switching by determining whether the information of the Ethernet packet stored in the source packet and the information of the Ethernet packet stored in the expected prediction packet match.

이하 본 발명의 바람직한 실시 예를 첨부한 도면을 참조하여 상세히 설명한다. 그리고 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능 및 구성에 대한 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. And a detailed description of known functions and configurations that may unnecessarily obscure the subject matter of the present invention will be omitted.

도 2는 본 발명의 실시 예에 따른 가상의 물리계층 장치를 HDL(Hardware Description Language)로 구현한 MAC부분이 일체화된 이더넷 스위칭 칩 테스트 장치의 블록 구성을 도시한 것이다. 상기 도 2를 참조하면, 상기 테스트 장치(202)는 이더넷 패킷 정보를 대신하는 테스트 파일을 저장하는 이더넷 파일부(200)와, 이더넷 패킷의 정보를 대신하는 파일을 물리계층 테스트 벤치(TB)로 불러 읽어들이는 이더넷 리드 파일 드라이브부(ETH_READ_FILE_DRV)(204)와, 각각의 포트에 존재하는 피포(FIFO)들을 대신하여 상기 이더넷 리드 파일 드라이브부(204)로부터의 패킷의 정보들을 각 포트별로 저장하는 소스 피포부(PHY_SRC_FIFO)(206)와, 상기 이더넷 리드 파일 드라이브부(204)로부터 입력되는 이더넷 파일을 물리계층의 해당 각 포트로 드라이브시키는 물리계층 드라이브부(PHY_QUAD_DRV)(210)와, 각각의 포트를 나타내고 있는 물리계층 포트 드라이브부(PHY_PORT_DRV)(216)와, 각 포트의 MII(Media Independent Interface)에서 패킷 송/수신이 일어날 때 상기 물리계층 드라이브부(210)로 입력된 상기 송신된 이더넷 패킷의 정보와 상기 물리계층 드라이브부(210)로부터 출력된 상기 이더넷 패킷이 MAC을 통해 이더넷 스위칭된 후 출력되는 이더넷 패킷의 정보가 일치하는지 여부를 검사하는 수신예상 피포부(PHY_EXP_FIFO)(214)와, 소스 피포부(206)에서 수신예상 피포부(214)로의 라우팅을 결정해주는 이더넷 패킷 멀티플렉서(EXP_ELEM_MUX)(208)로 구성된다.FIG. 2 is a block diagram of an Ethernet switching chip test apparatus in which a MAC part in which a virtual physical layer device is implemented in a hardware description language (HDL) according to an embodiment of the present invention is integrated. Referring to FIG. 2, the test apparatus 202 includes an Ethernet file unit 200 for storing test files instead of Ethernet packet information, and a file for replacing Ethernet packet information with a physical layer test bench (TB). The Ethernet read file drive unit (ETH_READ_FILE_DRV) 204 to read and store the information of the packet from the Ethernet read file drive unit 204 for each port in place of the FIFO present in each port A source layer PHY_SRC_FIFO 206, a physical layer drive unit PHY_QUAD_DRV 210 for driving an Ethernet file input from the Ethernet read file drive unit 204 to respective ports of the physical layer, and respective ports The physical layer port drive unit (PHY_PORT_DRV) 216 and the physical layer drive unit 210 when packet transmission / reception occurs in the MII (Media Independent Interface) of each port. A reception expected packet part which checks whether the information of the transmitted Ethernet packet and the information of the Ethernet packet output after the Ethernet packet outputted from the physical layer drive unit 210 are switched via a MAC are matched with each other ( PHY_EXP_FIFO) 214 and an Ethernet packet multiplexer (EXP_ELEM_MUX) 208 that determines the routing from the source envelope 206 to the expected target envelope 214.

도 3은 본 발명의 실시 예에 따라 가상으로 구현된 물리계층을 이용하여 MAC과 물리계층간의 이더넷 패킷 스위칭을 테스트하기 위한 처리 흐름을 도시한 것이다. 이하 상기 도 2 및 도 3을 참조하여 본 발명의 실시 예를 상세히 설명한다.3 illustrates a process flow for testing Ethernet packet switching between a MAC and a physical layer using a physical layer virtually implemented according to an embodiment of the present invention. Hereinafter, an embodiment of the present invention will be described in detail with reference to FIGS. 2 and 3.

먼저 이더넷 패킷 스위칭 테스트 장치(202)는 (300)단계에서 이더넷 파일부(200)로부터 MII를 통해 MAC으로 송신될 이더넷 패킷을 정의한 파일을 읽어들인다. 이어 스위칭 테스트 장치(202)는 (302)단계로 진행하여 최초 리셋이 인엑티브(Inactive)되는 시점에 상기 이더넷 패킷을 정의한 파일을 한 라인씩 읽은 후, 분석하여 해당 포트의 소스 피포부(206)에 저장시킨 후, (304)단계로 진행하여 상기 소스 피포부(206)에 저장된 이더넷 패킷을 물리계층의 해당포트를 통해 MAC으로송신한다. 이에 따라 물리계층과 MAC간에는 MII인터페이스를 통한 이더넷 패킷의 송/수신이 이루어지게 되는데, 이때 이더넷 패킷 송신시 상기 소스 피포부(206)에 저장된 패킷정보는 MAC으로 송신됨과 동시에, 수신예상되는 출력포트의 수신예상 피포부(214)에 저장된다. 이어 스위칭 테스트 장치(202)는 (306)단계로 진행하여 이더넷 스위칭을 통해 MAC으로부터 수신된 이더넷 패킷을 상기 수신예상 피포부(214)에 저장시키고, (308)단계로 진행하여 상기 소스 피포부(206)에 저장된 송신 이더넷 패킷의 정보와 수신예상 피포부(214)에 저장된 수신 이더넷 패킷의 정보가 일치하는지를 검사하여 MAC이 일체화된 이더넷 스위칭 칩의 동작상태를 검사할 수 있게 된다.First, the Ethernet packet switching test apparatus 202 reads a file defining an Ethernet packet to be transmitted to the MAC through the MII from the Ethernet file unit 200 in step (300). Subsequently, the switching test apparatus 202 proceeds to step 302 and reads the file defining the Ethernet packet line by line at the time when the initial reset is inactive, and analyzes the source envelope 206 of the corresponding port. After storing in step 304, the process proceeds to step 304 to transmit the Ethernet packet stored in the source envelope 206 to the MAC through the corresponding port of the physical layer. Accordingly, the Ethernet packet is transmitted / received through the MII interface between the physical layer and the MAC. In this case, when the Ethernet packet is transmitted, packet information stored in the source envelope 206 is transmitted to the MAC and at the same time, an expected output port. Expected to be stored in the envelope 214. Subsequently, the switching test apparatus 202 proceeds to step 306 to store the Ethernet packet received from the MAC through Ethernet switching in the expected packet receiver 214, and proceeds to step 308 to the source packet receiver ( By checking whether the information of the transmission Ethernet packet stored in the 206 and the information of the reception Ethernet packet stored in the reception expected packaging unit 214 match, it is possible to examine the operation state of the Ethernet switching chip in which the MAC is integrated.

상술한 바와 같이 본 발명은 이더넷 네트워크에서 이더넷 스위칭 칩이 MAC을 일체화하여 구현함으로써 테스트를 위한 위한 가상의 HDL작성시 MAC을 위한 별도의 HDL을 작성하지 않아도 되는 이점이 있다.As described above, the present invention has an advantage in that the Ethernet switching chip is integrated with the MAC in the Ethernet network, so that a separate HDL for the MAC is not required for the virtual HDL for the test.

Claims (4)

가상으로 구현된 물리계층을 이용하여 매체 접근 제어 계층(Medium Access Control:MAC)과 물리계층간의 이더넷 패킷 스위칭을 테스트하기 위한 장치에 있어서,An apparatus for testing Ethernet packet switching between a medium access control layer (MAC) and a physical layer using a virtually implemented physical layer, 이더넷 패킷을 정의한 파일을 저장하는 이더넷 파일부와,An Ethernet file section for storing a file defining an Ethernet packet, 상기 이더넷 파일부로부터 이더넷 패킷정보를 읽어들이는 이더넷 리드 파일 드라이브부와,An ethernet read file drive unit for reading ethernet packet information from the ethernet file unit; 상기 이더넷 리드 파일 드라이브부로부터 입력되는 이더넷 패킷을 물리계층의 해당 각 포트로 드라이브시켜 MAC으로 송신시키는 물리계층 드라이브부와,A physical layer drive unit configured to drive Ethernet packets inputted from the Ethernet read file drive unit to respective ports of a physical layer and to transmit them to a MAC; 상기 이더넷 리드 파일 드라이브부로부터 인가되는 이더넷 패킷을 해당 포트별로 저장하는 소스 피포부와,A source packing unit for storing the Ethernet packet applied from the Ethernet read file drive unit for each corresponding port; 상기 물리계층 드라이브부로 입력된 송신 이더넷 패킷의 정보와 상기 물리계층 드라이브부로부터 상기 MAC으로 송신되어 이더넷 스위칭된 후 출력되는 수신 이더넷 패킷의 정보가 일치하는지 여부를 검사하는 수신예상피포부와,A reception expected packet unit which checks whether the information of the transmitted Ethernet packet inputted to the physical layer drive unit and the information of a received Ethernet packet transmitted from the physical layer drive unit to the MAC and outputted after being switched to Ethernet are matched; 상기 소스 피포부에서 수신예상 피포부로의 라우팅을 결정하는 이더넷 패킷 멀티플렉서로 구성됨을 특징으로 하는 MAC과 물리계층간 이더넷 패킷 스위칭 테스트장치.Ethernet packet switching test device between the physical layer and the MAC characterized in that it comprises an Ethernet packet multiplexer for determining the routing from the source envelope to the expected target envelope. 삭제delete 삭제delete 가상으로 구현된 물리계층을 이용하여 매체 제어 접근 계층(Medium Access Control:MAC)과 물리계층간의 이더넷 패킷 스위칭을 테스트하기 위한 방법에 있어서,A method for testing Ethernet packet switching between a medium access control layer (MAC) and a physical layer using a virtually implemented physical layer, 이더넷 패킷을 정의한 이더넷 파일을 읽어들이는 과정과,Reading the ethernet file that defines the ethernet packet, 상기 이더넷 패킷의 정보를 분석하여 해당 포트의 소스피포에 저장시키는 과정과,Analyzing the information of the Ethernet packet and storing the information in a source packet of a corresponding port; 상기 이더넷 패킷을 물리계층의 해당 포트를 통해 MAC으로 송신시키는 과정과,Transmitting the Ethernet packet to a MAC through a corresponding port of a physical layer; 이더넷 스위칭을 통해 상기 MAC으로부터 수신되는 이더넷 패킷을 수신예상피포에 저장시키는 과정과,Storing the Ethernet packet received from the MAC through an Ethernet switching in an expected packet; 상기 소스피포에 저장된 이더넷 패킷의 정보와 상기 수신예상피포에 저장된 이더넷 패킷의 정보가 일치하는지 판단하여 이더넷 스위칭을 검사하는 과정으로 구성됨을 특징으로 하는 MAC과 물리계층간의 이더넷 패킷 스위칭 테스트방법.And checking Ethernet switching by determining whether the information of the Ethernet packet stored in the source packet and the information of the Ethernet packet stored in the expected prediction packet is identical to the Ethernet packet switching test.
KR1019990048953A 1999-11-05 1999-11-05 Apparatus and method for testing ethernet packet switching between mac and phy KR100346207B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990048953A KR100346207B1 (en) 1999-11-05 1999-11-05 Apparatus and method for testing ethernet packet switching between mac and phy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990048953A KR100346207B1 (en) 1999-11-05 1999-11-05 Apparatus and method for testing ethernet packet switching between mac and phy

Publications (2)

Publication Number Publication Date
KR20010045612A KR20010045612A (en) 2001-06-05
KR100346207B1 true KR100346207B1 (en) 2002-08-01

Family

ID=19618815

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990048953A KR100346207B1 (en) 1999-11-05 1999-11-05 Apparatus and method for testing ethernet packet switching between mac and phy

Country Status (1)

Country Link
KR (1) KR100346207B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980033259A (en) * 1996-10-31 1998-07-25 요시다다다히로 Autolock Slide Fastener Slider

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980033259A (en) * 1996-10-31 1998-07-25 요시다다다히로 Autolock Slide Fastener Slider

Also Published As

Publication number Publication date
KR20010045612A (en) 2001-06-05

Similar Documents

Publication Publication Date Title
US8996720B2 (en) Method and apparatus for mirroring frames to a remote diagnostic system
US7664041B2 (en) Distributed stream analysis using general purpose processors
US7072349B2 (en) Ethernet device and method for extending ethernet FIFO buffer
JP2007082159A (en) Network equipment testing apparatus
US7596148B2 (en) Receiving data from virtual channels
US20120163392A1 (en) Packet processing apparatus and method
US20040156368A1 (en) Frame alteration logic for network processors
US8160863B2 (en) System and method for connecting a logic circuit simulation to a network
CN106059955A (en) Ethernet real-time packet capturing method based on SOC DMA
KR100346207B1 (en) Apparatus and method for testing ethernet packet switching between mac and phy
US20030193894A1 (en) Method and apparatus for early zero-credit determination in an infiniband system
US7050962B2 (en) Method for connecting a hardware emulator to a network
KR100937283B1 (en) Processor with reduced memory requirements for high-speed routing and switching of packets
JPWO2020105129A1 (en) Relay devices, communication systems, communication methods, and communication programs
US7194666B1 (en) Bit error rate tester implemented in a programmable logic device
US6779070B2 (en) Data transaction through a bridge
US8700764B2 (en) Routing incoming messages at a blade chassis
US8091136B2 (en) Packet transfer device, packet transfer method, and program
KR100496145B1 (en) Test Bench System for Media Access Control Devices
US6963955B1 (en) Scattering and gathering data for faster processing
KR920702117A (en) Communication systems
Cayssials et al. Highly configurable Ethernet controller for HW/SW co-debugging
Kuga et al. A packet I/O architecture for shell script-based packet processing
KR101087093B1 (en) Method and system for multi-download
KR20030047189A (en) Signal detection apparatus using PLD logic of loopback mode in ethernet linecard

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: 20080604

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee