KR0174509B1 - Apparatus for controlling access mode of memory and method - Google Patents

Apparatus for controlling access mode of memory and method Download PDF

Info

Publication number
KR0174509B1
KR0174509B1 KR1019960040435A KR19960040435A KR0174509B1 KR 0174509 B1 KR0174509 B1 KR 0174509B1 KR 1019960040435 A KR1019960040435 A KR 1019960040435A KR 19960040435 A KR19960040435 A KR 19960040435A KR 0174509 B1 KR0174509 B1 KR 0174509B1
Authority
KR
South Korea
Prior art keywords
address
memory
current
current address
access mode
Prior art date
Application number
KR1019960040435A
Other languages
Korean (ko)
Other versions
KR19980021556A (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 KR1019960040435A priority Critical patent/KR0174509B1/en
Publication of KR19980021556A publication Critical patent/KR19980021556A/en
Application granted granted Critical
Publication of KR0174509B1 publication Critical patent/KR0174509B1/en

Links

Abstract

본 발명은 다양한 어드레스 액세스모드로 하나의 메모리와 디지탈신호처리기간을 인터페이스할 수 있도록 메모리 액세스모드를 제어하는 메모리 액세스모드 제어장치 및 방법에 관한 것으로, 본 장치는 디지탈 신호처리기로 부터 제공되는 메모리에 대한 스타트 어드레스를 저장하기 위한 제 1 레지스터; 디지탈 신호처리기로 부터 제공되는 메모리에 대한 엔드 어드레스를 저장하기 위한 제 2 레지스터; 제 1 레지스터로 부터 제공되는 스타트 어드레스와 디지탈 신호처리기로 부터 제공되는 메모리에 대한 현재 어드레스를 선택적으로 출력하기 위한 제 1 어드레스 전송수단; 제 1 어드레스 전송수단으로 부터 전송되는 현재 어드레스 또는 스타트어드레스를 저장하고, 저장된 어드레스부터 소정 단위로 증가되는 어드레스를 메모리의 현재 어드레스로 제공하기 위한 제 1 현재 어드레스 제공부; 제 1 현재 어드레스 제공부에서 출력되는 어드레스와 제 2 레지스터에서 출력되는 엔드어드레스가 동일할 때, 어드레스 전송수단이 스타트 어드레스를 제 1 현재 어드레스 제공부로 전송하도록 어드레스 전송수단의 전송동작을 제어하기 위한 전송제어수단을 포함하도록 구성된다.The present invention relates to a memory access mode control apparatus and method for controlling a memory access mode so that a single memory and a digital signal processing period can be interfaced with various address access modes. The present invention relates to a memory provided from a digital signal processor. A first register for storing a start address for the first address; A second register for storing an end address for a memory provided from a digital signal processor; First address transfer means for selectively outputting a start address provided from the first register and a current address for the memory provided from the digital signal processor; A first current address providing unit for storing a current address or a start address transmitted from the first address transmitting means, and providing an address incremented by a predetermined unit from the stored address as a current address of the memory; When the address output from the first current address providing unit and the end address output from the second register are the same, the transmission for controlling the transfer operation of the address transmitting unit to transmit the start address to the first current address providing unit. It is configured to include a control means.

Description

메모리 액세스모드 제어장치 및 방법Memory access mode control device and method

본 발명은 메모리 액세스모드 제어장치 및 방법에 관한 것으로, 특히 디지탈 신호처리기(Digital Signal Processor)와 메모리간의 인터페이스를 처리하는데 있어서 메모리에 대한 다양한 어드레스 액세스모드를 지원할 수 있는 메모리 액세스모드제어장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for controlling a memory access mode, and more particularly, to an apparatus and method for controlling a memory access mode that can support various address access modes for a memory in processing an interface between a digital signal processor and a memory. It is about.

종래 중앙제어장치와 같은 제어역할을 하는 디지탈신호처리기와 메모리간에 인터페이스 블럭은 하나의 메모리에 특정 액세스모드의 어드레스를 제공할 수 있도록 설계되었다. 이로 인하여 여러가지 다양한 어드레스 액세스모드를 사용하여 디지탈신호처리기와 메모리간을 인터페이스하고자 할 때, 사용하고자 하는 액세스모드에 해당되는 어드레스를 발생하는 인터페이스블럭을 각각 구비하여야 할 뿐 아니라 인터페이스블럭에서 발생하는 어드레스에 적합한 구조를 갖는 메모리를 다수개 구비하여야 하므로 시스템의 가격이 상승되는 요인이 되었다.The interface block between the digital signal processor and the memory, which plays the same control role as the conventional central controller, is designed to provide an address of a specific access mode to one memory. Therefore, when interfacing between the digital signal processor and the memory using various address access modes, each of the interface blocks for generating an address corresponding to the access mode to be used must be provided. Since a large number of memory having a suitable structure must be provided, the cost of the system is increased.

따라서 본 발명의 목적은 다양한 어드레스 액세스모드로 하나의 메모리와 디지탈신호처리기간을 인터페이스할 수 있도록 메모리 액세스모드를 제어하는 메모리 액세스모드 제어장치 및 방법을 제공하는데 있다.Accordingly, an object of the present invention is to provide a memory access mode control apparatus and method for controlling a memory access mode so as to interface a single memory with a digital signal processing period in various address access modes.

상기 목적을 달성하기 위하여 본 발명에 따른 메모리 액세스모드 제어장치는, 디지탈 신호처리기로 부터 제공되는 메모리에 대한 스타트 어드레스를 저장하기 위한 제 1 레지스터; 디지탈 신호처리기로 부터 제공되는 메모리에 대한 엔드 어드레스를 저장하기 위한 제 2 레지스터; 제 1 레지스터로 부터 제공되는 스타트 어드레스와 디지탈 신호처리기로 부터 제공되는 메모리에 대한 현재 어드레스를 선택적으로 출력하기 위한 제 1 어드레스 전송수단; 제 1 어드레스 전송수단으로 부터 전송되는 현재 어드레스 또는 스타트어드레스를 저장하고, 저장된 어드레스부터 소정 단위로 증가되는 어드레스를 메모리의 현재 어드레스로 제공하기 위한 제 1 현재 어드레스 제공부; 제 1 현재 어드레스 제공부에서 출력되는 어드레스와 제 2 레지스터에서 출력되는 엔드어드레스가 동일할 때, 어드레스 전송수단이 스타트 어드레스를 제 1 현재 어드레스 제공부로 전송하도록 어드레스 전송수단의 전송동작을 제어하기 위한 전송제어수단을 포함하는 것을 특징으로 한다.In order to achieve the above object, a memory access mode control apparatus according to the present invention includes a first register for storing a start address for a memory provided from a digital signal processor; A second register for storing an end address for a memory provided from a digital signal processor; First address transfer means for selectively outputting a start address provided from the first register and a current address for the memory provided from the digital signal processor; A first current address providing unit for storing a current address or a start address transmitted from the first address transmitting means, and providing an address incremented by a predetermined unit from the stored address as a current address of the memory; When the address output from the first current address providing unit and the end address output from the second register are the same, the transmission for controlling the transfer operation of the address transmitting unit to transmit the start address to the first current address providing unit. It characterized in that it comprises a control means.

상기 목적을 달성하기 위하여 본 발명에 따른 메모리 액세스모드 제어방법은, 디지탈 신호처리기와 메모리간의 인터페이스블럭에 구비되어 다양한 형태의 메모리 어드레스를 제공하기 위한 메모리 액세스모드 제어방법에 있어서, 현재 사용하고자 하는 메모리 액세스모드를 설정하는 단계; 액세스모드 설정단계에서 설정된 메모리 액세스모드에 필요한 변수값들 설정하는 단계; 설정된 변수값에 의하여 디지탈 신호처리기로 부터 제공되는 현재 어드레스값을 변형시켜 메모리의 현재 어드레스를 제공하는 제 1 현재 어드레스제공단계를 포함하여 수행하는 것을 특징으로 한다.In order to achieve the above object, a memory access mode control method according to the present invention is provided in an interface block between a digital signal processor and a memory and provides a memory access mode control method for providing various types of memory addresses. Setting an access mode; Setting variable values necessary for the memory access mode set in the access mode setting step; And a first current address providing step of modifying a current address value provided from the digital signal processor according to the set variable value to provide a current address of the memory.

도 1 은 본 발명에 따른 메모리 액세스모드 제어장치의 블럭도.1 is a block diagram of a memory access mode control apparatus according to the present invention;

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

100:데이터버스101:스타트어드레스 레지스터(STA)100: data bus 101: start address register (STA)

102:엔드어드레스 레지스터(ENA)102: end address register (ENA)

103:제 1 멀티플렉서104:제 1 현재 어드레스 레지스터(CRA0)103: first multiplexer 104: first current address register (CRA0)

105:비교기106:제 2 멀티플렉서105: Comparator 106: Second Multiplexer

107:제 2 현재 어드레스 레지스터(CRA1)107: Second current address register (CRA1)

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세하게 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 메모리 액세스모드 제어장치에 대한 블럭도로서, 중앙제어장치와 같은 역할을 하는 미도시된 디지탈 신호처리기(Digital Signal Processor, 이하 DSP라고 약함)와 메모리 액세스모드 제어장치(100)간의 데이타를 전송하기 위한 데이타버스(101), 데이타 버스(101)를 통해 미도시된 DSP로 부터 스타트 어드레스 데이타가 전송되면 저장하기 위한 스타트 어드레스 레지스터(Start Address Register(STA), 102), 데이타 버스(101)를 통해 미도시된 DSP로 부터 엔드 어드레스 데이타가 전송되면 저장하기 위한 엔드어드레스 레지스터(End Address Register(ENA), 103), 스타트 어드레스 레지스터(102)에서 출력되는 스타트 어드레스와 데이타버스(101)를 통해 전송되는 현재 어드레스(Current Address)를 선택적으로 출력하기 위한 제 1 멀티플렉서(104), 제 1 멀티플렉서(104)로 부터 출력되는 신호를 현재 어드레스로 저장하고 저장된 값부터 소정 단위로 업카운트되는 값을 미도시된 메모리의 현재어드레스로 제공하는 제 1 현재 어드레스 레지스터(Current Address Register(CRA0), 105), 엔드어드레스 레지스터(103)와 제 1 현재 어드레스 레지스터(105)에서 출력되는 어드레스를 비교하여 제 1 멀티플렉서(104)의 선택제어신호를 제공하기 위한 비교기(106), 데이타버스(101)를 통해 인가되는 현재 어드레스를 저장하고 저장된 값부터 소정 단위로 업카운트한 값을 미도시된 메모리의 현재 어드레스로 제공하는 제 2 현재 어드레스 레지스터(107), 제 1 현재 어드레스 레지스터(104)와 제 2 현재 어드레스 레지스터(107)에서 출력되는 어드레스를 미도시된 디지탈 신호처리기에서 제공되는 어드레스 액세스모드 제어신호에 의해 제어되어 미도시된 메모리로 선택적으로 출력하기 위한 제 2 멀티플렉서(106)로 구성된다.1 is a block diagram of a memory access mode control apparatus according to the present invention, wherein a digital signal processor (hereinafter referred to as DSP) and a memory access mode control apparatus 100, which serve as a central controller, are not shown. A data bus 101 for transferring data between the data buses, a start address register 102 for storing the start address data from a DSP not shown through the data bus 101, and storing the data. When the end address data is transmitted from the DSP (not shown) via the bus 101, an end address register (ENA) 103 for storing the start address and the data bus output from the start address register 102 are provided. From the first multiplexer 104 and the first multiplexer 104 for selectively outputting the current address transmitted via 101. A first current address register (CRA0) 105 and an end address register which store an output signal as a current address and provide a value which is up counted from a stored value to a current address of a memory not shown. Compares the address output from the first current address register 105 with the comparator 106 for providing the selection control signal of the first multiplexer 104, and stores the current address applied via the data bus 101; And output from the second current address register 107, the first current address register 104, and the second current address register 107, which provide a value up-counted from a stored value to a current address of a memory, not shown. Memory is controlled by an address access mode control signal provided by a digital signal processor (not shown). It consists of a second multiplexer 106 for selectively outputting.

이와 같이 구성된 메모리 액세스모드 제어장치는 크게 2가지의 어드레스 액세스모드를 지원하는데, 그 하나는 스타트 어드레스와 엔드어드레스를 결정하고, 결정된 스타트 어드레스와 엔드어드레스내에서 1씩 또는 2씩 또는 그 이상의 배수로 증가하는 형태로 어드레스를 제공하는 경우와 정해진 최종 어드레스까지 1 또는 2 또는 그외의 배수로 증가하는 형태의 어드레스를 제공하는 경우이다.The memory access mode controller configured as described above supports two address access modes, one of which determines a start address and an end address, and increases by one or two or more in the determined start address and end address. In the case of providing an address in the form of an address, and in the case of providing an address in an increment of one or two or other multiples up to a predetermined final address.

전자와 같이 어드레스를 제공하기 위해서 도 1의 메모리 액세스제어장치(100)는 다음과 같이 동작된다.In order to provide an address as described above, the memory access control apparatus 100 of FIG. 1 operates as follows.

우선, 미도시된 DSP는 전자와 같이 어드레스를 제공하기 위한 모드가 설정되면 데이타버스(101)를 통해 스타트 어드레스와 엔드 어드레스, 현재 어드레스를 전송하고, 제어버스(미도시됨)를 통해 전자와 같은 어드레스를 제공하는 것을 나타내는 어드레스 액세스모드 제어신호를 출력한다.First, when a mode for providing an address, such as the former, is set, the DSP transmits a start address, an end address, and a current address through the data bus 101, and transmits the same through the control bus (not shown). An address access mode control signal indicating the provision of an address is output.

데이타버스(101)를 통해 제공된 스타트 어드레스는 스타트 어드레스 레지스터(102)로 전송되어 저장된다. 스타트 어드레스 레지스터(102)는 저장된 어드레스 값을 제 1 멀티플렉서(104)의 (I1)입력단으로 전송한다.The start address provided via the data bus 101 is transferred to and stored in the start address register 102. The start address register 102 transfers the stored address value to the (I1) input terminal of the first multiplexer 104.

제 1 멀티플렉서(104)는 (I1)입력단으로 인가된 스타트 어드레스와 데이타버스(101)를 통해 (I2)입력단으로 인가된 현재 어드레스를 선택적으로 출력하는데, 처음에는 (I2)입력단을 통해 인가된 현재 어드레스신호를 선택하여 출력한다. 제 1 멀티플렉서(104)에서 출력된 신호는 제 1 현재 어드레스 레지스터(105)로 전송된다.The first multiplexer 104 selectively outputs a start address applied to the (I1) input terminal and a current address applied to the (I2) input terminal through the data bus 101, initially presently applied through the (I2) input terminal. Select and output the address signal. The signal output from the first multiplexer 104 is transmitted to the first current address register 105.

제 1 현재 어드레스 레지스터(105)는 로드 가능한 업카운터(Loadable Up Counter)로 구성되어 상술한 바와 같이 제 1 멀티플렉서(104)로 부터 현재 어드레스가 전송되면 저장하고, 저장된 값부터 소정 단위로 업카운트를 하여 비교기(105)와 제 2 멀티플렉서(106)로 각각 전송한다. 이때 업카운트 단위는 1씩 또는 2씩 또는 그외의 배수에 의해 카운트되도록 설정되어 메모리로 다양한 형태의 어드레스를 제공할 수 있다. 그리고 이와 같은 설정은 미도시된 DSP에 의해 이루어질 수도 있고, 설계시 미리 설정될 수도 있다.The first current address register 105 is configured as a loadable up counter, and stores the current address when the current address is transmitted from the first multiplexer 104, as described above, and stores the upcount in a predetermined unit from the stored value. To the comparator 105 and the second multiplexer 106, respectively. In this case, the up count unit may be set to be counted by 1, 2, or other multiples to provide various types of addresses to the memory. Such a setting may be made by a DSP not shown or may be set in advance at design time.

비교기(106)는 제 1 현재 어드레스 레지스터(105)로 부터 출력된 값과 엔드어드레스 레지스터(103)로 부터 출력된 값이 동일한 값을 갖는 지를 검출하여 상술한 제 1 멀티플렉서(104)의 선택동작을 제어한다. 즉, 제 1 현재 어드레스 레지스터(105)에서 출력되는 값과 엔드어드레스 레지스터(103)에서 출력되는 값을 비교하고, 그 결과를 제 1 멀티플렉서(104)의 선택단자(S)로 전송한다. 이때 비교기(106)는 현재 어드레스와 엔드어드레스가 동일할 때, 제 1 멀티플렉서(104)가 (I1)입력단을 통해 인가되는 스타트 어드레스를 선택하여 출력하도록 비교결과를 제 1 멀티플렉서(104)로 제공한다.The comparator 106 detects whether the value output from the first current address register 105 and the value output from the end address register 103 have the same value to perform the above-described selection operation of the first multiplexer 104. To control. That is, the value output from the first current address register 105 and the value output from the end address register 103 are compared, and the result is transmitted to the selection terminal S of the first multiplexer 104. In this case, when the current address and the end address are the same, the comparator 106 provides a comparison result to the first multiplexer 104 so that the first multiplexer 104 selects and outputs a start address applied through the (I1) input terminal. .

이에 따라 제 1 멀티플렉서(104)는 선택단자(S)로 인가된 비교기(106)의 출력신호가 상술한 바와 같이 제 1 현재 어드레스 레지스터(103)에서 출력된 값이 엔드어드레스와 동일한 값을 가짐을 나타낼 때, (I1)입력단을 통해 인가되는 스타트 어드레스를 제 1 현재 어드레스레지스터(105)로 전송하고, 제 1 현재 어드레스 레지스터(105)는 스타트 어드레스부터 다시 소정 단위의 업카운트를 수행한다.Accordingly, the first multiplexer 104 indicates that the output signal of the comparator 106 applied to the selection terminal S has the same value as that of the end address as outputted from the first current address register 103 as described above. In this case, the start address applied through the (I1) input terminal is transmitted to the first current address register 105, and the first current address register 105 performs a predetermined unit up count from the start address.

제 2 멀티플렉서(107)는 전자와 같이 동작될 때에는 선택단자(S)로 인가되는 어드레스 액세스모드 제어신호에 의하여 (I1)입력단으로 인가되는 제 1 현재 어드레스 레지스터(105)의 출력신호를 선택하여 메모리 어드레스신호로 출력한다.When the second multiplexer 107 is operated in the former manner, the second multiplexer 107 selects an output signal of the first current address register 105 applied to the input terminal (I1) by an address access mode control signal applied to the selection terminal S and stores the memory. Output by address signal.

한편, 후자와 같이 스타트 어드레스와 엔드 어드레스 레지스터를 이용하지 않고 설정된 최종 어드레스까지 1씩 또는 2씩 또는 그외의 배수로 어드레스를 증가시키면서 어드레스를 제공하는 어드레스 액세스모드시에, 제 2 멀티플렉서(107)는 모드포맷 제어신호에 의하여 (I2)입력단을 통해 인가되는 신호를 전송하도록 동작되고, 제 2 현재 어드레스 레지스터(108)는 데이타버스(101)를 통해 인가되는 어드레스를 액세스한다.On the other hand, in the address access mode in which the address is provided while increasing the address by one, two, or other multiples up to the set final address without using the start address and end address registers as in the latter, the second multiplexer 107 is in the mode. The format control signal is operated to transmit a signal applied through the input terminal (I2), and the second current address register 108 accesses an address applied through the data bus 101.

제 2 현재 어드레스 레지스터(108)는 상술한 제 1 현재 어드레스 레지스터(105)와 동일한 로드가능한 업카운터로 구성되어 액세스된 현재 어드레스를 초기값으로 하여 소정 단위로 업카운트하여 제 2 멀티플렉서(107)의 (I2)입력단으로 전송한다. 이때, 제 2 현재 어드레스 레지스터(108)의 업카운트단위와 최종 어드레스에 해당되는 카운트 최대값은 DSP에 의하여 설정될 수도 있고, 시스템 설계시 설정될 수도 있다.The second current address register 108 is composed of the same loadable upcounter as the first current address register 105 described above, and the second current address register 108 is counted up by a predetermined unit with the current address accessed as an initial value of the second multiplexer 107. (I2) Transmit to input. In this case, the maximum count value corresponding to the up count unit and the last address of the second current address register 108 may be set by the DSP or may be set during system design.

제 2 멀티플렉서(107)는 어드레스 액세스모드 제어신호에 의하여 상술한 바와 같이 (I2)입력단을 통해 인가되는 신호를 선택하여 전송하도록 되어 있으므로, (I2)입력단으로 인가되는 제 2 현재 어드레스 레지스터(108)의 출력신호를 메모리 어드레스신호로 전송한다.Since the second multiplexer 107 selects and transmits a signal applied through the (I2) input terminal according to the address access mode control signal as described above, the second current address register 108 applied to the (I2) input terminal. Transfers the output signal to the memory address signal.

또한 상술한 바와 같은 2가지 종류의 메모리 액세스모드에 대한 본 발명에 따른 액세스모드 제어방법은 다음과 같이 수행된다.In addition, the access mode control method according to the present invention for the two types of memory access mode as described above is performed as follows.

우선, 상술한 2종류의 메모리 액세스모드중 현재 사용하고자 하는 액세스모드를 설정한 다음, 설정된 액세스모드가 상술한 바와 같이 스타트어드레스와 엔드어드레스를 지정하고, 지정된 범위내에서 소정의 배수로 어드레스를 증가시켜 어드레스를 제공하고자 할 경우에 해당되는 스타트 어드레스, 엔드어드레스, 현재 어드레스 및 어드레스 증가단위등을 설정한다. 여기서 어드레스 증가단위에 의해 메모리 액세스모드는 다시 구분된다. 즉, 어드레스 증가단위를 1로 할 것인지 2로 할 것인지 또는 그외 배수로 할 것인지에 따라 메모리 액세스 모드가 다르게 설정할 수 있다.First, the access mode to be used currently is set among the two types of memory access modes described above, and then the set access mode specifies the start address and the end address as described above, and increases the address by a predetermined multiple within the specified range. If you want to provide the address, set the start address, end address, current address, and address increment unit. Here, the memory access mode is further divided by the address increment unit. That is, the memory access mode can be set differently depending on whether the address increment unit is set to 1, 2, or other multiples.

그 다음 설정된 현재 어드레스를 메모리의 첫번째 어드레스로 제공한 뒤, 증가단위로 증가된 현재 어드레스를 계속해서 메모리의 어드레스로 전송한다. 어드레스 전송중, 증가된 현재 어드레스가 엔드어드레스와 동일할 때, 스타트 어드레스를 현재 어드레스로 제공하고 다시 상술한 소정 단위로 어드레스를 증가시켜 미도시된 메모리로 어드레스를 제공하는 과정을 반복한다.Then, the set current address is provided as the first address of the memory, and then the current address increased in increments is continuously transferred to the address of the memory. During the address transfer, when the increased current address is the same as the end address, the process of providing the start address as the current address and increasing the address in the above-mentioned predetermined unit again and providing the address to the memory not shown is repeated.

또한 상술한 방법중 후자와 같은 현재 어드레스를 소정 단위로 증가시켜 메모리 어드레스신호로 제공하고자 할 때, 증가단위와 현재 어드레스를 설정하고, 설정된 현재 어드레스를 메모리의 초기 어드레스로 제공한 뒤, 증가단위로 매번 증가되는 어드레스를 메모리 어드레스로 제공한다. 이때, 최종 어드레스를 설정할 수 있으며, 설정된 최종 어드레스에 도달할 때까지 상술한 증가과정이 계속해서 이루어지고, 최종 어드레스에 도달하면 어드레스 제공동작을 멈출 수도 있고, 루프(Loop)어드레스 방식에 의하여 다시 처음의 현재 어드레스값으로 돌아가 소정의 증가단위로 어드레스를 증가시켜 메모리로 제공하는 과정을 반복하도록 구성될 수 있다. 또한 여기서도 증가단위를 어떻게 설정하느냐에 따라 메모리 어드레스 액세스모드를 다양하게 제공할 수 있다.In the above-described method, when the current address as described above is increased in a predetermined unit and provided as a memory address signal, the increment unit and the current address are set, the set current address is provided as the initial address of the memory, and then in increment units. The address that is incremented each time is provided as a memory address. At this time, the final address can be set, and the above-described incrementing process is continued until the final address is reached, and when the final address is reached, the address providing operation can be stopped, and the loop address method is used again for the first time. It may be configured to repeat the process of returning to the current address value of and incrementing the address in a predetermined incremental unit and providing the address to the memory. In this case, the memory address access mode may be provided in various ways depending on how the increment is set.

이상, 상술한 바와 같이 본 발명은 간단한 구조로 하나의 메모리에 다양한 어드레스 액세스모드를 제공할 수 있는 장치와 방법을 구현함으로써, 종래에 비해 효율적인 메모리 관리를 할 수 있고, 다양한 어드레스 액세스모드 제공으로 인한 시스템 가격의 상승을 막을 수 있는 효과가 있다.As described above, the present invention implements an apparatus and method capable of providing various address access modes in a single memory with a simple structure, thereby enabling efficient memory management, and providing various address access modes. There is an effect that can prevent the rise in system prices.

Claims (14)

디지탈 신호처리기와 메모리간의 인터페이스블럭에 구비되어 다양한 형태의 메모리 어드레스를 제공하기 위한 메모리 액세스모드 제어장치에 있어서, 상기 디지탈 신호처리기로 부터 전송되는 현재 어드레스를 저장하고, 저장된 상기 현재 어드레스부터 소정 단위로 증가되는 어드레스를 상기 메모리의 현재 어드레스로 제공하기 위한 현재 어드레스 제공부를 포함하는 것을 특징으로 하는 메모리 액세스모드 제어장치.A memory access mode control apparatus provided in an interface block between a digital signal processor and a memory to provide various types of memory addresses, the apparatus comprising: storing a current address transmitted from the digital signal processor, and storing the current address in a predetermined unit from the stored current address; And a current address providing unit for providing an incremented address to the current address of the memory. 제 1 항에 있어서, 상기 현재 어드레스 제공부는 메모리의 조건을 고려하여 상기 증가에 의하여 도달할 수 있는 최종 어드레스값이 설정되어 있는 것을 특징으로 하는 메모리 액세스모드 제어장치.The memory access mode control apparatus as claimed in claim 1, wherein the current address providing unit sets a final address value that can be reached by the increase in consideration of a memory condition. 제 1 항 또는 제 2 항에 있어서, 상기 소정 단위의 어드레스 증가량과 상기 최종 어드레스값은 상기 디지탈 신호처리기에서 제공하는 것을 특징으로 하는 메모리 액세스모드 제어장치.The apparatus of claim 1 or 2, wherein the address increment amount and the final address value of the predetermined unit are provided by the digital signal processor. 제 2 항에 있어서, 상기 현재 어드레스 제공부는 상기 최종 어드레스값을 상기 메모리로 제공한 뒤, 상기 디지탈 신호처리기로 부터 제공된 현재 어드레스값으로 복귀하여 상기 소정단위로 증가하면서 상기 메모리의 어드레스를 제공하는 루프 어드레스 액세스모드를 수행하도록 구성되는 것을 특징으로 하는 메모리 액세스모드 제어장치.The loop of claim 2, wherein the current address providing unit provides the final address value to the memory, and then returns to the current address value provided from the digital signal processor and increases the predetermined address in the predetermined unit to provide an address of the memory. And a memory access mode control device configured to perform an address access mode. 디지탈 신호처리기와 메모리간의 인터페이스블럭에 구비되어 다양한 형태의 메모리 어드레스를 제공하기 위한 메모리 액세스모드 제어장치에 있어서, 상기 디지탈 신호처리기로 부터 제공되는 상기 메모리에 대한 스타트 어드레스를 저장하기 위한 제 1 레지스터; 상기 디지탈 신호처리기로 부터 제공되는 상기 메모리에 대한 엔드 어드레스를 저장하기 위한 제 2 레지스터; 상기 제 1 레지스터로 부터 제공되는 상기 스타트 어드레스와 상기 디지탈 신호처리기로 부터 제공되는 상기 메모리에 대한 현재 어드레스를 선택적으로 출력하기 위한 제 1 어드레스 전송수단; 상기 제 1 어드레스 전송수단으로 부터 전송되는 상기 현재 어드레스 또는 스타트어드레스를 저장하고, 저장된 어드레스부터 소정 단위로 증가되는 어드레스를 상기 메모리의 현재 어드레스로 제공하기 위한 제 1 현재 어드레스 제공부; 상기 제 1 현재 어드레스 제공부에서 출력되는 어드레스와 상기 제 2 레지스터에서 출력되는 엔드어드레스가 동일할 때, 상기 어드레스 전송수단이 상기 스타트 어드레스를 상기 제 1 현재 어드레스 제공부로 전송하도록 상기 어드레스 전송수단의 전송동작을 제어하기 위한 전송제어수단을 포함하는 것을 특징으로 하는 메모리 액세스모드 제어장치.A memory access mode control apparatus provided in an interface block between a digital signal processor and a memory to provide various types of memory addresses, comprising: a first register for storing a start address for the memory provided from the digital signal processor; A second register for storing an end address for the memory provided from the digital signal processor; First address transfer means for selectively outputting the start address provided from the first register and a current address for the memory provided from the digital signal processor; A first current address providing unit for storing the current address or start address transmitted from the first address transmitting means, and providing an address incremented by a predetermined unit from the stored address as a current address of the memory; When the address output from the first current address providing unit and the end address output from the second register are the same, the address transmission unit transmits the address transfer unit to transmit the start address to the first current address providing unit. And a transmission control means for controlling the operation. 제 5 항에 있어서, 상기 어드레스 전송수단은 상기 디지탈 신호처리기로 부터 상기 현재 어드레스가 전송될 때 상기 현재 어드레스가 상기 제 1 현재 어드레스 제공부로 전송되도록 입력신호에 대한 선택동작을 하고, 상기 현재 어드레스가 상기 엔드어드레스와 동일할 때, 상기 스타트 어드레스가 상기 제 1 현재 어드레스 제공부로 전송되도록 입력신호에 대한 선택동작을 하는 멀티플렉서로 이루어지는 것을 특징으로 하는 메모리 액세스모드 제어장치.The method of claim 5, wherein the address transmitting means selects an input signal so that the current address is transmitted to the first current address providing unit when the current address is transmitted from the digital signal processor. And a multiplexer configured to select an input signal so that the start address is transmitted to the first current address providing unit when the end address is the same as that of the end address. 제 5 항 또는 제 6 항에 있어서, 상기 전송제어수단은 상기 엔드어드레스와 상기 현재 어드레스를 비교하여 동일한 값을 갖는 지를 검출하고, 검출된 결과를 상기 전송동작을 제어하기 위한 신호로 제공하는 비교기로 이루어지는 것을 특징으로 하는 메모리 액세스모드 제어장치.The comparator according to claim 5 or 6, wherein the transmission control means compares the end address with the current address and detects whether the transmission address has the same value, and provides the detected result as a signal for controlling the transmission operation. Memory access mode control device, characterized in that made. 제 5 항에 있어서, 상기 메모리 액세스모드 제어장치는, 상기 디지탈신호처리기로 부터 전송되는 현재 어드레스를 저장하고, 저장된 현재 어드레스부터 소정 단위로 증가시킨 어드레스를 상기 메모리의 현재 어드레스로 제공하기 위한 제 2 현재 어드레스 제공부; 및 상기 디지탈 신호처리기에서 제공되는 어드레스 액세스모드 제어신호에 의하여 상기 제 1 현재 어드레스 제공부로 부터 전송되는 어드레스와 상기 제 2 현재 어드레스 제공부로 부터 전송되는 어드레스를 상기 메모리로 선택적으로 전송하기 위한 제 2 어드레스 전송수단을 더 포함하는 것을 특징으로 하는 메모리 액세스모드 제어장치.The memory access mode control apparatus of claim 5, wherein the memory access mode controller is further configured to store a current address transmitted from the digital signal processor and to provide, as a current address of the memory, an address incremented by a predetermined unit from the stored current address. A current address provider; And a second address for selectively transmitting an address transmitted from the first current address provider and an address transmitted from the second current address provider to the memory by an address access mode control signal provided by the digital signal processor. Memory access mode control apparatus further comprising a transmission means. 제 8 항에 있어서, 상기 제 2 현재 어드레스 제공부는 메모리의 조건을 고려하여 상기 증가에 의하여 도달할 수 있는 최종 어드레스값이 설정되어 있는 것을 특징으로 하는 메모리 액세스모드 제어장치.10. The apparatus of claim 8, wherein the second current address providing unit sets a final address value that can be reached by the increase in consideration of a memory condition. 제 8 항 또는 제 9 항에 있어서, 상기 소정 단위의 어드레스 증가량과 상기 최종 어드레스값은 상기 디지탈 신호처리기에서 제공하는 것을 특징으로 하는 메모리 액세스모드 제어장치.10. The apparatus of claim 8 or 9, wherein the address increment amount and the final address value of the predetermined unit are provided by the digital signal processor. 제 9 항에 있어서, 상기 제 2 현재 어드레스 제공부는 상기 최종 어드레스값을 상기 메모리로 제공한 뒤, 상기 디지탈 신호처리기로 부터 제공된 현재 어드레스값으로 복귀하여 상기 소정단위로 증가시키면서 상기 메모리의 어드레스를 제공하는 루프 어드레스 액세스모드를 수행하도록 구성되는 것을 특징으로 하는 메모리 액세스모드 제어장치.10. The method of claim 9, wherein the second current address providing unit provides the address of the memory while providing the final address value to the memory and then returning the current address value provided from the digital signal processor to increase the predetermined address. And a loop address access mode. 디지탈 신호처리기와 메모리간의 인터페이스블럭에 구비되어 다양한 형태의 메모리 어드레스를 제공하기 위한 메모리 액세스모드 제어방법에 있어서, 현재 사용하고자 하는 메모리 액세스모드를 설정하는 단계; 상기 액세스모드 설정단계에서 설정된 메모리 액세스모드에 필요한 변수값들 설정하는 단계; 설정된 변수값에 의하여 상기 디지탈 신호처리기로 부터 제공되는 현재 어드레스값을 변형시켜 상기 메모리의 현재 어드레스를 제공하는 제 1 현재 어드레스제공단계를 포함하여 수행하는 것을 특징으로 하는 메모리 액세스모드 제어방법.A memory access mode control method provided in an interface block between a digital signal processor and a memory to provide various types of memory addresses, the method comprising: setting a memory access mode to be used at present; Setting variable values necessary for the memory access mode set in the access mode setting step; And a first current address providing step of modifying a current address value provided from the digital signal processor according to a set variable value to provide a current address of the memory. 제 12 항에 있어서, 상기 제 1 현재어드레스 제공단계는 상기 액세스모드 설정단계에서 설정된 상기 메모리 액세스모드가 스타트 어드레스와 엔드어드레스 범위내에서 소정 단위로 어드레스를 증가하여 제공하는 모드인 경우에, 상기 디지탈신호처리기에서 제공되는 스타트 어드레스를 저장하는 단계; 상기 디지탈신호처리기에서 제공되는 엔드어드레스를 저장하는 단계; 상기 디지탈 신호처리기에서 제공되는 현재어드레스를 저장하는 단계; 저장된 상기 현재 어드레스부터 소정 단위로 증가되는 어드레스를 상기 메모리의 현재 어드레스로 제공하는 제 2 현재 어드레스 제공단계; 상기 제 2 현재 어드레스 제공단계에서 제공되는 어드레스가 상기 엔드어드레스와 동일한 값을 가질 때, 상기 스타트 어드레스를 현재 어드레스로 저장하여 상기 메모리로 제공하는 단계; 상기 스타트 어드레스부터 상기 소정 단위로 증가하면서 상기 메모리의 현재 어드레스를 제공하는 제 3 현재 어드레스제공단계를 포함하여 수행하는 것을 특징으로 하는 메모리 액세스모드 제어방법.The digital display device of claim 12, wherein the providing of the first current address is performed when the memory access mode set in the access mode setting step is a mode in which addresses are provided in increments of a predetermined unit within a start address and an end address range. Storing a start address provided by the signal processor; Storing an end address provided by the digital signal processor; Storing a current address provided by the digital signal processor; A second current address providing step of providing an address incremented by a predetermined unit from the stored current address to a current address of the memory; When the address provided in the second current address providing step has the same value as the end address, storing the start address as a current address and providing the memory to the memory; And a third current address providing step of providing a current address of the memory while increasing from the start address in the predetermined unit. 제 12 항에 있어서, 상기 제 1 현재어드레스 제공단계는 상기 액세스모드 설정단계에서 설정된 상기 메모리 액세스모드가 상기 디지탈 신호처리기에서 제공된 현재어드레스를 소정 단위로 증가시켜 제공하는 모드인 경우에, 상기 디지탈 신호처리기로 부터 전송된 현재 어드레스부터 상기 변수설정단계에서 설정된 소정 단위로 증가되는 어드레스를 상기 메모리의 어드레스로 전송하는 단계; 상기 소정 단위로 증가된 어드레스가 상기 변수설정단계에서 상기 메모리의 조건을 고려하여 설정한 최종 어드레스에 도달하면, 상기 디지탈 신호처리기로 부터 제공된 상기 현재 어드레스로 복귀되어 상기 전송단계를 반복하는 단계를 포함하여 수행하는 것을 특징으로 하는 메모리 액세스모드 제어방법.The digital signal of claim 12, wherein the providing of the first current address is performed when the memory access mode set in the access mode setting step is a mode in which the current address provided by the digital signal processor is increased by a predetermined unit. Transmitting from the current address transmitted from the processor to the address of the memory, the address increasing in a predetermined unit set in the variable setting step; If the address increased by the predetermined unit reaches the final address set in consideration of the condition of the memory in the variable setting step, returning to the current address provided from the digital signal processor and repeating the transmission step. Memory access mode control method characterized in that performed by.
KR1019960040435A 1996-09-17 1996-09-17 Apparatus for controlling access mode of memory and method KR0174509B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960040435A KR0174509B1 (en) 1996-09-17 1996-09-17 Apparatus for controlling access mode of memory and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960040435A KR0174509B1 (en) 1996-09-17 1996-09-17 Apparatus for controlling access mode of memory and method

Publications (2)

Publication Number Publication Date
KR19980021556A KR19980021556A (en) 1998-06-25
KR0174509B1 true KR0174509B1 (en) 1999-04-01

Family

ID=19474102

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960040435A KR0174509B1 (en) 1996-09-17 1996-09-17 Apparatus for controlling access mode of memory and method

Country Status (1)

Country Link
KR (1) KR0174509B1 (en)

Also Published As

Publication number Publication date
KR19980021556A (en) 1998-06-25

Similar Documents

Publication Publication Date Title
EP0235199B1 (en) Communication protocol selection for data processing system
EP0458304B1 (en) Direct memory access transfer controller and use
KR880000858A (en) Multiprocessor Level Change Synchronizer
KR100638603B1 (en) Direct memory access unit and communication system, mobile radio and data processing unit with the dma unit
KR860000981B1 (en) Communication multiplexer variable priority scheme
KR0174509B1 (en) Apparatus for controlling access mode of memory and method
KR101125540B1 (en) A baseband processor and a method of transmitting commands to a radio-frequency subsystem and radio telecommunication apparatus incorporating the baseband processor
JPH09331370A (en) Data communication equipment
US6151667A (en) Telecommunication device, more particularly, mobile radio terminal
KR100366049B1 (en) Device for direct memory access using serial communication controller
KR100634276B1 (en) Mobile radio telephone set, control signal generator and digital transmission system
JPS6332298B2 (en)
JP2004213666A (en) Dma module and its operating method
KR100584583B1 (en) Apparatus and method controlling a serial bus
KR100197907B1 (en) Input/output interfacing system
NL193551C (en) Communication method between processors in a decentralized multi-node exchange system.
JP4181268B2 (en) Multi-channel memory controller
FI76462B (en) KOMMUNIKATIONSMULTIPLEXER MED ETT VARIABELT PRIORITETSSCHEMA.
KR200148661Y1 (en) High speed counter of plc
JP3062513B2 (en) Microprocessor
KR920004415B1 (en) A circuit and a method for transfering data
KR100238423B1 (en) Polling control method and apparatus for exchanging packet in priority order
RU1784103C (en) Device for exchange of information
KR100664334B1 (en) Data processing arrangement and memory system
JP2552025B2 (en) Data transfer method

Legal Events

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

Payment date: 20061030

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee