KR910008420B1 - Interface circuit between cpu and peripheral i/o devices - Google Patents

Interface circuit between cpu and peripheral i/o devices Download PDF

Info

Publication number
KR910008420B1
KR910008420B1 KR1019890010354A KR890010354A KR910008420B1 KR 910008420 B1 KR910008420 B1 KR 910008420B1 KR 1019890010354 A KR1019890010354 A KR 1019890010354A KR 890010354 A KR890010354 A KR 890010354A KR 910008420 B1 KR910008420 B1 KR 910008420B1
Authority
KR
South Korea
Prior art keywords
signal
output
control signal
peripheral
shift register
Prior art date
Application number
KR1019890010354A
Other languages
Korean (ko)
Other versions
KR910003512A (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 KR1019890010354A priority Critical patent/KR910008420B1/en
Publication of KR910003512A publication Critical patent/KR910003512A/en
Application granted granted Critical
Publication of KR910008420B1 publication Critical patent/KR910008420B1/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/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)

Abstract

The feature is compatibility to interface between CPU (2a) and peripherial I/O device (2b) having different timing sequence and bus and control signal characteristics. Interfacing scheme is implemented with shift register (2c), memory control signal generator (2d), buffer circuit (2e), 'NAND' gate (2j) and inverter (2k). (2c) decides bus enabling period and memory control signal generating point synchronizing with system clock of CPU. (2d) is associated with the shift register and flip-flop (2f) and provides control signal according to the characteristics of peripheral device (2a) when DMA operation. And the buffer transfers control and address signals to control DMA operating signal. So it can be used in interfacing CPU of DC adaptor and packet controller for PC networking.

Description

중앙처리장치와 주변입출력장치와의 인터페이스 회로Interface circuit between central processing unit and peripheral I / O

제1도는 일반적인 인터페이스 블록도.1 is a general interface block diagram.

제3도는 본 발명의 블록도.3 is a block diagram of the present invention.

제3도는 본 발명의 실시예에 의한 타이밍도.3 is a timing diagram according to an embodiment of the present invention.

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

1a : 중앙처리장치 1b : 주변입출력장치1a: central processing unit 1b: peripheral I / O

1c : 메모리 2a : 주변입출력장치1c: memory 2a: peripheral I / O

2b : 중앙처리장치 2c : 시프트 레지스터2b: CPU 2c: shift register

2d : 메모리 제어신호 발생회로 2e : 버퍼2d: memory control signal generating circuit 2e: buffer

2f : 플립플롭 2g : 메모리2f: flip-flop 2g: memory

2h : AND게이트 2i : OR게이트2h: AND gate 2i: OR gate

2j : NAND게이트 2k : 인버터2j: NAND gate 2k: Inverter

BUSACK : 버스사용허가신호 BUSREQ : 버스사용 요구 신호BUSACK: Bus use permission signal BUSREQ: Bus use request signal

DRQ : DMA동작을 위한 버스사용 요구신호DRQ: Bus use request signal for DMA operation

DACK : DMA동작을 위한 버스사용 허가신호DACK: Bus permission signal for DMA operation

0 : 클럭0: clock

본 발명은 서로 다른 중앙처리장치와 주변입출력장치의 구성에서 DMA(Direct Memory Access)동작을 위한 두 장치간의 인터페이스 회로에 관한 것이다.The present invention relates to an interface circuit between two devices for direct memory access (DMA) operation in the configuration of different CPUs and peripheral I / O devices.

최근 특수기능을 갖는 많은 주변입출력장치가 존재하는데, 이 장치들은 메모리를 직접 엑세스하여 데이터를 처리할 수 있도록 내부에 DMA제어회로를 내장하고 있다.Recently, there are many peripheral I / O devices with special functions. These devices have internal DMA control circuits to directly access memory and process data.

