JPH04148241A - Microcomputer development supporting device - Google Patents

Microcomputer development supporting device

Info

Publication number
JPH04148241A
JPH04148241A JP2269863A JP26986390A JPH04148241A JP H04148241 A JPH04148241 A JP H04148241A JP 2269863 A JP2269863 A JP 2269863A JP 26986390 A JP26986390 A JP 26986390A JP H04148241 A JPH04148241 A JP H04148241A
Authority
JP
Japan
Prior art keywords
signal
input
external
output
internal
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
JP2269863A
Other languages
Japanese (ja)
Inventor
Kazuyuki Yoshino
吉野 一行
Masatoshi So
宗 雅俊
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.)
NEC IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems 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 NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP2269863A priority Critical patent/JPH04148241A/en
Publication of JPH04148241A publication Critical patent/JPH04148241A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Microcomputers (AREA)

Abstract

PURPOSE:To deal with a high-speed microcomputer by providing a circuit which delays falsely the start of a control signal by the prescribed number of clocks and the circuit which inputs a selecting signal and delays an external response input signal by the prescribed number of the clocks. CONSTITUTION:A delay circuit 133 inputs the selecting signal 111 outputted from a detection circuit 102, and delays falsely the start of the control signal 134 for an external input/output device 104 by the prescribed number of the clocks. A response input signal delay circuit 151 inputs a clock signal 110 and an input/output control signal, and makes a response input signal forcedly into 0 at timing necessary for delaying the input/output operation of a CPU 101 by one clock portion. After that, it inputs the selecting signal 111, and outputs an internal response input signal 152 in the case of '0' and the external response signal 153 in the case of '1' to the response input signal 150. Thus, development can be supported in accordance with the development of the high-speed microcomputer.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロコンピュータ開発支援装置の入出力装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an input/output device for a microcomputer development support device.

〔従来の技術〕[Conventional technology]

一般にマイクロコンピュータ開発支援装置(以後単に、
支援装置と称す)は、開発対象のソフトウェア及びハー
ドウェアの開発を支援するために、開発対象のソフトウ
ェアの実行中断時に実行される支援装置内蔵のプログラ
ム及び、開発対象のソフトウェアを一時的に外部の入出
力装置(以後外部入出力装置と称す〉なしに仮想的に実
行できるように支援装置に内蔵されたメモリ等の内部入
出力装置を有している。
Microcomputer development support equipment (hereinafter simply referred to as
In order to support the development of the software and hardware to be developed, the support device is a built-in program that is executed when the execution of the software to be developed is interrupted, and the software to be developed is temporarily transferred to an external device. The support device has an internal input/output device such as a built-in memory so that it can be executed virtually without an input/output device (hereinafter referred to as an external input/output device).

従来の支援装置における、上記内部入出力装置と外部入
出力装置を選択するための一般的手段を第5図のブロッ
ク図及び第6図のタイミング図で説明する。
General means for selecting the internal input/output device and external input/output device in a conventional support device will be explained with reference to the block diagram of FIG. 5 and the timing diagram of FIG. 6.

第5図において200は支援装置本体である。In FIG. 5, 200 is the main body of the support device.

101は開発対象のマイクロコンピュータまたは、エミ
ユレーション用cpu (以後単にCPUと称す〉であ
る。
101 is a microcomputer to be developed or an emulation CPU (hereinafter simply referred to as CPU).

102はCPU 101が外部または内部の入出力装置
のどちらかを選択するかを検出する検出回路、103は
支援装置内の内部入出力装置、1゜4は支援装置の外部
に接続された外部入出力装置である。
102 is a detection circuit that detects whether the CPU 101 selects either an external or internal input/output device, 103 is an internal input/output device within the support device, and 1.4 is an external input/output device connected to the outside of the support device. It is an output device.

111は外部または内部の入出力装置のどちらかを選択
する検出回路102から出力される選択信号である。
111 is a selection signal output from the detection circuit 102 for selecting either an external or internal input/output device.

120はCPUl0Iから出力されるアドレス信号、1
21はアドレス信号120を内部入出力装置103に供
給する内部アドレス・バッファ、122は供給された内
部アドレス信号、123はアドレス信号120を104
に供給する外部アドレス・バッファ、124は供給され
た外部アドレス信号である。
120 is an address signal output from CPUl0I, 1
21 is an internal address buffer that supplies the address signal 120 to the internal input/output device 103; 122 is the supplied internal address signal; 123 is the internal address buffer that supplies the address signal 120 to the internal input/output device 103;
An external address buffer 124 is a supplied external address signal.

130はCUPlolから入出力装置へ出力される複数
の制御信号であり、各CPUで固有の信号を有するが、
一般にはメモリからの読みだし、メモリへの書き込み、
工0装置からの読みだし、IO装置への書き込みの4本
の制御信号で構成されている。
Reference numeral 130 indicates a plurality of control signals output from CUPlol to the input/output device, and each CPU has a unique signal.
In general, reading from memory, writing to memory,
It consists of four control signals for reading from the IO device and writing to the IO device.

ここでは説明を容易にするためにメモリからの読みだし
と、メモリへの書き込みを制御する2本の制御信号で説
明する。
Here, in order to simplify the explanation, two control signals for controlling reading from the memory and writing to the memory will be explained.

231は上記選択信号111が内部選択のときに内部入
出力装置103に制御信号130を供給する内部制御信
号発生回路であり、132は供給された内部制御信号で
ある。
231 is an internal control signal generation circuit that supplies the control signal 130 to the internal input/output device 103 when the selection signal 111 is an internal selection, and 132 is the supplied internal control signal.

233は選択信号111が外部選択のときに外部入出力
装置に制御信号130を供給する外部制御信号発生回路
であり、144は供給された外部制御信号である。
233 is an external control signal generation circuit that supplies the control signal 130 to the external input/output device when the selection signal 111 is external selection, and 144 is the supplied external control signal.

140は上記CPtJ101が入出力装置との間でデー
タを入出力するデータバスである。
140 is a data bus through which the CPtJ 101 inputs and outputs data to and from input/output devices.

141は上記選択信号111が内部選択のときに内部入
出力装置103とデータバス140を接続する内部デー
タバス・バッファであり、142は内部入出力装置10
4の内部データバスである。
141 is an internal data bus buffer that connects the internal input/output device 103 and the data bus 140 when the selection signal 111 is internal selection; 142 is an internal data bus buffer that connects the internal input/output device 103 and the data bus 140;
4 internal data bus.

143は上記選択信号111が外部選択のときに外部入
出力装置104とデータバス140を接続する外部デー
タバス・バッファであり、144は外部入出力装置10
4に接続された外部データバスである。
143 is an external data bus buffer that connects the external input/output device 104 and the data bus 140 when the selection signal 111 is external selection; 144 is an external data bus buffer that connects the external input/output device 104
4 is an external data bus connected to the external data bus.

250は上記CPU 101への応答入力信号、251
は上記選択信号111が内部を指定したとき内部入出力
装置103からの応答信号を選び、外部を指定したとき
外部入出力装置104がらの応答信号を選ぶ応答信号選
択回路であり、152は選択される内部応答信号、15
3は選択される外部応答信号である。
250 is a response input signal to the CPU 101, 251
152 is a response signal selection circuit which selects a response signal from the internal input/output device 103 when the selection signal 111 specifies internal, and selects a response signal from the external input/output device 104 when the selection signal 111 specifies external; internal response signal, 15
3 is an external response signal to be selected.

また通常の支援装置では上記124.134.144.
153の各信号は対象となるCPUのパッケージと同一
形状かつ同一配置のプローブ状のコネクタで支援装置の
外部に取り出され、開発対象の回路基盤Lj[i接装着
可能となっている。
In addition, in a normal support device, the above 124.134.144.
Each signal of 153 is taken out to the outside of the support device through a probe-shaped connector having the same shape and arrangement as the target CPU package, and can be attached to the circuit board Lj[i to be developed.

第6図は第5図の構成における、外部入出力装置に対す
るメモリの読みだし及び書き込み動作、内部入出力装置
に対するメモリへの書き込み及び読みだし動作の4種類
のタイミングを示したものである。
FIG. 6 shows four types of timing in the configuration of FIG. 5: memory read and write operations for external input/output devices, and memory write and read operations for internal input/output devices.

301は外部入出力装置に対するメモリの読みだし、3
02は内部入出力装置に対するメモリへの書き込み、3
03は外部入出力装置に対するメモリへの書き込み、3
04は内部入出力装置に対するメモリからの読み出しの
期間である。11゜はCPUl0Iに入力されるクロッ
ク信号である。232−1は内部メモリ読みだし制御信
号、232−2は内部メモリ書き込み制御信号で232
に対応し234−1は外部メモリ読みだし制御信号、2
34−2は外部メモリ書き込み制御信号で234に対応
している。
301 is a memory readout for an external input/output device;
02 is writing to memory for internal input/output device, 3
03 is writing to memory for external input/output device, 3
04 is a period for reading from memory for the internal input/output device. 11° is a clock signal input to CPUl0I. 232-1 is an internal memory read control signal, and 232-2 is an internal memory write control signal.
234-1 corresponds to an external memory read control signal, 2
34-2 is an external memory write control signal and corresponds to 234.

上記選択信号111は出力が“1′°のときに外部を選
択、“0”のときに内部を選択するものとし、制御信号
130−1.130−2.232−1.232−2.2
34−1.234−2は出力が“1”のときに入出力動
作を要求しているものとし、応答入力信号250.15
2.153は出力が“1°°のときに入出力装置の動作
が完了したと見なすものとする。
The selection signal 111 selects the outside when the output is "1'°," and selects the inside when the output is "0".
34-1.234-2 requests an input/output operation when the output is "1", and the response input signal 250.15
2.153 assumes that the operation of the input/output device is completed when the output is "1°".

本発明の対象となるCPUl0Iの場合、−ffiにメ
モリ内容の読みだしを行うとき、アドレス信号120を
出力しその信号が外部で安定になったと見なされる時間
ののちメモリ読みだし制御信号130−1を出力する。
In the case of CPU10I, which is the object of the present invention, when reading the memory contents to -ffi, the address signal 120 is output, and after the time when the signal is considered stable externally, the memory read control signal 130-1 is output. Output.

その後応答信号が有効になるまで待ち、その時点でCP
Uのデータバスの内容が確定したと判断し、その内容を
CPU内部に取り込み、読みだし動作を完了する。
It then waits until the response signal becomes valid, at which point the CP
It is determined that the contents of the U data bus have been determined, and the contents are taken into the CPU to complete the read operation.

第6図の301と304の期間がその動作の部分である
Periods 301 and 304 in FIG. 6 are the operation portion.

同様にメモリへの書き込みをおこなうときはアドレス信
号120を出力し、さらにデータバス140に書き込む
データを出力し、その信号が外部で安定になったと見な
される時間ののちメモリ書き込み制御信号130−2を
出力する。
Similarly, when writing to memory, the address signal 120 is output, the data to be written is further output to the data bus 140, and after the time when the signal is deemed stable externally, the memory write control signal 130-2 is output. Output.

その後応答信号が有効になるまで待ち、その時点でメモ
リへの書き込みが完了したと見なし書き込み動作を終了
する。
Thereafter, it waits until the response signal becomes valid, and at that point it is assumed that writing to the memory has been completed and the write operation ends.

第6図の302と303の期間がその動作の部分である
The periods 302 and 303 in FIG. 6 are the operation portion.

第6図では説明を容易にするためにCPUl01は後述
するタイミングで動作するものを代表として説明する。
In FIG. 6, for ease of explanation, the CPU 101 will be described as a representative CPU that operates at the timing described later.

CPUl01は4つのクロックで1つの入出力動作を行
い、メモリ読みだし動作の時は最初のクロックでアドレ
ス信号120を出力し、次のクロックでメモリ読みだし
制御信号130−1を出力し、4番目のクロックの立ち
上がりで応答入力信号250を評価し、もし有効であれ
ばデータバス140の内容をCPU内部に取り込みかっ
、メモリ読みだし制御信号130−1を終了する。
CPU101 performs one input/output operation with four clocks, and when performing a memory read operation, it outputs the address signal 120 on the first clock, outputs the memory read control signal 130-1 on the next clock, and outputs the memory read control signal 130-1 on the fourth clock. The response input signal 250 is evaluated at the rising edge of the clock, and if valid, the contents of the data bus 140 are taken into the CPU and the memory read control signal 130-1 is terminated.

そして4番目のタロツクの間、アドレス信号120を保
持する。
The address signal 120 is held during the fourth tarok.

もし応答入力信号250が有効でない場合は、3番目の
クロックの状態を繰り返す。
If the response input signal 250 is not valid, repeat the third clock state.

メモリ書き込みが動作時は最初のクロックでアドレス信
号120を出力すると同時にデータバス140に書き込
むデータを出力し、書き込み動作中その値を保持するこ
とと、メモリ読みだし制御信号130−1の代わりにメ
モリ書き込み制御信号130−1を出力する以外は、メ
モリ読みだし動作と同じタイミングで動作するものとす
る。
When memory writing is in operation, the data to be written is output to the data bus 140 at the same time as the address signal 120 is output at the first clock, and that value is held during the write operation. It is assumed that the operation is performed at the same timing as the memory read operation except for outputting the write control signal 130-1.

次に具体的動作を第5図及び第6図を使用して説明する
Next, specific operations will be explained using FIGS. 5 and 6.

まず検出回路102はアドレス信号120の内容を入力
することにより選択信号111のタイミングで出力する
First, the detection circuit 102 receives the contents of the address signal 120 and outputs it at the timing of the selection signal 111.

111は第6図に示すように1番目のクロックの立ち上
がりから、検出に必要な時間遅れて確定する。
As shown in FIG. 6, the signal 111 is determined after a time delay required for detection from the rising edge of the first clock.

ここで選択信号111は少なくとも制御信号130が有
効になる時期より早く確定する必要がある。
Here, the selection signal 111 needs to be determined at least earlier than the time when the control signal 130 becomes effective.

この選択信号111は内部制御信号発生回路231と外
部制御1号発生回路234に入力され、“0”の場合制
御信号130を内部制御信号232へ出力させ°゛1”
の場合外部制御信号234へ出力させる。
This selection signal 111 is input to the internal control signal generation circuit 231 and the external control No. 1 generation circuit 234, and when it is "0", the control signal 130 is output to the internal control signal 232.
In this case, the external control signal 234 is output.

また同時に内部データバス・バッファ141と外部デー
タバス・バッファ143に入力され、” o ”の場合
データバス140を内部データバス142と接続し、“
1′°の場合外部データバス144と接続する。
At the same time, it is input to the internal data bus buffer 141 and the external data bus buffer 143, and in the case of "o", the data bus 140 is connected to the internal data bus 142, and "
If it is 1'°, it is connected to the external data bus 144.

さらに同時に応答信号選択回路251に入力され、“0
゛′の場合内部応答入力信号152を応答入力信号25
0に出力し、“1”の場合外部応答入力信号153を応
答入力信号150に出力する。
Furthermore, it is simultaneously input to the response signal selection circuit 251, and "0" is input to the response signal selection circuit 251.
In the case of '', the internal response input signal 152 is converted to the response input signal 25.
If it is “1”, the external response input signal 153 is output as the response input signal 150.

この様にして入出力動作の対象が内部か外部かによって
入出力に必要な信号を振り分ける事により、支援装置は
入出力動作を内部と外部に切り替える事ができる。
In this way, by distributing the signals necessary for input/output depending on whether the target of input/output operation is internal or external, the support device can switch the input/output operation between internal and external.

この動作を第6図は、上記4種類の動作301.302
.303.304を代表としてタイミング図で示してい
る。
This operation is shown in Figure 6 for the above four types of operations 301 and 302.
.. 303 and 304 are shown in the timing diagram as representatives.

従来の支援装置でも選択信号111が入出力制御信号1
30が出力される前に確定すれば、データバス140及
び応答入力信号150に必要な信号が確定している必要
がある時には既にその内容は対応する装置と接続されて
おり、CPU101の動作には支障は置きない。
Even in the conventional support device, the selection signal 111 is the input/output control signal 1.
30 is determined before it is output, by the time the signals necessary for the data bus 140 and the response input signal 150 need to be determined, their contents have already been connected to the corresponding devices, and the operation of the CPU 101 is Leave no obstacles.

第7図は第5図の内部制御信号発生回路231と外部制
御信号発生回路233の一例の回路図、第8図は第5図
の内部データバス・バッファ141と外部データバス・
バッファ143の一例の回路で各データバスの1本に対
応して表している。
7 is a circuit diagram of an example of the internal control signal generation circuit 231 and external control signal generation circuit 233 in FIG. 5, and FIG. 8 is a circuit diagram of the internal data bus buffer 141 and external data bus buffer 141 in FIG.
An example circuit of the buffer 143 is shown corresponding to one of each data bus.

第9図は第5図の応答信号選択回路251の回路例であ
る。
FIG. 9 is a circuit example of the response signal selection circuit 251 shown in FIG.

第7図の130−1はメモリ読みだし制御信号、130
−2はメモリ書き込み制御信号であり、130に対応し
ている。
130-1 in FIG. 7 is a memory read control signal, 130
-2 is a memory write control signal and corresponds to 130.

同様に232−1は内部メモリ読みだし制御信号、23
2−2は内部メモリ書き込み制御信号で232に対応し
、234−1は外部メモリ読みたし制御信号、234−
2は外部メモリ書き込み制御信号で234に対応してい
る。
Similarly, 232-1 is an internal memory read control signal, 23
2-2 is an internal memory write control signal, which corresponds to 232, and 234-1 is an external memory read control signal, 234-
2 corresponds to 234, which is an external memory write control signal.

231及び233の内部は図に示すように単純なAND
回路とN07回路で構成されている。
The inside of 231 and 233 is a simple AND as shown in the figure.
It consists of a circuit and an N07 circuit.

第8図の130−1はメモリ読みだし制御信号で第7図
と同様に130の読みだし制御信号に対応している。
Reference numeral 130-1 in FIG. 8 is a memory read control signal, which corresponds to the read control signal 130 as in FIG.

140はデータバス140の1本を代表しており、デー
タの書き込み時には両方のデータバスに出力しても構わ
ないのでこの図ではその場合の回路を示している。
140 represents one of the data buses 140, and since data may be output to both data buses when writing data, this figure shows a circuit in that case.

第8図から分かるように141.143の内部はN07
回路とAND回路と、データバスバッファに良く使用さ
れるスリースティト・バッファで構成されている。
As you can see from Figure 8, the inside of 141.143 is N07
It consists of a circuit, an AND circuit, and a three-state buffer often used as a data bus buffer.

このバッファは制御信号が“1”の時に信号が出力され
るものである。
This buffer outputs a signal when the control signal is "1".

第9図のこの応答信号選択回路251もN07回路とA
ND回路とOR回路で構成される簡単なセレクタ回路で
ある。
This response signal selection circuit 251 in FIG. 9 also includes the N07 circuit and the A
This is a simple selector circuit consisting of an ND circuit and an OR circuit.

図から分かるとおり、これらの回路は簡単な基本論理回
路の組合せのみで実現できている。
As can be seen from the figure, these circuits can be realized using only a combination of simple basic logic circuits.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のマイクロコンピュータ開発支援装置にお
いて、外部入出力装置との間てデータの入出力を行う場
合、マイクロコンピュータの高速化に伴い検出回路の比
較判断に必要な時間が十分に確保てきなくなり、その場
合内部制御信号及び外部制御信号が正確に生成出来なく
なるという欠点があった。
In the conventional microcomputer development support device described above, when inputting and outputting data with an external input/output device, as the speed of the microcomputer increases, it becomes difficult to secure enough time for comparison and judgment of the detection circuit. In that case, there was a drawback that the internal control signal and the external control signal could not be accurately generated.

さらに生成した内部及び制御信号は内部及び外部制御信
号発生回路をそれぞれ通過するので必然的にマイクロコ
ンピュータが出力するタイミングに対して遅延すること
になり、その結果裸のマイクロコンピュータの特性に対
して支援装置の特性は必然的に悪くなるという欠点があ
った。
Furthermore, since the generated internal and control signals pass through the internal and external control signal generation circuits, they will inevitably be delayed with respect to the timing that the microcomputer outputs, and as a result, the characteristics of the bare microcomputer will be affected. The disadvantage was that the characteristics of the device inevitably deteriorated.

本発明の目的は、高速のマイクロコンピュータに対応で
きる開発支援装置を提供するものである。
An object of the present invention is to provide a development support device that is compatible with high-speed microcomputers.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のマイフロコンピュータ開発支援装置は内蔵の入
出力装置または外部入出力装置に対応する入出力信号か
否かを検出する検出回路を有し、動作の基準時間として
のタロツク信号を入力し、外部入出力装置との間で信号
の入出力動作を行う際に同期を取るための外部応答入力
信号を入力するマイクロコンピュータの開発支援装置に
おいて、前記検出回路から出力された選択信号を入力し
前記外部入出力装置に対する制御信号の起動を疑似的に
所定クロック数遅延させる遅延回路と、前記選択信号を
入力して前記外部応答入力信号を前記所定のクロック数
遅延させる応答信号遅延回路とを有して構成されている
The microcomputer development support device of the present invention has a detection circuit that detects whether the input/output signal corresponds to a built-in input/output device or an external input/output device, inputs a tarok signal as a reference time of operation, In a microcomputer development support device that inputs an external response input signal for synchronizing signal input/output operations with an external input/output device, the selection signal outputted from the detection circuit is inputted, and the selection signal outputted from the detection circuit is inputted. a delay circuit that artificially delays activation of a control signal to an external input/output device by a predetermined number of clocks; and a response signal delay circuit which inputs the selection signal and delays the external response input signal by the predetermined number of clocks. It is composed of

〔実施例〕〔Example〕

次に本発明の実施例について図面を用いて詳細に説明す
る。
Next, embodiments of the present invention will be described in detail using the drawings.

第1図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

100は支援装置本体であり、101はCPUである。100 is a support device main body, and 101 is a CPU.

102はCPUl0Iが外部または内部の入出力装置の
どちらを選択す−るかを検出する検出回路、103は支
援装置内の内部入出力装置、1゜4は支援装置の外部に
接続された外部入出力袋!である。
102 is a detection circuit that detects whether the CPU10I selects an external or internal input/output device, 103 is an internal input/output device in the support device, and 1.4 is an external input/output device connected to the outside of the support device. Output bag! It is.

110はCPU101に供給されているクロック信号で
ある。
110 is a clock signal supplied to the CPU 101.

111は外部または内部の入出力装置のどちらかを選択
する検出回路102から出力される選択信号である。
111 is a selection signal output from the detection circuit 102 for selecting either an external or internal input/output device.

120はCPUl0Iから出力されるアドレス信号、1
21はアドレス信号120を内部入出力装置103に供
給する内部アドレス・バッファ、122は供給された内
部アドレス信号、123はアドレス信号120を104
に供給するアドレス・バッファ、124は供給された外
部アドレス信号である。
120 is an address signal output from CPUl0I, 1
21 is an internal address buffer that supplies the address signal 120 to the internal input/output device 103; 122 is the supplied internal address signal; 123 is the internal address buffer that supplies the address signal 120 to the internal input/output device 103;
Address buffer 124 is a supplied external address signal.

130はCPU 101から入出力装置へ出力される複
数の制御信号であり、ここでは第5図の従来例と同様に
メモリからの読みだしとメモリへの書き込みの2本の制
御信号で構成されている場合を示す。
Reference numeral 130 indicates a plurality of control signals output from the CPU 101 to the input/output device, and here, as in the conventional example shown in FIG. Indicates when there is.

131は上記選択信号111が内部選択のときに内部入
出力装置103に制御信号130を一定りロック数遅ら
せて供給する内部制御信号遅延回路である。
Reference numeral 131 denotes an internal control signal delay circuit that delays the control signal 130 by a certain number of locks and supplies it to the internal input/output device 103 when the selection signal 111 is an internal selection.

132は供給された内部制御信号である。132 is a supplied internal control signal.

133は選択信号111が外部選択のときに外部入出力
装置に制御信号130を一定りロック数遅らせて供給す
る外部制御信号遅延回路である。
Reference numeral 133 denotes an external control signal delay circuit that delays the control signal 130 by a certain number of locks and supplies it to the external input/output device when the selection signal 111 is external selection.

134は供給された外部制御信号である。134 is a supplied external control signal.

140はCPUl0Iが入出力装置との間でデータを入
出力するデータバスである。
140 is a data bus through which CPU10I inputs and outputs data to and from an input/output device.

141は上記選択信号111が内部選択のときに内部入
出力装置103とデータバス140を接続する内部デー
タバス・バッファであり、142は内部入出力装置10
4の内部データバスである。
141 is an internal data bus buffer that connects the internal input/output device 103 and the data bus 140 when the selection signal 111 is internal selection; 142 is an internal data bus buffer that connects the internal input/output device 103 and the data bus 140;
4 internal data bus.

143は選択信号111が外部選択のときに外部入出力
装置104とデータバス140を接続する外部データバ
ス・バッファであり、144は外部入出力装置104に
接続された外部データバスである。
143 is an external data bus buffer that connects the external input/output device 104 and the data bus 140 when the selection signal 111 is external selection, and 144 is an external data bus connected to the external input/output device 104.

150はCPUl0Iへの応答入力信号、151は上記
選択信号111が内部を指定したとき内部入出力装置1
03からの応答信号を選び、外部を指定したとき外部入
出力装置104からの応答信号を選ぶと同時に上記一定
クロック数応答信号を遅らせる機能を持った応答信号遅
延回路である。
150 is a response input signal to CPU10I, and 151 is an internal input/output device 1 when the selection signal 111 specifies internal.
This is a response signal delay circuit which has the function of selecting a response signal from external input/output device 104, selecting a response signal from external input/output device 104, and simultaneously delaying the response signal by a certain number of clocks.

152は内部応答信号、153は外部応答信号である。152 is an internal response signal, and 153 is an external response signal.

また上記124.134.144.153の各信号は、
第5図の従来の支援装置において示したと同様に、プロ
ーブ状のコネクタで支援装置の外部に出力されている。
In addition, each signal of the above 124.134.144.153 is
As shown in the conventional support device shown in FIG. 5, the signal is output to the outside of the support device through a probe-shaped connector.

第2図は第1図のブロックにおける、外部入出力装置に
対するメモリの読みだし及び書き込み動作、内部入出力
装置に対するメモリへの書き込み及び読みだし動作を説
明するためのタイミング図である。
FIG. 2 is a timing diagram for explaining memory read and write operations for external input/output devices and memory write and read operations for internal input/output devices in the block of FIG.

201は外部入出力装置に対するメモリの読みだし動作
の期間、202は内部入出力装置に対するメモリへの書
き込み、203は外部入出力装置に対しするメモリへの
書き込み、204は内部入出力装置に対するメモリから
の読み出しの期間であり、それぞれ第5図の従来の対応
する各期間301.302.303.304よりも1ク
ロック分長い。
201 is a period of memory read operation for an external input/output device, 202 is a write to memory for an internal input/output device, 203 is a period of write to memory for an external input/output device, and 204 is a period for reading from memory for an internal input/output device. These reading periods are each one clock longer than the corresponding conventional periods 301, 302, 303, and 304 in FIG.

ここで、130−1はメモリ読みだし制御信号、130
−2はメモリ書き込み制御信号で130に対応し、13
2’−1は内部メモリ読みだし制御信号、132−2は
内部メモリ書き込み制御信号で132に対応し、134
−1は外部メモリ読みだし制御信号、134−2は外部
メモリ書き込み制御信号で134に対応している。
Here, 130-1 is a memory read control signal, 130
-2 is a memory write control signal and corresponds to 130, 13
2'-1 is an internal memory read control signal, 132-2 is an internal memory write control signal, which corresponds to 132, and 134
-1 is an external memory read control signal, and 134-2 is an external memory write control signal, which corresponds to 134.

選択信号111は出力が“1゛°のときに外部を選択、
“0”のときに内部を選択するものとし、制御信号13
0−1.130−2.132−1.132−2.134
−1.134−2は出力が°“1”のときに入出力動作
を要求しているものとし、応答入力信号150.152
.153は出力が“1”のときに入出力装置の動作が完
了したことを示すものとする。
The selection signal 111 selects the external when the output is “1゛°.
When it is “0”, the internal is selected, and the control signal 13
0-1.130-2.132-1.132-2.134
−1.134-2 is assumed to request input/output operation when the output is “1”, and response input signal 150.152
.. 153 indicates that the operation of the input/output device is completed when the output is "1".

次に具体的動作を第1図及び第2図を使用して説明する
Next, specific operations will be explained using FIGS. 1 and 2.

まず検出回路102はアドレス信号120の内容を入力
することにより選択信号111を111のタイミングで
出力する。
First, the detection circuit 102 receives the contents of the address signal 120 and outputs the selection signal 111 at the timing 111.

111は1番目のクロック信号110の立ち上がりから
検出に必要な時間遅れて確定する。
111 is determined after a time delay required for detection from the rising edge of the first clock signal 110.

本実施例の場合、選択信号111は少なくとも制御信号
130が有効になる時間と遅らすタロツク数である1ク
ロック分を加えた時間以内に確定すればよい。
In the case of this embodiment, the selection signal 111 may be determined within at least the time when the control signal 130 becomes effective plus one clock, which is the number of tarocks to be delayed.

内部制御信号遅延回路131と外部制御信号遅延回路1
34はこの選択信号111とCPUl01に入力されて
いるタロツク信号110を入力し、“0”の場合制御信
号133を1クロック分遅らせて内部制御信号132へ
出力させ“1”の場合制御信号を1クロック分遅らせて
外部制御信号134へ出力させる。
Internal control signal delay circuit 131 and external control signal delay circuit 1
34 inputs this selection signal 111 and the tarock signal 110 input to CPU101, and when it is "0", the control signal 133 is delayed by one clock and output to the internal control signal 132, and when it is "1", the control signal is outputted to 1. The signal is delayed by a clock and is output to the external control signal 134.

また同時に上記選択信号111は内部データバス・バッ
ファ141と外部データバス・バッファ143に入力さ
れ、“0”の場合データバス140を内部データバス1
42と接続し、“1”の場合外部データバス144と接
続する。
At the same time, the selection signal 111 is input to the internal data bus buffer 141 and the external data bus buffer 143, and when it is "0", the data bus 140 is input to the internal data bus 141.
42, and when it is "1", it is connected to the external data bus 144.

さらに同時に応答入力信号遅延回路151は上記クロッ
ク信号110と入出力制御信号を入力しCPUl0Iの
入出力動作を1クロック分遅らせるに必要なタイミング
で応答入力信号強制的に“0°′にした後、上記選択信
号111を入力し、“0”の場合内部応答入力信号15
2を、“1”の場合外部応答入力信号153を応答入力
信号160に出力する。
Furthermore, at the same time, the response input signal delay circuit 151 inputs the clock signal 110 and the input/output control signal, and after forcing the response input signal to "0°'" at the timing necessary to delay the input/output operation of the CPU10I by one clock, Input the above selection signal 111, and if it is “0”, the internal response input signal 15
2, and if it is "1", the external response input signal 153 is output as the response input signal 160.

第2図に示すようにこのタイミングを第6図に示した従
来のタイミングと比較すると、各入出力動作の時間は1
クロック分余分になっているが、外部の入出力装置から
みると最初の1クロック分は非動作状態と見なされ、仮
想的に2クロツク目から開始して4クロツクで動作して
いるように見える。 ここで外部制御信号遅延回路13
4のクロック入力から出力までの遅延時間をcPUlo
lから入出力制御信号の遅延時間と同じ時間に設計すれ
ば、アドレス信号及びデータバスからの書き込み動作時
の出力されるデータ値は2クロツク目までには確定でき
るため、支援装置の出力信号の特性を裸のマイクロコン
ピュータの出力信号の特性と同様に出来る効果がある。
As shown in Figure 2, when comparing this timing with the conventional timing shown in Figure 6, the time for each input/output operation is 1
There is an extra clock, but from the perspective of the external input/output device, the first 1 clock is considered to be inactive, and it appears to be operating in 4 clocks starting from the 2nd clock. . Here, the external control signal delay circuit 13
The delay time from clock input to output of 4 is cPUlo
If the delay time from l to I/O control signal is designed to be the same as the delay time of the input/output control signal, the data value output during write operation from the address signal and data bus can be determined by the second clock, so the output signal of the support device This has the effect of making the characteristics similar to those of the output signal of a bare microcomputer.

第3図は第1図の内部制御信号発生回路132と外部制
御信号発生回路134の一例の回路図、第4図は第1図
の応答信号選択回路152の一例の回路図である。13
1及び133の内部は図で示すように第7図の231及
び233に比べDタイプ・フリップフロップが追加され
若干の基本論理回路が追加されでいる。
3 is a circuit diagram of an example of the internal control signal generation circuit 132 and external control signal generation circuit 134 of FIG. 1, and FIG. 4 is a circuit diagram of an example of the response signal selection circuit 152 of FIG. 1. 13
As shown in the figure, the internals of circuits 1 and 133 have D-type flip-flops and some basic logic circuits added compared to 231 and 233 in FIG.

このDタイプ・フリップフロップは図中の(D>への入
力の信号が(CK)への入力の信号の立ち上がり変化時
に(Q)出力へ出力される回路である。
This D type flip-flop is a circuit in which the signal input to (D> in the figure is output to the (Q) output when the signal input to (CK) rises and changes).

第4図の応答信号遅延回路151は第3図と同じ形式の
Dタイスー・フリップフロップを使った回路に入力され
て応答信号遅延信号154を発生し、その信号が第9図
と同様なセレクタ回路に入力されることにより応答信号
遅延機能を実現している。
The response signal delay circuit 151 in FIG. 4 is input to a circuit using a D-type flip-flop of the same type as in FIG. The response signal delay function is realized by inputting the signal into the .

第4図と第5図から分かるとおり、これら、の回路も基
本論理回路の簡単な組合せで実現できる。
As can be seen from FIGS. 4 and 5, these circuits can also be realized by simple combinations of basic logic circuits.

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

以上説明したように本発明によって、マイクロコンピュ
ータ用開発支援装置の選択回路に必要な比較時間を十分
に確保できると同時に、外部入出力装置に対する入出力
において、仮想的にマイクロコンピュータ自身に近い特
性を有するので、高速度のマイクロコンピュータの開発
に対応して開発支援できる効果がある。
As explained above, the present invention makes it possible to secure sufficient comparison time necessary for the selection circuit of a development support device for a microcomputer, and at the same time, it is possible to virtually achieve characteristics close to the microcomputer itself in input/output to an external input/output device. This has the effect of supporting the development of high-speed microcomputers.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図のブロックの動作を説明するための各信号のタイミン
グ図、第3図及び、第4図は第1図の内部制御信号遅延
回路、外部制御信号遅延回路及び応答信号選択回路の回
路図、第5図は従来のマイクロコンピュータ開発支援装
置の一例のブロック図、第6図は第1図のブロックの動
作を説明するための各信号のタイミング図、第7図は第
5図の内部制御信号発生回路及び外部制御信号発生回路
の回路図、第8図は第5図の内部データバス・バッファ
回路及び外部データバス・バッファ回路の回路図、第9
図は第5図の応答信号選択回路の回路図である。 100・・・支援装置本体、101・・・CPU、10
2・・・検出回路、103・・・内部入出力装置、10
4・・・外部入出力装置、110・・・クロック信号、
111・・・選択信号、120・・・アドレス信号、1
21・・・内部アドレス・バッファ、122・・・内部
アドレス信号、123・・・外部アドレス・バッファ、
124・・・外部アドレス・信号、130・・・内部制
御信号、130−1・・・メモリ読みだし制御信号、1
302・・・メモリ書き込み制御信号、131・・・内
部制御信号遅延回路、132・・・内部制御信号、13
2−1・・・内部メモリ読みだし制御信・号、132−
2・・・内部メモリ書き込み制御信号、133・・・外
部制御信号遅延回路、134・・・外部制御信号、13
41・・・外部メモリ読みだし制御信号、134−2.
。 外部メモリ書き込み制御信号、140・・・データバス
、141・・・内部データバス・バッファ、142・・
・内部データバス、143・・・外部データバス・バッ
ファ、144・・・外部データバス、150・・・応答
入力信号、151・・・応答信号遅延回路、152・・
・内部応答信号、153・・・外部応答信号、154・
・・応答信号遅延信号、201・・・外部メモリ読みだ
し動作期間、202・・・内部メモリ書き込み動作期間
、20B・・・外部メモリ書き込み動作期間、204・
・・内部メモリ読みだし動作期間、200・・・支援装
置本体、231・・・内部制御信号発生回路、233・
・・外部制御信号発生回路、251・・・応答信号選択
回路。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
3 and 4 are timing diagrams of each signal to explain the operation of the blocks in the figure. Figure 5 is a block diagram of an example of a conventional microcomputer development support device, Figure 6 is a timing diagram of each signal to explain the operation of the blocks in Figure 1, and Figure 7 is the internal control signal generation of Figure 5. 8 is a circuit diagram of the internal data bus buffer circuit and external data bus buffer circuit of FIG. 5, and FIG. 9 is a circuit diagram of the circuit and external control signal generation circuit.
This figure is a circuit diagram of the response signal selection circuit of FIG. 5. 100... Support device main body, 101... CPU, 10
2...Detection circuit, 103...Internal input/output device, 10
4... External input/output device, 110... Clock signal,
111...Selection signal, 120...Address signal, 1
21... Internal address buffer, 122... Internal address signal, 123... External address buffer,
124...External address/signal, 130...Internal control signal, 130-1...Memory read control signal, 1
302...Memory write control signal, 131...Internal control signal delay circuit, 132...Internal control signal, 13
2-1...Internal memory read control signal/signal, 132-
2... Internal memory write control signal, 133... External control signal delay circuit, 134... External control signal, 13
41...External memory read control signal, 134-2.
. External memory write control signal, 140... Data bus, 141... Internal data bus buffer, 142...
- Internal data bus, 143... External data bus buffer, 144... External data bus, 150... Response input signal, 151... Response signal delay circuit, 152...
・Internal response signal, 153...External response signal, 154・
...Response signal delay signal, 201...External memory read operation period, 202...Internal memory write operation period, 20B...External memory write operation period, 204.
... Internal memory read operation period, 200 ... Support device main body, 231 ... Internal control signal generation circuit, 233.
...External control signal generation circuit, 251...Response signal selection circuit.

Claims (1)

【特許請求の範囲】[Claims] 内蔵の入出力装置または外部入出力装置に対応する入出
力信号か否かを検出する検出回路を有し、動作の基準時
間としてのクロック信号を入力し、外部入出力装置との
間で信号の入出力動作を行う際に同期を取るための外部
応答入力信号を入力するマイクロコンピュータの開発支
援装置において、前記検出回路から出力された選択信号
を入力し前記外部入出力装置に対する制御信号の起動を
疑似的に所定クロック数遅延させる遅延回路と、前記選
択信号を入力して前記外部応答入力信号を前記所定のク
ロック数遅延させる応答信号遅延回路とを有する事を特
徴とするマイクロコンピュータ開発支援装置。
It has a detection circuit that detects whether the input/output signal corresponds to a built-in input/output device or an external input/output device. In a microcomputer development support device that inputs an external response input signal for synchronizing input/output operations, the selection signal output from the detection circuit is input to activate a control signal for the external input/output device. A microcomputer development support device comprising: a delay circuit that artificially delays a predetermined number of clocks; and a response signal delay circuit that inputs the selection signal and delays the external response input signal by the predetermined number of clocks.
JP2269863A 1990-10-08 1990-10-08 Microcomputer development supporting device Pending JPH04148241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2269863A JPH04148241A (en) 1990-10-08 1990-10-08 Microcomputer development supporting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2269863A JPH04148241A (en) 1990-10-08 1990-10-08 Microcomputer development supporting device

Publications (1)

Publication Number Publication Date
JPH04148241A true JPH04148241A (en) 1992-05-21

Family

ID=17478259

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2269863A Pending JPH04148241A (en) 1990-10-08 1990-10-08 Microcomputer development supporting device

Country Status (1)

Country Link
JP (1) JPH04148241A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02135541A (en) * 1988-11-15 1990-05-24 Nec Corp In-circuit emulator

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02135541A (en) * 1988-11-15 1990-05-24 Nec Corp In-circuit emulator

Similar Documents

Publication Publication Date Title
US6795901B1 (en) Shared memory interface with conventional access and synchronization support
US4853847A (en) Data processor with wait control allowing high speed access
JPH0543151B2 (en)
JPH0784863A (en) Information processor and semiconductor storage device suitable to the same
JP2548428B2 (en) Timing generator
JPH06318178A (en) Cache tag controller for cache tag memory and control method therefor
JPH057738B2 (en)
JPH04148241A (en) Microcomputer development supporting device
US6304931B1 (en) Access limiting bus control system and method
JP2870812B2 (en) Parallel processor
JP3072168B2 (en) Memory operation arbitration circuit
JP2606824Y2 (en) Multiport memory device
JP2716284B2 (en) Semiconductor integrated circuit
JP2626112B2 (en) Microprocessor
JP2912090B2 (en) Time slot interchange circuit
JP2719227B2 (en) Processing equipment
JP3048762B2 (en) Semiconductor integrated circuit device
JP2635863B2 (en) Central processing unit
JP2570271B2 (en) Semiconductor memory controller
JPH07121483A (en) Shared memory access control circuit
JPH02150936A (en) Extension memory access system
JPS61183764A (en) Direct memory access controlling system
JPH0822449A (en) Microcomputer
JPH07182066A (en) Lsi and clock signal control method therefor
JPH0816452A (en) Common memory access controller