JPS603226B2 - microcomputer system - Google Patents

microcomputer system

Info

Publication number
JPS603226B2
JPS603226B2 JP55108224A JP10822480A JPS603226B2 JP S603226 B2 JPS603226 B2 JP S603226B2 JP 55108224 A JP55108224 A JP 55108224A JP 10822480 A JP10822480 A JP 10822480A JP S603226 B2 JPS603226 B2 JP S603226B2
Authority
JP
Japan
Prior art keywords
output
address
output port
program
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
JP55108224A
Other languages
Japanese (ja)
Other versions
JPS5734262A (en
Inventor
和夫 足立
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP55108224A priority Critical patent/JPS603226B2/en
Publication of JPS5734262A publication Critical patent/JPS5734262A/en
Publication of JPS603226B2 publication Critical patent/JPS603226B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/46Multiprogramming arrangements
    • G06F9/52Program synchronisation; Mutual exclusion, e.g. by means of semaphores

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Microcomputers (AREA)

Description

【発明の詳細な説明】 本発明は、マイクロコンピュータシステムに関し、とく
にその信号出力方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a microcomputer system, and particularly to its signal output method.

最近、機器装置の低価格、小型、高信頼性の要求に対し
てマイクロコンピュータの利用が活発化してきており、
それに伴なし、マイクロコンピュータに対して基本性能
以上の要求が出されるようになった。
Recently, the use of microcomputers has been increasing to meet the demands for low cost, small size, and high reliability of equipment.
Along with this, demands for microcomputers that go beyond basic performance have come to be made.

特にスピード、入出力ボート数、複数出力信号の同期性
といった要求については、マイクロプロセサの致命的な
部分で、いかんともしがたい状態であった。例えば第1
図のような従来例において、4ビツト出力信号を8ビッ
トに拡張する場合は外部にラツチ回路を設け、ラツチ信
号として余分に2ビットの出力ボートを必要とし、さら
に出力完了時間までに4倍以上の時間がかかり、2つの
ラッチ回路では出力の同期性が保証できないといった欠
点があった。
In particular, requirements such as speed, number of input/output ports, and synchronization of multiple output signals are critical aspects of microprocessors and have been difficult to meet. For example, the first
In the conventional example shown in the figure, when expanding a 4-bit output signal to 8 bits, an external latch circuit is required, an additional 2-bit output port is required as a latch signal, and the time required to complete the output is more than 4 times as long. However, the two latch circuits cannot guarantee output synchronization.

本発明は、かかる問題点を解決すべく、従来の回路に2
〜3の回路を追加するだけで、ある状態検出から応答出
力までの所要時間の短縮、出力ポ−ト数の拡張とその同
期性を実現した。
In order to solve such problems, the present invention provides two improvements to conventional circuits.
By simply adding ~3 circuits, we were able to shorten the time required from detecting a certain state to outputting a response, expand the number of output ports, and achieve synchronization.

以下に第2図ないし第4図を参照して、本発明の一実施
例について説明する。
An embodiment of the present invention will be described below with reference to FIGS. 2 to 4.

第2図は、本発明のマイクロコンピュータシステムのブ
ロック図である。
FIG. 2 is a block diagram of the microcomputer system of the present invention.

まずマイクロプロセサとしては、外部にプログラムメモ
リを有し、プログラムアクセスのためのアドレスバス、
データバスと、入出力ボートが分離独立し、出力ボート
は4ビットパラレル、プログラムは1ワード=8ビット
構成とし、外部プログラム領域はPROM(IK×8ビ
ット)とし、PROMの残余部(アドレスのX′餌8〜
X′兜F)が、テーブル領域として利用できるものとす
る。
First of all, a microprocessor has an external program memory, an address bus for program access,
The data bus and input/output ports are separate and independent, the output port is 4-bit parallel, the program is configured in 1 word = 8 bits, the external program area is PROM (IK x 8 bits), and the remaining part of PROM (address 'Bait 8~
Assume that X′ helmet F) can be used as a table area.

また、今対象としている出力ボートは、8ビットの信号
で、その8本の状態孫且合せは、8通りしかなく、その
ON,OFFについては、同時性が要求されているもの
とする。またCPUは第4図のように1命令サイクルの
間に、アドレス出力、命令取込解読、命令実行を行なう
ものとする。クロック信号作成回路2はフリツプフロッ
プからなり、CPUクロック信号eがHi餌のときクリ
アされ、信号d(出力ボートEの最上位ビットE3)の
立上りでセットされる。
Further, it is assumed that the current target output port is an 8-bit signal, and there are only 8 states and combinations of the 8 bits, and simultaneity is required for ON and OFF. It is also assumed that the CPU outputs an address, takes in and decodes an instruction, and executes an instruction during one instruction cycle as shown in FIG. The clock signal generation circuit 2 is composed of a flip-flop, and is cleared when the CPU clock signal e is high, and is set at the rising edge of the signal d (most significant bit E3 of the output port E).

その出力クロツク信号fはPROMアドレス切換回路3
とラツチ回路5へ供給される。PROMアドレス切換回
路3は前記クロック信号fにより、マイクロプロセッサ
ーからの正常アドレスa(10ビット)と出力ポ−トE
から出されたPROM内テーブル領域アドレスb(出力
ボートEの下位3ビットEO〜E2)を切換えて、PR
OMアドレスcを出力する。プログラム記憶用PROM
4は、プログラム領域(IK×8ビット)を有し、通常
は最終の数バイト〜数十バイトは未使用のまま残ってい
る。その未使用の領域の部分(アドレスのX′が8〜X
′蛇F)をテーブル領域として使用する。ラッチ回路5
は、クロック信号作成回路2の出力信号fによってデー
タバスの情報gをラッチし、OUTO〜OUT7として
出力する。今、外部割込の発生に応じて即座に制御出力
OUTO〜OUT7の状態を同時に変化させる必要が生
じた場合、マイクロプロセッサー(CPU)のある出力
ボートEからEO〜E3=‘‘111rなるテーブル領
域アドレス信号を出力する。
The output clock signal f is the PROM address switching circuit 3.
and is supplied to the latch circuit 5. The PROM address switching circuit 3 uses the clock signal f to select the normal address a (10 bits) from the microprocessor and the output port E.
Switch the PROM table area address b (lower 3 bits EO to E2 of output port E) issued from PR
Outputs OM address c. PROM for program storage
4 has a program area (IK×8 bits), and normally the last several bytes to several tens of bytes remain unused. The part of the unused area (address X' is 8 to
'Snake F) is used as a table area. Latch circuit 5
latches the data bus information g using the output signal f of the clock signal generation circuit 2 and outputs it as OUTO to OUT7. Now, if it is necessary to simultaneously change the states of control outputs OUTO to OUT7 immediately in response to the occurrence of an external interrupt, the table area from output port E where the microprocessor (CPU) is located to EO to E3 = ''111r. Output address signal.

そうすると第4図のように信号d(E3)がHighと
なることによってクロック信号発生回路2のフリップフ
ロップの出力fがHighとなり、アドレス切換回路(
第3図)によりEO〜E2がアドレスバスaの下3ビッ
トに置換され、4ビット目以上は“1”となり、PRO
MのX′兜Fがアドレスされ、データバスgにその内容
“100011101’1が出力される。その時にクロ
ック信号f(CLK)=Highにより、ラツチ回路5
に前記データバスgの内容がラツチされ、OUTO〜O
UT7として出力される。そしてこれらの条件は、次に
CPUクロツク信号eがHi軸となり信号fがリセット
されることにより、次の命令が正常に実行される。なお
信号d(E3)は、次にOUTO〜OUT7の状態を変
えるまでに一度、Lowにしておく必要がある。なおま
た、マイクロプロセサによっては、特定のボート出力時
に、外部ラッチ用のパルス信号が出力されるものもある
が、その場合には、その出力ボートの4ビットが、PR
OMのテーブル領域のアクセスにフルに使用でき、16
重りまでの出力状態が選択でき、クロック信号作成回路
2は省略できる。本発明は、以上の構成により、マイク
ロコンピュータの出力応答時間の短縮、出力信号の同期
性、出力ボートの拡張、残余メモリの有効利用等を図る
ことができる。
Then, as shown in FIG. 4, the signal d (E3) becomes High, and the output f of the flip-flop of the clock signal generation circuit 2 becomes High, and the address switching circuit (
3), EO to E2 are replaced with the lower 3 bits of address bus a, the 4th bit and above become "1", and PRO
X' helmet F of M is addressed, and its content "100011101'1" is output to data bus g.At this time, clock signal f (CLK) = High causes latch circuit 5 to
The contents of the data bus g are latched to OUT~O.
Output as UT7. Under these conditions, the CPU clock signal e becomes the Hi-axis and the signal f is reset, so that the next instruction is executed normally. Note that the signal d (E3) needs to be set to Low once before changing the states of OUTO to OUT7. Furthermore, some microprocessors output a pulse signal for external latch when outputting a specific port, but in that case, the 4 bits of that output port are PR
Fully available for accessing the OM table space, 16
The output state up to the weight can be selected, and the clock signal generation circuit 2 can be omitted. With the above configuration, the present invention can reduce the output response time of the microcomputer, improve the synchronization of output signals, expand the output port, and effectively utilize the remaining memory.

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

第1図はラッチ回路2つを使って、4ビット出力信号を
8ビット出力信号に拡張している従来例、第2図は本発
明の一実施例のマイクロコンピュータシステムのブロッ
ク図、第3図は第2図のアドレス切換回路3を示す図、
第4図は第2図の実施例のタイミングチャートを示す図
である。 1・・・マイクロプロセッサ(CPU)、2.・.クロ
ツク信号作成回路、3・・・PROMアドレス切換回路
、4・・・プログラム記憶用PROM、5・・・ラッチ
回路。 第1図第2図 第4図 第3図
Fig. 1 shows a conventional example in which a 4-bit output signal is expanded to an 8-bit output signal using two latch circuits, Fig. 2 is a block diagram of a microcomputer system according to an embodiment of the present invention, and Fig. 3 is a diagram showing the address switching circuit 3 of FIG. 2,
FIG. 4 is a diagram showing a timing chart of the embodiment of FIG. 2. 1... Microprocessor (CPU), 2.・.. Clock signal generation circuit, 3... PROM address switching circuit, 4... PROM for program storage, 5... latch circuit. Figure 1 Figure 2 Figure 4 Figure 3

Claims (1)

【特許請求の範囲】[Claims] 1 中央処理装置CPUと別個に外部プログラムメモリ
を有し、プログラムアクセスのためのアドレスバス、デ
ータバス、および入出力ポートが分離独立したマイクロ
コンピユータシステムにおいて、前記プログラムメモリ
は、プログラム領域のほかに、プログラム領域として使
用しない残余部分に、CPUの出力ポートの並列ビツト
数よりも多いビツト数の情報であって同じタイミングで
出力する必要のあるものを記憶するテーブル領域を設け
るとともに、そのテーブル領域のアクセスが必要な際に
CPUの出力ポートから出力するアドレス情報によって
テーブル領域をアクセスするためのアドレス切換回路と
、その時のデータバスの情報をラツチするラツチ回路と
を設けたことを特徴とするマイクロコンピユータシステ
ム。
1. In a microcomputer system that has an external program memory separate from the central processing unit CPU, and in which an address bus, a data bus, and an input/output port for program access are separated and independent, the program memory has, in addition to the program area, In the remaining part not used as the program area, a table area is provided to store information with a larger number of parallel bits than the number of parallel bits of the CPU output port and needs to be output at the same timing. A microcomputer system comprising an address switching circuit for accessing a table area using address information output from an output port of a CPU when necessary, and a latch circuit for latching information on a data bus at that time. .
JP55108224A 1980-08-08 1980-08-08 microcomputer system Expired JPS603226B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55108224A JPS603226B2 (en) 1980-08-08 1980-08-08 microcomputer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55108224A JPS603226B2 (en) 1980-08-08 1980-08-08 microcomputer system

Publications (2)

Publication Number Publication Date
JPS5734262A JPS5734262A (en) 1982-02-24
JPS603226B2 true JPS603226B2 (en) 1985-01-26

Family

ID=14479187

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55108224A Expired JPS603226B2 (en) 1980-08-08 1980-08-08 microcomputer system

Country Status (1)

Country Link
JP (1) JPS603226B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0414726U (en) * 1990-05-23 1992-02-06

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0414726U (en) * 1990-05-23 1992-02-06

Also Published As

Publication number Publication date
JPS5734262A (en) 1982-02-24

Similar Documents

Publication Publication Date Title
JP2538067B2 (en) Random access memory circuit having condition writing means
US4255785A (en) Microprocessor having instruction fetch and execution overlap
SU1541619A1 (en) Device for shaping address
GB2025096A (en) Memory board withlogical address modification
US4460972A (en) Single chip microcomputer selectively operable in response to instructions stored on the computer chip or in response to instructions stored external to the chip
US4947478A (en) Switching control system for multipersonality computer system
JPS603226B2 (en) microcomputer system
EP0256134B1 (en) Central processing unit
EP0114683A2 (en) Arithmetic unit
JPS5839358A (en) Memory access control system
US3397391A (en) Compact storage control apparatus
JPH02126321A (en) Decoder for instruction code
JPS6383844A (en) Microprocessor system
EP0335502A2 (en) Microcontroller and associated method
JP3251265B2 (en) Memory output control circuit
JPS59231791A (en) Semiconductor memory
SU1205142A1 (en) Device for controlling access to scratch-pad memory
KR930009061B1 (en) Memory access unit
SU1005065A1 (en) Associative matrix processor
JPS6220024Y2 (en)
JPH03211641A (en) Address designation method for memory device
JPH0128969B2 (en)
JPS6321928B2 (en)
JPS6226738B2 (en)
JPS6375852A (en) Memory access system