일반적으로 중앙처리장치와 DMA제어장치는 서로 호환성이 있도록 되어 있는데, DMA를 내장한 주변입출력 동작 타이밍, 버스 및 제어신호에서 중앙처리장치와 각각 다른 특성을 갖고 있어 인터페이스에 호환성이 없다. 따라서 중앙처리장치와 주변입출력장치를 서로 접촉시에는 동일한 특성을 갖는 장치끼리 선택하여 실현할 수밖에 없었다.In general, the central processing unit and the DMA control unit are compatible with each other. In the peripheral input / output operation timing, bus, and control signal with the DMA, the central processing unit has different characteristics from the central processing unit. Therefore, when the central processing unit and the peripheral I / O devices are in contact with each other, they have no choice but to implement devices having the same characteristics.

본 발명은 상기와 같은 문제점을 해결하기 위한 것으로 서로 다른 동작 타이밍, 버스 및 제어신호 특성을 갖는 두 장치간에 접속이 가능하도록 하는 데 목적이 있다.An object of the present invention is to solve the above problems and to provide a connection between two devices having different operation timings, buses, and control signal characteristics.

본 발명은 상기 목적을 달성하기 위한 제어 및 어드레스 신호와 연결되어 있고 DMA제어회로를 내장한 주변입출력장치와, 상기 주변입출력장치의 DRQ(리드, 라이트)신호와 연결되어 있는 NAND게이트와 상기 NAND게이트 및 주변입력출장치의 DACK 신호와 연결되어 있는 AND게이트와, 상기 AND게이트의 출력과 제어 및 어드레스 신호와 연결되어 명령의 추출 및 실행을 행하는 중앙처리장치와 상기 중앙처리장치의 BUSACK신호 및 시프트 레지스터와 연결되어 있는 OR게이트와, 상기 중앙처리장치의 BUSACK 신호에 연결되어 있는 인버터와, 상기 인버터의 출력 및 중앙처리장치의 클럭 신호와 연결되어 버스 사용기간을 결정하고 메모리 제어신호를 발생하는 시점을 결정해주는 시프트 레지스터 회로와, 상기 주변입출력장치의 DRQ(리드)신호 및 인버터의 출력과 연결되어 DMA동작 모드를 구별하는 플립플롭과, 상기 시프트 레지스터 및 플립플롭의 출력과 연결되어 DMA동작시 상기 주변입출력장치의 특성에 따라 메모리 제어신호를 발생하는 메모리 제어신호 발생회로와, 상기 시프트 레지스터 및 메모리 제어신호 발생회로와 연결되어 DMA 동작 신호의 출력을 제어할 때 이용되며 상기 제어 및 어드레스 신호를 전달하는 버퍼회로로 구성되어 있다.The present invention provides a peripheral input / output device connected to a control and address signal for achieving the above object, a DMA control circuit, and a NAND gate and the NAND gate connected to a DRQ (lead and write) signal of the peripheral input / output device. An AND gate connected to a DACK signal of a peripheral input / output device, a central processing unit connected to an output, a control and an address signal of the AND gate to extract and execute a command, a BUSACK signal and a shift register of the central processing unit, The connected OR gate, the inverter connected to the BUSACK signal of the central processing unit, and the output of the inverter and the clock signal of the central processing unit are connected to determine a bus usage period and determine a time point for generating a memory control signal. A shift register circuit, a DRQ signal of the peripheral I / O device, and an output of the inverter. A flip-flop for distinguishing a DMA operation mode, a memory control signal generation circuit connected to an output of the shift register and the flip-flop to generate a memory control signal according to the characteristics of the peripheral input / output device during a DMA operation, the shift register and the memory It is connected to a control signal generating circuit and used to control the output of the DMA operation signal.

