JPS5878236A - Controller for microcomputer - Google Patents
Controller for microcomputerInfo
- Publication number
- JPS5878236A JPS5878236A JP17741181A JP17741181A JPS5878236A JP S5878236 A JPS5878236 A JP S5878236A JP 17741181 A JP17741181 A JP 17741181A JP 17741181 A JP17741181 A JP 17741181A JP S5878236 A JPS5878236 A JP S5878236A
- Authority
- JP
- Japan
- Prior art keywords
- address
- control signal
- instruction
- timing
- gate
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
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
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Executing Machine-Instructions (AREA)
Abstract
Description
【発明の詳細な説明】
この発明はマイクロコンピュータの制御装置に関するも
のである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a microcomputer control device.
第1図は従来の制御装置の一例を示す回路図で、fil
〜(5)は制御信号発生部、(6)はタイミング制御信
号発生部、())は命令レジスタ、f8) t [91
14インバータ、1lli 、 (11)はOR回路、
C21はタイミングTl、 ’r2−−−。FIG. 1 is a circuit diagram showing an example of a conventional control device.
~(5) is a control signal generation section, (6) is a timing control signal generation section, ()) is an instruction register, f8) t [91
14 inverters, 1lli, (11) is an OR circuit,
C21 is timing Tl, 'r2---.
いる。そして、この制御装置から出力する制御信号01
〜05は第1表に示すものを想定している力ζ第1図で
は制御信号CIを出力する制御信号発生部fl+とタイ
ミング制御信号発生部(61のみを詳細に示し、他の制
御信号発生部(21〜(5)はその詳細を省略した。There is. Then, the control signal 01 output from this control device
~05 assumes the forces shown in Table 1. In Figure 1, only the control signal generator fl+ that outputs the control signal CI and the timing control signal generator (61 are shown in detail; other control signal generators are shown in detail. The details of parts (21 to (5)) have been omitted.
制御信号自について考えると、”OO”命令のときはタ
イミングT3.T4でそれぞれCIa+ cibに出力
し、o1令ではタイミングTl、T4.T5にそれぞれ
Ole、 C1d、 Oleに出力し、”1o”@令て
はタイミングTl、 T5. ’116にそれぞれOf
f、 Olg、 C1hに出力し、Ill r聞合では
タイミングTl、 T2. T3. T4. ’r6.
’r7にそれぞれOli、 C1j、 elk、 C
’l’l。Considering the control signal itself, when it is an "OO" command, the timing T3. At T4, they are output to CIa+cib, respectively, and in the o1 instruction, timings Tl, T4. At T5, output to Ole, C1d, and Ole, respectively, and "1o" @ timing Tl, T5. '116 respectively Of
f, Olg, C1h, and at timing Tl, T2. T3. T4. 'r6.
'r7 respectively Oli, C1j, elk, C
'l'l.
elm、自。に出力し、各命令毎にOR回路i10+か
ら制御信号自として出力される。制御信号02〜C5に
ついてもこれに準じた方法で1/トられる。elm, self. The control signal itself is output from the OR circuit i10+ for each command. The control signals 02 to C5 are also converted to 1 in a similar manner.
タイミング制御イM号発生部(6)は1つの命令に対す
る制御信号の発生が完了したこと検知して、次の命令の
制御信号の発生へ後行させるもので、例えば、がC6a
に出力され次のサイクルでタイミング信号発生用シフト
レジスタ(12) k OR回路(fli7に介してR
信号でυ′上セツト、次の命令のためにタイミングはT
1から再開する。”ol′命令、10#命令および−I
11a−、、令のときにはそれぞれタイミング’r5
.’r6.およびT7において同様の動作をすることに
、第1図の回路構成から容易に理解できよう。The timing control number M generation unit (6) detects the completion of generation of the control signal for one instruction and causes the generation of the control signal for the next instruction to proceed.
is output to the shift register (12) for timing signal generation in the next cycle.
The signal sets υ′, and the timing is T for the next command.
Restart from 1. "ol' instruction, 10# instruction and -I
11a-,, timing 'r5 for orders
.. 'r6. It can be easily understood from the circuit configuration of FIG. 1 that similar operations occur at T7 and T7.
ところが、上記従来の装置では、例えば第1表に示した
場合のように、゛′00°命令のT2〜T4の制御信号
比カバターンとof命令のT3〜T50制御信号出カバ
ターンとパ10論令のT4〜T6の制御化−号出力パタ
ーンとれに伴って各制御信号は例えは制御信号ClでE
、’ CIa。However, in the conventional device described above, as shown in Table 1, for example, the control signal ratio cover pattern of T2 to T4 of the '00° instruction, the control signal output pattern of T3 to T50 of the of instruction, and the control signal output pattern of the P10 instruction are As the control signal output pattern of T4 to T6 changes, each control signal becomes E, for example, control signal Cl.
,' CIa.
01t4−−− +C1nの出力のOR信号を得るため
の多入力のOR回路を必要とし、集積回&li(工C)
化に当ってもチップサイズの場大をきたし1いた。01t4 --- Requires a multi-input OR circuit to obtain the OR signal of the output of +C1n, and requires an integrated circuit &li (Engineering C)
However, the size of the chip also increased.
この発明は以上のような点に鑑みてなされたもので、制
御イ^号発生用の制御信号発生n OM (読み出し専
用メモリ)と、そのアドレスシーケンス制御のためのア
ドレス発生ROMとを設けることによって制御信号発生
ROMを有効に利用して構成の簡単なチップサイズの小
さいIC化の可能な制御装置管提供することを目的とし
ている。This invention has been made in view of the above points, and is achieved by providing a control signal generation nOM (read-only memory) for generating control signals and an address generation ROM for controlling the address sequence thereof. It is an object of the present invention to provide a control device tube that can be implemented as an IC with a simple structure and a small chip size by effectively utilizing a control signal generation ROM.
第2図はこの発明の一実施例を示す回路図で、第1図の
従来例と同等部分は同一符号で示す。03)は命令コー
ドからエントリアドレスを発生するエントリアドレス発
生回路、Cl41はアドレスデコーダ、α5)はアドレ
ス発生ROM5Hは制御信号発生ROM。FIG. 2 is a circuit diagram showing an embodiment of the present invention, and parts equivalent to those of the conventional example shown in FIG. 1 are designated by the same reference numerals. 03) is an entry address generation circuit that generates an entry address from an instruction code, Cl41 is an address decoder, α5) is an address generation ROM, and 5H is a control signal generation ROM.
0′71はエントリアドレス発生回路(+(支)からの
エントリアドレスをアドレスデコーダα→へ入れるため
の第1のゲート、鱈はインバータ、69)uアドレス発
生ROM(+51からのアドレスをアドレスデコーダ(
14)へ入れるための第2のゲートである。なお、sF
i第1のグー)07’lと第2のグー)(19)とを切
換えるゲート切換信号である0
次にこの実施例の動作について説明する。命令コードと
制御信号との関係は従来装置に用いた第1表と同じであ
るとする。まず命令が命令レジメタ(7)に読み込まれ
ると、エントリアドレス発生回路Q(至)はその命令に
応じてエントリアドレスを発生する。エントリアドレス
は任意に設定できるが、この実施例では゛′00M命令
では「0」、”of命令では「IJ、’10”命令では
「2」ご11″命令では「3」となるように選ぶ、この
発生したエントリアドレスは第1のゲート(l?)を通
って、アドレスデコーダ04)へ入る。このときゲート
切換信号8は1″に保持さへ第1のグー)(lηは開い
ているが、第2のゲートα9)はインバータ+119に
よって信号°゛0′が供給されて閉じている。アドレス
デコーダα4)ではエントリアドレスは上述のように命
令によってrOJ、 rlJ、 r2J。0'71 is an entry address generation circuit (the first gate for inputting the entry address from + (support) to the address decoder α→, the column is an inverter, 69) u address generation ROM (the address from +51 is input to the address decoder (
14) is the second gate for entering. In addition, sF
0, which is a gate switching signal for switching between the first goo (i) 07'l and the second goo (19).Next, the operation of this embodiment will be explained. It is assumed that the relationship between instruction codes and control signals is the same as in Table 1 used for the conventional device. First, when an instruction is read into the instruction register (7), the entry address generation circuit Q (to) generates an entry address in accordance with the instruction. The entry address can be set arbitrarily, but in this example, it is selected to be ``0'' for the ``00M'' instruction, ``IJ'' for the ``of'' instruction, ``2'' for the ``10'' instruction, and ``3'' for the 11'' instruction. , this generated entry address passes through the first gate (l?) and enters the address decoder 04). At this time, the gate switching signal 8 is held at 1'', and the first gate (lη) is open, but the second gate α9 is closed by being supplied with the signal °0' by the inverter +119. In the decoder α4), the entry address is rOJ, rlJ, r2J depending on the instruction as described above.
「3」のいずれかであるので、それに応じたアドレス線
が選はれる。Since it is one of "3", the corresponding address line is selected.
まず、”oo”命令について説明するとエントリアドレ
スは「0」であるからアドレスデコーダ0<のアドレス
線「0」が選ばれる。そうすると、制御信号発生ROM
(le>からは〔01110〕のパターンの信号か発生
する。これは第1表から判るように、′00°命令のタ
イミングT1に必要な制御!信号出力である〇一方、こ
れと同時にアドレス発生ROM(15)からは(oxo
o)のパターンのアドレス信号を発生する。そして、こ
のアドレス信号は第2のゲート(19)を通ってアドレ
スデコーダ04)へ入る。すなわち、このときにはエン
) IJ動作が終っているので、ゲート切換信号Sは0
になっており、第1のグー)Q7’lが閉じ、第2のグ
ー)(19)が開いている。このアドレスデコーダ(+
4)へ入ったアドレス信号は「4」に対応するので、ア
ドレス線「4」が選ばれる。これによって制御信号発生
RoMQ6)からは(00,101) (7)パl −
ン(D Q+ 号を発生する。これはゝoo”命令のタ
イミングT2に必鷹な制御41@号出力である。一方、
これと同時にアドレス発生ROMQ5)からは〔010
1〕のパターンのアドレス信号を発生する0このアドレ
ス信号は「5」に対応し、これが第2のゲート(1(2
)を通ってアドレスデコーダ04)へ入る。このときL
”alのグー)C1ηは閉じている。アドレスデコーダ
(141へ入ったアドレス信号はアドレス線「5」を選
ぶ。このように、つぎつぎと制御信号出力と次のアドレ
ス信号とを発生し、タイミングT3には上記アドレス線
「5」につながる制御信号出力〔10001〕、タイミ
ングT4にはアドレス線「6」によって制御信号出力〔
10101)が出力される。そして、このタイミングT
4にアドレス線「6」を選んだときに、ゲート切換信号
日が出るので、第2のゲート(+9)は閉じ、第1のゲ
ート(+71が開いて、新しい命令のエン) IJを許
す状態になる。First, the "oo" instruction will be explained. Since the entry address is "0", the address line "0" of address decoder 0< is selected. Then, the control signal generation ROM
A signal with a pattern of [01110] is generated from (le>. As can be seen from Table 1, this is the control! signal output necessary at timing T1 of the '00° command. At the same time, the address From the generation ROM (15), (oxo
o) Generates an address signal of the pattern. This address signal then enters the address decoder 04) through the second gate (19). In other words, at this time, the IJ operation has been completed, so the gate switching signal S is 0.
, the first goo) Q7'l is closed and the second goo) (19) is open. This address decoder (+
Since the address signal input to 4) corresponds to "4", address line "4" is selected. As a result, the control signal generation RoMQ6) outputs (00,101) (7)
(D Q+ signal is generated. This is the control 41@ signal output that is required at timing T2 of the ``oo'' instruction.On the other hand,
At the same time, address generation ROMQ5) sends [010
This address signal corresponds to "5", and this generates an address signal with a pattern of "1" (1 (2)).
) and enters the address decoder 04). At this time L
C1η is closed. The address signal input to the address decoder (141) selects the address line "5". In this way, the control signal output and the next address signal are generated one after another, and the timing T3 At timing T4, a control signal is output [10001] connected to the address line "5", and at timing T4, a control signal is output from the address line "6".
10101) is output. And this timing T
When address line ``6'' is selected for 4, the gate switching signal is output, so the second gate (+9) is closed and the first gate (+71 is opened, allowing a new command to be input). become.
次に、入ってくる新しい命令が″0釘命令であったとす
ると、エントリアドレフ発生@H3)は前に述べたよう
にエントリアドレス「〕」ヲ発生し、これが第1のグー
1−QfIを通し、てアドレスデコーダ04)へ送られ
、アドレス線「1」ヲ選ぶ。そして’Ol″′′命令イ
ミングT1に必要な制御信号出力[0111)が制御信
号発生ROM Q6jから、またアドレス信号〔011
1〕がアドレス発生ROMQfi)から発生すると同時
にゲート切換信号810′に復′帰し第1のゲート07
)扛閉じ、第2のゲート(19)が開く。そして上記ア
ドレス信号がアドレスデコーダ(14)に入り、アドレ
ス線「7」が選ばれタイミングT2に必要な制御信号出
力(01110)が発生する。’of命令のタイミング
’r3. ’r4. T5に必要な制御信号用カバター
ンは、”oo”命令のタイミングT2. ’r3. T
4で発生する制fiI信考量カバターンとそれぞれ同一
であるので、アドレス&l+71アクセスしたときにア
ドレス発生ROMα6)から発生するアドレス信号パタ
ーンを〔01oo〕とすることによって @01//命
令のタイミングT3. ’r4. ’r。Next, if the incoming new instruction is a ``0nail'' instruction, the entry address ``occurrence @H3'' will generate the entry address ``〕'' as described earlier, which will cause the first goo 1-QfI to be generated. The signal is passed through and sent to address decoder 04), which selects address line "1". Then, the control signal output [0111) necessary for the 'Ol'''' instruction timing T1 is output from the control signal generation ROM Q6j, and the address signal [011
1] is generated from the address generation ROMQfi), and at the same time returns to the gate switching signal 810', and the first gate 07
) and the second gate (19) opens. Then, the address signal enters the address decoder (14), address line "7" is selected, and a necessary control signal output (01110) is generated at timing T2. 'Timing of the of instruction' r3. 'r4. The control signal cover turn required for T5 is the timing T2. of the "oo" command. 'r3. T
By setting the address signal pattern generated from the address generation ROM α6) to [01oo] when the address &l+71 is accessed, the timing T3. of the @01// instruction can be adjusted. 'r4. 'r.
に必要な制御信号出力が順次得られることは容易に理解
できるであろう。このように’01”Q令のタイミング
T3+ T4+ T5の制御伯考量カバターンは制御信
号発生ROM(+61内に別に設けなくても゛00°命
令のタイミングT2. T3. T4用の制御化考量カ
バターンを利用できる。以下パ10°命令、゛11°命
令についても後尾の共通パターンは利用できるめ
上記実施例では、アドレス発生ROMの出力は4ビツト
、制御信号発生ROMの出力は6ビツトとしたが、これ
らは必要に応じて任意に選べる。また、エントリアドレ
ス発生回路を省略して、直接命令コードをエントリアド
レスとしてもよいことは上記説明から明らかであろう。It will be easily understood that the necessary control signal outputs can be obtained sequentially. In this way, the control calculation cover turn for the timing T3+T4+T5 of the '01''Q command can be used as the control calculation cover turn for the timing T2.T3.T4 of the '00° command, without having to separately provide it in the control signal generation ROM (+61). The common pattern at the end can also be used for the PA 10° instruction and the ``11°'' instruction.In the above embodiment, the output of the address generation ROM is 4 bits, and the output of the control signal generation ROM is 6 bits. These can be arbitrarily selected as required.Also, it is clear from the above description that the entry address generation circuit may be omitted and the instruction code may be directly used as the entry address.
以上詳述したように、この発明になる制御装置では制御
タイミング毎にアドレス情報を受けて、そのタイミング
に対応する制御信号パターンを出力する制御信号発生R
OMと、次の制御タイミングでのアドレス情報を出力す
るアドレス発生ROMとを設けたので、各命令の後尾の
同一制御信号パターンの発生には上記制御信号発生RO
Mの同一部分が共用できるので制御装置は小形簡素化さ
れ、工C化に当ってはチップサイズの小形化が可能であ
る。As described in detail above, the control device according to the present invention receives address information at each control timing and outputs a control signal pattern corresponding to the timing.
OM and an address generation ROM that outputs address information at the next control timing, the control signal generation ROM is used to generate the same control signal pattern at the end of each command.
Since the same part of M can be shared, the control device can be made smaller and simpler, and when converting to C, the chip size can be reduced.
第1図は従来の制御装置の一例を示す回路図、第2図は
この発明の一実施例を示す回路図である。
図において、(7)は命令レジスタ、O(支)はエント
リアドレス発生回路、04]はアドレスデコーダ、(1
6)はアドレス発生Row、Qe)は制御信号発生RO
M、αη。
(181はゲートである。
なお、図中同一符号は同一また′は相当部分を示す。
代理人 葛 野 信 −(外1名)FIG. 1 is a circuit diagram showing an example of a conventional control device, and FIG. 2 is a circuit diagram showing an embodiment of the present invention. In the figure, (7) is an instruction register, O (branch) is an entry address generation circuit, 04] is an address decoder, and (1
6) is address generation Row, Qe) is control signal generation RO
M,αη. (181 is the gate. In addition, the same reference numerals in the figure indicate the same parts or '' indicates the corresponding parts. Agent Shin Kuzuno - (1 other person)
Claims (1)
出すエントリアドレス発生部、制御タイミング毎にアド
レス情報を受けてこれに対応する制御信号パターンを出
力する制御信号発生ROMおよび次の制御タイミングで
のアドレス情報を出力するアドレス発生ROM、並びに
当該命令についての最縮制御タイミングの次には上記エ
ントリアドレス発生部からのアドレス情報を取り入孔る
ように切換えるゲートを備えたことを特徴とするマイク
ロコンピュータの制御装置。ill An entry address generation unit that outputs entry address information according to the type of instruction, a control signal generation ROM that receives address information at each control timing and outputs a corresponding control signal pattern, and a control signal generation ROM that outputs address information at the next control timing. 1. A control device for a microcomputer, comprising an address generation ROM for outputting, and a gate for switching to input address information from the entry address generation section after the shortest control timing for the instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP17741181A JPS5878236A (en) | 1981-11-04 | 1981-11-04 | Controller for microcomputer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP17741181A JPS5878236A (en) | 1981-11-04 | 1981-11-04 | Controller for microcomputer |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS5878236A true JPS5878236A (en) | 1983-05-11 |
Family
ID=16030450
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP17741181A Pending JPS5878236A (en) | 1981-11-04 | 1981-11-04 | Controller for microcomputer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5878236A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6652358B1 (en) | 1999-05-07 | 2003-11-25 | Shin-Etsu Handotai Co., Ltd. | Double-sided simultaneous grinding method, double-sided simultaneous grinding machine, double-sided simultaneous lapping method, and double-sided simultaneous lapping machine |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5242339A (en) * | 1975-09-30 | 1977-04-01 | Nec Corp | Micro instruction address production system |
JPS537150A (en) * | 1976-07-09 | 1978-01-23 | Hitachi Ltd | Micro-program controlling system |
-
1981
- 1981-11-04 JP JP17741181A patent/JPS5878236A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5242339A (en) * | 1975-09-30 | 1977-04-01 | Nec Corp | Micro instruction address production system |
JPS537150A (en) * | 1976-07-09 | 1978-01-23 | Hitachi Ltd | Micro-program controlling system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6652358B1 (en) | 1999-05-07 | 2003-11-25 | Shin-Etsu Handotai Co., Ltd. | Double-sided simultaneous grinding method, double-sided simultaneous grinding machine, double-sided simultaneous lapping method, and double-sided simultaneous lapping machine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4870562A (en) | Microcomputer capable of accessing internal memory at a desired variable access time | |
GB1507485A (en) | Data processing system including a programmable logic array | |
US5291197A (en) | One-chip data processor with built-in A/D converter for automatically repeating A/D conversions without instructions from a CPU | |
JPS6131489B2 (en) | ||
JPH04245324A (en) | Arithmetic unit | |
JPS5878236A (en) | Controller for microcomputer | |
JPS638493B2 (en) | ||
US4393469A (en) | Process control apparatus | |
JPH11175334A (en) | Program data protective circuit | |
JPS63165922A (en) | Input/output timing generator for subscreen | |
JPH02105951A (en) | Address data generating circuit and digital signal processor incorporating same | |
SU448463A1 (en) | Asynchronous computer | |
SU1195364A1 (en) | Microprocessor | |
SU561966A1 (en) | Computing system for processing numbers and multidimensional vectors | |
JPS5897731A (en) | Input and output controlling system for logical integrated circuit | |
SU794631A1 (en) | Input-output control device | |
IE41472B1 (en) | Improvements in or relating to data processing equipment | |
SU1103225A1 (en) | Device for computing elementary functions | |
SU1029178A2 (en) | Microprogrammed control device | |
SU949719A1 (en) | Shifting device | |
SU1113802A1 (en) | Firmware controlunit | |
SU1023331A1 (en) | Control device | |
SU1168939A1 (en) | Microprogram control unit | |
JPH04251331A (en) | Information processor | |
SU444188A1 (en) | Shaper address scanner |