[go: up one dir, main page]

JPS6253834B2 - - Google Patents

Info

Publication number
JPS6253834B2
JPS6253834B2 JP53157824A JP15782478A JPS6253834B2 JP S6253834 B2 JPS6253834 B2 JP S6253834B2 JP 53157824 A JP53157824 A JP 53157824A JP 15782478 A JP15782478 A JP 15782478A JP S6253834 B2 JPS6253834 B2 JP S6253834B2
Authority
JP
Japan
Prior art keywords
circuit
ram
clock signal
signal
cpu
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.)
Expired
Application number
JP53157824A
Other languages
Japanese (ja)
Other versions
JPS5582362A (en
Inventor
Tsuguji Tateuchi
Shigeru Hirahata
Teruhiro Takezawa
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP15782478A priority Critical patent/JPS5582362A/en
Priority to US06/044,379 priority patent/US4298931A/en
Priority to DE2922540A priority patent/DE2922540C2/en
Publication of JPS5582362A publication Critical patent/JPS5582362A/en
Publication of JPS6253834B2 publication Critical patent/JPS6253834B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)

Description

【発明の詳細な説明】 本発明は2系統のRAMを有する演算処理回
路、たとえば文字表示装置等に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an arithmetic processing circuit having two systems of RAM, such as a character display device.

第1図は、従来技術における、クロツク信号発
生回路を用いた文字表示装置の一例を示すブロツ
ク図である。主に、システムの動作手順(プログ
ラム)を記憶する記憶回路2(以下ROMと仮称
する)と、システム動作時に一時データを記憶す
る記憶回路6(以下RAMと仮称する)と、表示
器に文字を表示するための信号を発生する文字表
示駆動回路7と、これらを制御し処理する中央演
算処理回路1(以下CPUと略記する)と、発振
回路3からの基本クロツク信号を入力とし、
CPU1にクロツク信号を供給するクロツク信号
発生回路4と、文字表示のタイミング信号を発生
するタイミング信号発生回路8と、該タイミング
信号発生回路8からのタイミング信号路11を介
して供給されるタイミング信号とCPU1からア
ドレスバス10を介して供給されるアドレス信号
とを交互に切り換えてRAM6に供給するスイツ
チ回路5とからなる。なお、9はCPU1とデー
タの交換を行なうためのデータバス、12は文字
表示駆動回路7の出力端子である。
FIG. 1 is a block diagram showing an example of a conventional character display device using a clock signal generation circuit. It mainly consists of a memory circuit 2 (hereinafter referred to as ROM) that stores system operating procedures (programs), a memory circuit 6 (hereinafter referred to as RAM) that stores temporary data during system operation, and a memory circuit 6 (hereinafter referred to as RAM) that stores system operating procedures (programs). A character display drive circuit 7 that generates signals for display, a central processing circuit 1 (hereinafter abbreviated as CPU) that controls and processes these, and a basic clock signal from an oscillation circuit 3 are input,
A clock signal generation circuit 4 that supplies a clock signal to the CPU 1, a timing signal generation circuit 8 that generates a timing signal for character display, and a timing signal that is supplied from the timing signal generation circuit 8 via a timing signal path 11. It consists of a switch circuit 5 which alternately switches an address signal supplied from the CPU 1 via an address bus 10 and supplies it to the RAM 6. Note that 9 is a data bus for exchanging data with the CPU 1, and 12 is an output terminal of the character display drive circuit 7.

第1図は表示器上に常に文字を表示することが
可能なφサイクルスチール表示方式と仮称する
表示方式を利用した例である。φサイクルスチ
ール表示方式とは第2図に示すように、CPU1
の動作が、φクロツク信号a(第2図の1)の
立ち上がりからT1時間遅れてアドレス信号を出
力し(第2図の3)、φクロツク信号b(第2
図の2)の立ち下がりでデータ信号(第2図の
4)をやりとりするという事を有効に利用した方
式であり、φクロツク信号bが発生していない
期間、すなわちT2時間にRAM6をCPU1のアド
レスバスから切り離し、タイミング発生回路8か
らのタイミング信号を用いて、上記RAM6から
データを取り出し文字を表示する方式である。
FIG. 1 shows an example using a display method tentatively named the φ2 cycle steal display method, which can always display characters on the display. φ 2 cycle steal display method As shown in Figure 2, CPU1
The operation of φ1 clock signal a (1 in Figure 2) outputs an address signal with a delay of T 1 hour (3 in Figure 2), and the φ2 clock signal b (2nd
This method effectively utilizes the fact that the data signal (4 in Figure 2) is exchanged at the falling edge of 2) in the figure, and the RAM 6 is This method is disconnected from the address bus of the CPU 1 and uses a timing signal from a timing generation circuit 8 to extract data from the RAM 6 and display characters.

次に第1図の概略動作をROM2に記憶された
プログラムに従つて文字を表示する場合について
説明する。
Next, the general operation shown in FIG. 1 will be explained for the case where characters are displayed according to a program stored in the ROM 2.