이하 첨부된 도면을 참조하여 본 발명의 일실시예를 상세히 설명한다. 제1도는 종래의 일반적인 인터페이스 블록도로서, 중앙처리장치(1a)와, DMA제어회로가 내장된 주변입출력장치(1b) 및 메모리(1c)로 구성되어 있고, 제2도는 본 발명의 블록도로서, DMA제어회로가 내장된 주변입출력장치(2a), 중앙처리장치(2b), 시프트 레지스터(2c), 메모리 제어신호 발생회로(2d), 버퍼회로(2e), NAND게이트(2j), 인버터(2k)로 구성되어 있다.Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a block diagram of a conventional interface, which comprises a central processing unit 1a, a peripheral I / O device 1b and a memory 1c incorporating a DMA control circuit, and FIG. 2 is a block diagram of the present invention. , Peripheral I / O device 2a with built-in DMA control circuit, central processing unit 2b, shift register 2c, memory control signal generation circuit 2d, buffer circuit 2e, NAND gate 2j, inverter ( 2k).

제1도에서 주변입출력장치(1b)는 데이타 처리를 위해 메모리(1c)를 엑세스하여 리드/라이트 동작을 행할때 중앙처리장치(1a)로 버스사용권을 요구한다. 이 버스사용 요구신호(DRQ신호)는 직접 중앙처리장치(1a)의 버스사용 요구신호(BUSREQ 신호)에 전달된다. 중앙처리장치(1a)는 이 신호를 검출한 후 일정한 시간이 지난후 버스사용허가신호(BUSACK 신호)를 출력하여 직접 주변입출력장치(1b)의 버스사용허가 신호(DACK 신호)에 전달되며 중앙처리장치(1a)와 주변입출력장치(1b)와의 제어신호 및 어드레스 신호를 통해 메모리(1c)를 엑세스한다.In FIG. 1, the peripheral I / O device 1b requests a bus usage right to the central processing unit 1a when accessing the memory 1c for data processing and performing read / write operations. This bus use request signal DRQ signal is directly transmitted to the bus use request signal BUSREQ signal of the central processing unit 1a. After detecting this signal, the central processing unit 1a outputs a bus permission signal (BUSACK signal) and passes it directly to the bus permission signal (DACK signal) of the peripheral I / O device 1b. The memory 1c is accessed through a control signal and an address signal between the device 1a and the peripheral input / output device 1b.

제2도에서 주변입출력장치(2a)는 중앙처리장치(2b)의 개입없이 데이타 처리를 위해 메모리(2g)를 직접 엑세스하여 리드/라이트(Read/Write)동작을 행할때, 중앙처리장치(2b)에게 버스사용권을 요구한다. 이 버스사용 요구신호(DRQ신호)(제3도)는 NAND게이트(2j) 및 AND 게이트(2h)를 거쳐 중앙처리장치(2b)의 버스사용 요구신호(BUSREQ 신호)(제3도 참조)에 전달된다.In FIG. 2, when the peripheral input / output device 2a directly accesses the memory 2g for data processing without the intervention of the central processing unit 2b and performs a read / write operation, the central processing unit 2b Ask for a bus pass. The bus use request signal DRQ signal (FIG. 3) is connected to the bus use request signal (BUSREQ signal) (see FIG. 3) of the central processing unit 2b via the NAND gate 2j and the AND gate 2h. Delivered.

중앙처리장치(2b)는 이 신호를 검출한 후 일정한 시간이 지난 후 버스사용 허가신호(BUSACK 신호)(제3도)를 출력한다. 이 응답신호가 출력되면 OR게이트(2i)를 지나 주변입출력장치(2a)에게 버스 사용허가신호(DACK 신호)(제3도)를 출력하며 이 시점부터 주변입출력장치(2a)는 버스 사용권을 갖고 메모리(2g)를 엑세스한다.The central processing unit 2b outputs a bus use permission signal (BUSACK signal) (FIG. 3) after a predetermined time has elapsed after detecting this signal. When this response signal is output, the bus permission signal (DACK signal) (FIG. 3) is output to the peripheral I / O device 2a through the OR gate 2i. From this point on, the peripheral I / O device 2a has the bus right. The memory 2g is accessed.

