KR20100045042A - Address generation method, address generation slave device, master slave system and multi master slave system - Google Patents

Address generation method, address generation slave device, master slave system and multi master slave system Download PDF

Info

Publication number
KR20100045042A
KR20100045042A KR1020080104064A KR20080104064A KR20100045042A KR 20100045042 A KR20100045042 A KR 20100045042A KR 1020080104064 A KR1020080104064 A KR 1020080104064A KR 20080104064 A KR20080104064 A KR 20080104064A KR 20100045042 A KR20100045042 A KR 20100045042A
Authority
KR
South Korea
Prior art keywords
address
access
generation
master
addresses
Prior art date
Application number
KR1020080104064A
Other languages
Korean (ko)
Other versions
KR100984707B1 (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 KR1020080104064A priority Critical patent/KR100984707B1/en
Publication of KR20100045042A publication Critical patent/KR20100045042A/en
Application granted granted Critical
Publication of KR100984707B1 publication Critical patent/KR100984707B1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C8/00Arrangements for selecting an address in a digital store
    • G11C8/06Address interface arrangements, e.g. address buffers
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C8/00Arrangements for selecting an address in a digital store
    • G11C8/18Address timing or clocking circuits; Address control signal generation or management, e.g. for row address strobe [RAS] or column address strobe [CAS] signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE: A method for generating an address, an address generation slave device, a master slave system and a multi master slave system thereof are provided to reduce address alteration on a bus circuit by creating an address for accessing a memory with a previous access address. CONSTITUTION: An address increase/decrease value register(620) outputs an address gradient value. An access address storage unit(630) outputs the first access address as a previous access address. An address operation unit(640) occurs a generation address with operation of an address gradient value about the previous access address. A multiplexer(650) selects one between a master transmission address and the generated address. The multiplexer outputs the second access address.

Description

어드레스 생성 방법, 어드레스 생성 슬레이브 디바이스, 마스터 슬레이브 시스템 및 멀티 마스터 슬레이브 시스템{ADDRESS GENERATION METHOD, ADDRESS GENERATION SLAVE DEVICE, MASTER SLAVE SYSTEM AND MULTI MASTER SLAVE SYSTEM}Address generation method, address generation slave device, master slave system and multi master slave system {ADDRESS GENERATION METHOD, ADDRESS GENERATION SLAVE DEVICE, MASTER SLAVE SYSTEM AND MULTI MASTER SLAVE SYSTEM}

본 발명은 어드레스 및 마스터 슬레이브 시스템에 관한 것이다. 보다 상세하게는, 슬레이브 디바이스가 이전 액세스 어드레스를 이용하여 액세스 어드레스를 생성할 수 있는 어드레스 생성 슬레이브 디바이스, 마스터 슬레이브 시스템, 멀티 마스터 슬레이브 시스템 및 어드레스 생성 방법에 관한 것이다.The present invention relates to an address and a master slave system. More specifically, the present invention relates to an address generation slave device, a master slave system, a multi master slave system, and an address generation method, in which a slave device can generate an access address using a previous access address.

최근에는, 버스를 통해 복수의 마스터 디바이스들 및 복수의 슬레이브 디바이스들 간에 데이터를 송수신하는 멀티 마스터 멀티 슬레이브 시스템이 많이 사용되고 있다. 각각의 마스터 디바이스는 슬레이브 내의 메모리에 접근할 때 서로 다른 메모리 접근 패턴을 가질 수 있다. 즉, 서로 다른 메모리 액세스 어드레스 패턴을 가질 수 있다.Recently, a multi-master multi-slave system for transmitting and receiving data between a plurality of master devices and a plurality of slave devices via a bus has been widely used. Each master device may have a different memory access pattern when accessing memory in a slave. That is, they may have different memory access address patterns.

도1은 종래의 멀티 마스터 멀티 슬레이브 시스템을 나타내는 블록도이다.1 is a block diagram illustrating a conventional multi-master multi-slave system.

도1을 참조하면, 멀티 마스터 멀티 슬레이브 시스템(100)은 제1 마스터 디바이스(110), 제2 마스터 디바이스(120), 제1 슬레이브 디바이스(130), 제2 슬레이브 디바이스(140) 및 버스 회로(150)를 포함하고, 버스 회로(150)는 마스터 송신 어드레스 멀티플렉서(160), 라이트 데이터 멀티플렉서(170), 아비터(180) 및 리드 데이터 멀티플렉서(190)를 구비한다.Referring to FIG. 1, the multi master multi slave system 100 includes a first master device 110, a second master device 120, a first slave device 130, a second slave device 140, and a bus circuit ( 150, the bus circuit 150 includes a master transmit address multiplexer 160, a write data multiplexer 170, an arbiter 180, and a read data multiplexer 190.

제1 마스터 디바이스(110)는 제1 슬레이브 디바이스(130) 및 제2 슬레이브 디바이스(140)내의 메모리에 액세스하기 위한 제1 마스터 송신 어드레스(MA1)를 송신한다. 제2 마스터 디바이스(110)는 제1 슬레이브 디바이스(130) 및 제2 슬레이브 디바이스(140)내의 메모리에 액세스하기 위한 제2 마스터 송신 어드레스(MA2)를 송신한다. 버스 회로(150)내의 마스터 송신 어드레스 멀티플렉서(160)는 제1 마스터 송신 어드레스(MA1) 및 제2 마스터 송신 어드레스(MA2)를 수신하고, 아비터(180)가 출력하는 어드레스 버스 제어 신호(ABC)에 응답하여 제1 마스터 송신 어드레스(MA1) 또는 제2 마스터 송신 어드레스(MA2) 중 하나를 어드레스 버스(ABUS)를 통해 제1 슬레이브 디바이스(130) 및 제2 슬레이브 디바이스(140)로 전송한다.The first master device 110 transmits a first master transmission address MA1 for accessing the memory in the first slave device 130 and the second slave device 140. The second master device 110 transmits a second master send address MA2 for accessing the memory in the first slave device 130 and the second slave device 140. The master transmission address multiplexer 160 in the bus circuit 150 receives the first master transmission address MA1 and the second master transmission address MA2, and applies the address bus control signal ABC output from the arbiter 180. In response, one of the first master transmission address MA1 or the second master transmission address MA2 is transmitted to the first slave device 130 and the second slave device 140 through the address bus ABUS.

제1 마스터 송신 어드레스(MA1) 또는 제2 마스터 송신 어드레스(MA2) 중 하나를 수신한 제1 슬레이브 디바이스(130) 및 제2 슬레이브 디바이스(140)는 제1 마스터 디바이스(110) 또는 제2 마스터 디바이스(120)가 전송하는 라이트 데이터(MD1, MD2)를 라이트 데이터 멀티플렉서(170) 및 라이트 데이터 버스(WDBUS)를 통해 메모리에 기입하거나 메모리로부터 저장되어 있는 리드 데이터(SD1, SD2)를 읽어 리드 데이터 멀티플렉서(190)에 의해 선택된 리드 데이터(SDm)를 리드 데이터 버스(RDBUS)를 통해 제1 마스터 디바이스(110) 또는 제2 마스터 디바이스(120)로 전송한다. The first slave device 130 and the second slave device 140 that have received one of the first master transmission address MA1 or the second master transmission address MA2 are either the first master device 110 or the second master device. The write data MD1 and MD2 transmitted by the 120 are written into the memory through the write data multiplexer 170 and the write data bus WDBUS, or the read data multiplexer reads the read data SD1 and SD2 stored from the memory. The read data SDm selected by 190 is transmitted to the first master device 110 or the second master device 120 through the read data bus RDBUS.

도2는 마스터 및 슬레이브간의 데이터를 전송하는 절차를 나타내는 타이밍 다이어그램이다.2 is a timing diagram illustrating a procedure of transferring data between a master and a slave.

도2를 참조하면, 먼저, 리퀘스트 및 그랜트 위상(REQ & GNT phase)에서 제1 마스터 디바이스(110) 또는 제2 마스터 디바이스(120)가 버스 회로(150) 내의 아비터(160)에 버스 사용 요청 신호(REQ)를 송신하고, 아비터(160)는 우선 순위가 높은 마스터 디바이스에게 버스의 사용권을 주는 버스 사용권 신호(GRANT)를 송신한다. 버스 사용권 신호(GRANT)를 수신한 마스터 디바이스는 어드레스 위상(ADDR phase)에서 제1 슬레이브 디바이스(130) 또는 제2 슬레이브 디바이스(140)에 메모리 액세스 어드레스(ADDR), 어드레스 제어 신호 및 어드레스 모드 신호를 전송한다. 마지막으로 데이터 위상(DATA phase)에서는, 라이트 모드일 때 마스터 디바이스가 데이터(DATA)를 메모리에 기입하고, 리드 모드일 때 슬레이브 디바이스가 메모리의 데이터(DATA)를 읽어 마스터 디바이스로 전송한다.Referring to FIG. 2, first, the first master device 110 or the second master device 120 sends a bus use request signal to the arbiter 160 in the bus circuit 150 in a request and grant phase. (REQ), and the arbiter 160 transmits a bus license signal GRANT that gives the bus device a right to use the bus. The master device receiving the bus license signal GRANT transmits the memory access address ADDR, the address control signal, and the address mode signal to the first slave device 130 or the second slave device 140 in the address phase ADDR phase. send. Finally, in the data phase, in the write mode, the master device writes data DATA to the memory, and in the read mode, the slave device reads data from the memory and transmits the data DATA to the master device.

그런데, 제1 마스터 디바이스(110) 또는 제2 마스터 디바이스(120)가 메모리에 액세스할 때마다 어드레스 버스(ABUS)를 통해 메모리 액세스 어드레스(ADDR)를 전송하게 되면, 어드레스 버스(ABUS) 상의 어드레스 값을 수시로 변경해야 하고, 이는 많은 전력 소모를 초래한다.However, when the first master device 110 or the second master device 120 transmits the memory access address ADDR through the address bus ABUS each time the memory device accesses the memory, the address value on the address bus ABUS is transmitted. Must be changed from time to time, which causes a lot of power consumption.

따라서, 버스 회로 내의 어드레스 버스를 통하지 않고 메모리에 액세스할 수 있는 회로, 시스템 및 방법이 요구된다.Accordingly, what is needed are circuits, systems, and methods that can access a memory without going through an address bus in a bus circuit.

상기와 같은 문제점을 해결하기 위하여, 본 발명은 이전 액세스 어드레스를 이용하여 메모리에 액세스하는 어드레스를 생성할 수 있는 어드레스 생성 슬레이브 디바이스를 제공한다.In order to solve the above problem, the present invention provides an address generation slave device capable of generating an address for accessing a memory using a previous access address.

또한 본 발명은 이전 액세스 어드레스를 이용하여 메모리에 액세스하는 어드레스를 생성할 수 있는 마스터 슬레이브 시스템을 제공한다.The present invention also provides a master slave system capable of generating an address that accesses a memory using a previous access address.

또한 본 발명은 이전 액세스 어드레스를 이용하여 메모리에 액세스하는 어드레스를 생성할 수 있는 멀티 마스터 슬레이브 시스템을 제공한다.The present invention also provides a multi-master slave system capable of generating an address that accesses a memory using a previous access address.

또한 본 발명은 이전 액세스 어드레스를 이용하여 메모리에 액세스하는 어드레스를 생성할 수 있는 어드레스 생성 방법을 제공한다.The present invention also provides an address generation method that can generate an address that accesses a memory using a previous access address.

상기와 같은 목적을 달성하기 위하여, 본 발명의 일 실시예에 따른 어드레스 생성 슬레이브 디바이스는 어드레스 증감값 레지스터, 액세스 어드레스 저장부, 어드레스 연산부 및 멀티플렉서를 포함한다. 상기 어드레스 증감값 레지스터는 어드레스 증감값을 저장하고, 마스터 디바이스가 메모리에 액세스할 때, 어드레스들의 패턴을 나타내는 어드레스 제어 신호를 수신하고, 상기 어드레스 제어 신호를 기초로 하여 상기 어드레스 증감값을 출력한다. 상기 액세스 어드레스 저장부는 제1 액세스 어드레스를 수신하여 저장하고, 상기 제1 액세스 어드레스를 이전 액세스 어드레스로서 출력한다. 상기 어드레스 연산부는 상기 어드레스 제어 신호를 기초로, 상기 액세스 어드레스 저장부로부터 출력되는 상기 이전 액세스 어드레스에 상기 어드레스 증감값 레지스터로부터 출력되는 상기 어드레스 증감값을 연산하여 생성 어드레스를 발생한다. 상기 멀티플렉서는 상기 액세스 어드레스 저장부 및 상기 어드레스 연산부 사이에 연결되어 상기 마스터 디바이스가 상기 메모리에 액세스하기 위해 송신한 마스터 송신 어드레스 및 상기 생성 어드레스를 수신하고, 상기 마스터 디바이스가 상기 메모리에 액세스할 때 송신하는 어드레스 모드 신호를 기초로, 상기 마스터 송신 어드레스 및 상기 생성 어드레스 중에 하나를 선택하여 제2 액세스 어드레스를 출력한다. 상기 어드레스들의 패턴은 일정한 증가 추세 및 일정한 감소 추세를 가질 수 있다.In order to achieve the above object, an address generation slave device according to an embodiment of the present invention includes an address increment value register, an access address storage unit, an address calculation unit, and a multiplexer. The address increase and decrease value register stores an address increase and decrease value, when the master device accesses the memory, receives an address control signal indicating a pattern of addresses, and outputs the address increase and decrease value based on the address control signal. The access address storage unit receives and stores a first access address, and outputs the first access address as a previous access address. The address calculator generates a generation address by calculating the address increase / decrease value output from the address increase / decrease value register to the previous access address output from the access address storage unit based on the address control signal. The multiplexer is coupled between the access address storage and the address calculator to receive a master transmit address and the generation address sent by the master device to access the memory, and transmit when the master device accesses the memory Based on the address mode signal, one of the master transmission address and the generation address is selected to output a second access address. The pattern of addresses may have a constant increasing trend and a constant decreasing trend.

상기 어드레스 연산부는, 상기 어드레스들의 패턴이 증가 추세일 때 상기 이전 액세스 어드레스 및 상기 어드레스 증감값을 합산 연산하고, 상기 어드레스들의 패턴이 감소 추세일 때 상기 이전 액세스 어드레스 및 상기 어드레스 증감값을 감산 연산하는 가감기를 포함할 수 있다.The address calculator is configured to add the previous access address and the address increase / decrease value when the pattern of addresses increases, and to subtract the previous access address and the address increase / decrease value when the pattern of addresses decreases. It may include a retarder.

상기 어드레스 제어 신호는 상기 어드레스들의 크기 정보 및 상기 어드레스들이 증가 추세를 가지는지 감소 추세를 가지는지 알려주는 추세 정보를 포함할 수 있다.The address control signal may include size information of the addresses and trend information indicating whether the addresses have an increasing trend or a decreasing trend.

상기 어드레스 모드 신호는, 상기 생성 어드레스가 생성되기 전에는 상기 멀티플렉서가 상기 마스터 송신 어드레스를 상기 제2 액세스 어드레스로서 출력하도록 제어하고, 상기 생성 어드레스가 생성된 후에는 상기 멀티플렉서가 상기 마스터 송신 어드레스 및 상기 생성 어드레스 중에 하나를 선택하여 상기 제2 액세스 어드 레스로서 출력하도록 제어할 수 있다.The address mode signal controls the multiplexer to output the master transmission address as the second access address before the generation address is generated, and the multiplexer generates the master transmission address and the generation after the generation address is generated. One of the addresses may be selected and controlled to be output as the second access address.

상기 액세스 어드레스 저장부는, 인에이블 단자를 통해 상기 어드레스 모드 신호를 수신하고 상기 어드레스 모드 신호에 따라 상기 제1 액세스 어드레스를 상기 이전 액세스 어드레스로서 출력하는 디-플립플롭을 포함할 수 있다.The access address storage unit may include a de-flip flop that receives the address mode signal through an enable terminal and outputs the first access address as the previous access address according to the address mode signal.

본 발명의 일 실시예에 따른 마스터 슬레이브 시스템은 마스터 디바이스, 어드레스 증감값 레지스터, 액세스 어드레스 저장부, 어드레스 연산부 및 멀티플렉서를 포함한다. 상기 마스터 디바이스는 메모리에 액세스할 때, 어드레스들의 패턴을 나타내는 어드레스 제어 신호를 송신한다. 상기 어드레스 증감값 레지스터는 어드레스 증감값을 저장하고, 상기 어드레스 제어 신호를 기초로 하여 상기 어드레스 증감값을 출력한다. 상기 액세스 어드레스 저장부는 제1 액세스 어드레스를 수신하여 저장하고, 상기 제1 액세스 어드레스를 이전 액세스 어드레스로서 출력한다. 상기 어드레스 연산부는 상기 어드레스 제어 신호를 기초로, 상기 액세스 어드레스 저장부로부터 출력되는 상기 이전 액세스 어드레스에 상기 어드레스 증감값 레지스터로부터 출력되는 상기 어드레스 증감값을 연산하여 생성 어드레스를 발생한다. 상기 멀티플렉서는 상기 액세스 어드레스 저장부 및 상기 어드레스 연산부 사이에 연결되어 상기 마스터 디바이스가 상기 메모리에 액세스하기 위해 송신한 마스터 송신 어드레스 및 상기 생성 어드레스를 수신하고, 상기 마스터 디바이스가 상기 메모리에 액세스할 때 송신하는 어드레스 모드 신호를 기초로, 상기 마스터 송신 어드레스 및 상기 생성 어드레스 중에 하나를 선택하여 제2 액세스 어드레스를 출력한다. 상기 어드레스들의 패턴은 일정한 증가 추세 및 일정한 감소 추세를 가질 수 있다. The master slave system according to an embodiment of the present invention includes a master device, an address increment value register, an access address storage unit, an address operator and a multiplexer. When the master device accesses the memory, it transmits an address control signal representing a pattern of addresses. The address increase and decrease value register stores an address increase and decrease value, and outputs the address increase and decrease value based on the address control signal. The access address storage unit receives and stores a first access address, and outputs the first access address as a previous access address. The address calculator generates a generation address by calculating the address increase / decrease value output from the address increase / decrease value register to the previous access address output from the access address storage unit based on the address control signal. The multiplexer is coupled between the access address storage and the address calculator to receive a master transmit address and the generation address sent by the master device to access the memory, and transmit when the master device accesses the memory Based on the address mode signal, one of the master transmission address and the generation address is selected to output a second access address. The pattern of addresses may have a constant increasing trend and a constant decreasing trend.

상기 어드레스 연산부는, 상기 어드레스들의 패턴이 증가 추세일 때 상기 이전 액세스 어드레스 및 상기 어드레스 증감값을 합산 연산하고, 상기 어드레스들의 패턴이 감소 추세일 때 상기 이전 액세스 어드레스 및 상기 어드레스 증감값을 감산 연산하는 가감기를 포함할 수 있다.The address calculator is configured to add the previous access address and the address increase / decrease value when the pattern of addresses increases, and to subtract the previous access address and the address increase / decrease value when the pattern of addresses decreases. It may include a retarder.

상기 어드레스 제어 신호는 상기 어드레스들의 크기 정보 및 상기 어드레스들이 증가 추세를 가지는지 감소 추세를 가지는지 알려주는 추세 정보를 포함할 수 있다.The address control signal may include size information of the addresses and trend information indicating whether the addresses have an increasing trend or a decreasing trend.

상기 어드레스 모드 신호는, 상기 생성 어드레스가 생성되기 전에는 상기 멀티플렉서가 상기 마스터 송신 어드레스를 상기 제2 액세스 어드레스로서 출력하도록 제어하고, 상기 생성 어드레스가 생성된 후에는 상기 멀티플렉서가 상기 마스터 송신 어드레스 및 상기 생성 어드레스 중에 하나를 선택하여 상기 제2 액세스 어드레스로서 출력하도록 제어할 수 있다.The address mode signal controls the multiplexer to output the master transmission address as the second access address before the generation address is generated, and the multiplexer generates the master transmission address and the generation after the generation address is generated. One of the addresses may be selected and controlled to be output as the second access address.

상기 액세스 어드레스 저장부는, 인에이블 단자를 통해 상기 어드레스 모드 신호를 수신하고 상기 어드레스 모드 신호에 따라 상기 제1 액세스 어드레스를 상기 이전 액세스 어드레스로서 출력하는 디-플립플롭을 포함할 수 있다.The access address storage unit may include a de-flip flop that receives the address mode signal through an enable terminal and outputs the first access address as the previous access address according to the address mode signal.

본 발명의 일 실시예에 따른 멀티 마스터 슬레이브 시스템은 복수의 마스터 디바이스들, 어드레스 증감값 레지스터, 액세스 어드레스 저장부, 어드레스 연산부 및 멀티플렉서를 포함한다. 상기 마스터 디바이스들은 메모리에 액세스할 때, 어드레스들의 패턴들을 나타내는 어드레스 제어 신호들을 각각 송신한다. 상기 어드레 스 증감값 레지스터는 어드레스 증감값을 저장하고, 상기 어드레스 제어 신호를 기초로 하여 상기 어드레스 증감값을 출력한다. 상기 액세스 어드레스 저장부는 제1 액세스 어드레스를 수신하여 저장하고, 상기 제1 액세스 어드레스를 이전 액세스 어드레스로서 출력한다. 상기 어드레스 연산부는 상기 어드레스 제어 신호를 기초로, 상기 액세스 어드레스 저장부로부터 출력되는 상기 이전 액세스 어드레스에 상기 어드레스 증감값 레지스터로부터 출력되는 상기 어드레스 증감값을 연산하여 생성 어드레스를 발생한다. 상기 멀티플렉서는 상기 액세스 어드레스 저장부 및 상기 어드레스 연산부 사이에 연결되어 상기 각각의 마스터 디바이스가 상기 메모리에 액세스하기 위해 송신한 마스터 송신 어드레스 및 상기 생성 어드레스를 수신하고, 상기 각각의 마스터 디바이스가 상기 메모리에 액세스할 때 송신하는 어드레스 모드 신호를 기초로 하여, 상기 마스터 송신 어드레스 및 상기 생성 어드레스 중에 하나를 선택하여 제2 액세스 어드레스를 출력한다. 상기 어드레스들의 패턴들은 각각 서로 다른 일정한 증가 추세 및 일정한 감소 추세를 가질 수 있다.The multi-master slave system according to an embodiment of the present invention includes a plurality of master devices, an address increment value register, an access address storage unit, an address operation unit, and a multiplexer. When the master devices access the memory, they each transmit address control signals indicative of patterns of addresses. The address increase and decrease value register stores an address increase and decrease value, and outputs the address increase and decrease value based on the address control signal. The access address storage unit receives and stores a first access address, and outputs the first access address as a previous access address. The address calculator generates a generation address by calculating the address increase / decrease value output from the address increase / decrease value register to the previous access address output from the access address storage unit based on the address control signal. The multiplexer is coupled between the access address storage and the address calculator to receive a master transmission address and the generation address sent by each master device to access the memory, and each master device to the memory. On the basis of the address mode signal transmitted upon access, one of the master transmission address and the generation address is selected to output a second access address. The patterns of addresses may have different constant increasing trends and constant decreasing trends, respectively.

상기 어드레스 연산부는, 상기 어드레스들의 패턴이 증가 추세일 때 상기 이전 액세스 어드레스 및 상기 어드레스 증감값을 합산 연산하고, 상기 어드레스들의 패턴이 감소 추세일 때 상기 이전 액세스 어드레스 및 상기 어드레스 증감값을 감산 연산하는 가감기를 포함할 수 있다.The address calculator is configured to add the previous access address and the address increase / decrease value when the pattern of addresses increases, and to subtract the previous access address and the address increase / decrease value when the pattern of addresses decreases. It may include a retarder.

상기 어드레스 제어 신호는 상기 어드레스들의 크기 정보 및 상기 어드레스들이 증가 추세를 가지는지 감소 추세를 가지는지 알려주는 추세 정보를 포함할 수 있다.The address control signal may include size information of the addresses and trend information indicating whether the addresses have an increasing trend or a decreasing trend.

상기 어드레스 모드 신호는, 상기 생성 어드레스가 생성되기 전에는 상기 멀티플렉서가 상기 마스터 송신 어드레스를 상기 제2 액세스 어드레스로서 출력하도록 제어하고, 상기 생성 어드레스가 생성된 후에는 상기 멀티플렉서가 상기 마스터 송신 어드레스 및 상기 생성 어드레스 중에 하나를 선택하여 상기 제2 액세스 어드레스로서 출력하도록 제어할 수 있다.The address mode signal controls the multiplexer to output the master transmission address as the second access address before the generation address is generated, and the multiplexer generates the master transmission address and the generation after the generation address is generated. One of the addresses may be selected and controlled to be output as the second access address.

본 발명의 일 실시예에 따른 어드레스 증감값을 저장하고 마스터 디바이스로부터 송신된 어드레스 제어 신호를 기초로 하여 상기 어드레스 증감값을 출력하는 레지스터, 제1 액세스 어드레스를 수신하여 어드레스 모드 신호에 따라 상기 제1 액세스 어드레스를 이전 액세스 어드레스로서 출력하는 액세스 어드레스 저장부, 상기 어드레스 제어 신호를 기초로 하여, 상기 이전 액세스 어드레스에 상기 어드레스 증감값을 연산하여 생성 어드레스를 발생하는 어드레스 연산부 및 상기 어드레스 모드 신호를 기초로, 상기 마스터 디바이스가 송신한 마스터 송신 어드레스 및 상기 연산부에 의해 출력된 상기 생성 어드레스 중에서 하나를 선택하여 제2 액세스 어드레스를 출력하는 멀티플렉서를 포함하는 어드레스 생성 회로의 어드레스 생성 방법은, 상기 어드레스 증감값 레지스터가 상기 어드레스 증감값을 저장하는 단계, 상기 어드레스 증감값 레지스터가 상기 마스터 디바이스로부터 상기 어드레스 제어 신호를 수신하고, 상기 멀티플렉서 및 상기 액세스 어드레스 저장부가 상기 어드레스 모드 신호를 수신하는 단계, 상기 어드레스 증감값 레지스터가 상기 어드레스 제어 신호를 기초로 하여 상기 어드레스 증감값을 출력하는 단계, 상기 액세스 어드레스 저장부가 상기 어드레스 모드 신호에 따라 상기 제1 액세스 어드 레스를 상기 이전 액세스 어드레스로서 출력하는 단계, 상기 어드레스 연산부가 상기 어드레스 제어 신호를 기초로, 상기 이전 액세스 어드레스에 상기 어드레스 증감값을 연산하여 생성 어드레스를 발생하는 단계 및 상기 멀티플렉서가 상기 마스터 송신 어드레스 및 상기 생성 어드레스를 수신하고, 상기 어드레스 모드 신호를 기초로, 상기 마스터 송신 어드레스 및 상기 생성 어드레스 중에 하나를 선택하여 상기 제2 액세스 어드레스를 출력하는 단계를 포함한다.A register for storing an address increase / decrease value and outputting the address increase / decrease value based on an address control signal transmitted from a master device according to an embodiment of the present invention, and receives a first access address and the first mode according to an address mode signal. An access address storage section for outputting an access address as a previous access address, an address calculating section for generating a generation address by calculating the address increment value to the previous access address based on the address control signal, and based on the address mode signal And a multiplexer for selecting one of a master transmission address transmitted by the master device and the generation address output by the operation unit and outputting a second access address, wherein the address generation method of the address generation circuit includes: Storing, by the dress increase / decrease value register, the address increase / decrease value, the address increase / decrease value register receive the address control signal from the master device, and the multiplexer and the access address store receive the address mode signal; An address increase / decrease value register outputting the address increase / decrease value based on the address control signal, wherein the access address storage outputs the first access address as the previous access address according to the address mode signal, An address calculating unit generating the generation address by calculating the address increment value to the previous access address based on the address control signal, and the multiplexer causes the master transmission address and the generation add Receiving a reply and selecting one of the master transmission address and the generation address based on the address mode signal to output the second access address.

본 발명의 일 실시예에 따른 어드레스 생성 슬레이브 디바이스, 마스터 슬레이브 시스템, 멀티 마스터 슬레이브 시스템 및 어드레스 생성 방법은 매번 마스터 디바이스로부터 버스를 통해 어드레스를 수신하지 않아도 슬레이브 디바이스가 이전의 액세스 어드레스를 이용하여 메모리에 액세스하는 어드레스를 생성할 수 있으므로 버스 회로 상의 어드레스 변경을 줄여 전력 소모를 감소시킨다. 이에 따라, 마스터 슬레이브 시스템을 이용한 임베디드 시스템 및 모바일 시스템에 적용하여 전력 소모를 감소시킬 수 있다.In the address generation slave device, the master slave system, the multi-master slave system, and the address generation method according to an embodiment of the present invention, the slave device uses the previous access address in the memory even if the address is not received from the master device through the bus every time. The address can be generated to access, reducing power consumption by reducing address changes on the bus circuit. Accordingly, it is possible to reduce the power consumption by applying to the embedded system and the mobile system using the master slave system.

본문에 개시되어 있는 본 발명의 실시예들에 대해서, 특정한 구조적 내지 기능적 설명들은 단지 본 발명의 실시예를 설명하기 위한 목적으로 예시된 것으로, 본 발명의 실시예들은 다양한 형태로 실시될 수 있으며 본문에 설명된 실시예들에 한정되는 것으로 해석되어서는 아니 된다. 본 발명은 다양한 변경을 가할 수 있고 여러 가지 형태를 가질 수 있는바, 특정 실시예들을 도면에 예시하고 본문에 상세 하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 개시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. With respect to the embodiments of the present invention disclosed in the text, specific structural to functional descriptions are merely illustrated for the purpose of describing embodiments of the present invention, embodiments of the present invention may be implemented in various forms and It should not be construed as limited to the embodiments described in. As the inventive concept allows for various changes and numerous embodiments, particular embodiments will be illustrated in the drawings and described in detail in the text. However, this is not intended to limit the present invention to the specific disclosed form, it should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention.

제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로 사용될 수 있다. 예를 들어, 본 발명의 권리 범위로부터 이탈되지 않은 채 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다.Terms such as first and second may be used to describe various components, but the components should not be limited by the terms. The terms may be used for the purpose of distinguishing one component from another component. For example, without departing from the scope of the present invention, the first component may be referred to as the second component, and similarly, the second component may also be referred to as the first component.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. 구성요소들 간의 관계를 설명하는 다른 표현들, 즉 "~사이에"와 "바로 ~사이에" 또는 "~에 이웃하는"과 "~에 직접 이웃하는" 등도 마찬가지로 해석되어야 한다. 본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 설시된 특징, 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특 징들이나 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.When a component is referred to as being "connected" or "connected" to another component, it may be directly connected to or connected to that other component, but it may be understood that other components may be present in between. Should be. On the other hand, when a component is said to be "directly connected" or "directly connected" to another component, it should be understood that there is no other component in between. Other expressions describing the relationship between components, such as "between" and "immediately between," or "neighboring to," and "directly neighboring to" should be interpreted as well. The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting of the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, the terms "comprise" or "have" are intended to indicate that there is a feature, number, step, action, component, part, or combination thereof that is described, and that one or more other features It should be understood that it does not exclude in advance the possibility of the presence or addition of numbers, steps, operations, components, parts or combinations thereof.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미이다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 의미인 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art. Terms such as those defined in the commonly used dictionaries should be construed as meanings consistent with the meanings in the context of the related art and shall not be construed in ideal or excessively formal meanings unless expressly defined in this application. .

이하, 첨부한 도면들을 참조하여 본 발명의 바람직한 실시예들을 상세히 설명한다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도3은 본 발명의 일 실시예에 따른 멀티 마스터 슬레이브 시스템을 나타내는 블록도이다.3 is a block diagram illustrating a multi-master slave system according to an embodiment of the present invention.

도3을 참조하면, 멀티 마스터 슬레이브 시스템(300)은 제1 마스터 디바이스(310), 제2 마스터 디바이스(320), 제1 슬레이브 디바이스(330), 제2 슬레이브 디바이스(340) 및 버스 회로(350)를 포함한다.Referring to FIG. 3, the multi master slave system 300 may include a first master device 310, a second master device 320, a first slave device 330, a second slave device 340, and a bus circuit 350. ).

도3에 도시된 멀티 마스터 슬레이브 시스템(300)은 각각 두 개씩의 마스터 디바이스들(310, 320) 및 슬레이브 디바이스들(330, 340)이 도시되어 있지만, 멀티 마스터 슬레이브 시스템(300)은 이에 한정하지 않는 복수의 마스터 디바이스들 및 슬레이브 디바이스들을 포함할 수 있다.In the multi-master slave system 300 illustrated in FIG. 3, two master devices 310 and 320 and slave devices 330 and 340 are respectively shown, but the multi-master slave system 300 is not limited thereto. May include a plurality of master devices and slave devices.

마스터 디바이스들(310, 320) 및 슬레이브 디바이스들(330, 340)은 버스 회 로(350)를 통해 데이터를 송수신한다. 도3에 도시된 버스 회로(350)의 구조 및 동작은 도1에 도시된 버스 회로(150)의 구조 및 동작과 동일할 수 있다.The master devices 310 and 320 and the slave devices 330 and 340 transmit and receive data through the bus circuit 350. The structure and operation of the bus circuit 350 shown in FIG. 3 may be the same as the structure and operation of the bus circuit 150 shown in FIG. 1.

각각의 마스터 디바이스들(310, 320)들은 특성이 다양하고, 이에 따라 슬레이브 디바이스들(330, 340)내의 메모리에 액세스하기 위한 어드레스들의 패턴이 다르며, 메모리에 액세스할 때 어드레스들의 패턴을 나타내는 어드레스 제어 신호를 슬레이브 디바이스들(330, 340)로 송신한다.Each of the master devices 310 and 320 has a variety of characteristics, so that the pattern of addresses for accessing the memory in the slave devices 330 and 340 is different, and address control indicating the pattern of addresses when accessing the memory. Sends a signal to the slave devices 330, 340.

도4a는 본 발명의 일 실시예에 따른 제1 마스터 디바이스의 어드레스 패턴도이고, 도4b는 본 발명의 일 실시예에 따른 제2 마스터 디바이스의 어드레스 패턴도이다.4A is an address pattern diagram of a first master device according to an embodiment of the present invention, and FIG. 4B is an address pattern diagram of a second master device according to an embodiment of the present invention.

도4a 및 도4b를 참조하면, 마스터 디바이스들(310, 320)은 각각 서로 다른 어드레스 패턴을 가진다. 즉, 제1 마스터 디바이스(310)는 T0~T5에서 2번지 크기의 간격으로100번지부터 110번지까지 증가하다가T6~T11에서 100번지부터 110번지까지 다시 증가하는 패턴을 가지고, 제2 마스터 디바이스(320)는 T0~T5에서 1번지 크기의 간격으로 105번지부터 100번지까지 감소하다가 T5~T10에서 100번지부터 105번지까지 증가하는 패턴을 가진다.4A and 4B, the master devices 310 and 320 have different address patterns, respectively. That is, the first master device 310 has a pattern that increases from 100 to 110 at intervals of two addresses in T0 to T5 and then increases from 100 to 110 again in T6 to T11 and the second master device ( 320) decreases from 105 to 100 at intervals of address 1 in T0 to T5 and then increases from 100 to 105 in T5 to T10.

도5는 본 발명의 일 실시예에 따른 어드레스 생성 슬레이브 디바이스 및 메모리를 나타내는 블록도이다.5 is a block diagram illustrating an address generation slave device and a memory according to an embodiment of the present invention.

어드레스 생성 슬레이브 디바이스(510)는 도3에 도시된 제1 슬레이브 디바이스(330) 또는 제2 슬레이브 디바이스(340)일 수 있다.The address generation slave device 510 may be the first slave device 330 or the second slave device 340 shown in FIG. 3.

도5를 참조하면, 어드레스 생성 슬레이브 디바이스(510)는 메모리(520)에 액 세스할 액세스 어드레스(AADDR)를 발생하고, 마스터 디바이스들(310, 320)로부터 수신한 리드/라이트 제어 신호를 기초로 하여 메모리 제어 신호(MC)를 발생한다. 어드레스 생성 슬레이브 디바이스(510)는 액세스 어드레스(AADDR) 및 메모리 제어 신호(MC)에 따라 메모리(520)에 액세스한 후, 메모리(520)로부터 데이터를 읽어 마스터 디바이스들(310, 320)에 데이터를 전송하거나 마스터 디바이스들(310, 320)로부터 전송된 데이터를 기입한다. 메모리(520)는 캐쉬 메모리 또는 시간에 따라 일정하게 증가 또는 감소하는 추세를 가지는 어드레스들에 의해 액세스되는 임의의 저장 장치일 수 있다.Referring to FIG. 5, the address generation slave device 510 generates an access address AADDR to access the memory 520 and based on the read / write control signal received from the master devices 310 and 320. To generate the memory control signal MC. The address generation slave device 510 accesses the memory 520 according to the access address AADDR and the memory control signal MC, and then reads data from the memory 520 to read the data to the master devices 310 and 320. Transmit or write data transmitted from master devices 310, 320. Memory 520 may be any storage device that is accessed by cache memory or addresses that have a tendency to constantly increase or decrease over time.

도6은 본 발명의 일 실시예에 따른 어드레스 생성 슬레이브 디바이스를 나타내는 블록도이다.6 is a block diagram illustrating an address generation slave device according to an embodiment of the present invention.

도6을 참조하면, 어드레스 생성 슬레이브 디바이스(600)는 어드레스 증감값 레지스터(620), 액세스 어드레스 저장부(630), 어드레스 연산부(640) 및 멀티플렉서(650)를 포함한다.Referring to FIG. 6, the address generation slave device 600 includes an address increment value register 620, an access address storage 630, an address operation unit 640, and a multiplexer 650.

어드레스 증감값 레지스터(620)는 외부로부터 어드레스 증감값(IDC)을 수신하여 저장하고 있으며, 마스터 디바이스가 메모리에 액세스하기 위한 어드레스들의 패턴을 나타내는 어드레스 제어 신호(ADDRC)를 수신한다. 예를 들면, 어드레스 제어 신호(ADDRC)는 제1 마스터 디바이스(310) 또는 제2 마스터 디바이스(320)가 메모리(520)에 일정한 증가 추세 및 일정한 감소 추세를 가지고 액세스하기 위한 어드레스들의 패턴을 나타낼 수 있다. 즉, 어드레스 제어 신호(ADDRC)는 도4a 및 도4b에 도시된 어드레스들의 패턴을 나타낼 수 있다.The address increase / decrease value register 620 receives and stores an address increase / decrease value IDC from the outside, and receives an address control signal ADDRC indicating a pattern of addresses for the master device to access the memory. For example, the address control signal ADDRC may represent a pattern of addresses for the first master device 310 or the second master device 320 to access the memory 520 with a constant increasing trend and a constant decreasing trend. have. That is, the address control signal ADDRC may represent a pattern of addresses shown in FIGS. 4A and 4B.

어드레스 제어 신호(ADDRC)는 어드레스들의 패턴이 증가하는 추세를 가지는지 감소하는 추세를 가지는지 알려주는 추세 정보 및 어드레스들의 크기 정보를 포함한다. 예를 들면, 어드레스 제어 신호(ADDRC)는 도4a 도시된 어드레스 패턴을 나타내어 제1 마스터 디바이스(310)의 어드레스 패턴이 T0~T5에서 2번지 만큼의 크기를 가지고 증가 한다는 정보를 나타낼 수 있다.The address control signal ADDRC includes trend information indicating whether the pattern of addresses has an increasing trend or a decreasing trend, and size information of the addresses. For example, the address control signal ADDRC may represent the address pattern illustrated in FIG. 4A, and may indicate information that the address pattern of the first master device 310 increases by two addresses from T0 to T5.

어드레스 증감값 레지스터(620)는 수신한 어드레스 제어 신호(ADDRC)를 기초로 하여 어드레스 증감값(IDC)을 출력한다. 액세스 어드레스 저장부(630)는 메모리(520)에 액세스한 어드레스인 제1 액세스 어드레스(AADDR1)를 수신하여 저장하고, 제1 액세스 어드레스(AADDR1)를 이전 액세스 어드레스(PAADDR)로서 출력한다. 액세스 어드레스 저장부(630)는 제1 액세스 어드레스(AADDR1)를 수신하여 이전 액세스 어드레스(PAADDR)로서 출력하는 디-플립플롭(630)을 포함할 수 있다.The address increase / decrease value register 620 outputs the address increase / decrease value IDC based on the received address control signal ADDRC. The access address storage unit 630 receives and stores the first access address AADDR1, which is the address that accessed the memory 520, and outputs the first access address AADDR1 as the previous access address PAADDR. The access address storage unit 630 may include a de-flip-flop 630 that receives the first access address AADDR1 and outputs it as a previous access address PAADDR.

제1 액세스 어드레스(AADDR1)는 제1 마스터 디바이스(310) 또는 제2 마스터 디바이스(320)가 메모리(520)에 액세스하기 위해 버스 회로(350)를 통해 송신한 마스터 송신 어드레스(MADDR) 또는 어드레스 연산부(640)에 의해 이전에 출력된 생성 어드레스(GADDR) 중에 하나일 수 있다. The first access address AADDR1 may be a master transmission address MADDR or an address calculator transmitted by the first master device 310 or the second master device 320 through the bus circuit 350 to access the memory 520. It may be one of the generation addresses GADDR previously output by 640.

마스터 송신 어드레스(MADDR) 및 생성 어드레스(GADDR) 중에 하나를 선택하여 제1 액세스 어드레스(AADDR1)로서 출력하기 위해 액세스 어드레스 저장부(630) 및 어드레스 연산부(640) 사이에 연결된 멀티플렉서(650)는 어드레스 모드 신호(ADDRM)에 응답하여 마스터 송신 어드레스(MADDR) 및 생성 어드레스(GADDR) 중에 하나를 선택하여 출력하고, 생성 어드레스(GADDR)가 발생되기 전에는 마스터 송신 어드레스(MADDR)룰 제1 액세스 어드레스(AADDR1)로서 출력한다. 예를 들어, 도4a에 도시된 T0를 생성 어드레스(GADDR)가 발생되기 전이라고 가정하면, 멀티플렉서(650)는 100번지에 해당하는 마스터 송신 어드레스(MADDR)를 수신하여 마스터 송신 어드레스(MADDR)를 제1 액세스 어드레스(AADDR1)로서 출력할 수 있다.The multiplexer 650 connected between the access address storage unit 630 and the address operation unit 640 to select one of the master transmission address MADDR and the generation address GADDR to output as the first access address AADDR1 is an address. In response to the mode signal ADDRM, one of the master transmission address MADDR and the generation address GADDR is selected and outputted, and before the generation address GADDR is generated, the master transmission address MADDR rule first access address AADDR1 is generated. Output as For example, assuming that T0 shown in FIG. 4A is before the generation address GADDR is generated, the multiplexer 650 receives the master transmission address MADDR corresponding to 100 and receives the master transmission address MADDR. It can be output as the first access address AADDR1.

멀티플렉서(650)의 출력을 제어하는 어드레스 모드 신호(ADDRM)는 BUSY[00], IDLE[01], LDADDR[10] 및SEQADDR[11]을 포함한 4가지 모드를 가질 수 있다. BUSY[00] 및 IDLE[01] 모드에서는 메모리(520)에 대한 액세스 요청을 무시하고, LDADDR[10] 모드에서는 마스터 송신 어드레스(MADDR)를 제1 액세스 어드레스(AADDR1)로서 출력하고, SEQADDR[11] 모드에서는 어드레스 연산부(640)에 의해 출력된 생성 어드레스(GADDR)를 제1 액세스 어드레스(AADDR1)로서 출력한다.The address mode signal ADDRM controlling the output of the multiplexer 650 may have four modes including BUSY [00], IDLE [01], LDADDR [10], and SECADDR [11]. In the BUSY [00] and IDLE [01] modes, the access request to the memory 520 is ignored, and in the LDADDR [10] mode, the master transmission address MADDR is output as the first access address AADDR1 and SEQADDR [11]. In the] mode, the generation address GADDR output by the address calculator 640 is output as the first access address AADDR1.

