KR830002883B1 - Micro programmable controller - Google Patents
Micro programmable controller Download PDFInfo
- Publication number
- KR830002883B1 KR830002883B1 KR1019800003263A KR800003263A KR830002883B1 KR 830002883 B1 KR830002883 B1 KR 830002883B1 KR 1019800003263 A KR1019800003263 A KR 1019800003263A KR 800003263 A KR800003263 A KR 800003263A KR 830002883 B1 KR830002883 B1 KR 830002883B1
- Authority
- KR
- South Korea
- Prior art keywords
- control
- error
- control memory
- read
- micro
- Prior art date
Links
Images
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
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Programmable Controllers (AREA)
Abstract
내용 없음.No content.
Description
도면은 본 발명을 실시한 마이크로 프로그램 제어방식의 정보처리장치의 1 예의 요부 블럭도이다.Fig. 1 is a main block diagram of an example of an information processing apparatus of a micro program control system according to the present invention.
본 발명은 마이크로프로그램 제어의 정보처리 장치 등에 관한다.The present invention relates to an information processing apparatus and the like of microprogram control.
마이크로 명령에 의하여 하드웨어(hardware)를 제어하는 정보처리 장치에 있어서는 통상 제어 메모리에서 독출(讀出)되는 마이크로 명령에 관하여 패리티 체크(parity check)나 하밍 코-드 체크(Hamming Code Check)를 행하여 에러를 검출하고 있다.In an information processing apparatus that controls hardware by a micro instruction, an error is usually performed by performing a parity check or a hamming code check on a micro instruction read out from a control memory. Is detected.
마이크로 명령의 에러가 검출된 경우, 그 회복방식으로서 마이크로 명령을 반복하여 재독출하는 방식과 제어 메모리와 동일 정보를 기억하고 있는 축적장치에서 해당 마이크로 명령을 독출하여 마이크로 명령의 실행을 속행하고 또 제어 기억의 에러 검출 개소의 정정을 행하는 방식이 종래 이용되고 있다.When an error of a micro instruction is detected, as a recovery method, the micro instruction is repeatedly read and reread, and the micro instruction is read from an accumulator which stores the same information as that of the control memory to continue execution of the micro instruction. The method of correcting the error detection point of memory is conventionally used.
그러나 항구적인 장해(障害)의 경우, 전자의 방식에서는 정상적인 마이크로 명령을 얻을 수 없다. 후자의 방식은, 에러를 정정할 수 있는 가능성이 낮기 때문에 에러시마다 축적장치로부터 독출하는 동작이 필요하다. 이와 같이 종래의 방식은 마이크로 명령의 에러를 회복하기 위하여 상당한 시간이 걸림과 동시에 그제 어를 실현하기 위한 논리로 복잡하게 되어 버리는 문제가 있었다.In the case of permanent disturbances, however, the normal microcommand cannot be obtained in the former way. In the latter method, since the possibility of correcting an error is low, an operation of reading out from the accumulator every time an error is required. As described above, the conventional method takes a considerable time to recover the error of the micro-instruction, and at the same time, there is a problem that it becomes complicated with logic for realizing the control.
본 발명의 목적은 마이트로 명령의 에러에 의한 동작의 중단 시간을 극력히 줄이고 또 에러를 회복하기 위한 논리의 간략화를 도모한 마이크로 프로그램 제어장치를 제공함에 있다.SUMMARY OF THE INVENTION An object of the present invention is to provide a micro-program control apparatus which greatly reduces the down time of operation due to an error of a miter command and simplifies logic for recovering an error.
그래서 본 발명에 있어서는 제어 메모리를 복수개 설치하고 각각 동일 내용의 마이크로 명령군(群)을 기억시켜 높고 어떤 1개의 제어 메모리를 선택하여 마이크로 명령을 독출하여 실행한다.Therefore, in the present invention, a plurality of control memories are provided, and each micro instruction group having the same contents is stored, and one control memory is selected, which is high, and the micro instruction is read out and executed.
이 제어 메모리부터 독출된 마이크로 명령에 에러를 검출한 경우 이후의 제어는 다른 제어 메모리로 바꿔 실행한다. 다음에 본 발명에 의한 마이크로 프로그램 제어 방식의 정보 처리 장치의 1실시예를 도면에 의해 설명한다.When an error is detected in the micro instruction read out from this control memory, subsequent control is executed by switching to another control memory. Next, an embodiment of an information processing apparatus of a microprogram control system according to the present invention will be described with reference to the drawings.
도면에 있어서 제1도, 제2도, 제3도, 제4도는 각각 동일의 마이크로 프로그램을 기억하는 제어 메모리이며 각 제어 메모리는 단일 또는 복수의 메모리로 구성되어 있다.1, 2, 3, and 4 are control memories for storing the same microprogram, respectively, and each control memory is composed of a single or a plurality of memories.
제 5도는 제어 메모리(1~4) 중 선택한 1개의 제어 메모리에서 독출되는 마이크로 명령을 독출하여 데이터레지스터(8)에 공급하는 데이터 선택회로이다.5 is a data selection circuit which reads the micro-instructions read out from one of the control memories 1 to 4 selected from the control memories 1 to 4 and supplies them to the data register 8.
제 7도은 레지스터(8)에 독출된 마이크로 명령의 에러를 체크하는 에러 검출회로이다.7 is an error detection circuit for checking an error of a micro instruction read into the register 8.
제 6도은 데이터 선택회로(5)에 있어서의 제어 메모리의 선택을 제어함과 동시에 어드레스 레지스터(9)을 제어하는 독출 제어회로이다.6 is a read control circuit for controlling the selection of the control memory in the data selection circuit 5 and controlling the address register 9 at the same time.
제 10도은 제어 메모리(1~4)의 기입을 제어하는 기입제어회로이다. 이 이외는 본 발명에 직접 관계하지 않기 때문에 설명을 생략한다.10 is a write control circuit for controlling the writing of the control memories 1 to 4. Since it is not directly related to this invention other than this, description is abbreviate | omitted.
본 실시예의 동작을 이하에 설명한다.The operation of this embodiment will be described below.
먼저 전원 투입시 또는 이니셜 로드(initial load) 지시가 나오게 되면 제어 메모리의 선두 어드레스가 어드레스 갱신지시선(14)에 의해 어드레스 레지스터(9)에 설정되어 그것이 어드레스선(13)에 나오게 된다First, when the power is turned on or when an initial load instruction is issued, the head address of the control memory is set in the address register 9 by the address
또 기입 데이터 선(11)에 마이크로 명령 코오드가 실려진다. 기입 제어회로(10)으로부터의 기입선(12)에 의해 마이크로 명령이 제어메모리(1~4)에 동시에 또는 순번으로 기입된다. 다음에 어드레스 갱신 지시선에 의해 어드레스 레지스터(9)가 갱신되어 기입데이터선(11)에 다음의 마이크로 명령이 실려져 기입이 행해진다.A micro instruction code is loaded on the write data line 11. By the
마찬가지의 동작을 반복함에 의해 마이크로 명령군이 모든 제어 메모리(1~4)에 기입된다.By repeating the same operation, the micro instruction group is written to all the control memories 1 to 4.
다음으로 데이터 선택교체 지시선(20)에 의해 독출 제어회로(6)을 동작시킨다.Next, the
독출 데이터 선택된(17)에 의해서 데이터 선택회로(5)에 제어메모리(1~4)의 독출 데이터선(21~24)을 순차 선택시킨다.By the read data selected 17, the data selection circuit 5 sequentially selects the
이와같이 하여 각 제어메모리내의 마이크로 명령에 에러가 없음을 확인한다.In this way, check that there are no errors in the microcommands in each control memory.
실제의 처리를 개시하기 전에 데이터 선택교체 지시선(20)에 의해 독출 제어회로(6)에 대하여 특정한 1개의 제어메모리, 예를들면 제어메모리(1)를 선택하도록 지시한다. 이것에 의해 데이터 선택회로(5)는 독출 데이터 선(21)을 선택한다. 또 어드레스 갱신 지시선(14)에 의해 마이크로 명령의 개시 어드레스 및 어드레스 레지스터(9)에 설정한다. 제어메모리(1)에서 최초의 마이크로 명령이 독출되어 그것에 데이터 선택회로(5)를 거쳐 독출 데이터 레지스터(8)에 래치(latch)된다.Before starting the actual processing, the data selection
이 레지스터(8)의 출력(19) 즉 마이크로 명령은 에러 검출회로(7)에서 에러가 체크되고 정상이면 이 마이크로 명령이 실행된다. 이후 어드레스 레지스터(9)를 갱신하면서 제어메모리(1)에서 마이크로 명령이 순차 독출되어 실행되고 또 여러 체크도 행하여진다.The output 19 of this register 8, i.e., the microinstruction, is executed in the error detection circuit 7 if the error is checked and is normal. Thereafter, while updating the address register 9, micro-instructions are sequentially read out and executed in the control memory 1, and various checks are also performed.
어떤 마이크로 명령에 에러가 검출되면 에러 검출회로(7)의 에러 검출선(16)에 신호가 나온다. 이 신호가 나오면 독출 제어회로(6)는 어드레스 갱신 억제선(15)에 의해 어드레스 레지스터(9)의 갱신을 억제시킨다. 즉 에러가 검출된 마이크로 명령의 어드레스를 보존지지 시킨다.If an error is detected in a microcommand, a signal is issued to the
동시에 독출 제어회로(6)는 데이터 선택선(17)에 의해 데이터 선택회로(5)에 대하여 제어메모리(1) 이외의 하나의 제어메모리를 선택하도록 지시한다.At the same time, the
이것에 의해 데이터 선택회로(5)는 예를들면 제어메모리(2)를 선택한다.As a result, the data selection circuit 5 selects the
이 상태에서 제어메모리(2)의 독출을 행함으로서 어드레스 레지스터(9)에 보존 지지되어 있는 어드레스의 마이크로 명령이 독출 데이터선(22)에 독출되고, 그것이 데이터 선택회로(5)를 거쳐 독출 데이터 레지스터(8)에 래치(latch)된다.By reading the
이 마이크로 명령이 정상이라면 독출 제어회로(6)는 어드레스 레지스터(9)의 갱신 억제를 해제한다.If this micro instruction is normal, the
이후 제어메모리(2)로부터 마이크로 명령을 순차 독출하여 실행한다.After that, the micro instruction is sequentially read from the
제어메모리(2)로부터 독출한 마이크로 명령에 에러가 검출된 경우 마찬가지로 제어메모리(3),(4)로 교체하여 마이크로 명령 실행을 계속한다.When an error is detected in the micro instruction read out from the
또 제어메모리의 교체순서는 임의이다.The order of replacement of control memory is arbitrary.
본 실시예에서는 4개의 제어메모리에 동일의 어드레스를 부여하고 있지만 모든 제어메모리분에 상당하는 어드레스 공간을 설정하고 어드레스의 상위 2비트에서 특정의 제어메모리를 지정하도록 하여도 좋다.In this embodiment, the same address is given to the four control memories, but an address space corresponding to all the control memories may be set and a specific control memory may be designated in the upper two bits of the address.
이 경우, 마이크로 명령의 초기 로-드 직후의 진단시에는 각 제어메모리에 다른 마이크로 명령을 격납하여도 좋다. 본 발명은 기술한 바와같고, 마이크로 명령의 에러 검출시에 제어메모리를 교체함으로서 정상적인 마이크로 명령을 즉시 얻을 수 있기 때문에 시간 낭비가 대폭적으로 감소하고 또 항구적인 장해에의한 마이크로 명령의 잘못을 확실하게 회복할 수 있기 때문에 장치의 정지를 회피할 수 있다.In this case, another microcommand may be stored in each control memory at the time of diagnosis immediately after the initial load of the microcommand. The present invention has been described, and since the normal microcommand can be obtained immediately by replacing the control memory at the time of detecting the microcommand error, the waste of time is drastically reduced, and the error of the microcommand due to the permanent failure is assuredly. Since recovery can be avoided, the device can be stopped.
또 상기 실시예는 제어메모리로서 랜덤 엑세스 메모리를 상정(想定)하여 설명했지만 독출 전용 기억기 경우에도 본 발명을 실시할 수 있는 것은 말할 것도 없다.Although the above embodiment has been described assuming a random access memory as a control memory, it goes without saying that the present invention can be implemented even in a read only memory.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019800003263A KR830002883B1 (en) | 1980-08-19 | 1980-08-19 | Micro programmable controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019800003263A KR830002883B1 (en) | 1980-08-19 | 1980-08-19 | Micro programmable controller |
Publications (2)
Publication Number | Publication Date |
---|---|
KR830003764A KR830003764A (en) | 1983-06-22 |
KR830002883B1 true KR830002883B1 (en) | 1983-12-29 |
Family
ID=19217456
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019800003263A KR830002883B1 (en) | 1980-08-19 | 1980-08-19 | Micro programmable controller |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR830002883B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030029306A (en) * | 2001-10-06 | 2003-04-14 | 아이앤아이스틸 주식회사 | a twist guide of rolled steel |
-
1980
- 1980-08-19 KR KR1019800003263A patent/KR830002883B1/en active
Also Published As
Publication number | Publication date |
---|---|
KR830003764A (en) | 1983-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA1235816A (en) | Error recovery system in a data processor having a control storage | |
KR830002883B1 (en) | Micro programmable controller | |
JPH03266154A (en) | Information processor | |
KR100284044B1 (en) | Abnormal operation recovery method of functional devices with relation | |
JPS58182756A (en) | Microprogram controller | |
JPS6115460B2 (en) | ||
JPH01302451A (en) | Microprogram control device | |
JPS63123140A (en) | History information storage device | |
JPH0520215A (en) | Information processor | |
JPH06103056A (en) | Address controller | |
JPS6332642A (en) | Information processor | |
JPH0731639B2 (en) | Magnetic disk controller | |
JPS6142304B2 (en) | ||
JPH0266659A (en) | Microprogram controller | |
JPH04140846A (en) | Microprogram controller | |
JPH0229839A (en) | Microprogram control device | |
JPS62211759A (en) | Microprogram controller provided with control storage trouble preventing mechanism | |
JPS60225941A (en) | Microprogram control device | |
JPH0667914A (en) | Control storage read error correcting system | |
JPH04218849A (en) | Storage device | |
JPS62272340A (en) | Microprogram controller | |
JPS6288040A (en) | Microprogram controller | |
JPH05241871A (en) | Information processor | |
JPH0481953A (en) | Memory device | |
JPS6258026B2 (en) |