CPU1はアドレス信号を用いてROM2より表
示する文字データ信号をCPU1の内部に取り入
れ、その後文字を表示する位置に対応したアドレ
ス信号と、先に取り入れた文字データ信号を出力
する。スイツチ回路5はφクロツク信号bによ
つて切り換えられ、第2図に示すように、T3
間にはCPU1とRAM6が接続される。したがつ
てCPU1によつてT3期間に上記文字データ信号
がRAM6に書き込まれる。このようにして次々
とT3期間に文字データ信号がRAM6に書き込ま
れていく。一方、スイツチ回路5は、第2図に示
すように、T2期間に第1図の状態とは逆の位置
に切り換えられるので、この期間にはタイミング
信号発生回路8とRAM6とが接続される。した
がつてRAM6に記憶された文字データ信号は、
T2期間にタイミング信号によつて次々に読み出
され、文字表示駆動回路7を介して文字表示信号
として出力端子12より出力され、図示しない映
像管(以下CPTと略記する)等の表示器に表示
される。このように、スイツチ回路5をφクロ
ツク信号bによつて交互に切り換え、第2図5で
示す1文字表示期間T4内で、CPU1からRAM6
への書き込みおよびタイミング信号によるデータ
の読み出しを行なう、φサイクルスチール方式
を採用することで、CRT画面上に常に文字を表
示することができる。
The CPU 1 uses an address signal to take in a character data signal to be displayed from the ROM 2 into the CPU 1, and then outputs an address signal corresponding to the position where the character is to be displayed and the previously taken character data signal. The switch circuit 5 is switched by the φ2 clock signal b, and as shown in FIG. 2, the CPU 1 and the RAM 6 are connected during the T3 period. Therefore, the character data signal is written into the RAM 6 by the CPU 1 during the T3 period. In this way, character data signals are written into the RAM 6 one after another during the T3 period. On the other hand, as shown in FIG. 2, the switch circuit 5 is switched to the opposite position from the state shown in FIG. 1 during the T2 period, so the timing signal generation circuit 8 and the RAM 6 are connected during this period. . Therefore, the character data signal stored in RAM6 is
It is read out one after another by the timing signal during the T 2 period, is outputted from the output terminal 12 as a character display signal via the character display drive circuit 7, and is sent to a display device such as a picture tube (hereinafter abbreviated as CPT) (not shown). Is displayed. In this way, the switch circuit 5 is alternately switched by the φ2 clock signal b, and the CPU 1 to RAM 6
Characters can always be displayed on the CRT screen by using the φ2 cycle steal method, which writes data to the CRT and reads data using timing signals.

しかし、上記従来技術による文字表示装置は次
の欠点を持つている。今CRT画面上に1行当り
120文字を表示しようと、CRTの水平くり返えし
周期が約64μsなので、上記1文字表示期間T4
は次式で表わされる。
However, the character display device according to the prior art described above has the following drawbacks. Now per line on CRT screen
To display 120 characters, the CRT's horizontal repetition cycle is approximately 64 μs, so the above 1 character display period T 4
is expressed by the following equation.

T4=64×10−6/120≒530×10-9(sec) =530(ns) したがつてRAM6はT4/2期間内、すなわち
265ns内で読み出し、書き込みができなければな
らない。またCPU1もT4時間で動作可能、すな
わち約2MHzで動作可能でなければならない。と
ころが現在普通に市販されているMOS LSIの
RAMの読み出し時間は300〜400nsであり、これ
以上高速なRAMは非常に高価で、特殊なもので
ある。また同様に現在市販されているMOS LSI
のCPUの動作周波数は1MHzであり、2MHzで動作
可能なCPUは高価で特殊なものである。このよ
うに従来技術のクロツク信号を用いた文字表示装
置では、高価で特殊な高速RAM、高速CPUが必
要になるという欠点を持つていた。
T 4 = 64×10 −6 /120≒530×10 −9 (sec) = 530 (ns) Therefore, RAM6 is within T 4 /2 period, i.e.
It must be possible to read and write within 265ns. CPU1 must also be able to operate in T 4 hours, that is, it must be able to operate at approximately 2MHz. However, the MOS LSI currently on the market
The read time of RAM is 300 to 400 ns, and RAM faster than this is extremely expensive and special. Similarly, MOS LSIs currently on the market
The operating frequency of the CPU is 1MHz, and CPUs that can operate at 2MHz are expensive and special. As described above, character display devices using conventional clock signals have the drawback of requiring expensive and special high-speed RAM and high-speed CPU.

第3図にこの欠点を改善した従来技術のクロツ
ク信号発生回路を用いたもう1つの文字表示装置
を示す。第1図との比較から明らかなように、こ
の例では、スイツチ回路として2つのアドレスス
イツチ回路13,14を、RAMとして第1RAM
15および第2RAM16を、さらに2つのデータ
スイツチ回路17,18を追加している。そして
上記アドレススイツチ回路13,14およびデー
タスイツチ回路17,18はクロツク信号発生回
路4からのRAM切り換え信号cによつて切り換
えられる。
FIG. 3 shows another character display device using a conventional clock signal generation circuit which has improved this drawback. As is clear from a comparison with FIG. 1, in this example, two address switch circuits 13 and 14 are used as switch circuits, and the first RAM is used as RAM.
15 and a second RAM 16, and two data switch circuits 17 and 18 are added. The address switch circuits 13, 14 and data switch circuits 17, 18 are switched by the RAM switching signal c from the clock signal generating circuit 4.

第4図は上記クロツク信号発生回路4の1回路
例である。該クロツク信号発生回路4は、第5図
に示すように、発振回路3からの基本クロツク信
号d(第5図の6)によつてCPU1に供給する
φクロツク信号a(第5図の8)およびφ
ロツク信号b(第5図の9)を発生し、さらにφ
,φクロツク信号の2倍周期のRAM切り換
え信号c(第5図の7)を発生する。アドレスス
イツチ回路13,14およびデータスイツチ回路
17,18は、上記RAM切り換え信号cが入力
されている期間中、第3図に示す位置に切り換え
られる。よつて第1RAMはCPU1と接続されるの
で、CPU1からの読み書きが可能となり、第
2RAMはタイミング信号発生回路8、文字表示駆
動回路7と接続されるので、第2RAMに記憶され
ている文字データ信号が読み出され、表示され
る。また反対に、RAM切り換え信号cが入力さ
れていない期間では、アドレススイツチ回路1
3,14およびデータスイツチ回路17,18は
第3図の位置とは逆の位置に切り換えられる。
FIG. 4 shows an example of the clock signal generating circuit 4 described above. As shown in FIG. 5, the clock signal generating circuit 4 generates a φ1 clock signal a (8 in FIG. 5) which is supplied to the CPU 1 by the basic clock signal d (6 in FIG. 5) from the oscillation circuit 3. ) and φ2 clock signal b (9 in FIG. 5), and further generates φ
1 , φ2 A RAM switching signal c (7 in FIG. 5) having a cycle twice that of the 2 clock signal is generated. Address switch circuits 13, 14 and data switch circuits 17, 18 are switched to the positions shown in FIG. 3 during the period when the RAM switching signal c is input. Therefore, since the first RAM is connected to CPU1, reading and writing from CPU1 is possible, and the first RAM is connected to CPU1.
Since the 2RAM is connected to the timing signal generation circuit 8 and the character display drive circuit 7, the character data signal stored in the 2nd RAM is read out and displayed. Conversely, during the period when the RAM switching signal c is not input, the address switch circuit 1
3, 14 and data switch circuits 17, 18 are switched to positions opposite to those of FIG.

その結果、第2RAMはCPU1と接続されて
CPU1からの読み書きが可能となり、一方、第
1RAMはタイミング信号発生回路8および文字表
示駆動回路7と接続され、第1RAMに記憶されて
いる文字データ信号が読み出され、表示される。
すなわち、第5図に示すように、第1RAMがCPU
1と接続している期間中は第2RAMより文字表示
信号が得られ、反対に第2RAMがCPU1と接続し
ている期間中は第1RAMより文字表示信号が得ら
れる。
As a result, the second RAM is connected to CPU1.
It becomes possible to read and write from CPU1, while
1RAM is connected to the timing signal generation circuit 8 and the character display drive circuit 7, and character data signals stored in the first RAM are read out and displayed.
In other words, as shown in Figure 5, the first RAM
During the period when the second RAM is connected to the CPU 1, a character display signal is obtained from the second RAM, and conversely, during the period when the second RAM is connected to the CPU 1, a character display signal is obtained from the first RAM.

したがつて、1文字表示期間T4内で第1RAM、
第2RAMよりデータの読み出しができればよいこ
とになる。前述の例で示したように、CRT画面
上に1行当り120文字表示するとすれば、1文字
表示期間T4は530nsである。したがつて第1RAM
15、第2RAM16としては、現在市販されてい
る読み出し時間が300〜400nsの低価格なMOS
LSIのRAMを使用することができるようになる。
Therefore, within one character display period T4 , the first RAM,
It is only necessary to be able to read data from the second RAM. As shown in the above example, if 120 characters are displayed per line on the CRT screen, the one character display period T4 is 530 ns. Therefore, the first RAM
15. As the second RAM 16, a low-cost MOS with a readout time of 300 to 400 ns, which is currently commercially available, can be used.
It becomes possible to use LSI RAM.

しかしながら、上記従来技術のクロツク信号発
生回路を用いた文字表示装置には次の欠点があ
る。すなわち、第4図に示すクロツク信号発生回
路4においてφ,φクロツク信号a,bは
T4周期である。前述の例で示したようにCRT画
面上に1行当り120文字表示するとすれば、1文
字表示期間T4は530nsとなり、CPU1は約2MHz
で動作可能でなければならない。したがつて、第
1図に関して前述したと同様に、現在市販されて
いる1MHzで動作するMOS LSIのCPUを使用する
ことができず、2MHzで動作可能な高価で特殊な
CPUを使用しなければならないという欠点を持
つていた。
However, the character display device using the above-mentioned conventional clock signal generation circuit has the following drawbacks. That is, in the clock signal generation circuit 4 shown in FIG. 4, the φ 1 and φ 2 clock signals a and b are
T is 4 cycles. As shown in the example above, if 120 characters are displayed per line on the CRT screen, the one character display period T4 is 530ns, and the CPU1 is approximately 2MHz.
must be able to operate. Therefore, as mentioned above with regard to Figure 1, it is not possible to use the currently commercially available MOS LSI CPUs that operate at 1MHz, and an expensive and special CPU that operates at 2MHz cannot be used.
It had the disadvantage of having to use the CPU.

また、第5図に示されるように、第1RAM15
がCPU1と接続されている時、CPU1は第
2RAM16への読み書きを行なうことができず、
同様に第2RAM16がCPU1と接続されている
時、CPU1は第1RAM15への読み書きを行なう
ことができない。すなわち、φおよびφクロ
ツク信号a,bとRAM切り換え信号cとの関係
が一義的に定まつているため、CPU1から2系
統のRAMを自由にアクセスすることができな
い。したがつてあらかじめ上記不都合が起こらな
いように配慮してプログラムを作る必要があり、
プログラム作成が困難であるという欠点も持つて
いた。
In addition, as shown in FIG. 5, the first RAM 15
is connected to CPU1, CPU1 is
2Unable to read or write to RAM16,
Similarly, when the second RAM 16 is connected to the CPU 1, the CPU 1 cannot read from or write to the first RAM 15. That is, since the relationship between the φ1 and φ2 clock signals a, b and the RAM switching signal c is uniquely defined, the CPU 1 cannot freely access the two RAMs. Therefore, it is necessary to create a program in advance so that the above inconvenience does not occur.
It also had the disadvantage of being difficult to program.

本発明の目的は、上記した従来技術の欠点をな
くし、前述したような現在市販されている汎用の
RAMやCPUを使用することができ、かつ、前述
のようなプログラム作成上の制約を受けることも
なく、2系統のRAMを自由にアクセス可能とす
るクロツク信号発生回路を有した演算処理装置を
提供することにある。
The purpose of the present invention is to eliminate the drawbacks of the prior art described above, and to use the general-purpose technology currently available on the market.
Provides an arithmetic processing unit that has a clock signal generation circuit that can use RAM and a CPU, and can freely access two systems of RAM without being subject to the restrictions on program creation as described above. It's about doing.

前記目的を達成するために、本発明においては
第1・第2のRAMを一定周期で交互に切り換
え、アクセスするRAMに応じてCPUへ供給する
クロツク信号を引き伸ばすクロツク信号発生回路
を有する回路構成とした。すなわち、第1の構成
方法としてRAM切り換え信号とRAMへ供給され
るアドレス信号の最下位アドレス信号とを比較
し、CPUとアクセスするRAMとが接続されてい
ない時、上記クロツク信号発生回路に供給される
基本クロツク信号をしや断し、CPUへのクロツ
ク信号を引き伸ばすCPUクロツク信号発生回路
を有する構成とした。また、第2の構成方法とし
て、上記第1の回路構成方法のように基本クロツ
ク信号をしや断するのではなく、CPUとアクセ
スするRAMとが接続されていない時、クロツク
信号発生回路の反転動作を制御する回路構成とし
た。
In order to achieve the above object, the present invention has a circuit configuration including a clock signal generation circuit that alternately switches the first and second RAMs at a constant cycle and stretches the clock signal supplied to the CPU depending on the RAM to be accessed. did. That is, the first configuration method is to compare the RAM switching signal with the lowest address signal of the address signals supplied to the RAM, and when the CPU and the RAM to be accessed are not connected, the clock signal that is supplied to the clock signal generation circuit is determined. The configuration includes a CPU clock signal generation circuit that cuts off the basic clock signal sent to the CPU and stretches the clock signal sent to the CPU. In addition, as a second configuration method, instead of cutting off the basic clock signal as in the first circuit configuration method, when the CPU and the RAM to be accessed are not connected, the clock signal generation circuit is inverted. It has a circuit configuration that controls the operation.

第6図は本発明の1実施例を示すクロツク信号
発生回路図である。第3図および第7図を参照し
てその動作を説明する。第6図において、21は
発振回路3からの基本クロツク信号d(第7図の
12)によつてRAM切り換え信号c(第7図の
13)を発生するフリツプフロツプ回路、23は
CPUからのアドレス信号の最下位アドレス信号
e(第7図の14)と上記RAM切り換え信号c
との比較を行なう排他的論理和回路、24は、φ
クロツク信号b(第7図の17)と上記排他的
論理和回路23の出力信号との論理和演算を行な
う論理和回路、25は上記基本クロツク信号dを
論理和回路24の出力信号に応じてゲートするゲ
ート回路、22はCPUに供給するφおよびφ
クロツク信号a(第7図の16)、bを発生す
るフリツプフロツプ回路である。なお、この実施
例においては、第1RAM15は奇数アドレス信号
(最下位アドレス信号eが1)でアクセスされ、
第2RAM16は偶数アドレス信号(最下位アドレ
ス信号eが0)でアクセスされるものとする。
FIG. 6 is a clock signal generation circuit diagram showing one embodiment of the present invention. Its operation will be explained with reference to FIGS. 3 and 7. In FIG. 6, 21 is a flip-flop circuit that generates a RAM switching signal c (13 in FIG. 7) based on the basic clock signal d (12 in FIG. 7) from the oscillation circuit 3;
The lowest address signal e (14 in Figure 7) of the address signals from the CPU and the RAM switching signal c
An exclusive OR circuit 24 performs a comparison with φ
An OR circuit 25 performs an OR operation between the clock signal b (17 in FIG. 7) and the output signal of the exclusive OR circuit 23; gate circuit 22 supplies the CPU with φ1 and φ
This is a flip-flop circuit that generates two clock signals a (16 in FIG. 7) and b. In this embodiment, the first RAM 15 is accessed by an odd address signal (the lowest address signal e is 1),
It is assumed that the second RAM 16 is accessed by an even address signal (the lowest address signal e is 0).

本発明を前に述べたφサイクルスチール表示
方式による文字表示回路で説明する。すなわち、
CPU1から第1または第2RAM15,16への読
み書きは、φクロツク信号bが入力された期間
にのみ行なわれる。アドレススイツチ回路13,
14およびデータスイツチ回路17,18は、
RAM切り換え信号cが入力されている期間中
は、第3図に示す位置に切り換えられる。この時
第7図に示すように、第1RAMはCPU1と接続さ
れるが、φクロツク信号期間であるため、
CPU1からの読み書きは不可能である。一方、
第2RAMはタイミング信号発生回路8および文字
表示駆動回路7と接続されるので、第2RAMに記
憶されている文字データが読み出される。
The present invention will be explained using a character display circuit using the φ2 cycle steal display method described above. That is,
Reading and writing from the CPU 1 to the first or second RAM 15, 16 is performed only during the period when the φ2 clock signal b is input. address switch circuit 13,
14 and data switch circuits 17 and 18,
During the period when the RAM switching signal c is input, the position is switched to the position shown in FIG. 3. At this time, as shown in FIG. 7, the first RAM is connected to the CPU 1, but since it is a φ 1 clock signal period,
Reading and writing from CPU1 is not possible. on the other hand,
Since the second RAM is connected to the timing signal generation circuit 8 and the character display drive circuit 7, the character data stored in the second RAM is read out.

また、RAM切り換え信号cが入力されていな
い期間には、アドレススイツチ回路13,14お
よびデータスイツチ回路17,18は第3図に示
す位置とは逆の位置に切り換えられる。すなわ
ち、第2RAM16はCPU1と接続され、この時は
第7図に示すように、φクロツク信号bが入力
されているのでCPU1からの読み書きが可能と
なり、また第1RAM15はタイミング信号発生回
路8および文字表示駆動回路7と接続され、第
1RAMに記憶されている文字データ信号が読み出
される。
Further, during a period when the RAM switching signal c is not input, the address switch circuits 13 and 14 and the data switch circuits 17 and 18 are switched to positions opposite to those shown in FIG. That is, the second RAM 16 is connected to the CPU 1 , and at this time, as shown in FIG. It is connected to the character display drive circuit 7.
1Character data signals stored in RAM are read.

以上の操作をくり返えすかぎり、φクロツク
信号bが入力された時にCPU1と接続されるの
は第2RAMのみであり、第1RAMはCPU1より読
み書きができない。
As long as the above operations are repeated, only the second RAM will be connected to the CPU 1 when the φ2 clock signal b is input, and the first RAM cannot be read or written from by the CPU 1.

つぎに、RAM切り換え信号cが入力されて第
1RAM15がCPU1と接続され、CPU1が第
1RAMをアクセスした場合に、第6図のクロツク
信号発生回路の動作について説明する。
Next, the RAM switching signal c is input and the
1RAM15 is connected to CPU1, and CPU1 is
The operation of the clock signal generation circuit shown in FIG. 6 when one RAM is accessed will be explained.

RAM切り換え信号cが入力された時は、第7
図に示すように、CPU1にφクロツク信号a
が入力され、かつRAM切り換え信号cが1とな
る。するとCPU1は第1RAM15をアクセスする
ことになるが、従来例では第7図18に示すよう
に第1RAMがCPU期間にあるときは、φクロツ
ク信号18は常にローレベルであり、CPUは第
1RAMをアクセスすることができない。
When the RAM switching signal c is input, the 7th
As shown in the figure, CPU1 receives φ1 clock signal a.
is input, and the RAM switching signal c becomes 1. Then, the CPU 1 accesses the first RAM 15, but in the conventional example, as shown in FIG. 7, when the first RAM is in the CPU period, the φ2 clock signal 18 is always at a low level, and the CPU
1RAM cannot be accessed.

そこで本発明では、φクロツク信号bを第7
図17のように引き延ばし、第1RAM15のCPU
期間にφクロツク信号が出力されるようにす
る。したがつてRAM切り換え信号cが入力され
ている期間中、排他的論理和回路23の出力信号
はアクチブ(出力信号“1”)とはならず、また
φクロツク信号bも0であるために論理和回路
24はアクチブ(出力信号“1”)とはならな
い。その故に、このRAM切り換え信号cが入力
されている期間中、基本クロツク信号dは第7図
15に示すようにゲート回路25から出力fとし
て出力されない。このため、第7図16,17に
示すようにφクロツク信号aは反転せず、φ
クロツク信号bは出力されない。しかし、次に
RAM切り換え信号cが出力されない期間になる
と、排他的論理和回路23の出力信号はアクチブ
(出力信号“1”)となり、論理和回路24はアク
チブ(出力信号“1”)となる。
Therefore, in the present invention, the φ2 clock signal b is
Extended as shown in Figure 17, CPU of 1st RAM 15
The φ2 clock signal is output during this period. Therefore, during the period when the RAM switching signal c is input, the output signal of the exclusive OR circuit 23 is not active (output signal "1"), and since the φ2 clock signal b is also 0, The OR circuit 24 does not become active (output signal "1"). Therefore, while the RAM switching signal c is being input, the basic clock signal d is not outputted from the gate circuit 25 as the output f, as shown in FIG. 7. Therefore, as shown in FIG. 7, the φ 1 clock signal a is not inverted, and the φ 2 clock signal a is not inverted.
Clock signal b is not output. But then
During a period in which the RAM switching signal c is not output, the output signal of the exclusive OR circuit 23 becomes active (output signal "1"), and the OR circuit 24 becomes active (output signal "1").

したがつて基本クロツク信号dがゲート回路2
5を通過し、信号fとしてフリツプフロツプ回路
22に入力される。よつて再びRAM切り換え信
号cが入力された時、フリツプフロツプ回路22
が反転し、φクロツク信号bが出力される。φ
クロツク信号bが出力された時、第1RAM15
はCPU1と接続されるためCPUより読み書きが
可能となる。
Therefore, the basic clock signal d is the gate circuit 2.
5 and is input to the flip-flop circuit 22 as a signal f. Therefore, when the RAM switching signal c is input again, the flip-flop circuit 22
is inverted, and the φ2 clock signal b is output. φ
When the second clock signal b is output, the first RAM 15
is connected to CPU1, so it can be read and written by the CPU.

このようにφクロツク信号aが入力されてい
る時にCPU1と接続されているRAMをアクセス
する場合、ゲート回路25を用いて1つの基本ク
ロツク信号dを取り去ることでφクロツク信号
を引き伸ばし、その後再びアクセスしようとする
RAMとCPU1が接続された時にφクロツク信
号を出力し、CPUより読み書きを可能としてい
る。
When accessing the RAM connected to the CPU 1 while the φ1 clock signal a is being input in this way, the gate circuit 25 is used to remove one basic clock signal d to stretch the φ1 clock signal, and then try to access again
When RAM and CPU1 are connected, a φ2 clock signal is output, allowing reading and writing from the CPU.

また第7図16,17に示すように、CPU1
へ供給するφ,φクロツク信号a,bの周期
は一文字表示期間T4の2倍である。前述の例で
示したように、CRT画面上に120文字を表示する
場合、1文字表示期間T4は約530nsであるので
CPU1は約1MHzで動作すればよく、現在市販さ
れている安価なMOS LSIのCPUを使用すること
ができる。また、RAMの読み書きもT4期間で動
作するものでよく、やはり現在市販されている読
み書き時間300〜400nsの汎用のRAMを使用する
ことができる。
In addition, as shown in Figure 7 16 and 17, CPU1
The period of the φ 1 and φ 2 clock signals a and b supplied to the φ 1 and φ 2 clock signals a and b is twice the one-character display period T 4 . As shown in the example above, when displaying 120 characters on a CRT screen, the display period for one character T4 is approximately 530ns, so
The CPU 1 only needs to operate at approximately 1 MHz, and any inexpensive MOS LSI CPU currently available on the market can be used. Furthermore, reading and writing from the RAM may be performed in the T4 period, and general-purpose RAMs currently available on the market with read/write times of 300 to 400 ns can be used.

第8図は参考例を示すクロツク信号発生回路図
である。第3図および第9図を参照してその動作
を説明する。第8図中の第6図と同一の符号は同
一部分をあらわす。28はCPUからのアドレス
信号の最下位アドレス信号e(第9図の22)と
RAM切り換え信号c(第9図の21)との比較
を行なう排他的論理和回路、26は基本クロツク
信号d(第9図の20)によつて反転され、
CPUに供給するφおよびφクロツク信号a
(第9図の24)およびb(第9図の25)を発
生するフリツプフロツプ回路、27はφクロツ
ク信号aと、上記排他的論理和回路28の出力信
号と、基本クロツク信号dとの論理積g(第9図
の23)を出力し、前記フリツプフロツプ回路2
6の反転動作を制御する論理積回路であり、上記
フリツプフロツプ回路26のセツト端子にその出
力を接続されている。また、第6図の実施例と同
様、第1RAM15は奇数アドレス信号(最下位ア
ドレス信号eが1)でアクセスされ、第2RAM1
6は偶数アドレス信号(最下位アドレス信号eが
0)でアクセスされるものとする。
FIG. 8 is a clock signal generation circuit diagram showing a reference example. Its operation will be explained with reference to FIGS. 3 and 9. The same reference numerals in FIG. 8 as in FIG. 6 represent the same parts. 28 is the lowest address signal e (22 in Figure 9) of the address signals from the CPU.
The exclusive OR circuit 26 for comparison with the RAM switching signal c (21 in FIG. 9) is inverted by the basic clock signal d (20 in FIG. 9),
φ1 and φ2 clock signals a supplied to the CPU
(24 in FIG. 9) and a flip-flop circuit that generates b (25 in FIG. 9), 27 is a logic circuit of the φ1 clock signal a, the output signal of the exclusive OR circuit 28, and the basic clock signal d. The product g (23 in FIG. 9) is output and the flip-flop circuit 2
6, and its output is connected to the set terminal of the flip-flop circuit 26. Further, as in the embodiment shown in FIG. 6, the first RAM 15 is accessed by an odd number address signal (the lowest address signal e is 1), and the second RAM 1
6 is accessed by an even address signal (the lowest address signal e is 0).

この場合の動作を前記実施例と同様、φサイ
クルスチール表示方式による文字表示回路で説明
する。第1実施例について前述した様に、φ
φクロツク信号が一定であると、第9図からも
わかるように、φクロツク信号bが入力されて
いる期間中にCPU1と接続されているのは第
2RAM16であり、第1RAM15はCPU1より読
み書きができない。
The operation in this case will be explained using a character display circuit using the φ2 cycle steal display method as in the previous embodiment. As described above regarding the first embodiment, φ 1 ,
If the φ2 clock signal is constant, as can be seen from FIG.
2 RAM 16, and the first RAM 15 cannot be read or written from by the CPU 1.

RAM切り換え信号cが入力され、第1RAM1
5がCPU1と接続された時、CPU1が第1RAM
をアクセスした場合のクロツク信号発生回路の動
作について説明する。
RAM switching signal c is input, and the first RAM1
When 5 is connected to CPU1, CPU1 is the first RAM
The operation of the clock signal generation circuit when the clock signal is accessed will be explained.

RAM切り換え信号cが入力された時は、第9
図に示すようにCPU1にφクロツク信号aが
入力され、かつ最下位アドレス信号eが1とな
る。したがつてRAM切り換え信号cが入力され
ている期間中、排他的論理和回路28の出力信号
はアクチブ(出力信号“0”)とはならず、よつ
て論理回路27の出力には反転制御信号g(第9
図の23)が出力される。この反転制御信号gが
フリツプフロツプ回路26のセツト端子に入力さ
れることによつて、基本クロツクdが入力されて
いるにもかかわらず前記回路26は反転せず、次
のRAM切り換え信号cが入力されない期間も、
φクロツク信号bが出力されない。しかし、こ
のRAM切り換え信号cが入力されない期間に
は、排他的論理和回路28の出力信号がアクチブ
(出力信号“0”)となり、論理回路27の出力に
は反転制御信号gが出力されないようになる。し
たがつて、再びRAM切り換え信号cが入力さ
れ、第1RAM15とCPU1とが接続された時、フ
リツプフロツプ回路26は基本クロツク信号dに
よつて反転し、φクロツク信号bが出力され
る。このように、第1RAM15がCPU1と接続さ
れた時、φクロツク信号が出力されるため、
CPU1より第1RAM15への読み書きが可能とな
る。
When the RAM switching signal c is input, the 9th
As shown in the figure, the φ1 clock signal a is input to the CPU 1 , and the lowest address signal e becomes 1. Therefore, during the period when the RAM switching signal c is being input, the output signal of the exclusive OR circuit 28 is not active (output signal "0"), and therefore the output of the logic circuit 27 is an inverted control signal. g (9th
23) in the figure is output. By inputting this inversion control signal g to the set terminal of the flip-flop circuit 26, the circuit 26 is not inverted even though the basic clock d is input, and the next RAM switching signal c is not input. The period also
φ2 clock signal b is not output. However, during the period when this RAM switching signal c is not input, the output signal of the exclusive OR circuit 28 becomes active (output signal "0"), and the inverted control signal g is not output to the output of the logic circuit 27. Become. Therefore, when the RAM switching signal c is input again and the first RAM 15 and the CPU 1 are connected, the flip-flop circuit 26 is inverted by the basic clock signal d, and the φ2 clock signal b is output. In this way, when the first RAM 15 is connected to the CPU 1, the φ2 clock signal is output, so
The CPU 1 can read and write to the first RAM 15.

以上のように、φクロツク信号aが入力され
ている時にCPU1と接続されているRAMをアク
セスする場合、反転制御信号を用いて、フリツプ
フロツプの反転動作を制御することでφクロツ
ク信号を引き伸ばし、その後再びアクセスしよう
とするRAMとCPU1とが接続された時にφ
ロツク信号を出力し、CPUよりの読み書きを可
能としている。
As described above, when accessing the RAM connected to CPU 1 while the φ1 clock signal a is being input, the φ1 clock signal is extended by controlling the inversion operation of the flip-flop using the inversion control signal. Then, when the RAM to be accessed again is connected to the CPU 1, a φ2 clock signal is output, allowing reading and writing from the CPU.

前述の実施例と同様に、また第9図の24〜2
7に示すように、CPU1へ供給するφおよび
φクロツク信号a,bの周期は1文字表示期間
T4の2倍である。前述の例で示したように、
CRT画面に120文字を表示する場合、1文字表示
期間T4は約530nsであるので、CPU1は約1MHz
で動作する、現在市販されている安価なMOS
LSIのCPUを使用することができる。またRAM
の読み書きもT4期間で動作するものでよく、や
はり現在市販されている読み書き時間300〜
400nsの汎用のRAMを使用することができる。
Similar to the previous embodiment, and 24-2 in FIG.
7, the period of the φ1 and φ2 clock signals a and b supplied to the CPU 1 is one character display period.
It is twice that of T4 . As shown in the previous example,
When displaying 120 characters on a CRT screen, one character display period T4 is approximately 530ns, so CPU1 is approximately 1MHz.
Cheap MOS currently available on the market that works with
Can use LSI CPU. Also RAM
It is sufficient to read and write in T 4 period, and the reading and writing time of currently available on the market is 300 ~
400ns of general-purpose RAM can be used.

第8図の参考例では、φクロツク信号aを用
いて反転制御信号gを得、これをフリツプフロツ
プ回路26のセツト端子に入力するようにした例
を示した。しかし、φクロツク信号bを用いて
反転制御信号を得、これをフリツプフロツプ回路
のリセツト端子に入力するように回路構成のクロ
ツク信号発生回路も、本実施例と同様の効果を得
ることができることは明らかであろう。
In the reference example shown in FIG. 8, an inverted control signal g is obtained using the φ1 clock signal a, and this is input to the set terminal of the flip-flop circuit 26. However, it is possible to obtain the same effect as this embodiment with a clock signal generation circuit configured to obtain an inverted control signal using the φ2 clock signal b and input it to the reset terminal of the flip-flop circuit. It should be obvious.

本発明によれば、わずかな回路部品を用いるだ
けで、非常に高速で動作する、高価な特殊な
CPUやRAMを用いる必要がなく、かつプログラ
ム作成上の制約もなしに、2系統のRAMを自由
にアクセスすることが可能な演算処理装置を構成
することができる。すなわち、CRT画面上に120
文字を表示する場合において、従来技術によるク
ロツク信号発生回路を用いた場合には、2MHzで
動作可能なCPUや260nsで読み書き可能なRAM
が必要となり、現在市販されている汎用の1MHz
で動作するCPUや、読み書き時間300〜400nsの
RAMを使用することができず、非常に高価な装
置となつていた。しかし本発明によれば、CPU
は1MHzで動作可能であればよく、またRAMも読
み書き時間が530ns以内のRAMであればよい。し
たがつて現在市販されている汎用の安価な
CPU,RAMを使用することができ、安価な演算
処理装置を提供することができる。
The present invention provides an expensive, specialized system that uses only a few circuit components and operates at very high speeds.
It is possible to configure an arithmetic processing device that can freely access two systems of RAM without the need to use a CPU or RAM, and without any restrictions on program creation. i.e. 120 on the CRT screen
When displaying characters, if a conventional clock signal generation circuit is used, a CPU that can operate at 2MHz or a RAM that can read and write at 260ns is required.
is required, and the general-purpose 1MHz currently available on the market
A CPU that runs on
It was not possible to use RAM, making it a very expensive device. However, according to the present invention, the CPU
It only needs to be able to operate at 1MHz, and the RAM only needs to have a read/write time of 530ns or less. Therefore, the general-purpose and inexpensive
A CPU and RAM can be used, and an inexpensive arithmetic processing device can be provided.

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

第1図は従来技術によるクロツク信号発生回路
を用いた文字表示装置の1例を示すブロツク図、
第2図は第1図におけるCPUのクロツク信号、
アドレス信号およびデータ信号の関係を示す図、
第3図は2系統のRAMを用いた従来の文字表示
装置の1例を示すブロツク図、第4図は従来技術
によるクロツク信号発生回路の1例を示すブロツ
ク図、第5図は第3,4図におけるRAM切り換
え信号、CPUクロツク信号および第1・第2RAM
の接続状態の関係を示す図、第6図は本発明によ
るクロツク信号発生回路の第一実施例のブロツク
図、第7図は第6図のクロツク信号発生回路を用
いた場合のRAM切り換え信号、CPUクロツク信
号および第1・第2RAMの接続状態の関係を示す
図、第8図は本発明によるクロツク信号発生回路
の参考例のブロツク図、第9図は第8図のクロツ
ク信号発生回路を用いた場合のRAM切り換え信
号、CPUクロツク信号および第1・第2RAMの接
続状態の関係を示す図である。 1……CPU、2……ROM、4……クロツク信
号発生回路、8……タイミング信号発生回路、1
3,14……アドレススイツチ回路、15……第
1RAM、16……第2RAM、17,18……デー
タスイツチ回路、21,22,26……フリツプ
フロツプ回路。
FIG. 1 is a block diagram showing an example of a character display device using a conventional clock signal generation circuit.
Figure 2 shows the CPU clock signal in Figure 1,
A diagram showing the relationship between address signals and data signals,
FIG. 3 is a block diagram showing an example of a conventional character display device using two systems of RAM, FIG. 4 is a block diagram showing an example of a clock signal generation circuit according to the prior art, and FIG. RAM switching signal, CPU clock signal, and 1st and 2nd RAM in Figure 4
FIG. 6 is a block diagram of the first embodiment of the clock signal generation circuit according to the present invention, and FIG. 7 shows the RAM switching signal when the clock signal generation circuit of FIG. 6 is used. A diagram showing the relationship between the CPU clock signal and the connection state of the first and second RAMs, FIG. 8 is a block diagram of a reference example of the clock signal generation circuit according to the present invention, and FIG. 9 is a diagram showing the relationship between the CPU clock signal and the connection state of the first and second RAMs. FIG. 3 is a diagram showing the relationship between the RAM switching signal, the CPU clock signal, and the connection state of the first and second RAMs when 1...CPU, 2...ROM, 4...Clock signal generation circuit, 8...Timing signal generation circuit, 1
3, 14...address switch circuit, 15...th
1RAM, 16...second RAM, 17, 18...data switch circuit, 21, 22, 26...flip-flop circuit.

Claims (1)

【特許請求の範囲】 1 データを記憶する第1・第2の記憶回路と、
第1・第2の記憶回路を最下位アドレス信号にし
たがつて交互に中央演算処理回路に接続するアド
レススイツチ回路と、前記アドレススイツチ回路
に供給してこれを制御する記憶回路切り換え信号
および中央演算処理回路に供給する第1・第2ク
ロツク信号を発生するクロツク信号発生回路とか
らなる演算処理装置であつて、 クロツク信号発生回路が、第3のクロツク信号
によつて反転する記憶回路切り換え信号を発生す
る切り換え信号発生回路と、中央演算処理回路か
らのアドレス信号の最下位アドレス信号と上記記
憶回路切り換え信号とを比較する比較回路と、上
記第3のクロツク信号を供給されるゲート回路
と、前記ゲート回路の出力信号によつて反転さ
れ、中央演算処理回路へ供給する位相の異なる第
1・第2のクロツク信号を発生する中央演算処理
回路用信号発生回路と、前記比較回路の出力信号
と第1のクロツク信号との論理和によつて前記ゲ
ート回路を制御する論理和回路とで構成されたこ
とを特徴とする演算処理装置。
[Claims] 1. First and second storage circuits that store data;
An address switch circuit that alternately connects the first and second memory circuits to the central processing circuit according to the lowest address signal; a memory circuit switching signal that is supplied to and controls the address switch circuit; and a central processing circuit. An arithmetic processing device comprising a clock signal generation circuit that generates first and second clock signals to be supplied to a processing circuit, wherein the clock signal generation circuit generates a storage circuit switching signal that is inverted by a third clock signal. a switching signal generation circuit that generates a switching signal; a comparison circuit that compares the lowest address signal of the address signals from the central processing circuit with the storage circuit switching signal; a gate circuit that is supplied with the third clock signal; a signal generation circuit for the central processing circuit that generates first and second clock signals having different phases that are inverted by the output signal of the gate circuit and supplied to the central processing circuit; 1. An arithmetic processing device comprising: an OR circuit that controls the gate circuit by ORing with a clock signal of 1.
JP15782478A 1978-06-02 1978-12-18 Operation processing unit Granted JPS5582362A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP15782478A JPS5582362A (en) 1978-12-18 1978-12-18 Operation processing unit
US06/044,379 US4298931A (en) 1978-06-02 1979-06-01 Character pattern display system
DE2922540A DE2922540C2 (en) 1978-06-02 1979-06-01 Data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15782478A JPS5582362A (en) 1978-12-18 1978-12-18 Operation processing unit

Publications (2)

Publication Number Publication Date
JPS5582362A JPS5582362A (en) 1980-06-21
JPS6253834B2 true JPS6253834B2 (en) 1987-11-12

Family

ID=15658105

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15782478A Granted JPS5582362A (en) 1978-06-02 1978-12-18 Operation processing unit

Country Status (1)

Country Link
JP (1) JPS5582362A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS588348A (en) * 1981-07-07 1983-01-18 Sony Corp Microcomputer
JPS58208845A (en) * 1982-05-31 1983-12-05 Toshiba Corp Overlap display system
JPS63236083A (en) * 1987-03-25 1988-09-30 株式会社東芝 Image display system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5391533A (en) * 1977-01-22 1978-08-11 Hitachi Ltd Time-division control system of refresh memory
JPS53139275A (en) * 1977-05-11 1978-12-05 Hitachi Ltd Dehumidifying device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5391533A (en) * 1977-01-22 1978-08-11 Hitachi Ltd Time-division control system of refresh memory
JPS53139275A (en) * 1977-05-11 1978-12-05 Hitachi Ltd Dehumidifying device

Also Published As

Publication number Publication date
JPS5582362A (en) 1980-06-21

Similar Documents

Publication Publication Date Title
JPS63153583A (en) Display device
JPS5984289A (en) Image signal output device
JPS6253834B2 (en)
JPH0136146B2 (en)
JPS6153736B2 (en)
JPS6333712B2 (en)
JPS6236312B2 (en)
JPS63131176A (en) Image display device
JPS636872B2 (en)
JP2562824Y2 (en) Waveform storage device
JP2634893B2 (en) Single chip microcomputer
JP3011498B2 (en) Clock generation circuit
KR920005294B1 (en) Chip Enable Signal Control Circuit of Dual Port Memory Devices
JP2953583B2 (en) RAM control circuit
KR930000457Y1 (en) 2x magnification circuit of monitor
JPS6128320Y2 (en)
JPS59231588A (en) Display unit
JPH0612313A (en) Memory device
JPH02220097A (en) Image data display system
JPS61130989A (en) X ray image processor
JPH0636144B2 (en) Image frame memory
JPS6320798A (en) Refresh automatic switching control system
JPS6252591A (en) Access control system for screen memory
JPH06243675A (en) Semiconductor storage device and the processing system
JPS6152474B2 (en)