KR920003271B1 - Memory write protection circuit by microcomputer control - Google Patents

Memory write protection circuit by microcomputer control Download PDF

Info

Publication number
KR920003271B1
KR920003271B1 KR1019900003755A KR900003755A KR920003271B1 KR 920003271 B1 KR920003271 B1 KR 920003271B1 KR 1019900003755 A KR1019900003755 A KR 1019900003755A KR 900003755 A KR900003755 A KR 900003755A KR 920003271 B1 KR920003271 B1 KR 920003271B1
Authority
KR
South Korea
Prior art keywords
output
signal
input
terminal
address
Prior art date
Application number
KR1019900003755A
Other languages
Korean (ko)
Other versions
KR910017289A (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 KR1019900003755A priority Critical patent/KR920003271B1/en
Publication of KR910017289A publication Critical patent/KR910017289A/en
Application granted granted Critical
Publication of KR920003271B1 publication Critical patent/KR920003271B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/14Protection against unauthorised use of memory or access to memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)
  • Static Random-Access Memory (AREA)

Abstract

The circuit includes a mode adjusting section (10) for latching input function signals to output first write enable signals. A multiplexer (20) selects one of first and second address groups, and outputs it through its output terminals (Y10-Y23), while a memory circuit section (30) stores input/output write signals and input/output read signals, and outputs second write enable signals. A memory write control section (40) receives memory write signals from a microprocessor, and outputs first and second memory write enable signals. The circuit makes it possible to control writing and write prevention by the help of a microprocessor, and simplifies the operation of the user.

Description

마이컴의 제어에 의한 메모리 라이트 방지회로Memory write prevention circuit by microcomputer control

제1도는 종래의 회로도.1 is a conventional circuit diagram.

제2도는 본 발명에 따른 회로도.2 is a circuit diagram according to the present invention.

제3도는 제2도의 각 부분의 동작파형도.3 is an operating waveform diagram of each part of FIG.

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

10 : 모드조정부 12 : D플립플롭10: Mode control unit 12: D flip flop

20 : 멀티플렉서 30 : 기억회로부20: multiplexer 30: memory circuit

40 : 메모리 라이트 제어부 42 : 1비트 SRAM40: memory write control unit 42: 1 bit SRAM

G1, G2, G3, G5 : 오아게이트 G4 : 3상태버퍼G1, G2, G3, G5: Oagate G4: 3 status buffer

G6 : 노아게이트 G7 : 낸드게이트G6: Noah Gate G7: Nand Gate

G8 : 앤드게이트G8: Andgate

본 발명은 메모리(Memory) 라이트(Write)방지 회로에 관한 것으로,특히 시스템(System)에서 메모리로서 사용되는 SRAM(Static Random Access Memory)의 라이트 방지를 마이컴(Micro-Computer)에 의해 제어하는 메모리 라이트 방지회로에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory write protection circuit, and more particularly, a memory write for controlling write protection of a static random access memory (SRAM) used as a memory in a system by a micro-computer. It relates to a prevention circuit.

현재 컴퓨터 시스템에서 메모리의 하나로서 널리 사용되고 있는 SRAM은 시스템에서의 각종 데이타를 일시 또는 동작중에 영구히 보존하게 된다. 또한 상기 SRAM에 저장되는 중요한 일부 데이타는 특수한 경우를 제외하고는 바뀌면 안되는 중요한 데이타가 포함되게 된다.SRAM, which is widely used as one of the memory in computer systems, keeps various data in the system permanently or temporarily during operation. In addition, some important data stored in the SRAM includes important data that should not be changed except in special cases.

상기와 같은 중요한 데이타가 외부적인 원인에 의해 변경되는 것을 방지하기 위하여 종래에는 스위치등을 이용하게 사용자가 직접 메모리 라이트 방지를 하였다.In order to prevent such important data from being changed due to an external cause, the user directly prevents memory write using a switch or the like.

제1도는 종래의 메모리 라이트방지 회로도로서, 소정의 데이타를 저장하는 SRAM(1)과, 사용자가 조작에 따라 "온"또는 "오프"되는 스위치(2)와, 저항(R1)과, 도시하지 않은 마이큼으로부터 입력되는 라이트신호(

Figure kpo00001
)와 상기 스위치(2)의 "온" 또는 "오프"에 따른 신호를 입력하여 논리합함으로써 상기 SRAM(1)을 라이트 인에이블(Enable) 또는 디제이블(Disable)시키는 오아(OR)게이트(3)로 구성되어 있다.1 is a conventional memory write prevention circuit diagram, which includes an SRAM 1 for storing predetermined data, a switch 2 turned on or off in response to an operation by a user, a resistor R1, and not shown. Light signal input from
Figure kpo00001
) And OR gate 3 for enabling or disabling the SRAM 1 by inputting and ORing the signals according to the ON or OFF of the switch 2. Consists of

상기 제1도의 구성중 사용자가 스위치(2)를 "온"시키면 "로우"레벨이 오아게이트(3)의 일 입력단에 입력된다. 그러므로 마이컴으로부터 상기 오아게이트(3)의 타입력단에 입력되는 라이트신호(

Figure kpo00002
)가 SRAM(1)의 라이트 인에이블단(
Figure kpo00003
)에 라이트 인에이블 신호로써 입력된다. 따라서 상기 SRAM(1)이 라이트 인에이블되어 소정의 데이타를 라이트할 수 있게 된다.In the configuration of FIG. 1, when the user turns on the switch 2, the low level is input to one input terminal of the oragate 3. Therefore, the write signal input from the microcomputer to the type force terminal of the oragate 3 (
Figure kpo00002
) Is the write enable end of the SRAM 1
Figure kpo00003
) Is input as a write enable signal. Thus, the SRAM 1 is write enabled to write predetermined data.

한편 사용자가 상기 스위치(2)를 "오프"시키면 "하이"레벨이 오아게이트(3)의 일 입력단에 입력된다. 그러므로 상기 마이컴으로부터 상기 오아게이트(3)의 타입력단에 입력되는 라이트신호(

Figure kpo00004
)에 관계없이 SRAM(1)의 라이트 인에이블단(
Figure kpo00005
)에는 "하이"레벨이 입력된다.On the other hand, when the user turns off the switch 2, the “high level” is input to one input terminal of the oragate 3. Therefore, the write signal inputted from the micom to the type force terminal of the oragate 3 (
Figure kpo00004
Write enable stage of the SRAM 1
Figure kpo00005
"High level is input.

따라서 상기 SRAM(1)이 디제이블되어 라이트되는 것을 방지할 수 있게 된다. 상기한 종래의 메모리 라이트 방지회로는 사용자가 직접 스위치를 조작해야 하는 문제점이 있었다 또한 실수할 가능성이 많으며 메모리 사용상의 효율이 저하되는 문제점이 있었다.Therefore, the SRAM 1 can be prevented from being written off. The conventional memory write preventing circuit has a problem in that the user directly operates the switch. There is also a possibility of making a mistake and deteriorating the efficiency of using the memory.

따라서 본 발명의 목적은 메모리로서 SRAM을 사용하는 컴퓨터 시스템에 있어서, SRAM에 라이트를 마이컴에 의해 제어하는 메모리 라이트 방지회로를 제공함에 있다.Accordingly, an object of the present invention is to provide a memory write preventing circuit for controlling a light by a microcomputer in a SRAM in a computer system using the SRAM as a memory.

이하 본 발명을 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제2도는 본 발명에 따른 메모리 라이트 방지회로도로서, 파워 온 리세트(Power On Reset) 또는 수동리세트에 의한 리세트 신호와 마이컴(도시하지 않았음)으로부터 입력되는 제1액세스(Acess)신호(10) 및 입출력 라이트신호(

Figure kpo00006
)를 입력하여 래치(Latch)함으로써 제1라이트 인에이블신호(
Figure kpo00007
)를 출력하는 모드조정부(10)와, 상기 마이컴으로부터 제1어드레스(A0-A6)를 입력단(Ia10-Ia12, Ia20-Ia23)에 입력하고 제2어드레스(Bo-B6)를 입력단(Ib10-Ib12, Ib20-Ib23)에 입력하여 선택단(S)으로 입력되는 제2액세스신호(
Figure kpo00008
)에 의해 상기 제1어드레스(A0-A6) 또는 제2어드레스(Bo-B6)를 선택하여 출력단(Y10-Y23)으로 출력하는 멀티플렉서(20)와, 상기 멀티플렉서(20)의 출력단(Y10-Y23)과 상기 마이컴에 접속되어 상기 제1 또는 제2어드레스(A0-A6 또는 B0-B6)를 입력하여 제1어드레스(A0-A6)가 입력될 때 상기 마이콤으로부터 입력되는 입출력 라이트신호(
Figure kpo00009
)와 입출력 리드신호(
Figure kpo00010
)와, 제2액세스신호(
Figure kpo00011
)에 의해 제1어드레스(A0-A6)의 번지에 상기 데이타버스(Do)를 통하여 마이컴으로부터 입력되는 데이타를 기억하며 기억된 데이타를 상기 마이컴에 출력하며 제2어드레스(B0-B6)가 입력될때 상기 제2어드레스(B0-B6)에 해당하는 번지에 기억된 데이타를 제2라이트 인에이블신호(
Figure kpo00012
)로써 출력하는 기억회로부(30)와, 상기 모드조정부(10)의 출력단과 상기 기억회로부(30)의 출력단에 접속되어 제1, 제2라이트 인에이블신호(
Figure kpo00013
,
Figure kpo00014
)를 입력하며 상기 마이컴으로부터 메모리 라이트신호(
Figure kpo00015
)를 입력하여 상기 제1, 제2라이트 인에이블신호(
Figure kpo00016
,
Figure kpo00017
)와 메모리 라이트신호(MWTC)에 의해 소정의 메모리(SRAM)에 메모리 라이트인에이블신호(
Figure kpo00018
)를 출력하는 메모리 라이트제어부(40)로 구성된다.2 is a memory write prevention circuit diagram according to the present invention, and a reset signal by a power on reset or manual reset and a first access signal 10 input from a microcomputer (not shown). ) And I / O light signal (
Figure kpo00006
) To latch the first write enable signal (Latch).
Figure kpo00007
) And a first mode (A0-A6) to the input terminal (Ia10-Ia12, Ia20-Ia23) and the second address (Bo-B6) to the input terminal (Ib10-Ib12). , The second access signal (Ib20-Ib23) input to the selection terminal S
Figure kpo00008
A multiplexer 20 for selecting the first address A0-A6 or the second address Bo-B6 and outputting the output to the output terminals Y10-Y23, and the output terminals Y10-Y23 of the multiplexer 20. ) And an input / output light signal input from the micom when the first address A0-A6 is input by inputting the first or second address A0-A6 or B0-B6.
Figure kpo00009
) And I / O lead signals
Figure kpo00010
) And the second access signal (
Figure kpo00011
Stores the data input from the microcomputer through the data bus Do at the address of the first address A0-A6, outputs the stored data to the microcomputer, and inputs the second address B0-B6. Data stored at the address corresponding to the second address B0-B6 is converted into a second write enable signal (
Figure kpo00012
Is connected to the memory circuit unit 30 for outputting as a signal, an output terminal of the mode adjusting unit 10 and an output terminal of the memory circuit unit 30, and the first and second write enable signals (
Figure kpo00013
,
Figure kpo00014
) And the memory write signal (
Figure kpo00015
) And the first and second light enable signals (
Figure kpo00016
,
Figure kpo00017
) And the memory write enable signal (SRAM) to the predetermined memory (SRAM) by the memory write signal (MWTC).
Figure kpo00018
) Is a memory write control unit 40 for outputting.

상기 제2도의 구성중 모드조정부(10)는 상기 마이컴으로부터 입력되는 제1액세스신호(

Figure kpo00019
)와 입출력라이트신호(
Figure kpo00020
)를 입력하여 논리합하여 출력하는 오아게이트(G1)와, 세트단(S)과 데이타 입력단(D)이 전원전압(Vcc)에 접속되고 클럭단(CLK)이 상기 오아게이트(G1)의 출력단에 접속되어 파워 온리세트 또는 수동 리세트에 의한 리세트신호를 리세트단(R)에 입력하여 리세트 되거나 상기 오아게이트(G1)의 출력에 의해 세트되어 제1라이트 인에이블신호(
Figure kpo00021
)를 출력단(Q)으로 출력하는 D플립플롭(12)으로 구성된다.In the configuration of FIG. 2, the mode adjusting unit 10 may include a first access signal input from the microcomputer.
Figure kpo00019
) And I / O light signal (
Figure kpo00020
), The OR gate G1 outputting the logical sum and outputting, the set terminal S and the data input terminal D are connected to the power supply voltage Vcc, and the clock terminal CLK is connected to the output terminal of the OR gate G1. Connected and reset by inputting the reset signal by power on reset or manual reset to the reset stage R, or set by the output of the OR gate G1 to enable the first write enable signal (
Figure kpo00021
) Is configured as a D flip-flop 12 for outputting to the output terminal Q.

기억회로부(30)는 상기 마이컴으로부터 입력되는 입출력 리드신호(

Figure kpo00022
)와 입출력 라이트신호(
Figure kpo00023
)를 입력하여 논리합하여 버퍼 인에이블 신호(
Figure kpo00024
)를 출력하는 오아게이트(G2)와, 상기 마이컴으로부터 입력되는 입출력 라이트신호(
Figure kpo00025
)와 제2액세스신호(
Figure kpo00026
)를 입력하여 논리합하여 출력하는 오아게이트(G3)와, 상기 멀티플렉서(20)의 출력단(Y10-Y23)에 입력단(Ai0-Ai6)이 접속되고 라이트인에이블단(
Figure kpo00027
)이 상기 오아게이트(G3)의 출력단에 접속되어 상기 멀티플렉서(20)로부터 제1어드레스(A0-A6)가 입력될때 라이트 인에이블단(
Figure kpo00028
)에 입력되는 오아게이트(G3)에 출력에 의해 라이트 인에이블되어 상기 제1어드레스(A0-A6)에 해당하는 번지에 상기 마이컴으로부터 데이타버스(Do)를 통하여 입력단(Din)으로 입력되는 데이타를 기억하며, 제2어드레스(B0-B6)가 입력될때 제2어드레스(B0-B6)해당하는 번지에 기억된 데이타를 제2라이트 인에이블신호(
Figure kpo00029
)로써 출력단(Dout)으로 출력하는 1비트 SRAM(42)과, 상기 1비트 SRAM(42)의 입력단(Din)과 출력단(Dout)사이에 접속되어 상기 버퍼 인에이블신호(
Figure kpo00030
)에 의해 인에이블되어 상기 1비트 SRAM(42)의 출력단(Dout)에서 출력되는 제2라이트 인에이블신호(
Figure kpo00031
)를 출력하는 3상태 버퍼(G4)로 구성된다.The memory circuit unit 30 is provided with an input / output read signal input from the microcomputer (
Figure kpo00022
) And I / O light signal (
Figure kpo00023
) And OR to perform a buffer enable signal (
Figure kpo00024
OA gate (G2) for outputting, and the input and output light signal (inputted from the microcomputer)
Figure kpo00025
) And the second access signal (
Figure kpo00026
) Is connected to the OR gate G3 for outputting the logical sum and output, and the input terminals Ai0-Ai6 are connected to the output terminals Y10-Y23 of the multiplexer 20, and the write enable stage (
Figure kpo00027
) Is connected to the output terminal of the oragate G3 and the write enable terminal (A0-A6) is input from the multiplexer 20.
Figure kpo00028
The data input to the input terminal (Din) through the data bus (Do) from the microcomputer at the address corresponding to the first address (A0-A6) by the output to the O gate (G3) input to When the second address B0-B6 is inputted, the data stored at the address corresponding to the second address B0-B6 is stored in the second write enable signal (
Figure kpo00029
Is connected between the 1-bit SRAM 42 outputting to the output terminal Dout and the input terminal Din and the output terminal Dout of the 1-bit SRAM 42, respectively.
Figure kpo00030
Is enabled by the second write enable signal output from the output terminal Dout of the 1-bit SRAM 42
Figure kpo00031
) Is composed of a tri-state buffer G4.

메모리 라이트 제어부(40)는 일 입력단이 상기 D플립프롭(12)의 출력단(Q)에 접속되어 상기 D플립플롭(12)의 출력단(Q)에서 출력되는 제1라이트 인에이블신호(

Figure kpo00032
)를 일 입력단에 입력하고 상기 마이컴에서 출력되는 메모리 라이트신호(
Figure kpo00033
)를 타입력단에 입력하여 논리합하여 출력하는 오아게이트(G5)와, 일 입력단이 상기 1비트 SRAM(42)의 출력단(Dout)에 접속되어 상기 1비트 SRAM(42)의 출력단(Dout)에서 출력되는 제2라이트 인에이블신호(WREN)를 일 입력단에 입력하고 상기 메모리 라이트신호(
Figure kpo00034
)를 타 입력단에 입력하여 부논리합하여 출력하는 노아게이트(G6)와, 두 입력단이 상기 D플립플롭(12)의 출력단(Q)과 상기 노아게이트(G6)의 출력단에 각각 접속되어 상기 D플립플롭(12)에서 출력되는 제1라이트 인에이블신호(
Figure kpo00035
)와 상기 노아게이트(G6)의 출력을 부논리곱하여 출력하는 낸드게이트(G7)와, 두 입력단이 상기 오아게이트(G5)의 출력단과 상기 낸드게이트(G7)의 출력단에 각각 접속되어 상기 오아게이트(G5)의 출력과 상기 낸드게이트(G7)의 출력을 논리곱하여 메모리 라이트 인에이블신호(
Figure kpo00036
)를 출력하는 앤드게이트(G8)로 구성된다.The memory write control unit 40 may include a first write enable signal having one input terminal connected to an output terminal Q of the D flip-flop 12 and output from an output terminal Q of the D flip-flop 12.
Figure kpo00032
) Is input to one input terminal and the memory write signal (outputted from the microcomputer)
Figure kpo00033
) Is inputted to the type force stage, and outputs from the output terminal Dout of the 1-bit SRAM 42 by being connected to an output gate D5 of the 1-bit SRAM 42 and an oar gate G5 for outputting a logical sum. The second write enable signal WREN is input to one input terminal and the memory write signal
Figure kpo00034
) Is inputted to the other input terminal and outputs a negative logic sum to output the negative gate (G6), and the two input terminals are connected to the output terminal (Q) of the D flip-flop 12 and the output terminal of the noah gate (G6), respectively. The first light enable signal output from the flop 12 (
Figure kpo00035
) And a NAND gate G7 that outputs the output of the noah gate G6 by a negative logic, and two input terminals are connected to an output terminal of the ora gate G5 and an output terminal of the NAND gate G7, respectively. The output of the G5 and the output of the NAND gate G7 are multiplied by the memory write enable signal (
Figure kpo00036
) And an end gate G8 for outputting the "

제3도는 제2도의 각 부분의 동작 타이밍도로서, (A)는 제2도의 1비트 SRAM(42)의 데이타를 입력시키거나 기억된 데이타를 출력시킬 때의 타이밍도이다. (B)는 소정의 메모리(SRAM)를 액세스할때의 타이밍도이다. 이하 본 발명에 따른 제2도의 동작예를 제3도의 동작타이밍도를 참조하여 상세히 설명한다.FIG. 3 is an operation timing chart of each part of FIG. 2, and (A) is a timing chart when inputting data of the 1-bit SRAM 42 of FIG. 2 or outputting stored data. (B) is a timing chart when accessing a predetermined memory (SRAM). Hereinafter, an operation example of FIG. 2 according to the present invention will be described in detail with reference to the operation timing diagram of FIG. 3.

지금 전원이 "온"되어 파워 온 리세트가 되거나 사용자의 조작에 의하여 리세트가되면, 리세트신호(RESET)"로우"가 제2도의 D플립플롭(12)의 리세트단(R)에 입력되어 상기 D플립플롭(12)이 리세트된다. 그러므로 상기 D플립프롭(12)의 출력단(Q)에서 "로우"의 제1라이트 인에이블신호(

Figure kpo00037
)가 출력된다.If the power is turned on now and the power is reset or reset by the user's operation, the reset signal RESET blows to the reset end R of the D flip-flop 12 in FIG. The D flip-flop 12 is reset as it is input. Therefore, at the output Q of the D flip-flop 12, the first write enable signal of the low (
Figure kpo00037
) Is output.

상기 제1라이트 인에이블신호(

Figure kpo00038
)"로우"는 오아게이트(G5)와 낸드게이트(G7)에 입력된다. 그러므로 낸드게이트(G7)의 출력은 노아게이트(G6)의 출력에 관계없이 "하이"가 되어 앤드게이트(G8)에 입력된다.The first light enable signal (
Figure kpo00038
The? Lower? Is input to the oragate G5 and the NAND gate G7. Therefore, the output of the NAND gate G7 becomes “high” and is input to the AND gate G8 regardless of the output of the noar gate G6.

이때 상기 앤드게이트(G8) 출력인 메모리 라이트 인에이블 신호(

Figure kpo00039
)는 상기 오아게이트(G5)의 출력에 종속적으로 되고, 상기 오아게이트(G5)의 출력은 도시하지 않은 마이컴으로부터 입력되는 메모리 라이트신호(
Figure kpo00040
)의 상태에 따라 결정된다.At this time, the memory write enable signal (the output of the AND gate G8)
Figure kpo00039
) Is dependent on the output of the oragate G5, the output of the oragate G5 is a memory write signal (inputted from a microcomputer not shown)
Figure kpo00040
) Is determined by the state.

그러므로 상기 메모리 라이트신호(

Figure kpo00041
)와 상기 메모리 라이트 인에이블신호(
Figure kpo00042
)의 상태는 동일하게 된다. 즉, 마이컴으로부터 출력되는 메모리 라이트신호(
Figure kpo00043
)가 메모리 라이트 인에이블신호(
Figure kpo00044
)로써 도시하지 않은 메모리(SRAM)를 라이트인에이블시킨다. 따라서, 이때는 상기 메모리(SRAM)가 라이트 인에이블 상태가 됨으로써 라이트 비방지 모드가 된다.Therefore, the memory write signal (
Figure kpo00041
) And the memory write enable signal (
Figure kpo00042
) Will be the same. That is, the memory write signal (outputted from the microcomputer)
Figure kpo00043
) Is the memory write enable signal (
Figure kpo00044
Write enable memory (SRAM) (not shown). Therefore, in this case, the memory SRAM is in the write enable state, thereby entering the write non-proof mode.

한편 상기 메모리(SRAM)가 라이트 디제이블 상태가 됨으로써 라이트방지 모드가 되려면, 상기 마이컴으로부터 제1액세스신호(IO)와 입출력 라이트신호(

Figure kpo00045
)가 "로우"로 오아게이트(G1)에 입력되고, 상기 오아게이트(G1)의 출력은 "로우"가 되어 D플립플롭(12)의 클럭단(CLK)에 입력된다. 이때 상기 D플립플롭(12)의 데이타 입력단(D)에 전원전압(Vcc)가 인가되므로 상기 D플립플롭(12)의 출력단(Q)에서 "하이"의 제1라이트 인에이블신호(
Figure kpo00046
)가 출력된다.On the other hand, if the memory SRAM is to be in the write disable state to enter the write prevention mode, the first access signal IO and the input / output write signal from the microcomputer (
Figure kpo00045
) Is input to the oar gate G1 as a low, and the output of the oragate G1 is a low and is input to the clock terminal CLK of the D flip-flop 12. In this case, since a power supply voltage Vcc is applied to the data input terminal D of the D flip-flop 12, the first write enable signal of the high level is output from the output terminal Q of the D flip-flop 12.
Figure kpo00046
) Is output.

따라서 이때는 제2라이트 인에이블신호(

Figure kpo00047
)에 따라 라이트 방지 또는 비방지 상태가 바뀐다.Therefore, at this time, the second light enable signal (
Figure kpo00047
), The light-proof or non-proof state changes.

그리고 상기, "하이"의 제1라이트 인에이블신호(

Figure kpo00048
)가 오아게이트(G5)와 낸드게이트(G7)에 입력된다. 그러므로 상기 메모리(SRAM)를 라이트 인에이블 시키기 위해 앤드게이트(G8)의 출력인 메모리 라이트 인에이블신호(
Figure kpo00049
)가 "로우"가 되려면 낸드게이트(G7)의 출력이 "로우"가 되어야 한다. 그리고 상기 낸드게이트(G7)의 출력이 "로우"가 되려면, 상기 낸드게이트(G8)의 두 입력이 모두 "하이"가 되어야 하므로 노아게이트(G6)의 출력도 "하이"가 되어야 한다.The first write enable signal of “high”
Figure kpo00048
) Are input to the oragate G5 and the NAND gate G7. Therefore, in order to write enable the memory SRAM, the memory write enable signal (the output of the AND gate G8)
Figure kpo00049
), The output of NAND gate (G7) must be low. In order for the output of the NAND gate G7 to be low, both inputs of the NAND gate G8 should be “high”, so the output of the NOR gate G6 should also be “high”.

또한 상기 노아게이트(G6)의 출력이 "하이"가 되려면 상기 노아게이트(G6)의 두입력이 "로우"가 되어야 한다.In addition, in order for the output of the noble gate G6 to become high, both inputs of the noble gate G6 should be low.

따라서 상기 노아게이트(G6)에 입력되는 메모리 라이트신호(MWTC)와 제2라이트 인에이블신호(WREN)가 "로우"가 될때 앤드게이트(G8)의 출력인 메모리 라이트 인에이블신호(MWR)가 "로우"가 되어 상기 메모리(SRAM)를 라이트 인에이블 시킬 수 있게 된다. 그러므로 1비트 SRAM(42)의 출력단(Dout)에서 출력되는 제2라이트 인에이블 신호(

Figure kpo00050
)가 "하이"일 경우에는 메모리 라이트신호(
Figure kpo00051
)와 무관하게 상기 메모리(SRAM)에 라이트를 할 수 없게 됨으로써 라이트 방지상태가 된다.Therefore, when the memory write signal MWTC and the second write enable signal WREN input to the NOA gate G6 become low, the memory write enable signal MWR, which is the output of the AND gate G8, is turned off. The low value enables the memory (SRAM) to be write enabled. Therefore, the second write enable signal output from the output terminal Dout of the 1-bit SRAM 42 (
Figure kpo00050
) Is high, the memory write signal (
Figure kpo00051
Irrespective of), writes to the memory (SRAM) cannot be performed, which results in a write protection state.

한편 상기와 같이 라이트방지 모드가 된 상태에서 마이컴으로부터 메모리(SRAM)를 액세스하고자 제2액세스신호(

Figure kpo00052
)를 제3도(B)의 (a)와 같이 "하이"로써 출력하면, 멀티플렉서(20)는 상기 제2액세스신호(
Figure kpo00053
)를 선택단(S)에 입력하여 상기 마이컴으로부터 입력단(Ia10-Ia23, Ib10-Ib23)으로 입력되는 제1, 제2 어드레스(A0-A6, B0-B6)중 제2어드레스(B0-B6)를 선택하여 출력단(Y10-Y23)으로 출력한다.Meanwhile, in order to access the memory SRAM from the microcomputer in the write protection mode as described above, the second access signal (
Figure kpo00052
) Is output as “high” as shown in (a) of FIG. 3B, the multiplexer 20 generates the second access signal (
Figure kpo00053
) Is input to the selection terminal S, and a second address B0-B6 of the first and second addresses A0-A6 and B0-B6 input from the microcomputer to the input terminals Ia10-Ia23 and Ib10-Ib23. Select and output to the output terminal (Y10-Y23).

이때 상기 마이컴으로부터 출력되는 입출력 라이트신호(IOWC)와 입출력 리드신호(

Figure kpo00054
)는 제3도(B)의 (C)와 같이 "하이"가 된다. 그리고 오아게이트(G3)는 "하이"의 입출력 라이트신호(
Figure kpo00055
)와 제2액세스 신호(
Figure kpo00056
)를 입력하여 제2도(B)의 (d)와 같은 "하이"상태를 상기 1비트 SRAM(42)의 라이트 인에이블단(
Figure kpo00057
)으로 출력한다. 그러므로 상기 1비트 SRAM(42)는 라이트 디제이블 된다.In this case, the input / output write signal IOWC and the input / output read signal (outputted from the microcomputer)
Figure kpo00054
) Becomes “high” as shown in (C) of FIG. OA gate G3 is a high-output I / O signal (
Figure kpo00055
) And the second access signal (
Figure kpo00056
) Is inputted to the write enable stage of the 1-bit SRAM 42 as shown in (d) of FIG.
Figure kpo00057
) Therefore, the 1-bit SRAM 42 is write disabled.

또한 상기 1비트 SRAM(42)는 입력단(Ai0-Ai6)으로 상기 멀티플렉서(20)에서 출력되는 제3도(B)의 (b)와 같은 제2어드레스(B0-B6)를 입력하여, 상기 제2어드레스(B0-B6)에 해당하는 번지에 저장된 제3도(B)의 (e)와 같은 데이타(Dc)를 제2라이트 인에이블신호(

Figure kpo00058
)로써 출력단(Dout)으로 출력한다.In addition, the 1-bit SRAM 42 inputs a second address B0-B6 as shown in (b) of FIG. 3 (B) output from the multiplexer 20 to an input terminal Ai0-Ai6, whereby The data Dc as shown in (e) of FIG. 3B stored at the address corresponding to the two addresses B0-B6 is converted into the second write enable signal (
Figure kpo00058
Output to Dout.

또한 현재 라이트 방지모드이므로 상기 데이타(Dc)가 "로우"이면 메모리 라이트신호(

Figure kpo00059
)가 "로우"일때 앤드게이트(G8)의 출력인 메모리 라이트 인에이블신호(
Figure kpo00060
)는 "로우"가 되어 소정의 메모리(SRAM)라이트 인에이블 시킨다. 그러므로 마이컴에서 메모리 라이트신호(
Figure kpo00061
)를 "로우"로 하면 상기 메모리(SRAM)에 소정의 데이타를 저장하거나 변경시킬 수 있게 된다.In addition, since the current data is in the write protection mode, when the data Dc is low, the memory write signal (
Figure kpo00059
When is low, the memory write enable signal () output of the AND gate G8 is
Figure kpo00060
) Becomes a low-low to enable a predetermined memory (SRAM) write. Therefore, the memory write signal (
Figure kpo00061
), The predetermined data can be stored or changed in the memory (SRAM).

그리고 상기 데이타(Dc)가 "하이"이면 메모리 라이트신호(

Figure kpo00062
)에 관계없이 앤드게이트(G8)의 출력인 메모리 라이트 인에이블신호(
Figure kpo00063
)는 "하이"가 되어 상기 메모리(SRAM)를 라이트 디제이블시킨다.When the data Dc is high, the memory write signal
Figure kpo00062
The memory write enable signal (output of the AND gate G8) regardless of
Figure kpo00063
) Becomes " high " to write disable the memory (SRAM).

한편 라이트 방지모드 상태에서 1비트 SRAM(42)의 소정 번지에 기억된 데이타를 수정시키고자 상기 마이컴에서 제2액세스신호(

Figure kpo00064
)를 제3도(A)의 (a)와 같이 T1점에서 "로우"로 출력하고 제3도(A)의 (g)와 같은 기억시킬 데이타(DA)를 출력하면, 멀티플렉서(20)는 상기 제2액세스신호(
Figure kpo00065
)를 선택단(S)에 입력하여 상기 마이컴으로부터 입력단(Ia10-Ia23, Ib10-Ib23)에 입력되는 제1, 제2어드레스(A0-A6, B0-B6)중 제1어드레스(A0-A6)를 선택하여 출력단(Y10-Y23)으로 출력한다. 이때 상기 마이컴으로부터 출력되는 입출력 라이트신호(
Figure kpo00066
)는 제3도(A)의 (c)와 같이 T1점에서 "로우"가 되고, 입출력 리드신호(
Figure kpo00067
)는 제3도(A)의 (d)와 같이 T1점에서 "하이"가 된다.On the other hand, in the write protection mode, in order to correct the data stored at the predetermined address of the 1-bit SRAM 42, the microcomputer accesses the second access signal (
Figure kpo00064
) Is output as a Fellow at the point T1 as shown in (a) of FIG. 3 and outputs data DA to be stored as shown in (g) of FIG. 3 (A), the multiplexer 20 The second access signal (
Figure kpo00065
) Is input to the selection terminal S, and the first address A0-A6 of the first and second addresses A0-A6 and B0-B6 input from the microcomputer to the input terminals Ia10-Ia23 and Ib10-Ib23. Select and output to the output terminal (Y10-Y23). At this time, the input / output light signal output from the microcomputer (
Figure kpo00066
) Becomes a low at the point T1 as shown in (c) of FIG. 3A, and the input / output lead signal (
Figure kpo00067
) Becomes “high” at point T1 as shown in (d) of FIG.

그리고 오아게이트(G3)는 "로우"의 입출력 라이트신호(

Figure kpo00068
)와 "하이"의 입출력 리드신호(
Figure kpo00069
)를 입력하여 제3도(A)의 (e)와 같이 T1점에서 "로우"가 되는 논리상태를 1비트 SRAM(42)의 라이트 인에이블단(
Figure kpo00070
)으로 출력한다.OA gate G3 is a low I / O light signal (
Figure kpo00068
) And “high” input / output lead signals (
Figure kpo00069
), The logic enable state at the point T1 as shown in (e) of FIG. 3A is set to the write enable end of the 1-bit SRAM 42 (
Figure kpo00070
)

또는 상기 1비트 SRMA(42)은 입력단(Ai0-Ai6)에 상기 멀티플렉서(20)에서 출력되는 제3도(A)의 (b)와 같은 T1점의 제1어드레스(A0-A6)를 입력하고 상기 마이컴으로부터 출력되는 제3도(A)의 (g)와 같은 T1점의 데이타(Da)를 입력단(Din)으로 입력한다.Alternatively, the 1-bit SRMA 42 inputs the first address A0-A6 of the point T1 as shown in (b) of FIG. 3A output from the multiplexer 20 to an input terminal Ai0-Ai6. The data Da at the point T1 as shown in (g) of FIG. 3A output from the microcomputer is input to the input terminal Din.

그러므로 상기 1비트 SRAM(42)의 제1어드레스(A0-A6)에 해당하는 번지에 제3도(A)의 (g)와 같은 데이타(Da)가 저장된다. 또 한편 라이트 방지 모드상태에서 1비트 SRAM(42)의 소정번지에 기억된 데이타를 읽어보고자 상기 마이컴에서 제2액세스신호(

Figure kpo00071
)를 제3도(A)의 (a)와 같이 T2점에서 "로우"로 출력하고 입출력 리드신호(
Figure kpo00072
)를 제3도(A)의 (d)와 같이 T2점에서 "로우"로 출력하면, 멀티플렉서(20)는 상기 제2액세스신호(
Figure kpo00073
)를 선택단(S)에 입력하여 상기 마이컴으로부터 입력단(Ia10-Ia23, Ib10-Ib23)에 입력되는 제1, 제2어드레스(A0-A6, B0-B6)중 제1어드레스(A0-A6)를 선택하여 출력단(Y10-Y23)으로 출력한다.Therefore, data Da such as (g) of FIG. 3A is stored at the address corresponding to the first addresses A0-A6 of the 1-bit SRAM 42. On the other hand, in the write-protection mode, the second access signal (in the microcomputer) reads the data stored at the predetermined address of the 1-bit SRAM 42.
Figure kpo00071
) Is outputted as a narrow line at the point T2 as shown in (a) of FIG.
Figure kpo00072
) Is outputted as a narrow line at the point T2 as shown in (d) of FIG. 3A, the multiplexer 20 generates the second access signal (
Figure kpo00073
) Is input to the selection terminal S, and the first address A0-A6 of the first and second addresses A0-A6 and B0-B6 input from the microcomputer to the input terminals Ia10-Ia23 and Ib10-Ib23. Select and output to the output terminal (Y10-Y23).

이때 상기 마이컴으로부터 출력되는 입출력 라이트신호(

Figure kpo00074
)는 제3도(A)의 (c)와 같이 T2점에서 "하이"가 된다. 그리고 오아게이트(G3)는 "하이"의 입출력 라이트신호(
Figure kpo00075
)와 "로우"의 입출력 리드신호(
Figure kpo00076
)를 입력하여 제3도(A)의 (e)와 같이 T2점에서 "하이"가 되는 논리 상태를 1비트 SRAM(42)의 라이트 인에이블단(
Figure kpo00077
)으로 출력한다.At this time, the input / output light signal output from the microcomputer (
Figure kpo00074
) Becomes “high” at point T2 as in (c) of FIG. OA gate G3 is a high-output I / O signal (
Figure kpo00075
And I / O lead signals (
Figure kpo00076
), The logic state that becomes high at the point T2 as shown in (e) of FIG. 3A is set to the write enable end of the 1-bit SRAM 42 (
Figure kpo00077
)

그러므로 상기 1비트 SRAM(42)은 라이트 디제이블 된다. 또한 상기 1비트 SRAM(42)은 입력단(Ai0-Ai6)에 상기 멀티플렉서(20)에서 출력되는 제3도(A)의 (b)와 같은 T2점의 제1어드레스(A0-A6)를 입력하여 , 상기 제1어드레스(A0-A6)에 해당되는 어드레스에 기억된 제3도(b)의 T2점에서와 같은 데이타(Db)를 출력단(Dout)으로 제2라이트 인에이블신호(

Figure kpo00078
)로써 출력한다.Therefore, the 1-bit SRAM 42 is write disabled. In addition, the 1-bit SRAM 42 inputs the first address A0-A6 of the point T2 as shown in (b) of FIG. 3A output from the multiplexer 20 to an input terminal Ai0-Ai6. The second write enable signal (Db) is output to the output terminal Dout, as shown at the point T2 of FIG. 3 (b) stored at the address corresponding to the first addresses A0-A6.
Figure kpo00078
)

이때 오아게이트(G2)는 "로우"의 입출력 리드신호(

Figure kpo00079
)와 "로우"의 제2액세스신호(
Figure kpo00080
)를 입력하여 제3도(f)와 같이 T2점에서 "로우"가 되는 버퍼 인에이블신호(a)를 출력한다. 그러므로 3상태버퍼(G4)는 상기 "로우"의 버퍼 인에이블신호(
Figure kpo00081
)를 입력하여 인에이블 된다.At this time, the OA gate G2 is a low I / O read signal (
Figure kpo00079
) And the second access signal (
Figure kpo00080
) And outputs a buffer enable signal a that becomes a low at point T2 as shown in FIG. Therefore, the tri-state buffer G4 buffers the buffer enable signal (
Figure kpo00081
Enabled by typing).

따라서 마이컴은 상기 3상태버퍼(G4)에서 출력되는 제3도(A)의 (h)와 같은 T2점의 데이타(Db) 즉, 상기 1비트 SRAM(42)의 상기 제1어드레스(A0-A6)에 해당하는 번지에 저장된 데이타(Db)를 읽어 제3도(A)의 (g)와 같이 데이타버스(Do)를 통하여 볼 수 있다.Therefore, the microcomputer receives the data Db of the point T2 as shown in (h) of FIG. 3A output from the tri-state buffer G4, that is, the first address A0-A6 of the 1-bit SRAM 42. The data (Db) stored at the address corresponding to) can be read and viewed through the data bus (Do) as shown in (g) of FIG.

한편 상기한 제1어드레스(A0-A6)에 의해 상기 1비트 SRAM(42)에 기억된 "로우" 또는 "하이"의 데이타와 메모리 라이트신호(

Figure kpo00082
)에 의해 메모리 라이트 인에이블 신호(
Figure kpo00083
)의 상태가 결정되므로, 제1어드레스(A0-A6)와 대응토록 소정 메모리(SRAM)의 영역중 라이트 인에이블 또는 라이트 디제이블되는 영역을 사용자가 임의로 할당할 수 있다. 또한 상기 제1어드레스(A0-A6)에 의해 1비트 SRAM(42)의 소정번지에 데이타가 "로우" 또는 "하이"로 기억되어 있을때, 운용상태에서 상기 메모리 (SRAM)를 액세스하고자 하면 제2액세스신호(
Figure kpo00084
)에 의해 제2어드레스(B0-B6)가 1비트 SRAM(42)의 번지를 지정하게 된다.On the other hand, data of the low or high data stored in the 1-bit SRAM 42 by the first addresses A0-A6 and the memory write signal (
Figure kpo00082
Memory write enable signal
Figure kpo00083
), The user can arbitrarily allocate a region of the write enable or write disable in the region of the predetermined memory (SRAM) to correspond to the first address (A0-A6). In addition, when data is stored in a low or high state at a predetermined address of the 1-bit SRAM 42 by the first addresses A0-A6, the second memory is to be accessed in an operating state. Access signal (
Figure kpo00084
) Designates the address of the 1-bit SRAM 42 by the second address B0-B6.

그러므로 제2어드레스(B0-B6)에 해당하는 "하이" 또는 "로우"의 데이타가 1비트 SRAM(42)로부터 출력되게 된다. 즉, 메모리(SRAM)의 분할된 영역에 대응하는 제1어드레스(A0-A6)에 의해 1비트 SRAM(42)에 "하이" 또는 "로우"의 데이타를 기억시켜 라이트 방지 또는 라이트 비방지 영역으로 분할하고, 상기와 같이 분할된 영역중 소정 번지를 운용상태에서 액세스하고자 하면 액세스 하고자 하는 소정 번지가 속한 영역에 대한 라이트 방지 또는 라이트 비방지 상태 즉, 제2라이트 인에이블 신호(

Figure kpo00085
)가 제2어드레스(B0-B6)에 의해 1비트(SRAM(42)으로부터 출력되게 한다.Therefore, "high" or "low" data corresponding to the second addresses B0-B6 are output from the 1-bit SRAM 42. That is, the high or low data is stored in the 1-bit SRAM 42 by the first addresses A0-A6 corresponding to the divided area of the memory SRAM, and the data is stored in the write-protected or non-write-protected area. If the divided address is to be accessed in the operation state, the predetermined address among the divided areas as described above, the light-protected or non-light-protected state of the region to which the predetermined address belongs, that is, the second light enable signal (
Figure kpo00085
) Is output from the 1-bit SRAM 42 by the second address B0-B6.

따라서 마이컴의 제어에 의해 소정의 메모리(SRAM)에 대한 메모리 라이트 방지 또는 라이트 비방지 상태를 소정의 영역으로 분할하여 지정하고, 상기 메모리(SRAM)의 엑세스시 메모리 라이트 방지 또는 라이트 비방지가 지정된 바와 같이 수행될 수 있다.Therefore, the memory write protection or write protection prevention state for the predetermined memory (SRAM) is divided into a predetermined area under the control of the microcomputer, and the memory write protection or write protection is prevented when the memory (SRAM) is accessed. Can be performed.

상술한 바와 같이 본 발명은 SRAM을 메모리로 사용하는 컴퓨터 시스템에 있어서, SRAM의 라이트 및 라이트 방지를 마이컴에 의해 제어하는 회로로서 프로그램에 따라 용이하게 메모리 라이트 방지를 시킬 수 있으며 메모리의 라이트 방지사이즈(size)를 프로그램에 의해 용이하게 변경가능한 장점과, 사용자의 불필요한 동작을 줄일 수 있으며 실수를 방지할 이점이 있다.As described above, the present invention is a computer system that uses SRAM as a memory, and is a circuit that controls the write and write protection of the SRAM by a microcomputer, and can easily prevent the memory write according to a program. size) can be easily changed by the program, and unnecessary operation of the user can be reduced and mistakes can be prevented.

Claims (4)