또한 이 신호가 출력되면서부터 시프트 레지스터(2c)의 동작을 스타트시키고, 특정시간동안 버스를 획득하게 된다. 이 시프트 레지스터(2c)는 중앙처리장치(2b)의 시스템 클럭(제3도)을 동기로하여 동작한다. 이 특정시간은 주변입출력장치(2a)가 메모리(2g)를 엑세스하여 리드/라이트에 필요한 시간에 적합하도록 시프트 레지스터(2c)의 비트수를 조정한다.From this signal output, the operation of the shift register 2c is started, and the bus is acquired for a specific time. This shift register 2c operates in synchronization with the system clock (FIG. 3) of the central processing unit 2b. This specific time adjusts the number of bits of the shift register 2c so that the peripheral input / output device 2a accesses the memory 2g to suit the time required for read / write.

OR게이트(2i)는 시프트 레지스터(2c)의 최상위 비트가 출력될 때 주변입출력장치(2a)의 버스 획득 기간을 강제적으로 종료시키는 기능을 한다. 버스 획득시간 동안에는 메모리의 종류 및 특성에 따라 메모리 제어신호 발생회로(2d)로부터 메모리 제어신호를 발생시킨다.The OR gate 2i serves to forcibly terminate the bus acquisition period of the peripheral input / output device 2a when the most significant bit of the shift register 2c is output. During the bus acquisition time, the memory control signal is generated from the memory control signal generation circuit 2d according to the type and characteristic of the memory.

상기 메모리 제어신호 발생회로(2d)에서 메모리 리드 동작시에는 주변입출력장치(2a)의 어드레스 출력시점과 메모리(2g)의 데이타 출력 시점, 그리고 데이타 페치 시점의 타이밍을 고려하여 시프트 레지스터(2c)의 각 비트출력을 이용 메모리 인에이블 및 리드 인에이블등 메모리 제어에 필요한 신호를 발생시켜 버퍼(2e)로 전달하고, 메모리 라이트 동작시에는 메모리 어드레스 엑세스 시간과 주변입출력장치(2a)의 데이타 출력 타이밍을 고려하여 시프트 레지스터(2c)의 비트 출력을 이용 메모리 인에이블, 라이트 인에이블 신호 및 메모리 제어에 필요한 신호를 발생시켜 버퍼(2e)로 전달한다.In the memory read operation of the memory control signal generation circuit 2d, the shift register 2c is taken into account in consideration of the timing of the address output time of the peripheral I / O device 2a, the data output time of the memory 2g, and the data fetch time. Each bit output is used to generate signals necessary for memory control such as memory enable and read enable, and transfer them to the buffer 2e. During memory write operation, the memory address access time and the data output timing of the peripheral input / output device 2a are adjusted. In consideration of this, the bit output of the shift register 2c is used to generate a memory enable signal, a write enable signal, and a signal necessary for memory control and transfer the generated signal to the buffer 2e.

버퍼(2e)는 DNA동작 신호의 출력 제어에 이용되는 것으로 메모리 제어신호 발생회로(2d) 및 시프트 레지스터(2c)로부터 신호를 받아 제어 및 어드레스 신호를 전달한다.The buffer 2e is used to control the output of the DNA operation signal. The buffer 2e receives signals from the memory control signal generation circuit 2d and the shift register 2c and transfers control and address signals.

플립플롭(2f)은 주변입출력장치(2a)의 DRQ(리드)신호를 세트단자로 받고 중앙처리장치(2b)의 BUSACK 신호의 인버터 신호를 리셋단자로 받아 DMA의 리드/라이트 동작 모드를 구별하기 위하여 토글(toggle)기능을 수행하여 메모리 제어신호발생회로(2d)에서 리드/라이트 신호를 선택할 수 있도록 한다.The flip-flop 2f receives the DRQ (lead) signal of the peripheral input / output device 2a as a set terminal and receives the inverter signal of the BUSACK signal of the central processing unit 2b as a reset terminal to distinguish the read / write operation mode of the DMA. In order to perform the toggle function, the read / write signal can be selected by the memory control signal generation circuit 2d.

본 발명은 상기와 같이 구성되어 정보통신 분야에서 망 접속을 위해 망 접속용 주변장치(전용 IC)를 CPU와 접속할때 응용할 수 있으며, 하나의 실시예로서 PC통신망 구성에서 PC어댑터 하드웨어의 중앙처리장치와 패켓 컨트롤러의 인터페이스에 적용될 수 있다.The present invention is configured as described above can be applied when the network connection peripheral device (dedicated IC) to the CPU for the network connection in the information communication field, as an embodiment, the central processing unit of the PC adapter hardware in the PC communication network configuration It can be applied to interface of packet controller.

Claims (4)

제어 및 어드레스 신호와 연결되어 있고 DMA(Direct Memory Access)제어신호를 내장한 주변입출력장치(2a)와, 상기 주볍입출력장치(2a)의 DRQ(리드/라이트)신호와 연결되어 있는 NAND 게이트(2j)와, 상기 NAND 게이트(2j) 및 주변입출력장치(2a)의 DACK 신호와 연결되어 있는 AND게이트(2h)와, 상기 AND 게이트(2h)의 출력과 제어 및 어드레스 신호와 연결되어 명령의 추출 및 실행을 행하는 중앙처리장치(2b)와, 상기 중앙처리장치(2b)의 BUSACK 신호 및 시프트 레지스터(2c)와 연결되어 있는 OR게이트(2i)와, 상기 중앙처리장치(2b)의 BUSACK 신호에 연결되어 있는 인버터(2k)와, 상기 인버터(2k)의 출력 및 중앙처리장치(2b)의 클럭 신호와 연결되어 버스사용 기간을 결정하고 메모리 제어신호를 발생하는 시점을 결정해 주는 시프트 레지스터회로(2c)와, 상기 주변입출력장치(2a)의 DRQ(리드)신호 및 인버터(2k)출력과 연결되어 DMA동작 모드를 구별하는 플립플롭(2f)과, 상기 시프트 레지스터(2c) 및 플립플롭(2f)의 출력과 연결되어 DMA 동작시 상기 주변입출력장치(2a)의 특성에 따라 메모리 제어신호를 발생하는 메모리 제어신호 발생회로(2d)와, 상기 시프트 레지스터(2c) 및 메모리 제어신호발생회로(2d)와 연결되어 DMA동작 신호의 출력을 제어할때 이용되는 상기 제어 및 어드레스 신호를 전달하는 버퍼회로(2e)로 구성된 것을 특징으로 하는 인터페이스 회로.A peripheral I / O device 2a connected to a control and address signal and having a built-in direct memory access (DMA) control signal, and a NAND gate 2j connected to a DRQ (lead / write) signal of the main input / output device 2a. ), An AND gate 2h connected to the DACK signal of the NAND gate 2j and the peripheral I / O device 2a, and an output and control and address signal of the AND gate 2h to extract an instruction. A central processing unit 2b for execution, an OR gate 2i connected to the BUSACK signal and the shift register 2c of the central processing unit 2b, and a BUSACK signal of the central processing unit 2b. A shift register circuit 2c connected to the inverter 2k and the output of the inverter 2k and the clock signal of the central processing unit 2b to determine the bus usage period and to determine a time point at which a memory control signal is generated. ) And the DRQ (lead) of the peripheral I / O device 2a A flip-flop 2f connected to an output of a call and an inverter 2k to distinguish a DMA operation mode, and a peripheral input / output device 2a connected to an output of the shift register 2c and a flip-flop 2f during a DMA operation. A memory control signal generation circuit 2d for generating a memory control signal in accordance with the characteristics of the circuit; and the shift register 2c and the memory control signal generation circuit 2d for controlling the output of the DMA operation signal. An interface circuit comprising a buffer circuit 2e for transferring control and address signals. 제1항에 있어서, 상기 제어 및 어드레스 신호에 연결되어 메모리(2g)를 더 포함한 것을 특징으로 하는 인터페이스 회로.The interface circuit according to claim 1, further comprising a memory (2g) coupled to said control and address signal. 제1항에 있어서, 상기 메모리 제어신호 발생회로(2d)는 상기 시프트 레지스터(2c)의 첫번째 출력을 이용하여 DMA동작을 시작하기 위한 메모리 제어신호의 출력을 인에이블하는 것을 특징으로 하는 인터페이스 회로.The interface circuit according to claim 1, wherein said memory control signal generating circuit (2d) enables the output of a memory control signal for starting a DMA operation by using the first output of said shift register (2c). 제1항에 있어서, 상기 플립플롭(2f)은 주변입출력장치(2a)의 DMA 리드/라이트 모드에 따라 토글(toggle)되어 동작하는 것을 특징으로 하는 인터페이스 회로.2. Interface circuit according to claim 1, characterized in that the flip-flop (2f) is toggled and operated in accordance with the DMA read / write mode of the peripheral input / output device (2a).
KR1019890010354A 1989-07-21 1989-07-21 Interface circuit between cpu and peripheral i/o devices KR910008420B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019890010354A KR910008420B1 (en) 1989-07-21 1989-07-21 Interface circuit between cpu and peripheral i/o devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019890010354A KR910008420B1 (en) 1989-07-21 1989-07-21 Interface circuit between cpu and peripheral i/o devices

Publications (2)

Publication Number Publication Date
KR910003512A KR910003512A (en) 1991-02-27
KR910008420B1 true KR910008420B1 (en) 1991-10-15

Family

ID=19288285

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019890010354A KR910008420B1 (en) 1989-07-21 1989-07-21 Interface circuit between cpu and peripheral i/o devices

Country Status (1)

Country Link
KR (1) KR910008420B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100377861B1 (en) * 2000-07-07 2003-03-29 한학수 A composition for forming dielectric thin film or thin film-type package on electronic device or chip

Also Published As

Publication number Publication date
KR910003512A (en) 1991-02-27

Similar Documents

Publication Publication Date Title
US6119189A (en) Bus master transactions on a low pin count bus
KR100388735B1 (en) Memory transactions on a low pin count bus
US6131127A (en) I/O transactions on a low pin count bus
KR100352224B1 (en) Direct memory access(dma) transactions on a low pin count bus
US4631670A (en) Interrupt level sharing
WO1996000940A1 (en) Pci to isa interrupt protocol converter and selection mechanism
US5655142A (en) High performance derived local bus and computer system employing the same
KR100240922B1 (en) Method for slave dma emulation on a computer system bus
US6070204A (en) Method and apparatus for using universal serial bus keyboard to control DOS operations
US5574869A (en) Bus bridge circuit having configuration space enable register for controlling transition between various modes by writing the bridge identifier into CSE register
US5542056A (en) High speed bridge circuit with deadlock free time-shared bus for internal instructions and port-to-port data
KR20030031255A (en) Universal serial bus device having logical circuit for conversive and immediate USB Host reset operation
KR100579203B1 (en) Streamlining ata device initialization
JP2000066994A (en) Lpc/isa bridge and its bridge method
US5933613A (en) Computer system and inter-bus control circuit
US4692895A (en) Microprocessor peripheral access control circuit
US5937206A (en) System for converting states of DMA requests into first serial information and transmitting information to first bus whenever a state change of a request
KR910008420B1 (en) Interface circuit between cpu and peripheral i/o devices
US6463490B1 (en) Dual data rate transfer on PCI bus
CN101169767B (en) Access control device and access control method
US5823871A (en) Interface control device for use with TV game equipment
JPS61166647A (en) Accessing for reading out information microprocessor and addressable memory
KR100267428B1 (en) Apparatus for slave dma emulation on a computer system bus
JP2000112878A (en) Device and method for controlling timing of transfer request in data processor
KR100606698B1 (en) Interfacing apparatus

Legal Events

Date Code Title Description
A201 Request for examination
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 19980929

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee