KR930007042B1 - Circuit for generating byte validity signal in memory access circuit - Google Patents
Circuit for generating byte validity signal in memory access circuit Download PDFInfo
- Publication number
- KR930007042B1 KR930007042B1 KR1019900021827A KR900021827A KR930007042B1 KR 930007042 B1 KR930007042 B1 KR 930007042B1 KR 1019900021827 A KR1019900021827 A KR 1019900021827A KR 900021827 A KR900021827 A KR 900021827A KR 930007042 B1 KR930007042 B1 KR 930007042B1
- Authority
- KR
- South Korea
- Prior art keywords
- byte
- input
- signal
- endian
- output
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/22—Microcontrol or microprogram arrangements
- G06F9/223—Execution means for microinstructions irrespective of the microinstruction function, e.g. decoding of microinstructions and nanoinstructions; timing of microinstructions; programmable logic arrays; delays and fan-out problems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/30003—Arrangements for executing specific machine instructions
- G06F9/30007—Arrangements for executing specific machine instructions to perform operations on data operands
- G06F9/30029—Logical and Boolean instructions, e.g. XOR, NOT
Abstract
Description
제1도는 본 발명의 회로도.1 is a circuit diagram of the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
1, 2, 3, 4, 9 : 2입력 1출력 멀티플렉서 5, 6, 7 ,8 : 4입력 1출력 멀티플렉서1, 2, 3, 4, 9: 2 input 1 output multiplexer 5, 6, 7, 8: 4 input 1 output multiplexer
EX1 : 배타적 OR게이트 EX2 : 배타적 NOR게이트EX1: Exclusive OR Gate EX2: Exclusive NOR Gate
본 발명은 32비트 마이크로 프로세서의 메모리 액세스 회로에 있어서, 바이트, 하프워드 및 워드의 크기와 위치를 지정하도록 한 메모리 액세스 회로에서 바이트 유효신호 발생회로에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a byte valid signal generation circuit in a memory access circuit for specifying the size and position of bytes, halfwords, and words in a memory access circuit of a 32-bit microprocessor.
일반적으로 마이크로 프로세서 시스템에서 데이타 버스의 크기를 32비트로 설정하고 8비트, 16비트, 32비트의 데이타를 각각 바이트, 하프워드 및 워드로 정의하고 있음은 이미 알려진 사실이다.In general, it is already known that in a microprocessor system, the size of a data bus is set to 32 bits and 8 bits, 16 bits, and 32 bits of data are defined as bytes, halfwords, and words, respectively.
그러나 종래에는 32비트의 마이크로 프로세서 시스템에서 레지스터내에 바이트, 하프워드 및 워드의 어드레스 값에 따라 크기를 설정하지 않고 필요한 경우에만 레지스터의 어드레스 값을 결정하여 바이트, 하프워드 및 워드의 데이타를 출력하도록 하였으므로, 버스의 설계가 복잡하여지고 버스를 이용하기 위한 제어신호도 복잡하여지는 등의 문제점이 있었다.In the conventional 32-bit microprocessor system, however, the address value of the register is determined only when necessary without setting the size according to the address values of bytes, halfwords, and words in the registers. In other words, the design of the bus is complicated and the control signals for using the bus are complicated.
이에 따라 본 발명은 32비트 마이크로 프로세서에 있어서, 바이트 데이타 유효신호를 기준으로 하여 유효크기와 유효위치를 정해주는 신호를 출력하도록 한 메모리 액세스 회로에서 바이트 유효신호 발생회로를 제공하는 것을 그 목적으로 한다.Accordingly, an object of the present invention is to provide a byte valid signal generation circuit in a memory access circuit in which a 32 bit microprocessor outputs a signal for determining an effective size and an effective position based on the byte data valid signal. .
이를 위하여 본 발명은 32비트 마이크로 프로세서에서 바이트 어드레스 지정신호를 입력으로 하고 빅엔디언/리틀 엔디언 바이트 선택신호의 상태에 따라 바이트, 하프워드, 워드의 크기와 위치를 지정하는 신호를 출력하도록 한 것이다.To this end, the present invention uses a 32-bit microprocessor as a byte addressing signal input and outputs a signal specifying the size and position of bytes, halfwords, and words according to the state of the big endian / little endian byte selection signal. will be.
본 발명을 첨부 도면에 의거 상세히 기술하여 보면 다음과 같다.The present invention will be described in detail with reference to the accompanying drawings as follows.
바이트 어드레스 지정신호(A0)는 직접 또는 인버터(I1)(I2)(I4)를 거쳐 NOR게이트(N1)(N2)(N3)(N4)의 일측과 타측으로 인가되도록 하고, 바이트 어드레스 지정신호(A1)는 직접 또는 인버터(I3)를 거쳐 NOR게이트(N1)(N2)(N3)(N4)의 타측과 일측으로 인가되도록 하는 동시에 배타적 OR게이트(EX1)와 배타적 NOR게이트(EX2)의 일측으로 인가되도록 하고, 상기 NOR게이트(N1)의 출력은 2입력 1출력 멀티플렉서(1), (4)의 일측입력단(A)과 타측입력단(B)에, NOR게이트(N2)의 출력은 2입력 1출력 멀티플렉서(2), (3)의 일측입력단(A)과 타측입력단(B)에, NOR게이트(N3)의 출력은 2입력 1출력 멀티플렉서(2), (3)의 타측입력단(B)과 일측입력단(A)에, NOR게이트(N4)의 출력은 2입력 1출력 멀티플렉서(1), (4)의 타측입력단(B)과 입력단(A)에 각각 입력되도록 하고, 빅엔디언/리틀 엔디언 버스구조 지정신호(Big endian Little endian Bar)(BLB)는 상기 2입력 1출력 멀티플렉서(1)∼(4)의 선택단자(S)로 인가되도록 하면서 상기 배타적 OR게이트(EX1)과 배타적 NOR게이트(EX2)의 타측에 인가되도록 하고, 낮은 전위(0)인 그라운드(GND)는 4입력 1출력 멀티플렉서(5),(6),(7),(8)의 입력단(D0)에, 높은전위(1)인 전원(Power)(PWR)인 입력단(D3)에 동시에 인가되도록 하고, 상기 2입력 1출력 멀티플렉서(1)∼(4)의 출력은 각각 인버트(I5),(I6),(I7),(I8)를 거쳐 4입력 1출력 멀티플렉서(5)∼(8)의 입력단(D1)에 각각 입력되도록 하고, 상기 배타적 NOR게이트(EX2)의 출력은 4입력 1출력 멀티플랙서(5),(6)의 입력단(D2)에 상기 배타적 OR게이트(EX2)의 출력은 4입력 1출력 멀티플렉서(5),(6)의 입력단(D2)에, 상기 배타적 OR게이트(EX1)의 출력은 4입력 1출력 멀티플렉서(7),(8)의 입력단(D2)에 각각 입력되도록 하고, 바이트 크기의 메모리 액세스 요구신호(WB)와 하프워드 이상의 메모리 액세스 요구신호(WH)가 두 선택단자(A),(B)에 각각 입력되는 상기 4입력 1출력 멀티플렉서(5)∼(8)의 출력은 2입력 1출력 멀티플렉서(P)의 입력단(A)에 인가되도록 하고, 픽셀 저장명령어의 바이트 어드레스 공급신호(RC,3…0>)와 클럭펄스(CLK)가 입력단(D)과 클럭단으로 각각 입력되는 플립플롭(10)의 출력단(Q)과 타측 입력단(B)이 연결된 상기 2입력 1출력 멀티플렉서(9)의 선택단자(S)에는 픽셀 명령어 어드레스 선택신호(Instraction Pixel Store)(IPST)가 인가되도록 하여 이의 출력단에서 인버터(I9)를 거쳐 4비트의 데이타 바이트 유효신호(Data Bute Enable)(DBE)가 출력되도록 한 것이다.The byte addressing signal A0 is applied to one side and the other side of the NOR gates N1 (N2) (N3) and N4 directly or via an inverter I1 (I2) I4, and the byte addressing signal ( A1 is applied to the other side and one side of the NOR gates N1, N2, N3, and N4 directly or via an inverter I3, and at the same time to the exclusive OR gate EX1 and one side of the exclusive NOR gate EX2. The output of the NOR gate N1 is supplied to one input terminal A and the other input terminal B of the two input one output multiplexer 1 and 4, and the output of the NOR gate N2 is two input one. The output of the NOR gate N3 is connected to one input terminal A and the other input terminal B of the output multiplexers 2 and 3 and the other input terminal B of the two input one output multiplexer 2 and 3, respectively. At one input terminal (A), the output of the NOR gate (N4) is input to the other input terminal (B) and input terminal (A) of the two input one output multiplexer (1), (4), respectively, big endian / little end Unbus structure designation signal (Big en A dian little endian bar (BLB) is applied to the other side of the exclusive OR gate EX1 and the exclusive NOR gate EX2 while being applied to the selection terminal S of the two input one output multiplexers 1 to 4. The ground potential GND, which is a low potential (0), is supplied to the input terminal D0 of the four-input one-output multiplexer (5), (6), (7), and (8). PWR is applied simultaneously to the input terminal D3, and the outputs of the two-input one-output multiplexers 1 to 4 pass through inverts I5, I6, I7, and I8, respectively. The inputs D1 of the four input one output multiplexers 5 to 8 are respectively inputted, and the output of the exclusive NOR gate EX2 is input to the four input one output multiplexers 5 and 6, respectively. The output of the exclusive OR gate EX2 to the input terminal D2 of the 4-input one-output multiplexer 5, 6 at D2), and the output of the exclusive OR gate EX1 is the 4-input one-output multiplexer 7 at D2). To the input terminal D2 of (8), The outputs of the four input one-output multiplexers 5 to 8, in which the memory access request signal WB and the half word or more memory access request signals WH are input to the two selection terminals A and B, respectively, are two. To the input terminal A of the input 1 output multiplexer P, and the byte address supply signals RC, 3... 0>) and the second input 1 output multiplexer 9 connected to the output terminal Q and the other input terminal B of the flip-flop 10 into which the clock pulse CLK is input to the input terminal D and the clock terminal, respectively. A pixel command address selection signal IPST is applied to the terminal S so that a 4-bit data byte enable signal DBE is output from the output terminal thereof through the inverter I9. will be.
이상과 같이 구성한 본 발명의 바이트 유효신호 발생회로는 빅엔디언 버스구조가 선택되었을 때 즉 빅엔디언/리틀엔디언 버스구조 지정신호(BLB)가 "1"가 입력되면서 바이트 요구이면 바이트 어드레스 지정신호(A1),(A0)가 00,01,10,11로 입력됨에 따라 데이타 바이트 유효신호(DBE0, DBE1, DBE2, DBE3)는 각각이 유효신호로 활성화되고, 리틀 엔디언 구조가 선택되면서 바이트 요구이면 바이트 어드레스 지정신호(A1),(A0)가 00,01,10,11로 입력됨에 따라 데이타 바이트 유효신호(DBE3, DBE2, DBE1, DBE0)는 각각 유효신호로 활성화된다.The byte valid signal generation circuit of the present invention constructed as described above specifies the byte address when the big endian bus structure is selected, that is, when the big endian / little endian bus structure designation signal BLB is inputted with "1". As the signals A1 and A0 are input as 00,01,10,11, the data byte valid signals DBE0, DBE1, DBE2, and DBE3 are activated as valid signals, respectively, and the little endian structure is selected. If the byte address designation signals A1 and A0 are inputted as 00,01,10,11, the data byte valid signals DBE3, DBE2, DBE1, and DBE0 are activated as valid signals, respectively.
그리고 빅엔디언 버스구조가 선택되고 하프워드 요구이면 바이트 어드레스 지정신호(A1)가 0,1로 입력됨에 따라 데이타 바이트 유효신호(DBE2, DBE3)가 각각 유효신호로 활성화되고, 리틀 엔디언 버스구조가 선택되고 하프워드 요구이면 바이트 어드레스 지정신호(A1)가 0,1로 입력됨에 따라 데이타 바이트 유효신호(DBE2, DBE3), (DBE0, DBE1)는 각각 유효신호로 활성화된다.If the big endian bus structure is selected and the halfword request is made, as the byte address designation signal A1 is inputted as 0 and 1, the data byte valid signals DBE2 and DBE3 are activated as valid signals, respectively. If is selected and the halfword request, the data byte valid signals DBE2, DBE3, and DBE0, DBE1 are respectively activated as valid signals as the byte address designation signal A1 is inputted as 0,1.
도한, 빅엔디언, 리틀엔디언 공히 워드 요구이면 데이타 유효신호(DBE3, DBE2, DBE1, DBE0)가 모두 활성화 되고, 메모리 사이클이 아닌 경우에는 데이타 바이트 유효신호(DBE3, DBE2, DBE1, DBE0)는 모두 0으로 비활성화 되는 것이다.In addition, if both the big endian and the little endian are word requests, all of the data valid signals DBE3, DBE2, DBE1, and DBE0 are activated. All are deactivated to zero.
메모리 사이클 요구가 아닌 경우에는 바이트 크기의 메모리 액세스 요구신호(WB)와 하프워드 이상의 메모리 액세스 요구신호(WH)가 00으로 입력되므로 4입력 1출력 멀티플렉서(5)∼(8)의 입력단(D0)이 선택되면서 그라운드(GND)가 2입력 1출력 멀티플렉서(9)의 일측입력단(A)으로 인가되고 픽셀 명령어 어드레스 선택신호(IPST)가 0으로 입력되면서 데이타 바이트 유효신호(DBE3, DBE2, DBE1, DBE0)가 모두 0으로 출력된다.If it is not a memory cycle request, the memory access request signal WB having a byte size and the memory access request signal WH equal to or greater than half word are inputted as 00, so that the input terminal D0 of the four input one output multiplexers 5 to 8 is input. With this selected, ground GND is applied to one input terminal A of the two-input one-output multiplexer 9, and the pixel command address selection signal IPST is inputted as zero, thereby enabling the data byte valid signals DBE3, DBE2, DBE1, and DBE0. ) Are all output as 0.
또한, 워드요구인 경우에는 상기의 바이트 크기의 메모리 액세스 요구신호(WB)와 하프워드 이상의 메모리 액세스 요구신호(WH)가 모두 1,1로 입력되므로 전원(PWR)이 선택되면서 데이타 바이트 요구신호(DBE3, DBE2, DBE1, DBE0)는 모두 1이 출력된다.In the case of a word request, since the above-mentioned memory access request signal WB having a byte size and a half word or more memory access request signal WH are input to 1, 1, the power byte PWR is selected and the data byte request signal ( DBE3, DBE2, DBE1, DBE0) are all 1's output.
그리고 바이트 액세스일 때 바이트 어드레스 지정신호(A1,A0)가 11로 입력되면 인버터(I1∼I4)를 거쳐 NOR게이트(N1∼N4)에서 0,0, 0,1로 출력되면서 2입력 1출력 멀티플렉서(1)(4)의 타측 입력단(B)과 일측 입력단(A)으로만 1로 입력되고, 빅엔디언 버스구조인 경우에는 빅엔디언/리틀엔디언 버스구조 지정신호(BLB)가 1로 입력되므로 4입력 1출력 멀티플렉서(5)의 입력단(D1)으로만 1이 입력되고, 바이트 액세스이므로 바이트크기의 메모리 액세스 요구신호(WB)만 1로 4입력 1출력 멀티플렉서(5)∼(6)의 선택단자(A)로 인가되어 2입력 1출력 멀티플렉서(9)의 일측입력단(A)으로 1,0, 0,0으로 입력되어 데이타 바이트 유효신호(DBE0, DBE1, DBE2, DBE3)가 1,0, 0,0으로 출력됨으로써 실제버스의 비트0에서 비트7에 해당하는 바이트만 선택하도록 한다.When the byte address designation signals A1 and A0 are input to 11 during byte access, they are output as 0,0, 0,1 from the NOR gates N1 to N4 via the inverters I1 to I4, and the two input one output multiplexer. (1) Only one is input to the other input terminal (B) and one input terminal (A) of (4), and in the case of a big-endian bus structure, the big-endian / little-endian bus structure designation signal (BLB) is set to 1 Since 1 is inputted only to the input terminal D1 of the 4-input 1-output multiplexer 5, and since the byte access, only the memory access request signal WB of byte size is 1, and the 4-input 1-output multiplexer 5 to 6 is inputted. Is applied to the input terminal A of the two-input one-output multiplexer 9 and input as 1,0, 0, 0 so that the data byte valid signals DBE0, DBE1, DBE2, and DBE3 are 1, By outputting 0, 0, 0, only the byte corresponding to bit 7 of bit 7 of the actual bus is selected.
한편 리틀 엔디언이면 빅엔디언/리틀엔디언 버스구조 지정 신호(BLB)가 0으로 입력되면서 상기 4입력 1출력 멀티플렉서(1)∼(4)의 일측입력단을 선택하여 4입력 1출력 멀티플렉서(5)∼(8)의 출력 0,0, 0,1이 2입력 1출력 멀티플렉서(9)의 경유한 후 데이타 바이트 유효신호(DBE3, DBE2, DBE1, DBE0)가 1,0, 0,0으로 출력됨으로써 실제버스의 비트 24에서 비트 31에 해당하는 바이트를 선택하도록 한다.On the other hand, if the little endian, the big endian / little endian bus structure designation signal (BLB) is inputted as 0, and one input terminal of the four input one output multiplexers 1 to 4 is selected and the four input one output multiplexer 5 Outputs 0,0, 0,1 of) to (8) output the data byte valid signals (DBE3, DBE2, DBE1, DBE0) as 1,0, 0, 0 after passing through the 2-input 1-output multiplexer (9). Thus, the byte corresponding to bit 31 from bit 24 of the actual bus is selected.
하프워드 액세스 경우에도 상기와 같은 방식으로 동작된다. 따라서 본 발명의 바이트 유효신호 발생회로에 의하여서는, 바이트 어드레스 지정신호(A0,A1)를 입력받으면서 빅엔디언/리틀 엔디언 버스구조 지정신호(BLB)에 의해 바이트 크기와 하프워드 크기에 따른 출력을 설정하고, 다시 그라운드(GND)와 파워(PWR)에 의해 메모리 사이클 요구가 아닌 경우, 바이트, 하프워드, 워드의 크기에 다른 출력과 유효위치를 데이타 바이트 유효신호(DBE)로서 출력하도록 함으로써 버스의 이용도가 향상되도록 한 것임을 알 수 있다.The halfword access is operated in the same manner as described above. Therefore, according to the byte valid signal generating circuit of the present invention, while receiving the byte address designation signals A0 and A1, the output according to the byte size and the halfword size by the big endian / little endian bus structure designation signal BLB. By setting the value and again, if it is not a memory cycle request by ground (GND) and power (PWR), it outputs an output and a valid position different from the byte, halfword, and word size as the data byte valid signal (DBE). It can be seen that the use of the improved.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019900021827A KR930007042B1 (en) | 1990-12-26 | 1990-12-26 | Circuit for generating byte validity signal in memory access circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019900021827A KR930007042B1 (en) | 1990-12-26 | 1990-12-26 | Circuit for generating byte validity signal in memory access circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
KR920013100A KR920013100A (en) | 1992-07-28 |
KR930007042B1 true KR930007042B1 (en) | 1993-07-26 |
Family
ID=19308496
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019900021827A KR930007042B1 (en) | 1990-12-26 | 1990-12-26 | Circuit for generating byte validity signal in memory access circuit |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR930007042B1 (en) |
-
1990
- 1990-12-26 KR KR1019900021827A patent/KR930007042B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR920013100A (en) | 1992-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5097442A (en) | Programmable depth first-in, first-out memory | |
JP2538067B2 (en) | Random access memory circuit having condition writing means | |
CA1193026A (en) | Variable cycle-time microcomputer | |
JPS6259822B2 (en) | ||
US20040266027A1 (en) | Method and system for fast data access using a memory array | |
KR940005202B1 (en) | Bit order inverting device | |
US4348720A (en) | Microcomputer arranged for direct memory access | |
US6742058B2 (en) | Memory controller having a multiplexer selecting either second set of input signals or converted signals from first set of input signals by a bus mode input | |
KR930007042B1 (en) | Circuit for generating byte validity signal in memory access circuit | |
US5301338A (en) | System including central processing unit | |
US5107462A (en) | Self timed register file having bit storage cells with emitter-coupled output selectors for common bits sharing a common pull-up resistor and a common current sink | |
KR0184633B1 (en) | Cpu core suitable for a single-chip microcomputer | |
KR100261154B1 (en) | Dma controller | |
JPS61214029A (en) | Command forestalling buffer | |
US5408436A (en) | Circuit structure having distributed registers with self-timed reading and writing operations | |
JP2544027B2 (en) | Low power consumption programmable logic array and information processing apparatus using the same | |
US4757504A (en) | Polyphase parity generator circuit | |
JP2604319Y2 (en) | Microcomputer | |
KR930002788B1 (en) | Bus adapter in 32-bit micro-processor | |
KR100269598B1 (en) | Semiconductor memory | |
RU2108619C1 (en) | Microcomputer | |
KR920003280B1 (en) | Trigger control logic | |
KR930002789B1 (en) | Code extending circuit in 32-bit micro processor | |
KR0163726B1 (en) | Multi-ram-break-condition set circuit using external memory | |
JPH0418634A (en) | Data processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
G160 | Decision to publish patent application | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 19980616 Year of fee payment: 6 |
|
LAPS | Lapse due to unpaid annual fee |