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 PDFInfo
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C8/00—Arrangements for selecting an address in a digital store
- G11C8/06—Address interface arrangements, e.g. address buffers
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C8/00—Arrangements for selecting an address in a digital store
- G11C8/18—Address 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
Description
본 발명은 어드레스 및 마스터 슬레이브 시스템에 관한 것이다. 보다 상세하게는, 슬레이브 디바이스가 이전 액세스 어드레스를 이용하여 액세스 어드레스를 생성할 수 있는 어드레스 생성 슬레이브 디바이스, 마스터 슬레이브 시스템, 멀티 마스터 슬레이브 시스템 및 어드레스 생성 방법에 관한 것이다.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
제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
제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
도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
그런데, 제1 마스터 디바이스(110) 또는 제2 마스터 디바이스(120)가 메모리에 액세스할 때마다 어드레스 버스(ABUS)를 통해 메모리 액세스 어드레스(ADDR)를 전송하게 되면, 어드레스 버스(ABUS) 상의 어드레스 값을 수시로 변경해야 하고, 이는 많은 전력 소모를 초래한다.However, when the
따라서, 버스 회로 내의 어드레스 버스를 통하지 않고 메모리에 액세스할 수 있는 회로, 시스템 및 방법이 요구된다.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
도3에 도시된 멀티 마스터 슬레이브 시스템(300)은 각각 두 개씩의 마스터 디바이스들(310, 320) 및 슬레이브 디바이스들(330, 340)이 도시되어 있지만, 멀티 마스터 슬레이브 시스템(300)은 이에 한정하지 않는 복수의 마스터 디바이스들 및 슬레이브 디바이스들을 포함할 수 있다.In the
마스터 디바이스들(310, 320) 및 슬레이브 디바이스들(330, 340)은 버스 회 로(350)를 통해 데이터를 송수신한다. 도3에 도시된 버스 회로(350)의 구조 및 동작은 도1에 도시된 버스 회로(150)의 구조 및 동작과 동일할 수 있다.The
각각의 마스터 디바이스들(310, 320)들은 특성이 다양하고, 이에 따라 슬레이브 디바이스들(330, 340)내의 메모리에 액세스하기 위한 어드레스들의 패턴이 다르며, 메모리에 액세스할 때 어드레스들의 패턴을 나타내는 어드레스 제어 신호를 슬레이브 디바이스들(330, 340)로 송신한다.Each of the
도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
도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
도5를 참조하면, 어드레스 생성 슬레이브 디바이스(510)는 메모리(520)에 액 세스할 액세스 어드레스(AADDR)를 발생하고, 마스터 디바이스들(310, 320)로부터 수신한 리드/라이트 제어 신호를 기초로 하여 메모리 제어 신호(MC)를 발생한다. 어드레스 생성 슬레이브 디바이스(510)는 액세스 어드레스(AADDR) 및 메모리 제어 신호(MC)에 따라 메모리(520)에 액세스한 후, 메모리(520)로부터 데이터를 읽어 마스터 디바이스들(310, 320)에 데이터를 전송하거나 마스터 디바이스들(310, 320)로부터 전송된 데이터를 기입한다. 메모리(520)는 캐쉬 메모리 또는 시간에 따라 일정하게 증가 또는 감소하는 추세를 가지는 어드레스들에 의해 액세스되는 임의의 저장 장치일 수 있다.Referring to FIG. 5, the address
도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
어드레스 증감값 레지스터(620)는 외부로부터 어드레스 증감값(IDC)을 수신하여 저장하고 있으며, 마스터 디바이스가 메모리에 액세스하기 위한 어드레스들의 패턴을 나타내는 어드레스 제어 신호(ADDRC)를 수신한다. 예를 들면, 어드레스 제어 신호(ADDRC)는 제1 마스터 디바이스(310) 또는 제2 마스터 디바이스(320)가 메모리(520)에 일정한 증가 추세 및 일정한 감소 추세를 가지고 액세스하기 위한 어드레스들의 패턴을 나타낼 수 있다. 즉, 어드레스 제어 신호(ADDRC)는 도4a 및 도4b에 도시된 어드레스들의 패턴을 나타낼 수 있다.The address increase /
어드레스 제어 신호(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
어드레스 증감값 레지스터(620)는 수신한 어드레스 제어 신호(ADDRC)를 기초로 하여 어드레스 증감값(IDC)을 출력한다. 액세스 어드레스 저장부(630)는 메모리(520)에 액세스한 어드레스인 제1 액세스 어드레스(AADDR1)를 수신하여 저장하고, 제1 액세스 어드레스(AADDR1)를 이전 액세스 어드레스(PAADDR)로서 출력한다. 액세스 어드레스 저장부(630)는 제1 액세스 어드레스(AADDR1)를 수신하여 이전 액세스 어드레스(PAADDR)로서 출력하는 디-플립플롭(630)을 포함할 수 있다.The address increase /
제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
마스터 송신 어드레스(MADDR) 및 생성 어드레스(GADDR) 중에 하나를 선택하여 제1 액세스 어드레스(AADDR1)로서 출력하기 위해 액세스 어드레스 저장부(630) 및 어드레스 연산부(640) 사이에 연결된 멀티플렉서(650)는 어드레스 모드 신호(ADDRM)에 응답하여 마스터 송신 어드레스(MADDR) 및 생성 어드레스(GADDR) 중에 하나를 선택하여 출력하고, 생성 어드레스(GADDR)가 발생되기 전에는 마스터 송신 어드레스(MADDR)룰 제1 액세스 어드레스(AADDR1)로서 출력한다. 예를 들어, 도4a에 도시된 T0를 생성 어드레스(GADDR)가 발생되기 전이라고 가정하면, 멀티플렉서(650)는 100번지에 해당하는 마스터 송신 어드레스(MADDR)를 수신하여 마스터 송신 어드레스(MADDR)를 제1 액세스 어드레스(AADDR1)로서 출력할 수 있다.The
멀티플렉서(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
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
어드레스 연산부(640)는 어드레스 제어 신호(ADDRC)를 기초로, 액세스 어드레스 저장부(630)로부터 출력되는 이전 액세스 어드레스(PAADDR)에 어드레스 증감값 레지스터(620)로부터 출력되는 어드레스 증감값(IDC)을 연산하여 생성 어드레스(GADDR)를 발생한다. 즉, 연산부(640)는 어드레스 제어 신호(ADDRC)가 나타내는 추세 정보 및 어드레스 크기 정보를 이용하여 이전 액세스 어드레스(PAADDR)에 어드레스 증감값(IDC)을 더하거나 뺀다. 예를 들면, 어드레스 연산부(640)는 도4a에 도시된 100번지에 해당하는 마스터 송신 어드레스(MADDR)를 멀티플렉서(650) 및 액세스 어드레스 저장부(630)를 통해 이전 액세스 어드레스(PAADDR)로서 수신하고, 어드레스 제어 신호(ADDRC)를 기초로 하여 100번지 어드레스에 2번지 어드레스 증감값(IDC)을 더하여 생성 어드레스(GADDR)를 출력할 수 있다.The
어드레스 연산부(640)는 어드레스들의 패턴이 증가 추세일 때 이전 액세스 어드레스(PAADDR) 및 어드레스 증감값(IDC)을 합산 연산하고 어드레스들의 패턴이 감소 추세일 때 이전 액세스 어드레스(PAADDR) 및 어드레스 증감값(IDC)을 감산 연산하기 위한 가산기, 감산기 또는 가감기를 포함할 수 있다.The
멀티플렉서(650)는 어드레스 연산부(640)에 의해 출력된 생성 어드레스(GADDR) 및 마스터 송신 어드레스(MADDR)을 수신하고, 어드레스 모드 신호(ADDRM)를 기초로, 생성 어드레스(GADDR) 및 마스터 송신 어드레스(MADDR) 중에 하나를 선택하여 제2 액세스 어드레스(AADDR2)를 출력한다.The
여기서, 제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
도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 /
도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)
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)
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 |
-
2008
- 2008-10-23 KR KR1020080104064A patent/KR100984707B1/en not_active IP Right Cessation
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 |