제1, 제2어드레스(A0-A6, B0-B6)와 제1액세스신호(
Figure kpo00086
)와 입출력 라이트신호(
Figure kpo00087
)와 입출력 리드신호(
Figure kpo00088
)와 제2액세스신호(
Figure kpo00089
)와 메모리 라이트신호(
Figure kpo00090
)와 소정의 데이타(DO)를 출력하는 마이컴 및 소정의 메모리(SRAM)를 구비한 메모리 라이트 방지회로에 있어서, 파워 온 리세트 또는 수동리세트에 의한 리세트 신호와 상기 마이컴으로부터 입력되는 제1액세스신호(
Figure kpo00091
) 및 입출력 라이트신호(
Figure kpo00092
)를 입력하여 래치함으로써 제1라이트 인에이블신호(
Figure kpo00093
)를 출력하는 모드조정부(10)와, 상기 마이컴으로부터 제1어드레스(AO-A6)를 입력단(Ia10-Ia12, Ia20-Ia23)에 입력하고 제2어드레스(B0-B6)를 입력단(Ib10-Ib12, Ib20-Ib23)에 입력하여 선택단(S)으로 입력되는 제2액세스신호(
Figure kpo00094
)에 의해 상기 제1어드레스(A0-A6) 또는 제2어드레스(B0-B6)를 선택하여 출력단(Y10-Y23)으로 출력하는 멀티플렉서(20)와, 상기 멀티플렉서(20)의 출력단(Y10-Y23)과 상기 마이컴에 접속되어 상기 제1 또는 제2어드레스(A0-A6 또는 B0-B6)를 입력하여 제1어드레스(A0-A6)가 입력될때 상기 마이컴으로부터 입력되는 입출력 라이트신호(
Figure kpo00095
)와 입출력 리드신호(
Figure kpo00096
)와, 제2액세스신호(
Figure kpo00097
)에 의해 제1어드레스(A0-A6)의 번지에 상기 마이컴으로부터 입력되는 데이타(D0)를 기억하며 기억된 데이타를 상기 마이컴에 출력하며 제2어드레스(B0-B6)가 입력될때 상기 제2어드레스(B0-B6)에 해당하는 번지에 기억된 데이타를 제2라이트 인에이블신호(
Figure kpo00098
)로써 출력하는 기억회로부(30)와, 상기 모드조정부(10)의 출력단과, 상기 기억회로부(30)의 출력단에 접속되어 제1, 제2라이트 인에이블 신호(
Figure kpo00099
,
Figure kpo00100
)를 입력하며 상기 마이컴으로부터 메모리 라이트신호(
Figure kpo00101
)를 입력하여 상기 제1, 제2라이트 인에이블신호(
Figure kpo00102
,
Figure kpo00103
)와 메모리 라이트신호(
Figure kpo00104
)에 의해 소정의 메모리(SRAM)에 메모리 라이트 인에이블신호(
Figure kpo00105
)를 출력하는 메모리 라이트 제어부(40)로 구성됨을 특징으로 하는 메모리 라이트 방지회로.
First and second addresses A0-A6 and B0-B6 and the first access signal
Figure kpo00086
) And I / O light signal (
Figure kpo00087
) And I / O lead signals
Figure kpo00088
) And the second access signal (
Figure kpo00089
) And memory write signal (
Figure kpo00090
In the memory write prevention circuit having a microcomputer and a predetermined memory (SRAM) for outputting predetermined data DO, a reset signal by power-on reset or manual reset and a first access input from the microcomputer signal(
Figure kpo00091
) And I / O light signal (
Figure kpo00092
) By inputting and latching the first write enable signal (
Figure kpo00093
The mode adjusting unit 10 for outputting the input signal 1) inputs the first address AO-A6 from the microcomputer to the input terminals Ia10-Ia12 and Ia20-Ia23 and inputs the second addresses B0-B6 to the input terminals Ib10-Ib12. , The second access signal (Ib20-Ib23) input to the selection terminal S
Figure kpo00094
A multiplexer 20 which selects the first address A0-A6 or the second address B0-B6 and outputs the output to the output terminals Y10-Y23, and the output terminals Y10-Y23 of the multiplexer 20. ) And an input / output light signal inputted from the micom when the first address A0-A6 is input by inputting the first or second address A0-A6 or B0-B6.
Figure kpo00095
) And I / O lead signals
Figure kpo00096
) And the second access signal (
Figure kpo00097
Stores the data D0 input from the micom at the address of the first address A0-A6, outputs the stored data to the micom, and the second address when the second address B0-B6 is inputted. The data stored at the address corresponding to (B0-B6) is stored in the second write enable signal (
Figure kpo00098
The first and second write enable signals connected to the memory circuit unit 30 to be output as an output terminal, the output terminal of the mode adjusting unit 10, and the output terminal of the memory circuit unit 30.
Figure kpo00099
,
Figure kpo00100
) And the memory write signal (
Figure kpo00101
) And the first and second light enable signals (
Figure kpo00102
,
Figure kpo00103
) And memory write signal (
Figure kpo00104
By the memory write enable signal (SRAM)
Figure kpo00105
Memory write control unit 40 for outputting a).
제1항에 있어서, 상기 제2도의 구성중 모드조정부(10)가 상기 마이컴으로부터 입력되는 제1액세스 신호(IO)와 입출력라이트신호(
Figure kpo00106
)을 논리합하여 출력하는 오아게이트(G1)와, 세트단(S)과 데이타 입력단(D)이 전원전압(Vcc)에 접속되고 클럭단(CLK)이 상기 오아게이트(G1)의 출력단에 접속되어 파워 온리세트 또는 수동 리세트에 의한 리세트 신호를 리세트단(R)에 입력하여 리세트 되거나 상기 오아게이트(G1)의 출력에 의해 세트되어 제1라이트 인에이블신호(
Figure kpo00107
)를 출력단(Q)으로 출력하는 D플립플롭(12)으로 구성됨을 특징으로 하는 메모리 라이트 방지회로.
The input / output light signal (I) and the first access signal (IO) inputted from the microcomputer of the mode adjusting unit (10) of FIG.
Figure kpo00106
), The OR gate G1 for logical output and the set terminal S and the data input terminal D are connected to the power supply voltage Vcc, and the clock terminal CLK is connected to the output terminal of the OR gate G1. The reset signal by power on reset or manual reset is inputted to the reset stage R, or reset by the output of the or gate G1 to reset the first write enable signal.
Figure kpo00107
) Is a D flip-flop (12) for outputting to the output terminal (Q).
제1항에 있어서, 기억회로부(30)가 상기 마이컴으로부터 입력되는 입출력 리드신호(
Figure kpo00108
)와 입출력 라이트신호(
Figure kpo00109
)를 입력하여 논리합하여 버퍼 인에이블 신호(
Figure kpo00110
)를 출력하는 오아게이트(G2)와, 상기 마이컴으로부터 입력되는 입출력 라이트신호(
Figure kpo00111
)와 제2액세스신호(
Figure kpo00112
)를 입력하여 논리합하여 출력하는 오아게이트(G3)와, 상기 멀티플렉서(20)의 출력단(Y10-Y23)에 입력단(Ai0-Ai6)이 접속되고 라이트 인에이블단(
Figure kpo00113
)이 상기 오아게이트(G3)의 출력단에 접속되어 상기 멀티플렉서(20)로부터 제1어드레스(A0-A6)가 입력될때 라이트 인에이블단(
Figure kpo00114
)에 입력되는 상기 오아게이트)(G3)의 출력에 의해 라이트 인에이블되어 상기 제1어드레스(A0-A6)의 어드레스에 상기 마이컴으로부터 입력단(Din)으로 입력되는 데이타(D0)를 기억하며, 제2어드레스(B0-B6)가 입력될때 제2어드레스(B0-B6)의 어드레스에 기억된 데이타를 제2라이트 인에이블신호(
Figure kpo00115
)로써 출력단(Dout)으로 출력하는 1비트 SRAM(42)고, 상기 1비트 SRAM(42)의 입력단(Din)과 출력단(Dout) 사이에 접속되어 상기 버퍼 인에이블신호(
Figure kpo00116
)에 의해 인에이블되어 상기 1비트 SRAM(42)의 출력단(Dout)에서 출력되는 제2라이트 인에이블 신호(
Figure kpo00117
)를 출력하는 3상태 버퍼(G4)로 구성됨을 특징으로 하는 메모리 라이트 방지회로.
The input / output read signal of claim 1, wherein the memory circuit unit 30 is inputted from the microcomputer.
Figure kpo00108
) And I / O light signal (
Figure kpo00109
) And OR to perform a buffer enable signal (
Figure kpo00110
OA gate (G2) for outputting, and the input and output light signal (inputted from the microcomputer)
Figure kpo00111
) And the second access signal (
Figure kpo00112
) Is connected to the OR gate G3 for outputting the logical sum and output, and the input terminals Ai0-Ai6 are connected to the output terminals Y10-Y23 of the multiplexer 20, and the write enable terminal (
Figure kpo00113
) Is connected to the output terminal of the oragate G3 and the write enable terminal (A0-A6) is input from the multiplexer 20.
Figure kpo00114
The data D0 which is write-enabled by the output of the orifice) G3 input to the first address A0-A6 and input from the microcomputer to the input terminal Din at the address of the first address A0-A6, When the two addresses B0-B6 are inputted, the data stored in the address of the second address B0-B6 is converted into a second write enable signal.
Figure kpo00115
Is a 1-bit SRAM 42 which is output to the output terminal Dout, and is connected between the input terminal Din and the output terminal Dout of the 1-bit SRAM 42 and the buffer enable signal (
Figure kpo00116
Is enabled by the second write enable signal (output) output from the output terminal (Dout) of the 1-bit SRAM 42
Figure kpo00117
Memory write prevention circuit, characterized in that consisting of a three-state buffer (G4) outputting.
제1항에 있어서, 메모리 라이트 제어부(40)가 일 입력단이 상기 D플립플롭(12)의 출력단(Q)에 접속되어 상기 D플립플롭(12)의 출력단(Q)에서 출력되는 제1라이트 인에이블신호(
Figure kpo00118
)를 일 입력단에 입력하고 상기 마이컴에서 출력되는 메모리 라이트신호(
Figure kpo00119
)를 타입력단에 입력하여 논리합하여 출력하는 오아게이트(G5)와, 일 입력단이 상기 1비트 SRAM(42)의 출력단(Dout)에 접속되어 상기 1비트 SRAM(42)의 출력단(Dout)에서 출력되는 제2라이트 인에이블신호(
Figure kpo00120
)를 일 입력단에 입력하고 상기 메모리 라이트신호(
Figure kpo00121
)를 타 입력단에 입력하여 부논리합하여 출력하는 노아게이트(G6)와, 두 입력단이 상기 D플립플롭(12)의 출력단(Q)와 상기 노아게이트(G6)의 출력단에 각각 접속되어 상기 D플립플롭(12)에서 출력되는 제1라이트 인에이블신호(
Figure kpo00122
)와 상기 노아게이트(G6)의 출력을 부논리곱하여 출력하는 낸드게이트(G7)와, 두 입력단이 상기 오아게이트(G5)의 출력단과 상기 낸드게이트(G7)의 출력단에 각각 접속되어 상기 오아게이트(G5)의 출력과 상기 낸드게이트(G7)의 출력을 논리곱하여 메모리 라이트 인에이블신호(
Figure kpo00123
)를 출력하는 앤드게이트(G8)로 구성됨을 특징으로 하는 메모리 라이트 방지회로.
2. The memory write control unit 40 of claim 1, wherein the memory write control unit 40 is a first light having an input terminal connected to an output terminal Q of the D flip-flop 12, and output from an output terminal Q of the D flip-flop 12. Able signal (
Figure kpo00118
) Is input to one input terminal and the memory write signal (outputted from the microcomputer)
Figure kpo00119
) Is inputted to the type force stage, and outputs from the output terminal Dout of the 1-bit SRAM 42 by being connected to an output gate D5 of the 1-bit SRAM 42 and an oar gate G5 for outputting a logical sum. Second light enable signal (
Figure kpo00120
) Is input to one input terminal and the memory write signal (
Figure kpo00121
) Is inputted to the other input terminal and outputs a negative logic sum to output the negative gate (G6) and two input terminals are connected to the output terminal (Q) of the D flip-flop 12 and the output terminal of the noah gate (G6), respectively. The first light enable signal output from the flop 12 (
Figure kpo00122
) And a NAND gate G7 that outputs the output of the noah gate G6 by a negative logic, and two input terminals are connected to an output terminal of the ora gate G5 and an output terminal of the NAND gate G7, respectively. The output of the G5 and the output of the NAND gate G7 are multiplied by the memory write enable signal (
Figure kpo00123
And an AND gate (G8) for outputting the memory write prevention circuit.
KR1019900003755A 1990-03-20 1990-03-20 Memory write protection circuit by microcomputer control KR920003271B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019900003755A KR920003271B1 (en) 1990-03-20 1990-03-20 Memory write protection circuit by microcomputer control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019900003755A KR920003271B1 (en) 1990-03-20 1990-03-20 Memory write protection circuit by microcomputer control

Publications (2)

Publication Number Publication Date
KR910017289A KR910017289A (en) 1991-11-05
KR920003271B1 true KR920003271B1 (en) 1992-04-27

Family

ID=19297177

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019900003755A KR920003271B1 (en) 1990-03-20 1990-03-20 Memory write protection circuit by microcomputer control

Country Status (1)

Country Link
KR (1) KR920003271B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100247685B1 (en) * 1997-09-20 2000-05-01 전주범 A pick-up base feeding device of cd player
KR100247684B1 (en) * 1997-09-20 2000-05-01 전주범 A pick-up base feeding device of cd player

Also Published As

Publication number Publication date
KR910017289A (en) 1991-11-05

Similar Documents

Publication Publication Date Title
KR890004999B1 (en) Programmable read only memory
US5111079A (en) Power reduction circuit for programmable logic device
KR940002755B1 (en) One-chip microcomputer
US5056013A (en) In-circuit emulator
JPH0612863A (en) Dual port dram
JP2784550B2 (en) Semiconductor storage device
KR920003271B1 (en) Memory write protection circuit by microcomputer control
US4979172A (en) Microcomputer
KR950008440B1 (en) Semiconductor memory circuit having bit clear and register initialize fonction
US7191323B2 (en) Information processing unit selecting one of reset vector addresses
US5343030A (en) IC card having flash erase means
US5764950A (en) Data processing system having a function of changing bus width
US5396611A (en) Microprocessor use in in-circuit emulator having function of discriminating user's space and in-circuit emulator space
JPH086809A (en) Field programmable gate array
JP2590172B2 (en) Single chip microcomputer
KR930011347B1 (en) Circuit for preventing mis-conduct of non-volatile memory by power input/output signal
JP3283505B2 (en) Microcomputer
JPH08147262A (en) Microprocessor
JPH05324486A (en) Storage device
KR100206898B1 (en) Multiset dram control unit
JPH06195477A (en) Lsi incorporating cpu
KR890001224B1 (en) Reset and data protecting circuit
KR100338402B1 (en) Memory device and method of controlling the same
KR950007107B1 (en) Computer w/additional microprocessor
KR960008245Y1 (en) Disabling circuit for chip without chinp selecting signals

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

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee