JPS6246339A - Microprogram controller - Google Patents

Microprogram controller

Info

Publication number
JPS6246339A
JPS6246339A JP18679485A JP18679485A JPS6246339A JP S6246339 A JPS6246339 A JP S6246339A JP 18679485 A JP18679485 A JP 18679485A JP 18679485 A JP18679485 A JP 18679485A JP S6246339 A JPS6246339 A JP S6246339A
Authority
JP
Japan
Prior art keywords
microprogram
memory
bank
control circuit
memory bank
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
Application number
JP18679485A
Other languages
Japanese (ja)
Inventor
Naotoshi Ukai
鵜飼 直俊
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 JP18679485A priority Critical patent/JPS6246339A/en
Publication of JPS6246339A publication Critical patent/JPS6246339A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To expand a program storage area without adding an order control circuit used for expanding an address by temporarily stopping the microprogram action of a microprogram controller when a memory bank is selected and switched. CONSTITUTION:A bank selecting part 17 selects the memory bank, and at this time a clock stop signal output part 16 temporarily stops a clock signal CLK. As a result the microprogram executing action is stopped until the microprogram from a new memory bank is read out, thereby smoothly switching the memory bank. Accordingly, the switching of the memory bank, which is conventionally difficult, can expand the program storage area, and consequently it is unnecessary to add the order control circuit block.

Description

【発明の詳細な説明】 〔概要〕 固定長のプログラムアドレスを発生する順序制御回路を
有するマイクロプログラム制御装置において、自マイク
ロプログラム動作を一時停止し。
DETAILED DESCRIPTION OF THE INVENTION [Summary] In a microprogram control device having a sequential control circuit that generates fixed-length program addresses, the operation of the own microprogram is temporarily stopped.

マイクロプログラム格納メモリのバンクを切替えること
により、順序制御回路ブロックを追加することなく、マ
イクロプログラム格納エリアを拡大することを可能にし
ている。
By switching the banks of the microprogram storage memory, it is possible to expand the microprogram storage area without adding a sequential control circuit block.

〔産業上の利用分野〕[Industrial application field]

本発明はマイクロプログラム制御装置、特にマイクロプ
ログラム格納エリアを拡大できるようにしたマイクロプ
ログラム制御装置に関するものである。
The present invention relates to a microprogram control device, and more particularly to a microprogram control device capable of expanding a microprogram storage area.

〔従来の技術〕[Conventional technology]

一般の汎用的なプロセッサ装置システムにおいては、プ
ログラム格納メモリとプロセッサ装置とは、独立して動
作するため、いわゆるメモリバンク切替えによって、メ
モリを拡大することが可能である。即ち、プロセッサ装
置は、バンク切替えの命令フェッチ、命令実行の順で、
簡単にバンクを切替えることができる。
In a general-purpose processor device system, the program storage memory and the processor device operate independently, so it is possible to expand the memory by so-called memory bank switching. That is, the processor device fetches an instruction for bank switching and executes the instruction in the following order:
You can easily switch banks.

しかし、マイクロプログラム制御装置においては、格納
プログラム自身で順序制御を行うため。
However, in a microprogram control device, the stored program itself performs order control.

バンク切替えが困難である。即ち、マイクロプログラム
制御装置では、毎サイクル、常にプログラム格納メモリ
をアクセスしており5例えば、プログラム格納メモリか
ら読み出したバンク切替え指示のマイクロプログラムに
より、バンク切替えを行おうとすると、その時点では、
前のバンクからの読み出し準備が既に行われているため
、誤動作が生じるおそれがある。
Bank switching is difficult. That is, in the microprogram control device, the program storage memory is always accessed in every cycle.5 For example, if a bank switching instruction is attempted to be performed by a microprogram reading out from the program storage memory and instructing bank switching, at that point,
Since preparations for reading from the previous bank have already been made, a malfunction may occur.

そのため、従来、マイクロプログラム制御装置    
  6)二 I= において、マイクロプログラム格納エリアを拡大   
   目する場合には1例えば第4図に示すように、順
序      口制御回路のアドレスを拡大するように
されていた。
Therefore, conventionally, microprogram control devices
6) Expand the microprogram storage area in 2I=
For example, as shown in FIG. 4, the addresses of the sequential control circuits were enlarged.

第4図において、10は順序制御回路、11−1ないし
11−4は順序制御回路ブロック、12はROMで構成
されるプログラム格納メモリを表す。
In FIG. 4, 10 represents a sequence control circuit, 11-1 to 11-4 represent sequence control circuit blocks, and 12 represents a program storage memory constituted by a ROM.

順序制御回路プ吋り11−1・°°°として・例   
   ;jえば4ビツトスライスのシーケンス制御LS
Iが      ′1゛□い6に、 3a。LSI”i
?、1゜3.7.。ア、21スA0〜A11を発生させ
る。さらに、アドレスを拡大させる場合には、第4図に
示すように、順序      4制御回路ブロック11
−4をシリアル接続し、161: 、y 1107 t
’ u、2.A。〜A IS (!: t 4゜、−h
cヨi’す、大きなプログラム格納メモリー2を用いる
こ       1゜2が−e!a、hう′2“6・ 
                  [〔発明が解決
しようとする問題点)              M
しカル、上記構成では、順序制御回路ブロック    
   jをシリアル接続して増加させると、前の順序制
御回路ブロックからの桁上がりによる遅延時間がさらに
生じることになるため、装置全体の動作スピードが遅く
なるという問題がある。
Sequential control circuit output 11-1・°°°・Example
For example, 4-bit slice sequence control LS
I is '1゛□6, 3a. LSI”i
? , 1°3.7. . A. Generate 21 steps A0 to A11. Furthermore, when expanding the address, as shown in FIG.
-4 serially connected, 161: , y 1107 t
'u, 2. A. ~A IS (!: t 4゜, -h
If you use a large program storage memory 2, 1゜2 is -e! a,h'2"6・
[[Problem that the invention seeks to solve] M
In the above configuration, the sequential control circuit block
If j is serially connected and increased, there will be an additional delay time due to carry from the previous sequential control circuit block, resulting in a problem that the operating speed of the entire device will be slowed down.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理ブロック図を示す。 FIG. 1 shows a block diagram of the principle of the present invention.

第1図において、10は順序制御回路、12はプログラ
ム格納メモリ、13−1ないし13−1はメモリバンク
、14は本装置へのクロック信号CLKを供給するクロ
ック供給部、15はプログラム格納メモリ12から読み
出されたマイクロプログラムがセットされるラッチレジ
スタ、16はラッチレジスタ15にラッチされたメモリ
バンク切替え指示によりクロック供給部14が出力する
クロック信号CLKを一時的に停止させる信号を出力す
るクロック停止信号出力部、17はメモリバンク切替え
指示により、メモリバンクを選択する信号を出力するバ
ンク選択部を表す。
In FIG. 1, 10 is a sequence control circuit, 12 is a program storage memory, 13-1 to 13-1 are memory banks, 14 is a clock supply section that supplies a clock signal CLK to this device, and 15 is a program storage memory 12. A latch register 16 is used to set the microprogram read from the latch register 15, and a clock stopper 16 outputs a signal that temporarily stops the clock signal CLK output by the clock supply unit 14 in response to a memory bank switching instruction latched in the latch register 15. A signal output section 17 represents a bank selection section that outputs a signal for selecting a memory bank in response to a memory bank switching instruction.

順序制御回路10は+A6〜A7の固定長アドレスを、
クロック供給部14が出力するクロック      1
(3″0°゛°゛6°116°パJ ′< 7 /)”
°   トー゛”3−2″−77)@”&:に!、A°
〜9・+717     、、qドレスが供給される。
The order control circuit 10 inputs the fixed length addresses +A6 to A7,
Clock 1 outputted by the clock supply unit 14
(3″0°゛°゛6°116°PaJ′<7/)”
° To゛"3-2"-77) @"&:ni!, A°
~9·+717,,q addresses are supplied.

バンク選択部17からの出力信号ゝ1す・′ゝ“)′<
7913−1・ 13−2・      島・・・の1
つが有効となり、その有効となったメモリ      
 !バンクから、アドレスA0〜A7に対応するマイク
ロプログラムが読み出され、クロック信号CLKに同期
して、ランチレジスター5にラッチされ      :
″す る。
Output signal from bank selection section 17 ゝ1su・′ゝ“)′<
7913-1・13-2・Island...No.1
is enabled and its enabled memory
! The microprograms corresponding to addresses A0 to A7 are read from the bank and latched into the launch register 5 in synchronization with the clock signal CLK:
"do.

う・・チレジスタ15にう・・チされたデータから、1
′=イク・プ・ダラムの目的とする動作側?Il信号が
      1発生され、また、ラッチデータの一部が
ジャンプアドレスその他のシーケンス制御信号として、
順      l序制御回路10ヘフィードバックされ
る。
From the data loaded in register 15, 1
′ = Iku Pu Dalam's intended action side? 1 Il signal is generated, and part of the latch data is used as a jump address and other sequence control signals.
The order is fed back to the order control circuit 10.

例えば、メモリバンク13−1に格納されたマイクロプ
ログラムから、メモリバンク13−2へ格納さi?、=
7−(?07°°パ5”制御を移す場合      ;
には、予めメモリバンク13−1の制御移行点に。
For example, if a microprogram stored in memory bank 13-1 is stored in memory bank 13-2, i? ,=
7-(?07°°Pa5” When transferring control;
, at the control transition point of memory bank 13-1 in advance.

バンク切替え指示のプログラムを格納しておく。A program for instructing bank switching is stored.

このバンク切替え指示のプログラムが、ランチレジスタ
15に読み出されると、クロック停止信号出力部16へ
のクロック停止指示と、バンク選択部17への選択切替
え指示とが同時になされ、バンク選択部17からは、新
たにメモリバンク13−1に代えて、メモリバンク13
−2を選択する信号が出力される。また、クロック供給
部14に対し、一時的にクロック信号CLKを停止させ
る信号が出力される。
When this bank switching instruction program is read into the launch register 15, a clock stop instruction is issued to the clock stop signal output section 16 and a selection switching instruction is issued to the bank selection section 17 at the same time. Newly replaces memory bank 13-1 with memory bank 13.
A signal for selecting -2 is output. Further, a signal for temporarily stopping the clock signal CLK is output to the clock supply section 14.

(作用〕 本発明によれば、バンク選択部17により、メモリバン
クの選択がなされると共に、この選択切替え時に、クロ
ック停止信号出力部16により。
(Function) According to the present invention, the bank selection section 17 selects a memory bank, and at the time of this selection change, the clock stop signal output section 16 selects a memory bank.

クロック信号CLKが一時的に停止させられる。Clock signal CLK is temporarily stopped.

そのため、切替え時において、新しいメモリバンクから
のマイクロプログラムが読み出されるまで。
Therefore, at the time of switching, until the microprogram is read from the new memory bank.

本装置のマイクロプログラム実行動作が停止し。The microprogram execution operation of this device stops.

メモリバンクの切替えがスムーズに行われる。したがっ
て、従来困難であったメモリバンク切替えによって、プ
ログラム格納エリアを拡大させることができ、順序制御
回路ブロックを追加する必要はない。
Memory banks can be switched smoothly. Therefore, the program storage area can be expanded by memory bank switching, which has been difficult in the past, and there is no need to add a sequential control circuit block.

〔実施例〕〔Example〕

第2図は本発明の一実施例回路図、第3図は本発明の一
実施例タイムチャートを示す。
FIG. 2 shows a circuit diagram of an embodiment of the present invention, and FIG. 3 shows a time chart of an embodiment of the invention.

第2図において、第1図と同符号のものは、第1図図示
のものに対応する。11−1ないし11−3はそれぞれ
シーケンス制?11LSIからなる順序制御回路ブロッ
ク、20はウェイトクリップフロップ、21はバンク切
替えアドレスレジスタ。
In FIG. 2, the same reference numerals as in FIG. 1 correspond to those shown in FIG. Are 11-1 and 11-3 each a sequence system? A sequence control circuit block consisting of 11LSI, 20 a weight clip flop, and 21 a bank switching address register.

22はデコーダ、23はノット回路、24はアンド回路
、25は遅延回路を表す。
22 represents a decoder, 23 represents a NOT circuit, 24 represents an AND circuit, and 25 represents a delay circuit.

本実施例では、各メモリバンクは、それぞれROM (
#1)、ROM (#2)によって構成されている。メ
モリバンクは3個以上あってもよいが。
In this embodiment, each memory bank is a ROM (
#1) and ROM (#2). There may be three or more memory banks.

説明を簡単にするために2個の例を示している。Two examples are shown to simplify the explanation.

順序制御回路ブロック11は、4ビツトスライスのシー
ケンス制御LSIで、3個シリアル接続されているので
、計12ビットのアドレスAs”’A目を出力する。R
OM (#1)、ROM (#2)は、それぞれアドレ
スA0〜AIIの12ビツトでアドレスされる容量を持
つ。
The sequence control circuit block 11 is a 4-bit slice sequence control LSI, and since three pieces are serially connected, it outputs a total of 12 bits of address As'''A.R.
OM (#1) and ROM (#2) each have a capacity that can be addressed by 12 bits of addresses A0 to AII.

バンク切替えアドレスレジスタ21は、アドレスの拡張
とも言えるアドレスビットA lz −A IIの情報
を保持する。バンク切替えアドレスレジスタ21の出力
は、デコーダ22によってデコードされ、ROM (#
1)、ROM (#2)のチップ選択信号C8となる。
The bank switching address register 21 holds information on address bits A lz -A II, which can be said to be an extension of the address. The output of the bank switching address register 21 is decoded by the decoder 22 and stored in the ROM (#
1), becomes the chip selection signal C8 of ROM (#2).

バンク切替えアドレスレジスタ21およびデコーダ22
が、第1図図示バンク選択部17に相当する。
Bank switching address register 21 and decoder 22
corresponds to the bank selection section 17 shown in FIG.

ウェイトクリップフロップ20.ノット回路23、アン
ド回路24等が、第1図図示クロック停止信号出力部1
6に相当すると考えてよい。ランチレジスタ15にラッ
チされたデータにより、ウェイトフリップフロップ20
がセットされると。
Weight clip flop 20. A NOT circuit 23, an AND circuit 24, etc. are connected to the clock stop signal output section 1 shown in FIG.
It can be considered that it corresponds to 6. The data latched in the launch register 15 causes the wait flip-flop 20
is set.

ノット回路23.アンド回路24によって、クロック信
号CLKの供給がストップされる。一方。
Knot circuit 23. The AND circuit 24 stops the supply of the clock signal CLK. on the other hand.

クロック信号CLKは、遅延回路25により、所定時間
の遅延を受けた後、ウェイトフリップフロップ20への
リセット信号となるので、ウェイトフリップフロップ2
0は、所定時間後に、リセットされ、クロック信号CL
Kは再び順序制御回路10等へ供給される。
After being delayed for a predetermined time by the delay circuit 25, the clock signal CLK becomes a reset signal to the weight flip-flop 20.
0 is reset after a predetermined time and the clock signal CL
K is again supplied to the sequence control circuit 10 and the like.

バンク切替え時における動作は、第3図図示のようにな
る。
The operation at the time of bank switching is as shown in FIG.

例えば、動作Nのマイクロプログラムの後に。For example, after a microprogram with operation N.

バンク切替え指示のマイクロプログラムがあったとする
。このバンク切替え指示のマイクロプログラムは、ウェ
イトフリップフロップ20をセットするビットフィール
ドと、バンク切替えアドレスレジスタ21を更新するビ
ットフィールドとを持つ。プログラム格納メモリ12か
らバンク切替え指示のマイクロプログラムが読み出され
1次のクロック信号に同期して、このマイクロプログラ
ム    ゛がラッチレジスタ15にラッチされると、
ウェイトフリップフロップ20がセントされる。これに
より、クロック信号の供給はストップされ、装置はウェ
イト(Wait)状態に入る。即ち、第3図に示すよう
に、1クロック分の信号の出力が抑止される。
Assume that there is a microprogram that instructs bank switching. This bank switching instruction microprogram has a bit field for setting the wait flip-flop 20 and a bit field for updating the bank switching address register 21. When a microprogram instructing bank switching is read from the program storage memory 12 and latched into the latch register 15 in synchronization with the primary clock signal,
Weight flip-flop 20 is cented. As a result, the supply of the clock signal is stopped, and the device enters a wait state. That is, as shown in FIG. 3, the output of one clock's worth of signals is suppressed.

一方、ウェイトフリップフロップ20のセットと同時に
、バンク切替えアドレスレジスタ21は更新され、従っ
て、プログラム格納メモリ12において選択されるメモ
リバンクは1例えばROM(#1)からROM (#2
)になる。クロック信号の供給は、1クロック分、停止
させられているので1次にクロック信号の供給が再開さ
れた場合には、切替えられたROM (#2)からのマ
イクロプログラムが、ランチレジスタ15にラッチされ
る。第3図において、斜線で図示した部分がROM (
#2)に関連した部分である。ROM(#2)からRO
M(#1)への切替えも同様に可能である。また、メモ
リバンクが3個以上ある場合にも、バンク切替えアドレ
スレジスタ21に用意するアドレスピントにより、同様
に拡張することが可能である。
On the other hand, at the same time as the wait flip-flop 20 is set, the bank switching address register 21 is updated. Therefore, the number of memory banks selected in the program storage memory 12 is 1, for example, from ROM (#1) to ROM (#2).
)become. Since the supply of the clock signal is stopped for one clock, when the supply of the primary clock signal is resumed, the microprogram from the switched ROM (#2) will be latched into the launch register 15. be done. In Figure 3, the shaded area is the ROM (
This is the part related to #2). ROM (#2) to RO
Switching to M (#1) is also possible in the same way. Further, even if there are three or more memory banks, it is possible to expand the memory banks in the same way by using the address focus provided in the bank switching address register 21.

〔発明の効果〕〔Effect of the invention〕

以上説明したように1本発明によれば、アドレス拡大の
ための順序制御回路ブロックを追加することなく、プロ
グラム格納エリアを拡大することが可能になる。従って
、アドレス発生に関連する遅延も生じない。
As explained above, according to the present invention, it is possible to expand the program storage area without adding a sequential control circuit block for address expansion. Therefore, there is no delay associated with address generation.

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

第1図は本発明の原理ブロック図、第2図は本発明の一
実施例回路図、第3図は本発明の一実施例タイムチャー
ト第4図は従来方式の問題点説明図を示す。 図中、10は順序制御回路、12はプログラム格納メモ
リ、  13−1−13−iはメモリバンク。 14はクロック供給部、15はランチレジスタ。 16はクロック停止信号出力部、17はバンク選択部を
表す。 特許出願人   富士通株式会社          
6代理人弁理士  森1)寛(外1名)       
  ト漏 駕ず  1+I   R月 本#明り−・紀勢グイ4子マート          
 ト第3図 第介図        ! [(
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a circuit diagram of one embodiment of the present invention, and FIG. 3 is a time chart of one embodiment of the present invention. FIG. 4 is a diagram illustrating problems of the conventional method. In the figure, 10 is a sequence control circuit, 12 is a program storage memory, and 13-1-13-i is a memory bank. 14 is a clock supply section, and 15 is a launch register. 16 represents a clock stop signal output section, and 17 represents a bank selection section. Patent applicant Fujitsu Limited
6 Representative Patent Attorney Hiroshi Mori (1 other person)
1+I R Tsukimoto #Akari-・Kisegui 4ko Mart
Figure 3 Figure 3! [(

Claims (1)

【特許請求の範囲】 マイクロプログラムが格納されるメモリ(12)と、ク
ロック信号に同期して固定長のプログラムアドレスを発
生する順序制御回路(10)とを有するマイクロプログ
ラム制御装置において、 上記マイクロプログラムが格納されるメモリ(12)は
、各々上記順序制御回路(10)が発生する固定長のプ
ログラムアドレスが供給される複数のメモリバンク(1
3−1、13−2、・・・)によって構成され、上記メ
モリバンクのいずれか1つを有効化するバンク選択手段
(17)と、 上記メモリ(12)から読み出されたマイクロプログラ
ムによるメモリバンク切替え指示に対して、上記順序制
御回路(10)に供給するクロック信号を一時的に停止
させるクロック停止手段(16)とを備え、 上記バンク選択手段(17)によるメモリバンクの選択
切替えにあたって、上記クロック停止手段(16)によ
り、自マイクロプログラム動作が一時停止されるように
したことを特徴とするマイクロプログラム制御装置。
[Scope of Claims] A microprogram control device comprising a memory (12) in which a microprogram is stored and a sequence control circuit (10) that generates a fixed-length program address in synchronization with a clock signal, comprising: The memory (12) in which is stored includes a plurality of memory banks (12), each of which is supplied with a fixed length program address generated by the sequence control circuit (10).
3-1, 13-2, . . . ), and a bank selection means (17) for activating any one of the memory banks; and a memory according to a microprogram read from the memory (12). clock stop means (16) for temporarily stopping the clock signal supplied to the sequence control circuit (10) in response to a bank switching instruction; A microprogram control device characterized in that the clock stop means (16) temporarily stops the operation of the own microprogram.
JP18679485A 1985-08-26 1985-08-26 Microprogram controller Pending JPS6246339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18679485A JPS6246339A (en) 1985-08-26 1985-08-26 Microprogram controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18679485A JPS6246339A (en) 1985-08-26 1985-08-26 Microprogram controller

Publications (1)

Publication Number Publication Date
JPS6246339A true JPS6246339A (en) 1987-02-28

Family

ID=16194700

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18679485A Pending JPS6246339A (en) 1985-08-26 1985-08-26 Microprogram controller

Country Status (1)

Country Link
JP (1) JPS6246339A (en)

Similar Documents

Publication Publication Date Title
EP0135879B1 (en) Interface circuit and method for connecting a memory controller with a synchronous or an asynchronous bus system
JPH0346850B2 (en)
JPS62111328A (en) Data processor
KR100377708B1 (en) Semiconductor memory device employing pipeline operation with reduced power consumption
JPS6246339A (en) Microprogram controller
JP3043341B2 (en) Microcomputer system
JP3107595B2 (en) Memory access control device and memory access control method
JPH01273132A (en) Microprocessor
JP2501611B2 (en) Micro control system
JPH01239485A (en) Large-scale integrated circuit
JP2661310B2 (en) Microcomputer
JPS5932044A (en) Multiplex microprogram controller
JPH0553794A (en) Circuit for controlling control storage
JPS6240737B2 (en)
JPS58176761A (en) Starting circuit of multi-processor system
JP2536224B2 (en) Editing instruction execution method
JPS58186846A (en) Microprogram controller
JPS60263246A (en) Memory system
JPH03260832A (en) Microprogram controller
JPH02252024A (en) Microprogram loading system
JPS60225253A (en) Information processing device
JPH01122300A (en) Time division switch circuit
JPH04343132A (en) Central processing unit
JPS63211040A (en) Storage device
JPH0750157B2 (en) Pattern generator