JPH0222410B2 - - Google Patents

Info

Publication number
JPH0222410B2
JPH0222410B2 JP58152479A JP15247983A JPH0222410B2 JP H0222410 B2 JPH0222410 B2 JP H0222410B2 JP 58152479 A JP58152479 A JP 58152479A JP 15247983 A JP15247983 A JP 15247983A JP H0222410 B2 JPH0222410 B2 JP H0222410B2
Authority
JP
Japan
Prior art keywords
memory
processor
ffc
signal
output
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 - Lifetime
Application number
JP58152479A
Other languages
Japanese (ja)
Other versions
JPS6045837A (en
Inventor
Hiroshi Nishimatsu
Toshiro Fukutomi
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.)
Azbil Corp
Original Assignee
Azbil Corp
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 Azbil Corp filed Critical Azbil Corp
Priority to JP58152479A priority Critical patent/JPS6045837A/en
Publication of JPS6045837A publication Critical patent/JPS6045837A/en
Publication of JPH0222410B2 publication Critical patent/JPH0222410B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F5/00Methods or arrangements for data conversion without changing the order or content of the data handled
    • G06F5/06Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、プロセツサからのデータを外部へ転
送する場合に用いられるデータ転送回路に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a data transfer circuit used for transferring data from a processor to an external device.

〔従来技術〕[Prior art]

プロセツサからのデータを外部へ転送する際、
外部へ接続される機器の条件に応じ、プロセツサ
からのデータ送出速度と、外部へのデータ送出速
度とを異ならせる場合があり、この場合には、記
憶した順位にしたがつてデータの送出を行なう
FIFO(First In First Out.)形の順次入出力メモ
リを用い、プロセツサからのデータをこのメモリ
へ一旦格納してから、外部機器側の条件に応じた
読出し速度によりメモリの内容を読出し、外部へ
送出するものとなつている。
When transferring data from the processor to the outside,
Depending on the conditions of the equipment connected to the outside, the speed at which data is sent from the processor and the speed at which data is sent to the outside may be different. In this case, data is sent out according to the memorized order.
Using a FIFO (First In First Out.) type sequential input/output memory, data from the processor is temporarily stored in this memory, and then the contents of the memory are read out at a read speed that matches the conditions of the external device and sent to the outside. It has become something to be sent out.

しかし、従来は、順次入出力メモリの格納状況
を制御するため、単安定マルチバイブレータによ
り発生したパルスに基づきシーケンス制御を行な
うと共に、プロセツサもシーケンス制御に参画し
ており、プロセツサが制御用の各種信号を処理し
なければならなず、稼働負荷が増大すると共に、
単安定マルチバイブレータの時定数が抵抗器およ
びコンデンサの経年変化により変動し、制御状態
が不安定になる等の欠点を生じている。
However, in the past, in order to control the storage status of sequential input/output memory, sequence control was performed based on pulses generated by a monostable multivibrator, and a processor also participated in sequence control. must be processed, the operating load increases, and
The time constant of the monostable multivibrator fluctuates due to aging of the resistor and capacitor, resulting in drawbacks such as unstable control conditions.

〔発明の概要〕[Summary of the invention]

本発明は、従来のかゝる欠点を根本的に排除す
る目的を有し、上述の順次入出力メモリと、これ
からのデータを外部へ送出する出力回路と、プロ
セツサからの書込み指令信号が与えられた条件
と、順次メモリからの準備完了信号が与えられた
条件との一致に応じ、順次入出力メモリに対しク
ロツクパルスに同期して書込み開始信号を送出す
る入力制御回路とを設けた極めて効果的な、デー
タ転送回路を提供するものである。
The present invention has the purpose of fundamentally eliminating such drawbacks of the conventional technology, and includes the above-mentioned sequential input/output memory, an output circuit for transmitting future data to the outside, and a write command signal from a processor. An extremely effective method is provided with an input control circuit that sends a write start signal to the sequential input/output memory in synchronization with a clock pulse in response to a match between the condition and the condition in which a ready signal from the sequential memory is given. It provides a data transfer circuit.

〔実施例〕〔Example〕

以下、実施例を示す図によつて本発明の詳細を
説明する。
Hereinafter, details of the present invention will be explained with reference to figures showing examples.

第1図は全構成のブロツク図であり、プロセツ
サCPUからの並列データは、順次入出力メモリ
(以下、メモリ)FIFOへ与えられ、こゝにおいて
一旦記憶されたうえ、記憶時と同一の順位により
並列に読出されてデイジタルアナログ変換器、通
信インターフエース等の出力回路OCへ与えられ、
同回路OCにより並列データが直列データへ変換
された後、外部へ出力データD0として送出され
る。
Figure 1 is a block diagram of the entire configuration. Parallel data from the processor CPU is sequentially applied to the input/output memory (hereinafter referred to as memory) FIFO, where it is temporarily stored and then processed in the same order as when it was stored. The signals are read out in parallel and given to the output circuit OC of the digital-to-analog converter, communication interface, etc.
After the parallel data is converted into serial data by the same circuit OC, it is sent to the outside as output data D0 .

たゞし、メモリFIFOに対するデータの格納は、
プロセツサCPUからの書込み指令信号に応じ
て行なわれるが、メモリFIFOが準備完了信号IR
(メモリFIFOで発生し、このメモリに空きができ
出力データの取り込みが可能になつた場合にハイ
レベルとなつて出力される信号)を送出するまで
は、メモリFIFOを書込み状態することが不可能
となつており、入力制御回路ICTが設けられ、書
込み指令信号の与えられた条件と、準備完了
信号IRの与えられた条件との一致に応じて書込
み開始信号SIを送出するものとして動作し、これ
によつて、書込み指令信号とメモリFIFOの
状態との整合を図つている。
However, storing data in memory FIFO is
This is done in response to a write command signal from the processor CPU, but the memory FIFO receives a ready signal IR.
It is impossible to write to the memory FIFO until the signal (a signal that occurs in the memory FIFO and becomes high level and is output when there is free space in this memory and it is possible to capture output data) is sent. An input control circuit ICT is provided and operates to send out a write start signal SI in response to a match between a given condition of the write command signal and a given condition of the ready signal IR, This ensures consistency between the write command signal and the state of the memory FIFO.

第2図は、入力制御回路ICTのブロツク図であ
り、イニシヤルリセツト信号が“L”(低レ
ベル)として与えられると、これが、D形フリツ
プフロツプ回路(以下、FFC)FF1のリセツト端
子Rへ直接、FFC・FF2のリセツト端子Rには
ORゲートG1を介して与えられ、FFC・FF2がリ
セツト状態となり、これらの出力端子Qはいづれ
も“L”となる。
Figure 2 is a block diagram of the input control circuit ICT. When the initial reset signal is given as "L" (low level), it is sent to the reset terminal R of the D-type flip-flop circuit (hereinafter referred to as FFC) FF1 . Directly to the reset terminal R of FFC/FF 2 .
It is applied via OR gate G1 , FFC and FF2 are reset, and their output terminals Q become "L".

ついで、プロセツサCPUから書込み指令信号
WTが“L”のパルスとして与えられゝば、これ
がFFC・FF1のセツト端子Sへ印加されるため、
FFC・FF1がセツトされて出力端子Qを“H”
(高レベル)へ転じ、これをANDゲートG2へ与
えると共に、書込み指令信号もANDゲート
G2へ与えられており、これが“H”へ復するこ
とにより、ANDゲートG2がオンとなりプロセツ
サCPU用のクロツクパルスと同期したクロツク
パルスCLKを通過させ、これをFFC・FF2のクロ
ツク端子CKへ送出する。
Next, a write command signal is sent from the processor CPU.
If WT is given as an "L" pulse, this is applied to the set terminal S of FFC/FF 1 , so
FFC・FF 1 is set and output terminal Q is set to “H”
(high level) and gives this to AND gate G2 , and the write command signal also goes to AND gate
When this returns to " H ", the AND gate G2 turns on, allowing the clock pulse CLK synchronized with the clock pulse for the processor CPU to pass through, and transmitting it to the clock terminal CK of FFC/FF 2. Send.

このため、FFC・FF2のデータ端子Dへ与えら
れているメモリFIFOからの準備完了信号IRが
“H”として生じ、あるいは生じていれば、これ
が同時にORゲートG1を介してFFC・FF2のリセ
ツト端子Rへ印加され、リセツト状態の解除を行
なうと共に、データ端子Dを“H”とし、AND
ゲートG2を介して与えられているクロツクパル
スCLKの立上りに応じてFFC・FF2をセツトする
ものとなり、出力端子Qを“H”へ転じ、これを
書込み開始信号SIとしてメモリFIFOへ送出する。
Therefore, if the ready signal IR from the memory FIFO applied to the data terminal D of FFC/FF 2 is generated as "H", or if it is generated, it is simultaneously transmitted to the FFC/FF 2 via OR gate G1 . is applied to the reset terminal R of
In response to the rise of the clock pulse CLK applied via the gate G2 , FFC/ FF2 is set, the output terminal Q is changed to "H", and this is sent to the memory FIFO as a write start signal SI.

また、FFC・FF2の出力端子Qが“H”となれ
ば、これがFFC・FF1のクロツク端子CKへ与え
られると共に、これのデータ端子Dが共通回路へ
接続され“L”となつているため、FFC・FF1
リセツトし、出力端子Qを“L”へ転じ、AND
ゲートG2をオフとしてクロツクパルスCLKの送
出を停止させる。
Also, when the output terminal Q of FFC/FF 2 becomes "H", this is applied to the clock terminal CK of FFC/FF 1 , and its data terminal D is connected to the common circuit and becomes "L". Therefore, FFC/FF 1 is reset, output terminal Q is changed to “L”, and AND
Gate G2 is turned off to stop sending out the clock pulse CLK.

一方、メモリFIFOは、書込み開始信号SIに応
じて書込み状態となり、準備完了信号IRを“L”
へ復するため、FFC・FF2のデータ端子Dおよび
リセツト端子Rが“L”となつてFFC・FF2もリ
セツトし、出力端子Qを“L”へ転じて書込み開
始信号SIの送出を停止すると共に、全回路が初期
状態となる。
On the other hand, the memory FIFO enters the write state in response to the write start signal SI and sets the ready signal IR to “L”.
In order to return to the current state, data terminal D and reset terminal R of FFC/FF 2 go to "L", FFC/FF 2 is also reset, output terminal Q is changed to "L", and sending of the write start signal SI is stopped. At the same time, all circuits return to their initial states.

したがつて、FFC・FF1により、書込み指令信
号の与えられた条件が保持されると共に、この条
件と準備完了信号の与えられた条件との一致が
FFC・FF2により検出され、両条件の一致に応じ
クロツクパルスCLKと同期のうえ書込み開始信
号SIが送出されるものとなり、書込み指令信号
WTとメモリFIFOの状態との整合が図られると
共に、メモリFIFOの入力制御が安定かつ確実と
なる。
Therefore, FFC/FF 1 maintains the given condition of the write command signal and also ensures that this condition matches the given condition of the ready signal.
It is detected by FFC/FF 2 , and when both conditions match, a write start signal SI is sent out in synchronization with the clock pulse CLK, and the write command signal is
The states of the WT and the memory FIFO are matched, and the input control of the memory FIFO becomes stable and reliable.

たゞし、状況に応じ、ORゲートG1をNORゲ
ート等へ、ANDゲートG2をNANDゲート等へ置
換してもよく、FFC・FF1,FF2にラツチ回路ま
たはメモリ等を用い、これらに応じて構成を選定
しても同様であり、出力回路OCは、外部機器の
条件にしたがつたものを選定すればよい等、種々
の変形が自在である。
However, depending on the situation, OR gate G 1 may be replaced with a NOR gate, etc., AND gate G 2 may be replaced with a NAND gate, etc., and a latch circuit or memory, etc. may be used for FFC/FF 1 and FF 2 , and these The same effect can be obtained by selecting the configuration according to the conditions of the external equipment, and the output circuit OC can be modified in various ways, such as by selecting one according to the conditions of the external device.

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

以上の説明により明らかなとおり本発明によれ
ば、プロセツサは書込み指令信号の送出のみを行
なえばよいものとなり、プロセツサの稼働負荷が
減少し、プロセツサの稼働状況に余裕を生ずると
共に、構成上不安定な要素がなく、メモリに対す
る入力制御を安定かつ確実なものとすることがで
きるため、プロセツサからのデータ転送において
顕著な効果が得られる。また、書込み開始信号は
クロツクパルスに同期して発生するのでタイミン
グのくるいがなく、制御の安定性がさらに増加す
る。
As is clear from the above explanation, according to the present invention, the processor only needs to send out a write command signal, which reduces the operating load on the processor, creates a margin in the operating status of the processor, and prevents the structure from becoming unstable. Since there are no external elements and input control to the memory can be made stable and reliable, a remarkable effect can be obtained in data transfer from the processor. Furthermore, since the write start signal is generated in synchronization with the clock pulse, there are no timing fluctuations, further increasing control stability.

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

図は本発明の実施例を示し、第1図は全構成の
ブロツク図、第2図は入力制御回路のブロツク図
である。 CPU……プロセツサ、FIFO……メモリ(順次
入出力メモリ)、OC……出力回路、ICT……入力
制御回路、FF1,FF2……FFC(フリツプフロツ
プ回路)、G1……ORゲート、G2……ANDゲー
ト、……書込み指令信号、IR……準備完了信
号、SI……書込み開始信号、CLK……クロツク
パルス。
The figures show an embodiment of the present invention, with FIG. 1 being a block diagram of the entire configuration, and FIG. 2 being a block diagram of the input control circuit. CPU...Processor, FIFO...Memory (sequential input/output memory), OC...Output circuit, ICT...Input control circuit, FF 1 , FF 2 ...FFC (flip-flop circuit), G 1 ...OR gate, G 2 ...AND gate,...Write command signal, IR...Ready signal, SI...Write start signal, CLK...Clock pulse.

Claims (1)

【特許請求の範囲】 1 プロセツサからのデータを順次に記憶しかつ
順次に送出する順次入出力メモリと、 該メモリからのデータを外部へ送出する出力回
路と、 前記プロセツサから書込み指令信号の与えられ
た条件と前記メモリから準備完了信号の与えられ
た条件との一致に応じ、該メモリに対し前記プロ
セツサのクロツクパルスに同期して書込み開始信
号を送出する入力制御回路と を備えたことを特徴とするデータ転送回路。
[Scope of Claims] 1. A sequential input/output memory that sequentially stores and sequentially transmits data from a processor; an output circuit that transmits data from the memory to the outside; and a circuit that receives a write command signal from the processor. and an input control circuit that sends a write start signal to the memory in synchronization with a clock pulse of the processor, in response to a match between the condition given by the readiness signal and the condition given by the readiness signal from the memory. Data transfer circuit.
JP58152479A 1983-08-23 1983-08-23 Data transfer circuit Granted JPS6045837A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58152479A JPS6045837A (en) 1983-08-23 1983-08-23 Data transfer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58152479A JPS6045837A (en) 1983-08-23 1983-08-23 Data transfer circuit

Publications (2)

Publication Number Publication Date
JPS6045837A JPS6045837A (en) 1985-03-12
JPH0222410B2 true JPH0222410B2 (en) 1990-05-18

Family

ID=15541399

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58152479A Granted JPS6045837A (en) 1983-08-23 1983-08-23 Data transfer circuit

Country Status (1)

Country Link
JP (1) JPS6045837A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61294680A (en) * 1985-06-20 1986-12-25 Nec Corp Readout circuit for fifo memory
FR2607648B1 (en) * 1986-11-28 1994-03-18 Hewlett Packard France METHOD AND DEVICE FOR FAST TRANSMISSION OF DATA BETWEEN A TRANSMITTER AND A RECEIVER BY STANDARD SERIAL LINK

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57203135A (en) * 1981-06-10 1982-12-13 Toshiba Corp Data transfer system

Also Published As

Publication number Publication date
JPS6045837A (en) 1985-03-12

Similar Documents

Publication Publication Date Title
US4137563A (en) Circuitry for reducing power dissipation in equipment which operates in synchronism with clock pulses
JPH0222410B2 (en)
US7017810B2 (en) IC card and IC card system
JPH0331928A (en) Frame converting circuit
JPH0222411B2 (en)
JPS6323581B2 (en)
SU1372330A1 (en) Device for connecting microprocessor with external devices
JPS60160461A (en) Data transfer control circuit
JP3459542B2 (en) Serial data transfer device
JPS63202154A (en) Serial communication system
KR100316310B1 (en) Data transmission device
JP2998666B2 (en) Serial Digital Data Format Conversion Method
KR940003411Y1 (en) Bus sharing data recorder
JP3186247B2 (en) DMA controller for communication
JPS581241A (en) Data transmitter
SU1365108A1 (en) Information reception device
JPH0512455A (en) Option setting circuit
JPH01236389A (en) Memory card
JPH01270162A (en) Control circuit for input/output device
JPS59170933A (en) Input data control device of printer
JPH04275795A (en) Communication circuit package
JPS62154162A (en) Input circuit device
JPH05108896A (en) Data transfer method in IC card
JPH0273442A (en) Data processor
JPS6098984U (en) Dial pulse sending control device