JPS58169248A - Control system of program counter provided with input condition selector - Google Patents

Control system of program counter provided with input condition selector

Info

Publication number
JPS58169248A
JPS58169248A JP57052093A JP5209382A JPS58169248A JP S58169248 A JPS58169248 A JP S58169248A JP 57052093 A JP57052093 A JP 57052093A JP 5209382 A JP5209382 A JP 5209382A JP S58169248 A JPS58169248 A JP S58169248A
Authority
JP
Japan
Prior art keywords
selector
dma
circuit
output
program counter
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.)
Granted
Application number
JP57052093A
Other languages
Japanese (ja)
Other versions
JPS6156812B2 (en
Inventor
Yutaka Moriyama
裕 盛山
Akira Miyasaka
昭 宮坂
Tatsuki Hayashi
林 達城
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP57052093A priority Critical patent/JPS58169248A/en
Publication of JPS58169248A publication Critical patent/JPS58169248A/en
Publication of JPS6156812B2 publication Critical patent/JPS6156812B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30094Condition code generation, e.g. Carry, Zero flag

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)
  • Bus Control (AREA)

Abstract

PURPOSE:To continue processing securely from a state existing right before a DMA request when DMA processing ends, by providing an FF for holding a plural-bit flag for conditional branching to be inputted to a selector, and stopping a clock to the FF by the output of a delay circuit for permitting the DMA processing. CONSTITUTION:A program counter 1 with an input condition selector is connected to an ROM4 stored with a program and this counter 1 is provided with an ROM2, FF3, and selector 5. Further the FF10 which inputs the plural-bit flag for conditional branching to the selector 5 and an AND circuit 11 for controlling the clock to the FF10 are provided. When the DMA request is generated, a DMA permitting signal outputted from the delay circuit 9 is applied to the circuit 11 to stop the clock to the FF10 by the output of the circuit 11, and the flag for conditional branching before the DMA is performed is held in the FF10 to continue the processing securely from a state existing before the DMA request.

Description

【発明の詳細な説明】 (−発明の技術分野 本発明社入力条件セレクタ付プログラムカウンタ制御園
路に*J)、直装メモリアクセス(以下DMAと称す)
要求時、セレクタへ入゛力する被数ビットの条件分岐用
の7ラグを、DMAt’求直前の状態に確実に保持する
入力条件セレクタ付プログラムカウンタ制御方式に関す
る0 To)技術の背景 入力条件セレクタ付プログラムカランタとは、本特許出
願人が57年に41許出願した、入カー件セレクタ付頓
序回路を、プログラムカウンタとして使用したもので、
入力条件セレクタ付屓序回路の概要は、読出専用メ毫り
(以下ROMと称す)と7リツプフロツプ(以下FFと
称すンで構成され、該FF4D出力が現状態の出力で、
これと、複数ビットの入力条件を、該ROMK入力し、
その出力が次の状愚の出力−となる績序回路に、該複数
ビットの入力条件の中から所定の1ビツトを選択するセ
レクタと、この選択をする九め”の選択信号を出力する
手段を誼ROMK設け、選択され光1ビットを峡ROM
の入力条件と讐るこ七で該ROMの容量を小さく出来る
ものである。本発明はこの入力条件セレクタ付プログラ
ムカウンタの制御方式に関するものである。
[Detailed description of the invention] (-Technical field of the invention) Program counter control with input condition selector *J) Direct memory access (hereinafter referred to as DMA)
0 To) Technology background Input condition selector regarding a program counter control system with an input condition selector that reliably holds the 7 lags for conditional branching of the augend bit input to the selector in the state immediately before the DMAt' request at the time of request The attached program counter is a program counter that uses the input card selector attached order circuit, which the applicant of the present patent applied for in 1957, as a program counter.
The outline of the sequential circuit with input condition selector consists of a read-only memory (hereinafter referred to as ROM) and 7 lip-flops (hereinafter referred to as FF), and the FF4D output is the output of the current state.
Input this and the input conditions of multiple bits to the ROMK,
A selector for selecting a predetermined one bit from among the input conditions of the plurality of bits, and a means for outputting a selection signal for making this selection, to the sequence circuit whose output becomes the output of the next state. Provide a ROMK, select the light 1 bit in the ROM
The capacity of the ROM can be reduced by changing the input conditions. The present invention relates to a control system for this program counter with input condition selector.

(a)  従来技術と問題点 第1図は従来例の入力条件セレクタ付プログラムカウン
タの制御回路の要部のブロック図、第2図は第1図の各
部のタイムチャートを示すもので、囚はクロック、(6
)はDMA要求信号、0はFF8の出力、0はFF3へ
のりqツク、(ト)はプログラムアドレス(ROM4へ
の入力)的はプログラム命令出力(ROM4の出力)、
Qは複数ビットの条件分岐用フラグ、0はDMA許可信
号である0図中1は入力条件セレクタ付プログラムカウ
ンタ、2はROM、3.8はFF% 4はプログラムの
入ってiるROM、5はセレクタ、6はアンド回路、7
はノット回路、9はj!#1回路を示す0この回路では
、82図@O如< D MAI!求信号がくると、FF
8の出力は半周期おくれて0の如(DMA処壜中は11
1mの出力となっている0この信号と、アンド回路8&
Cより、0)の如(FF3へすhe又−7JP?801
7]で、F)+2)如<ROM4の出力をNO・0PE
RATIONの命令とし、プロNO,1,NO,2,N
O,3はプログラムアドレスのNO,1,NQ 2. 
No、 3 K対応し、NOPはNo−OPEfLA’
l’IONを示す。FF3へのりpツクが止まるのでセ
レクタ5の出力である複数ビットの条件分岐フラグは(
aK示す如<、DMA許可がおりDMA実行の直前の、
NO,4O状虐で止まる0ΩONα2. NQalNo
、4は上記プログラムアドレ逼延鑓路9によりl命令の
実行時間遷れて出力されるo D M A ’j& 4
が終われば、り四ツクがFF3に送られ、DMA実行直
前の状雇から継続して動作する・しかし、DMA’jl
i!行中に、前止まってiるNo、4の複数ビットの条
件分岐用フラグがかわることがある0この九め、セレク
タ5の出力01ビツトの条件分岐用7ラダもかわJ)、
DMム処場が終わった時は、DMA実行直前の状態から
継続り、て動作をしなければならないのく、異つ九動作
をし、継続動作が出来ない欠点があるO(4発明の目的 本発明の目的は上記の欠点をなくL、DMA処理完了後
確束に、DMA実行直前の状態から、継続動作が可能な
入力条件セレクタ付プログラムカウンタ制一方式の提供
にある0 (→ 発明の構成 本発明は上記の目的t◆成するために、入力条件セレタ
タ付プqグラムカクンタ制御回路において、セレクタへ
入力する複数ピッ)0条件分岐用フラグを保持するツリ
ツブフロップを具備し・)仏要求時、DMA許可を与え
る遍嬌回路の出力で該フリップフロップへのクロックを
止め、DMA’4行直前の咳複欽ビット0IId+分岐
用フラグを保持し、DMA実行中にかわることのないよ
うにし九ことtI!I#黴とする。
(a) Prior art and problems Figure 1 is a block diagram of the main parts of the control circuit of a conventional program counter with input condition selector, and Figure 2 is a time chart of each part of Figure 1. Clock, (6
) is the DMA request signal, 0 is the output of FF8, 0 is the transfer to FF3, (g) is the program address (input to ROM4), the program instruction output (output of ROM4),
Q is a multi-bit conditional branch flag, 0 is a DMA permission signal, 1 in the figure is a program counter with input condition selector, 2 is ROM, 3.8 is FF%, 4 is ROM containing the program, 5 is a selector, 6 is an AND circuit, 7
is a knot circuit, 9 is j! #1 shows the circuit 0 In this circuit, Figure 82 @O like < D MAI! When a request signal comes, FF
The output of 8 is like 0 after half a cycle (11 in the DMA processing bottle)
0 This signal, which is the output of 1m, and the AND circuit 8&
From C, 0) like (FF3 to hemata-7JP?801
7], F) + 2) < ROM4 output NO・0PE
RATION command, pro NO, 1, NO, 2, N
O, 3 is the program address NO, 1, NQ 2.
No, 3K compatible, NOP is No-OPEfLA'
Indicates l'ION. Since the transfer to FF3 stops, the multi-bit conditional branch flag that is the output of selector 5 becomes (
As shown below, DMA permission is available and immediately before DMA execution,
NO, 4O stops due to the situation 0ΩONα2. NQalNo.
, 4 is output after the execution time of the l instruction is changed by the program address extension 9.
When the process is completed, Riyotsuku is sent to FF3 and continues to operate from the position immediately before DMA execution. However, DMA'jl
i! During the line, the flag for conditional branching of multiple bits of No. 4 may change if the front stop is stopped.
When the DM processing is finished, the operation must continue from the state immediately before the DMA execution, but there is a drawback that the operation is different and cannot be continued. An object of the present invention is to eliminate the above-mentioned drawbacks and to provide a program counter-controlled system with an input condition selector that can reliably continue operation from the state immediately before DMA execution after completion of DMA processing. Structure: In order to achieve the above-mentioned object, the present invention includes a programmable flop control circuit with an input condition selector, which is equipped with a tree flop that holds a flag for branching to a plurality of pins input to the selector. The clock to the flip-flop is stopped at the output of the universal circuit that grants DMA permission, and the 0IId + branch flag immediately before the DMA'4 line is held so that it does not change during DMA execution. ! I#Mold.

(O発明の実施例 以下本発明の1実施MKつき図に従って説明する・第3
図は本発明の実施例の入力条件セレクタ付プログラムカ
クンタ制御回路01!部のブロック図、第4WJは第3
図の各部のタイムチャートで、(至)はりpツク、(至
)はDMA許可信号、(QaFFt。
(O Examples of the Invention Below, one implementation of the present invention will be explained according to the drawings with MK. Third
The figure shows a program control circuit 01 with an input condition selector according to an embodiment of the present invention! block diagram of the division, the 4th WJ is the 3rd
In the time chart of each part in the figure, (to) the pin, (to) the DMA permission signal, and (QaFFt.

へのクロックである。This is the clock.

図中jlE1図と同一機能のものは同一記号で示すOl
OはFF、11はアンド回路を示す。
Items in the figure that have the same functions as those in Figure jlE1 are indicated by the same symbols.
O indicates an FF, and 11 indicates an AND circuit.

第3図で第1図と異表る点は、複数ビットの条件分岐用
フラグを保持するFFl0と、FFl0ヘノク藁ツクを
制御する丸めのアンド回路11を設けた点のみであり、
通常の動作は第1図の説明と同じであるoDMAtlD
MA許可信号@に示すtI?きDMA許可信号を出力す
、!遅延回路9の出力管、アンド回路11に710え、
(Qに示す如(、FF10へのクロック今止め、FFI
 Oにて、DMA実行直前の、複数ビットの条件分岐用
フラグを保持さすにのことにより、DMA実行中に該条
件分岐用フラグは変化することはない。
The only difference between FIG. 3 and FIG. 1 is that FF10 holds a multi-bit conditional branch flag, and a rounding AND circuit 11 is provided to control FF10.
The normal operation is the same as the explanation in Figure 1.
tI shown in MA permission signal @? Outputs a DMA permission signal! Output tube of delay circuit 9, 710 in AND circuit 11,
(As shown in Q (, stop clock to FF10 now, FFI
By holding the conditional branch flag of multiple bits immediately before the DMA execution in step O, the conditional branch flag does not change during the DMA execution.

従ってDMA処理終了後確実に継続処理が実行出来る。Therefore, continuation processing can be reliably executed after the DMA processing is completed.

(ω 発明の効果 以上詳細Kat明せる如く、本発明によれば、1怯処理
完了後、DMA要求直前の状態から、確実に継続処理が
出来る効果がある・
(ω) Effects of the Invention As can be made clear in more detail, the present invention has the effect of being able to reliably continue processing from the state immediately before the DMA request after the completion of the first-flight processing.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は従来例の入力条件セレクタ付1日グラムカウン
タの制御回路の要部のプ四ツク図、第2図は第1図の各
部のタイムチャート、第3図は本図中1は入力条件セレ
クタ付プログラムカウンタ、2iiROM、3,8.1
0はFF、4はプログラムの入っている80M% 5は
セレクタ、6゜11はアンド回路、7はノット回路、9
は遅延回路である。 第 1 図 第2 図 (D)  FF3aりDツク (H) C1MA11F可信号 第 3 図
Figure 1 is a four-dimensional diagram of the main parts of the control circuit of a conventional daily gram counter with input condition selector, Figure 2 is a time chart of each part in Figure 1, and Figure 3 is the input. Program counter with condition selector, 2iiROM, 3, 8.1
0 is FF, 4 is 80M% containing the program, 5 is selector, 6゜11 is AND circuit, 7 is NOT circuit, 9
is a delay circuit. Fig. 1 Fig. 2 (D) FF3a ri D-tsuku (H) C1MA11F signal available Fig. 3

Claims (1)

【特許請求の範囲】[Claims] 直接メモリアクセス要求時、この信号を保持する第1の
7リツプフロツプの出力で、プログラムカウンタへのク
ロックを止めると共に、該プログラムカウンタで指示す
る命令を不動作に切換え、かつ蚊第1のフリップフロッ
プの出力を遅延せしめる遅延回路の出力を、直接メモリ
アクセス許可信号とする入力φ件セレクタ付プログラム
カウンタ制御回路において、セレクタへ入力する、複数
ビットの条件分岐用フラグを保持する第2O7リツプ7
0ツブを具備し、直接メモリアクセス要求時、咳遅延回
路の出力で、骸第2の7リツプフロツプへのクロックを
止めることを特徴とする人力条件セレクタ付プログラム
カウンタ制御方式0
When a direct memory access is requested, the output of the first flip-flop holding this signal stops the clock to the program counter, disables the instruction indicated by the program counter, and outputs the first flip-flop. In a program counter control circuit with an input φ selector that uses the output of a delay circuit that delays the output as a direct memory access permission signal, a second O7 lip 7 that holds a multi-bit conditional branch flag is input to the selector.
A program counter control method with a manual condition selector that is equipped with a 0 knob and stops the clock to the second 7 lip-flop by the output of the cough delay circuit when a direct memory access is requested.
JP57052093A 1982-03-30 1982-03-30 Control system of program counter provided with input condition selector Granted JPS58169248A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57052093A JPS58169248A (en) 1982-03-30 1982-03-30 Control system of program counter provided with input condition selector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57052093A JPS58169248A (en) 1982-03-30 1982-03-30 Control system of program counter provided with input condition selector

Publications (2)

Publication Number Publication Date
JPS58169248A true JPS58169248A (en) 1983-10-05
JPS6156812B2 JPS6156812B2 (en) 1986-12-04

Family

ID=12905215

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57052093A Granted JPS58169248A (en) 1982-03-30 1982-03-30 Control system of program counter provided with input condition selector

Country Status (1)

Country Link
JP (1) JPS58169248A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6111872A (en) * 1984-05-31 1986-01-20 Fujitsu Ltd Semiconductor integrated circuit
JPS6191752A (en) * 1984-10-11 1986-05-09 Nec Corp Microcomputer
JPS62103749A (en) * 1985-07-05 1987-05-14 Nec Corp Dma controller

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6111872A (en) * 1984-05-31 1986-01-20 Fujitsu Ltd Semiconductor integrated circuit
JPS6191752A (en) * 1984-10-11 1986-05-09 Nec Corp Microcomputer
JPH0431138B2 (en) * 1984-10-11 1992-05-25
JPS62103749A (en) * 1985-07-05 1987-05-14 Nec Corp Dma controller

Also Published As

Publication number Publication date
JPS6156812B2 (en) 1986-12-04

Similar Documents

Publication Publication Date Title
US3781823A (en) Computer control unit capable of dynamically reinterpreting instructions
US4225934A (en) Multifunctional arithmetic and logic unit in semiconductor integrated circuit
US4502115A (en) Data processing unit of a microprogram control system for variable length data
JPS6152512B2 (en)
EP0025087A2 (en) Pipeline Control apparatus for generating Instructions in a Digital Computer
JPS58169248A (en) Control system of program counter provided with input condition selector
US4652991A (en) Data transfer apparatus
US4267581A (en) Memory address designating system
US5053954A (en) Microprogram process for single cycle jump instruction execution
JPH0612107A (en) Sequence arithmetic processor and sequence arithmetic processing unit
US5416745A (en) Parallel data transfer circuit
JP2984913B2 (en) Programmable sequence control circuit
JPS5860355A (en) Information processing device
JPH0619651B2 (en) Sequence control device
JPS63111535A (en) Data processor
JPH0728644A (en) Data processor
JPH0194437A (en) Information processor
JPH052481A (en) Arithmetic control circuit
KR920004728B1 (en) High-speed execution system
JPH01145730A (en) Data destination control system
JPS6010642B2 (en) Sequence control device
JPH0517574B2 (en)
JPS61151781A (en) Vector processor
JPS62259139A (en) Microprogram controller
JPS5897730A (en) Data processor