LDADDR[10] 및 SEQADDR[11] 모드에서만 제1 액세스 어드레스(AADDR1)를 이전 액세스 어드레스(PAADDR)로서 어드레스 연산부(640)로 전송하기 위해 액세스 어드레스 저장부(630)의 인에이블 단자(EN)에 LDADDR[10] 및 SEQADDR[11] 모드에 해당하는 어드레스 모드 신호(ADDRM[1X])를 인가할 수 있다.Only in the LDADDR [10] and SEQADDR [11] modes, to the enable terminal EN of the access address storage unit 630 to transfer the first access address AADDR1 to the address calculation unit 640 as the previous access address PAADDR. An address mode signal ADDRM [1X] corresponding to the LDADDR [10] and SEQADDR [11] modes may be applied.

어드레스 연산부(640)는 어드레스 제어 신호(ADDRC)를 기초로, 액세스 어드레스 저장부(630)로부터 출력되는 이전 액세스 어드레스(PAADDR)에 어드레스 증감값 레지스터(620)로부터 출력되는 어드레스 증감값(IDC)을 연산하여 생성 어드레스(GADDR)를 발생한다. 즉, 연산부(640)는 어드레스 제어 신호(ADDRC)가 나타내는 추세 정보 및 어드레스 크기 정보를 이용하여 이전 액세스 어드레스(PAADDR)에 어드레스 증감값(IDC)을 더하거나 뺀다. 예를 들면, 어드레스 연산부(640)는 도4a에 도시된 100번지에 해당하는 마스터 송신 어드레스(MADDR)를 멀티플렉서(650) 및 액세스 어드레스 저장부(630)를 통해 이전 액세스 어드레스(PAADDR)로서 수신하고, 어드레스 제어 신호(ADDRC)를 기초로 하여 100번지 어드레스에 2번지 어드레스 증감값(IDC)을 더하여 생성 어드레스(GADDR)를 출력할 수 있다.The address calculator 640 may convert the address increase / decrease value IDC output from the address increase / decrease value register 620 to the previous access address PAADDR output from the access address storage unit 630 based on the address control signal ADDRC. The operation generates a generation address GADDR. That is, the calculator 640 adds or subtracts the address increment value IDC to or from the previous access address PAADDR by using the trend information and the address size information indicated by the address control signal ADDRC. For example, the address operation unit 640 receives the master transmission address MADDR corresponding to the address 100 shown in FIG. 4A through the multiplexer 650 and the access address storage unit 630 as a previous access address PAADDR. The generation address GADDR may be output by adding the address address increment value IDC to the address 100 based on the address control signal ADDRC.

어드레스 연산부(640)는 어드레스들의 패턴이 증가 추세일 때 이전 액세스 어드레스(PAADDR) 및 어드레스 증감값(IDC)을 합산 연산하고 어드레스들의 패턴이 감소 추세일 때 이전 액세스 어드레스(PAADDR) 및 어드레스 증감값(IDC)을 감산 연산하기 위한 가산기, 감산기 또는 가감기를 포함할 수 있다.The address operation unit 640 calculates the sum of the previous access address PAADDR and the address increment value IDC when the pattern of addresses is increasing, and the previous access address PAADDR and the address increment value when the pattern of addresses is decreasing. And an adder, subtractor or adder to subtract the IDC).

멀티플렉서(650)는 어드레스 연산부(640)에 의해 출력된 생성 어드레스(GADDR) 및 마스터 송신 어드레스(MADDR)을 수신하고, 어드레스 모드 신호(ADDRM)를 기초로, 생성 어드레스(GADDR) 및 마스터 송신 어드레스(MADDR) 중에 하나를 선택하여 제2 액세스 어드레스(AADDR2)를 출력한다.The multiplexer 650 receives the generation address GADDR and the master transmission address MADDR output by the address calculating unit 640, and based on the address mode signal ADDRM, the multiplexer 650 receives the generation address GADDR and the master transmission address ( One of the MADDRs is selected to output the second access address AADDR2.

여기서, 제1 액세스 어드레스(AADDR1)는 제2 액세스 어드레스(AADDR2)보다 이전에 메모리에 액세스된 어드레스이고, 제2 액세스 어드레스(AADDR2)가 출력되기 전에 멀티플렉서(650)로부터 출력되어 액세스 어드레스 저장부(630)로 입력된 어드레스이다.Here, the first access address AADDR1 is an address previously accessed to the memory before the second access address AADDR2, and is output from the multiplexer 650 before the second access address AADDR2 is output, thereby accessing the access address storage unit ( 630 is an address.

도7은 본 발명의 일 실시예에 따른 어드레스 증감값 레지스터를 나타내는 블록도이다.7 is a block diagram illustrating an address increase and decrease value register according to an embodiment of the present invention.

도7을 참조하면, 어드레스 증감값 레지스터(620)는 어드레스 사이즈(SIZE)에 따른 어드레스 증감값(IDC)을 저장하고 있다. 예를 들면, 어드레스 사이즈(SIZE)가 바이트(BYTE)인 경우에는 1번지에 해당하는 크기의 어드레스 증감값(IDC)을 가지고, 어드레스 사이즈(SIZE)가 해프 워드(HALF WORD)인 경우에는 2번지에 해당하는 크기의 어드레스 증감값(IDC)을 가지고, 어드레스 사이즈(SIZE)가 워드(WORD)인 경우에는 4번지에 해당하는 크기의 어드레스 증감값(IDC)을 가지고, 어드레스 사이즈(SIZE)가 더블 워드(DOUBLE WORD)인 경우에는 8번지에 해당하는 크기의 어드레스 증감값(IDC)을 가질 수 있다. 따라서, 어드레스 증감값 레지스터(620)는 어드레스 제어 신호(ADDRC)를 수신하여 어드레스 제어 신호(ADDRC)에 포함된 어드레스 크기 정보를 기초로 하여 어드레스 증감값(IDC)을 출력할 수 있다.Referring to Fig. 7, the address increase / decrease value register 620 stores the address increase / decrease value IDC according to the address size SIZE. For example, if the address size (SIZE) is byte (BYTE), it has an address increment value (IDC) of the size corresponding to address 1, and if the address size (SIZE) is a half word (HALF WORD) Has an address increase / decrease value (IDC) of a size corresponding to, and if the address size (SIZE) is a word (WORD), it has an address increase / decrease value (IDC) of a size corresponding to address 4, and the address size (SIZE) is doubled. In the case of a word, it may have an address increment value IDC corresponding to eight addresses. Therefore, the address increase / decrease value register 620 may receive the address control signal ADDRC and output the address increase / decrease value IDC based on the address size information included in the address control signal ADDRC.

도8은 본 발명의 일 실시예에 따른 어드레스 생성 방법을 나타내는 순서도이다.8 is a flowchart illustrating a method of generating an address according to an embodiment of the present invention.

도8을 참조하면, 어드레스 증감값을 저장하고 마스터 디바이스로부터 송신된 어드레스 제어 신호를 기초로 하여 어드레스 증감값을 출력하는 레지스터, 제1 액세스 어드레스를 수신하여 제1 액세스 어드레스를 이전 액세스 어드레스로서 출력하는 액세스 어드레스 저장부, 어드레스 제어 신호를 기초로 하여, 이전 액세스 어드레스에 어드레스 증감값을 연산하여 생성 어드레스를 출력하는 어드레스 연산부 및 마스터 디바이스가 송신한 마스터 송신 어드레스 및 연산부에 의해 출력된 생성 어드레스 중에서 하나를 선택하여 제2 액세스 어드레스를 출력하는 멀티플렉서를 포함하는 어드레스 생성 회로의 어드레스 생성 방법에서는 먼저 어드레스 증감값 레지스터가 어드레스 증감값을 저장한다(S810). 예를 들면, 어드레스 증감값은 어드레스 사이즈가 바이트인 경우에는 1번지에 해당하는 크기를 가지고, 어드레스사 이즈가 해프 워드인 경우에는 2번지에 해당하는 크기를 가지고, 어드레스 사이즈가 워드인 경우에는 4번지에 해당하는 크기를 가지고, 어드레스 사이즈가 더블 워드인 경우에는 8번지에 해당하는 크기를 가질 수 있다. 다음, 어드레스 증감값 레지스터가 마스터 디바이스로부터 어드레스 제어 신호를 수신하고, 멀티플렉서 및 액세스 어드레스 저장부가 어드레스 모드 신호를 수신한다(S820). 어드레스 증감값 레지스터가 어드레스 제어 신호를 기초로 하여 어드레스 증감값을 출력한다(S830). 액세스 어드레스 저장부가 어드레스 모드 신호에 따라 제1 액세스 어드레스를 수신하여 제1 액세스 어드레스를 이전 액세스 어드레스로서 출력한다(S840). 어드레스 연산부가 어드레스 제어 신호를 기초로, 이전 액세스 어드레스에 어드레스 증감값을 연산하여 생성 어드레스를 발생한다(S850). 멀티플렉서가 마스터 송신 어드레스 및 생성 어드레스를 수신하고, 어드레스 모드 신호에 따라 마스터 송신 어드레스 및 생성 어드레스 중에 하나를 선택하여 제2 액세스 어드레스를 출력한다(S860). 마스터 디바이스로부터 메모리에 대한 액세스 요청이 있어 액세스 어드레스를 추가로 생성할 필요가 있는지 판단한다(S870). 액세스 어드레스를 추가로 생성할 필요가 있는 경우(S870: 예), 어드레스 증감값 레지스터가 마스터 디바이스로부터 어드레스 제어 신호를 수신하고 멀티플렉서 및 액세스 어드레스 저장부가 어드레스 모드 신호를 수신(S820)하는 단계로 이동하여 S820 단계부터 S870 단계를 반복한다. 액세스 어드레스를 추가로 생성할 필요가 없는 경우(S870: 아니오), 종료한다.Referring to Fig. 8, a register for storing an address increment value and outputting an address increment value based on an address control signal transmitted from a master device, receiving a first access address and outputting the first access address as a previous access address. On the basis of the access address storage unit, an address operation unit for calculating an address increment value to the previous access address based on the address control signal, and outputting a generation address, a master transmission address sent by the master device and a generation address output by the operation unit are selected. In the address generation method of the address generation circuit including the multiplexer which selects and outputs the second access address, the address increase / decrease value register first stores the address increase / decrease value (S810). For example, the address increase / decrease value has a size corresponding to address 1 when the address size is byte, has a size corresponding to address 2 when the address size is a half word, and 4 when the address size is a word. If the address size is a double word and the address size is a double word, it may have a size corresponding to eight addresses. Next, the address increase and decrease value register receives an address control signal from the master device, and the multiplexer and the access address storage unit receive an address mode signal (S820). The address increase / decrease value register outputs the address increase / decrease value based on the address control signal (S830). The access address storage unit receives the first access address according to the address mode signal and outputs the first access address as the previous access address (S840). The address calculator generates a generation address by calculating an address increment value to a previous access address based on the address control signal (S850). The multiplexer receives the master transmission address and the generation address, selects one of the master transmission address and the generation address according to the address mode signal, and outputs a second access address (S860). It is determined whether there is an access request to the memory from the master device, and thus it is necessary to generate an access address (S870). If it is necessary to generate an access address further (S870: Yes), the address increment value register receives an address control signal from the master device, and the multiplexer and the access address storage receive an address mode signal (S820). Repeat step S820 to step S870. If it is not necessary to generate an access address further (S870: No), the procedure ends.

따라서, 본 발명에 따른 어드레스 생성 슬레이브 디바이스, 마스터 슬레이브 시스템, 멀티 마스터 슬레이브 시스템 및 어드레스 생성 방법은 매번 마스터 디바 이스로부터 버스를 통해 어드레스를 수신하지 않아도 슬레이브 디바이스가 이전의 액세스 어드레스를 이용하여 메모리에 액세스하는 어드레스를 생성할 수 있다.Thus, in the address generation slave device, the master slave system, the multi master slave system, and the address generation method according to the present invention, the slave device accesses the memory by using the previous access address without receiving the address from the master device through the bus every time. Address can be generated.

본 발명에 따르면, 어드레스 생성 슬레이브 디바이스, 마스터 슬레이브 시스템, 멀티마스터 슬레이브 시스템 및 어드레스 생성 방법은 매번 마스터 디바이스로부터 버스를 통해 어드레스를 수신하지 않아도 슬레이브 디바이스가 이전의 액세스 어드레스를 이용하여 메모리에 액세스하는 어드레스를 생성할 수 있으므로 버스 회로 상의 어드레스 변경을 줄여 전력 소모를 감소시킨다. 이에 따라, 마스터 슬레이브 시스템을 이용한 임베디드 시스템 및 모바일 시스템에 적용하여 전력 소모를 감소시킬 수 있다.According to the present invention, an address generating slave device, a master slave system, a multimaster slave system, and an address generating method are addresses in which a slave device accesses a memory using a previous access address without receiving an address from the master device via a bus each time. Can reduce the address change on the bus circuit to reduce power consumption. Accordingly, it is possible to reduce the power consumption by applying to the embedded system and the mobile system using the master slave system.

상기에서는 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.While the foregoing has been described with reference to preferred embodiments of the present invention, those skilled in the art will be able to variously modify and change the present invention without departing from the spirit and scope of the invention as set forth in the claims below. It will be appreciated.

도1은 종래의 멀티 마스터 멀티 슬레이브 시스템을 나타내는 블록도이다.1 is a block diagram illustrating a conventional multi-master multi-slave system.

도2는 마스터 및 슬레이브간의 데이터를 전송하는 절차를 나타내는 타이밍 다이어그램이다.2 is a timing diagram illustrating a procedure of transferring data between a master and a slave.

도3은 본 발명의 일 실시예에 따른 멀티 마스터 슬레이브 시스템을 나타내는 블록도이다.3 is a block diagram illustrating a multi-master slave system according to an embodiment of the present invention.

도4a는 본 발명의 일 실시예에 따른 제1 마스터 디바이스의 어드레스 패턴도이다.4A is an address pattern diagram of a first master device according to an embodiment of the present invention.

도4b는 본 발명의 일 실시예에 따른 제2 마스터 디바이스의 어드레스 패턴도이다.4B is an address pattern diagram of a second master device according to an embodiment of the present invention.

도5는 본 발명의 일 실시예에 따른 어드레스 생성 슬레이브 디바이스 및 메모리를 나타내는 블록도이다.5 is a block diagram illustrating an address generation slave device and a memory according to an embodiment of the present invention.

도6은 본 발명의 일 실시예에 따른 어드레스 생성 슬레이브 디바이스를 나타내는 블록도이다.6 is a block diagram illustrating an address generation slave device according to an embodiment of the present invention.

도7은 본 발명의 일 실시예에 따른 어드레스 증감값 레지스터를 나타내는 블록도이다.7 is a block diagram illustrating an address increase and decrease value register according to an embodiment of the present invention.

도8은 본 발명의 일 실시예에 따른 어드레스 생성 방법을 나타내는 순서도이다.8 is a flowchart illustrating a method of generating an address according to an embodiment of the present invention.

<도면의 주요 부분에 대한 설명>Description of the main parts of the drawing

510: 어드레스 생성 슬레이브 디바이스510: address generation slave device

520: 메모리520: memory

620: 어드레스 증감값 레지스터620: address increment value register

630: 액세스 어드레스 저장부630: access address storage unit

640: 어드레스 연산부640: address operation unit

650: 멀티플렉서650: multiplexer

Claims (15)

어드레스 증감값을 저장하고, 마스터 디바이스가 메모리에 액세스할 때, 어드레스들의 패턴을 나타내는 어드레스 제어 신호를 수신하고, 상기 어드레스 제어 신호를 기초로 하여 상기 어드레스 증감값을 출력하는 어드레스 증감값 레지스터;An address increase and decrease value register for storing an address increase and decrease value, when the master device accesses the memory, receiving an address control signal indicating a pattern of addresses, and outputting the address increase and decrease value based on the address control signal; 액세스 어드레스를 수신하여 저장하고, 상기 제1 액세스 어드레스를 이전 액세스 어드레스로서 출력하는 액세스 어드레스 저장부;An access address storage unit for receiving and storing an access address and outputting the first access address as a previous access address; 상기 어드레스 제어 신호를 기초로, 상기 액세스 어드레스 저장부로부터 출력되는 상기 이전 액세스 어드레스에 상기 어드레스 증감값 레지스터로부터 출력되는 상기 어드레스 증감값을 연산하여 생성 어드레스를 발생하는 어드레스 연산부; 및An address calculation unit for generating a generation address by calculating the address increase / decrease value output from the address increase / decrease value register to the previous access address output from the access address storage unit based on the address control signal; And 상기 액세스 어드레스 저장부 및 상기 어드레스 연산부 사이에 연결되어 상기 마스터 디바이스가 상기 메모리에 액세스하기 위해 송신한 마스터 송신 어드레스 및 상기 생성 어드레스를 수신하고, 상기 마스터 디바이스가 상기 메모리에 액세스할 때 송신하는 어드레스 모드 신호를 기초로, 상기 마스터 송신 어드레스 및 상기 생성 어드레스 중에 하나를 선택하여 제2 액세스 어드레스를 출력하는 멀티플렉서를 포함하고,An address mode connected between the access address storage unit and the address operation unit to receive a master transmission address and the generation address sent by the master device to access the memory, and to transmit when the master device accesses the memory A multiplexer for selecting one of the master transmission address and the generation address to output a second access address based on the signal; 상기 어드레스들의 패턴은 일정한 증가 추세 및 일정한 감소 추세를 가지는 것을 특징으로 하는 어드레스 생성 슬레이브 디바이스.And wherein said pattern of addresses has a constant increasing trend and a constant decreasing trend. 제1항에 있어서, 상기 어드레스 연산부는,The method of claim 1, wherein the address calculation unit, 상기 어드레스들의 패턴이 증가 추세일 때 상기 이전 액세스 어드레스 및 상기 어드레스 증감값을 합산 연산하고, 상기 어드레스들의 패턴이 감소 추세일 때 상기 이전 액세스 어드레스 및 상기 어드레스 증감값을 감산 연산하는 가감기를 포함하는 것을 특징으로 하는 어드레스 생성 슬레이브 디바이스.And adding and subtracting the previous access address and the address increment value when the pattern of addresses is increasing, and subtracting the previous access address and the address increment value when the pattern of addresses is decreasing. An address generation slave device characterized by the above-mentioned. 제1항에 있어서,The method of claim 1, 상기 어드레스 제어 신호는 상기 어드레스들의 크기 정보 및 상기 어드레스들이 증가 추세를 가지는지 감소 추세를 가지는지 알려주는 추세 정보를 포함하는 것을 특징으로 하는 어드레스 생성 슬레이브 디바이스.And the address control signal includes size information of the addresses and trend information indicating whether the addresses have an increasing trend or a decreasing trend. 제1항에 있어서,The method of claim 1, 상기 어드레스 모드 신호는, 상기 생성 어드레스가 생성되기 전에는 상기 멀티플렉서가 상기 마스터 송신 어드레스를 상기 제2 액세스 어드레스로서 출력하도록 제어하고, 상기 생성 어드레스가 생성된 후에는 상기 멀티플렉서가 상기 마스터 송신 어드레스 및 상기 생성 어드레스 중에 하나를 선택하여 상기 제2 액세스 어드레스로서 출력하도록 제어하는 것을 특징으로 하는 어드레스 생성 슬레이브 디바이스.The address mode signal controls the multiplexer to output the master transmission address as the second access address before the generation address is generated, and the multiplexer generates the master transmission address and the generation after the generation address is generated. Selecting one of the addresses and controlling to output as the second access address. 제1항에 있어서, 상기 액세스 어드레스 저장부는,The method of claim 1, wherein the access address storage unit, 인에이블 단자를 통해 상기 어드레스 모드 신호를 수신하고 상기 어드레스 모드 신호에 따라 상기 제1 액세스 어드레스를 상기 이전 액세스 어드레스로서 출력하는 디-플립플롭을 포함하는 것을 특징으로 하는 어드레스 생성 슬레이브 디바이스.And a de-flip-flop that receives the address mode signal through an enable terminal and outputs the first access address as the previous access address in accordance with the address mode signal. 메모리에 액세스할 때, 어드레스들의 패턴을 나타내는 어드레스 제어 신호를 송신하는 마스터 디바이스;A master device for transmitting an address control signal indicative of a pattern of addresses when accessing the memory; 어드레스 증감값을 저장하고, 상기 어드레스 제어 신호를 기초로 하여 상기 어드레스 증감값을 출력하는 어드레스 증감값 레지스터;An address increase and decrease value register for storing an address increase and decrease value and outputting the address increase and decrease value based on the address control signal; 제1 액세스 어드레스를 수신하여 저장하고, 상기 제1 액세스 어드레스를 이전 액세스 어드레스로서 출력하는 액세스 어드레스 저장부;An access address storage unit for receiving and storing a first access address and outputting the first access address as a previous access address; 상기 어드레스 제어 신호를 기초로, 상기 액세스 어드레스 저장부로부터 출력되는 상기 이전 액세스 어드레스에 상기 어드레스 증감값 레지스터로부터 출력되는 상기 어드레스 증감값을 연산하여 생성 어드레스를 발생하는 어드레스 연산부; 및An address calculation unit for generating a generation address by calculating the address increase / decrease value output from the address increase / decrease value register to the previous access address output from the access address storage unit based on the address control signal; And 상기 액세스 어드레스 저장부 및 상기 어드레스 연산부 사이에 연결되어 상기 마스터 디바이스가 상기 메모리에 액세스하기 위해 송신한 마스터 송신 어드레스 및 상기 생성 어드레스를 수신하고, 상기 마스터 디바이스가 상기 메모리에 액세스할 때 송신한 어드레스 모드 신호를 기초로, 상기 마스터 송신 어드레스 및 상기 생성 어드레스 중에 하나를 선택하여 제2 액세스 어드레스를 출력하는 멀티플렉 서를 포함하고,An address mode connected between the access address storage unit and the address calculating unit to receive a master transmission address and the generation address sent by the master device to access the memory, and an address mode transmitted when the master device accesses the memory A multiplexer for selecting one of the master transmission address and the generation address and outputting a second access address based on the signal; 상기 어드레스들의 패턴은 일정한 증가 추세 및 일정한 감소 추세를 가지는 것을 특징으로 하는 마스터 슬레이브 시스템.And wherein said pattern of addresses has a constant increasing trend and a constant decreasing trend. 제6항에 있어서, 상기 어드레스 연산부는,The method of claim 6, wherein the address calculation unit, 상기 어드레스들의 패턴이 증가 추세일 때 상기 이전 액세스 어드레스 및 상기 어드레스 증감값을 합산 연산하고, 상기 어드레스들의 패턴이 감소 추세일 때 상기 이전 액세스 어드레스 및 상기 어드레스 증감값을 감산 연산하는 가감기를 포함하는 것을 특징으로 하는 마스터 슬레이브 시스템.And adding and subtracting the previous access address and the address increment value when the pattern of addresses is increasing, and subtracting the previous access address and the address increment value when the pattern of addresses is decreasing. Characterized by a master slave system. 제6항에 있어서,The method of claim 6, 상기 어드레스 제어 신호는 상기 어드레스들의 크기 정보 및 상기 어드레스들이 증가 추세를 가지는지 감소 추세를 가지는지 알려주는 추세 정보를 포함하는 것을 특징으로 하는 마스터 슬레이브 시스템.The address control signal includes size information of the addresses and trend information indicating whether the addresses have an increasing trend or a decreasing trend. 제6항에 있어서,The method of claim 6, 상기 어드레스 모드 신호는, 상기 생성 어드레스가 생성되기 전에는 상기 멀티플렉서가 상기 마스터 송신 어드레스를 상기 제2 액세스 어드레스로서 출력하도록 제어하고, 상기 생성 어드레스가 생성된 후에는 상기 멀티플렉서가 상기 마스터 송신 어드레스 및 상기 생성 어드레스 중에 하나를 선택하여 상기 제2 액세스 어드 레스로서 출력하도록 제어하는 것을 특징으로 하는 마스터 슬레이브 시스템.The address mode signal controls the multiplexer to output the master transmission address as the second access address before the generation address is generated, and the multiplexer generates the master transmission address and the generation after the generation address is generated. Selecting one of the addresses and controlling to output as the second access address. 제6항에 있어서, 상기 액세스 어드레스 저장부는,The method of claim 6, wherein the access address storage unit, 인에이블 단자를 통해 상기 어드레스 모드 신호를 수신하고 상기 어드레스 모드 신호에 따라 상기 제1 액세스 어드레스를 상기 이전 액세스 어드레스로서 출력하는 디-플립플롭을 포함하는 것을 특징으로 하는 어드레스 생성 슬레이브 디바이스.And a de-flip-flop that receives the address mode signal through an enable terminal and outputs the first access address as the previous access address in accordance with the address mode signal. 메모리에 액세스할 때, 어드레스들의 패턴들을 나타내는 어드레스 제어 신호들을 각각 송신하는 복수의 마스터 디바이스들;A plurality of master devices each transmitting address control signals indicative of patterns of addresses when accessing the memory; 어드레스 증감값을 저장하고, 상기 어드레스 제어 신호를 기초로 하여 상기 어드레스 증감값을 출력하는 어드레스 증감값 레지스터;An address increase and decrease value register for storing an address increase and decrease value and outputting the address increase and decrease value based on the address control signal; 제1 액세스 어드레스를 수신하여 저장하고, 상기 제1 액세스 어드레스를 이전 액세스 어드레스로서 출력하는 액세스 어드레스 저장부;An access address storage unit for receiving and storing a first access address and outputting the first access address as a previous access address; 상기 어드레스 제어 신호를 기초로, 상기 액세스 어드레스 저장부로부터 출력되는 상기 이전 액세스 어드레스에 상기 어드레스 증감값 레지스터로부터 출력되는 상기 어드레스 증감값을 연산하여 생성 어드레스를 발생하는 어드레스 연산부; 및An address calculation unit for generating a generation address by calculating the address increase / decrease value output from the address increase / decrease value register to the previous access address output from the access address storage unit based on the address control signal; And 상기 액세스 어드레스 저장부 및 상기 어드레스 연산부 사이에 연결되어 상기 각각의 마스터 디바이스가 상기 메모리에 액세스하기 위해 송신한 마스터 송신 어드레스 및 상기 생성 어드레스를 수신하고, 상기 각각의 마스터 디바이스가 상기 메모리에 액세스할 때 송신하는 어드레스 모드 신호를 기초로 하여, 상기 마스터 송신 어드레스 및 상기 생성 어드레스 중에 하나를 선택하여 제2 액세스 어드레스를 출력하는 멀티플렉서를 포함하고,Is connected between the access address storage unit and the address calculating unit to receive the master transmission address and the generation address sent by each master device to access the memory, and when each master device accesses the memory A multiplexer for selecting one of the master transmission address and the generation address and outputting a second access address based on the address mode signal to be transmitted, 상기 어드레스들의 패턴들은 각각 서로 다른 일정한 증가 추세 및 일정한 감소 추세를 가지는 것을 특징으로 하는 멀티 마스터 슬레이브 시스템.And the patterns of the addresses have different constant increasing trends and constant decreasing trends, respectively. 제11항에 있어서, 상기 어드레스 연산부는,The method of claim 11, wherein the address operation unit, 상기 어드레스들의 패턴이 증가 추세일 때 상기 이전 액세스 어드레스 및 상기 어드레스 증감값을 합산 연산하고, 상기 어드레스들의 패턴이 감소 추세일 때 상기 이전 액세스 어드레스 및 상기 어드레스 증감값을 감산 연산하는 가감기를 포함하는 것을 특징으로 하는 멀티 마스터 슬레이브 시스템.And adding and subtracting the previous access address and the address increment value when the pattern of addresses is increasing, and subtracting the previous access address and the address increment value when the pattern of addresses is decreasing. Multi-Master Slave System 제11항에 있어서,The method of claim 11, 상기 어드레스 제어 신호는 상기 어드레스들의 크기 정보 및 상기 어드레스들이 증가 추세를 가지는지 감소 추세를 가지는지 알려주는 추세 정보를 포함하는 것을 특징으로 하는 어드레스 멀티 마스터 슬레이브 시스템.The address control signal includes the size information of the addresses and trend information indicating whether the addresses have an increasing trend or a decreasing trend. 제11항에 있어서,The method of claim 11, 상기 어드레스 모드 신호는, 상기 생성 어드레스가 생성되기 전에는 상기 멀 티플렉서가 상기 마스터 송신 어드레스를 상기 제2 액세스 어드레스로서 출력하도록 제어하고, 상기 생성 어드레스가 생성된 후에는 상기 멀티플렉서가 상기 마스터 송신 어드레스 및 상기 생성 어드레스 중에 하나를 선택하여 상기 제2 액세스 어드레스로서 출력하도록 제어하는 것을 특징으로 하는 멀티 마스터 슬레이브 시스템.The address mode signal controls the multiplexer to output the master transmission address as the second access address before the generation address is generated, and after the generation address is generated, the multiplexer sends the master transmission address and And select one of the generation addresses to control the output as the second access address. 어드레스 증감값을 저장하고 마스터 디바이스로부터 송신된 어드레스 제어 신호를 기초로 하여 상기 어드레스 증감값을 출력하는 레지스터, 제1 액세스 어드레스를 수신하여 어드레스 모드 신호에 따라 상기 제1 액세스 어드레스를 이전 액세스 어드레스로서 출력하는 액세스 어드레스 저장부, 상기 어드레스 제어 신호를 기초로 하여, 상기 이전 액세스 어드레스에 상기 어드레스 증감값을 연산하여 생성 어드레스를 발생하는 어드레스 연산부 및 상기 어드레스 모드 신호를 기초로, 상기 마스터 디바이스가 송신한 마스터 송신 어드레스 및 상기 연산부에 의해 출력된 상기 생성 어드레스 중에서 하나를 선택하여 제2 액세스 어드레스를 출력하는 멀티플렉서를 포함하는 어드레스 생성 회로의 어드레스 생성 방법에 있어서,A register for storing an address increment value and outputting the address increment value based on an address control signal transmitted from a master device, receiving a first access address and outputting the first access address as a previous access address according to an address mode signal An access address storage unit configured to generate a generation address by calculating the address increase / decrease value to the previous access address based on the address control signal, and a master transmitted by the master device based on the address mode signal. A method for generating an address in an address generation circuit, comprising: a multiplexer for selecting one of a transmission address and the generation address output by the operation unit to output a second access address, 상기 어드레스 증감값 레지스터가 상기 어드레스 증감값을 저장하는 단계;The address increment value register storing the address increment value; 상기 어드레스 증감값 레지스터가 상기 마스터 디바이스로부터 상기 어드레스 제어 신호를 수신하고, 상기 멀티플렉서 및 상기 액세스 어드레스 저장부가 상기 어드레스 모드 신호를 수신하는 단계;The address increase / decrease register receives the address control signal from the master device, and the multiplexer and the access address store receive the address mode signal; 상기 어드레스 증감값 레지스터가 상기 어드레스 제어 신호를 기초로 하여 상기 어드레스 증감값을 출력하는 단계;The address increment value register outputting the address increment value based on the address control signal; 상기 액세스 어드레스 저장부가 상기 어드레스 모드 신호에 따라 상기 제1 액세스 어드레스를 상기 이전 액세스 어드레스로서 출력하는 단계;Outputting, by the access address storage unit, the first access address as the previous access address according to the address mode signal; 상기 어드레스 연산부가 상기 어드레스 제어 신호를 기초로, 상기 이전 액세스 어드레스에 상기 어드레스 증감값을 연산하여 생성 어드레스를 발생하는 단계; 및Generating, by the address calculator, a generation address by calculating the address increment value to the previous access address based on the address control signal; And 상기 멀티플렉서가 상기 마스터 송신 어드레스 및 상기 생성 어드레스를 수신하고, 상기 마스터 디바이스가 메모리에 액세스할 때 송신한 상기 어드레스 모드 신호를 기초로, 상기 마스터 송신 어드레스 및 상기 생성 어드레스 중에 하나를 선택하여 상기 제2 액세스 어드레스를 출력하는 단계를 포함하는 어드레스 생성 방법.The multiplexer receives the master transmission address and the generation address, and selects one of the master transmission address and the generation address based on the address mode signal transmitted when the master device accesses a memory to the second; Outputting an access address.
KR1020080104064A 2008-10-23 2008-10-23 Address generation method, address generation slave device, master slave system and multi master slave system KR100984707B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080104064A KR100984707B1 (en) 2008-10-23 2008-10-23 Address generation method, address generation slave device, master slave system and multi master slave system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080104064A KR100984707B1 (en) 2008-10-23 2008-10-23 Address generation method, address generation slave device, master slave system and multi master slave system

Publications (2)

Publication Number Publication Date
KR20100045042A true KR20100045042A (en) 2010-05-03
KR100984707B1 KR100984707B1 (en) 2010-10-01

Family

ID=42272843

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080104064A KR100984707B1 (en) 2008-10-23 2008-10-23 Address generation method, address generation slave device, master slave system and multi master slave system

Country Status (1)

Country Link
KR (1) KR100984707B1 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0176129B1 (en) * 1992-10-21 1999-05-01 윤종용 Address generating method for zigzag scanning
KR100253182B1 (en) * 1997-05-13 2000-05-01 구자홍 Address generation circuit and method for digital signal processor

Also Published As

Publication number Publication date
KR100984707B1 (en) 2010-10-01

Similar Documents

Publication Publication Date Title
US8661180B2 (en) Memory controlling device and memory controlling method
KR20050113638A (en) Data processing system with peripheral access protection and method therefor
US20140344512A1 (en) Data Processing Apparatus and Memory Apparatus
JP4902640B2 (en) Integrated circuit and integrated circuit system
JP2006040276A (en) Bus arbitration system for saving on power consumption based on selective clock control and method thereof
US10185676B2 (en) Direct memory access controller and system for accessing channel buffer
KR100984707B1 (en) Address generation method, address generation slave device, master slave system and multi master slave system
JP2024024607A (en) Integrated circuit, processing method, electronic apparatus, and medium for memory access
JP6498557B2 (en) Programmable controller
JP4193746B2 (en) Matrix bus connection system
CN101305356B (en) Control device with flag registers for synchronization of communications between cores
US20210367922A1 (en) System on chip firewall memory architecture
KR100686304B1 (en) Method for controlling access to public bank of dual port memory
EP3819778A1 (en) Bus system and method for operating a bus system
KR100886179B1 (en) Method for Handling Access Right Acquisition in Dual Port Memory and Apparatus therefore
US20050289320A1 (en) Semiconductor device, microcomputer, and electronic equipment
US20100153610A1 (en) Bus arbiter and bus system
CN115017093B (en) Method and device for on-chip external bus communication
JP2008251060A (en) Semiconductor memory device
KR20080028064A (en) Apparatus for extending memory in communication system
US20140281759A1 (en) Bus protocol checker, system on chip including the same, bus protocol checking method
KR20000033265A (en) Device and method for interfacing chip embedded bus
JP2007128196A (en) Information processing system and method for controlling information processing system
JPH04348442A (en) Address converter
JP2000298644A (en) Bs bridge arbitration system

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

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20140827

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee