JPS5844534A - Parallel-serial converting circuit - Google Patents

Parallel-serial converting circuit

Info

Publication number
JPS5844534A
JPS5844534A JP14227681A JP14227681A JPS5844534A JP S5844534 A JPS5844534 A JP S5844534A JP 14227681 A JP14227681 A JP 14227681A JP 14227681 A JP14227681 A JP 14227681A JP S5844534 A JPS5844534 A JP S5844534A
Authority
JP
Japan
Prior art keywords
data
word length
clock
parallel
prescribed
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
JP14227681A
Other languages
Japanese (ja)
Inventor
Masaru Goto
勝 後藤
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 JP14227681A priority Critical patent/JPS5844534A/en
Publication of JPS5844534A publication Critical patent/JPS5844534A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M9/00Parallel/series conversion or vice versa

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To ensure the economical conversion of parallel data into serial data which have continuation between words, by fetching alternately and storing temporarily the parallel data of the prescribed parallel data and then extracting these parallel data in the form of the serial data alternately and with each prescribed word. CONSTITUTION:The clocks CLOCK applied to a clock counting part 10 are counted with each prescribed number within the part 10. Based on this count result, the prescribed word length discriminating signals Q1 and Q0 are produced and fed to a status information converting part 20 and a serial data output part 50. The information Q1 and Q0 are converted into the status information of a prescribed length at the part 20 to be fed to a microprocessor MPU. Thus the MPU transmits the chip selection signal to a data buffer part 30 or 40 and stores temporarily the parallel data D0-D7 and D8-D15 of prescribed word length in the shift registers 31 and 32 or 41 and 42. The part 50 extracts the parallel data stored in the registers 31, 32, 41 and 42 with each prescribed word length on the basis on the signals Q1 and Q0 and feeds these data in the form of the serial data DATA which have no intermittence between words.

Description

【発明の詳細な説明】 本発明は、所定語長の連続し九パラレルデータ會、飴1
ajが間断なく連続したシリアルデータに変換するため
のパラレル/シリアル変換回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides nine consecutive parallel data sessions of a predetermined word length.
The present invention relates to a parallel/serial conversion circuit for converting aj into continuous serial data without interruption.

例えば、上記のようなシリアルデータをマイクロプロセ
ッサから外部装置に出力する必要がある場合があるが、
マイクロプロセッサからは、そのデータ送出の占有時間
を極めて少なくしなければならないので、必要な時期ご
とに対応するパラレルデータを出力するだけで済むよう
Kしなければならない。
For example, it may be necessary to output serial data from a microprocessor to an external device as shown above.
Since the time occupied by the microprocessor for data transmission must be extremely small, the microprocessor must be designed so that it only needs to output the corresponding parallel data every time it is needed.

しかしながら、このようなパラレル/シリアル変換回路
は、従来、マイクロプロセッサ、特に、16ビツトのも
のに対する周辺回路として充分に開発・整備されている
とはいい難い。
However, it cannot be said that such parallel/serial conversion circuits have been sufficiently developed and maintained as peripheral circuits for microprocessors, especially 16-bit ones.

本発明の目的は、上記した従来技術の欠点をなくシ、所
定語長の連続したパラレルブータラ、語間が間断なく連
続した対応するシリアルデータに変換することができる
経済的なパラレル/シリアル変換回路を提供することに
ある。
An object of the present invention is to eliminate the above-mentioned drawbacks of the prior art, and to provide an economical parallel/serial conversion capable of converting continuous parallel data of a predetermined word length into corresponding serial data with continuous word spacing. The purpose is to provide circuits.

本発明の特徴は、所定のクロックを取り込んで計数し、
その計数結果に従って所定の語長識別情la全発生する
クロック計数部と、上記語長緘別情@全所定のステータ
ス情報に変換した後対応するチップセレクト信号によっ
てデータバスへ送出するステータス情41変換部と、デ
ータバスからの所定語長のパラレルデータ會対応するチ
ップセレクト信号によって交互に取シ込んで一時蓄積す
る一対のデータバッファ部と、上記語長識別情報および
クロックに従って上記データバッファ部に一時蓄積され
たパラレルデータを交香笑上記所定語長ごとに交互にシ
リアルデータとして取出し・送出するシリアルデータ出
力部とから構成したパラレル/シリアル変換回路にある
The feature of the present invention is to capture and count a predetermined clock,
A clock counting section generates predetermined word length identification information according to the counting result, and a status information converter 41 converts the word length discrimination information into predetermined status information and sends it to the data bus by a corresponding chip select signal. a pair of data buffer sections that alternately capture and temporarily store parallel data of a predetermined word length from the data bus in response to a corresponding chip select signal; The parallel/serial conversion circuit includes a serial data output section that alternately extracts and sends out the accumulated parallel data as serial data every predetermined word length.

以下、本発明の実施例を図に基づいて説明する。Embodiments of the present invention will be described below based on the drawings.

第1図は、本発明に係るパラレル/シリアル変換回路の
一実施例のブロック図、第2図は、そのタイムチャート
である。
FIG. 1 is a block diagram of an embodiment of a parallel/serial conversion circuit according to the present invention, and FIG. 2 is a time chart thereof.

ここで、10は、クロック計数部、11は、そのオアゲ
ート、12.13は、同イ/パータ、14.15は、同
ア/トゲ−)、16.17は、同ナントゲート、18は
、クロックCLOCKO所定針数(例えば、8個)ごと
に出力Qt−送出するカフ/り、19は、カウンタ18
の出力Qを計数して当該2進出力Q、Q・を送出するカ
ウンタ、20は、ステータス情報変換部、21は、その
デコーダ、22は、同パスドライノ(,30,40は、
データバッファ部、31,32,41.42は、そのシ
フトレジスタ(例えば、8ビツトの〕くラレルデータを
ビットA−HK一時蓄積し、出力端子0から順次シリア
ルデータとして送出しつるものに50は、シリアルデー
タ出力部、51は、そのシリアルデータDATA用のセ
レクタ、52は、同タロツクCLOCK用のセレクタ、
60は、チップセレクト信号中継部、61,62.63
は、そのオアゲートである。
Here, 10 is a clock counting section, 11 is an OR gate thereof, 12.13 is a same/parter, 14.15 is a same/toge), 16.17 is a same Nantes gate, and 18 is a The output Qt-cuffs to be sent every predetermined number of stitches (for example, 8) of the clock CLOCKO, 19, is the counter 18.
20 is a status information converter, 21 is a decoder thereof, 22 is a passdraino (, 30, 40 are
The data buffer units 31, 32, 41, and 42 temporarily store the parallel data in the shift register (for example, 8 bits) from bits A to HK, and sequentially send it out as serial data from output terminal 0. , a serial data output section; 51 is a selector for the serial data DATA; 52 is a selector for the clock CLOCK;
60 is a chip select signal relay section, 61, 62.63
is the or gate.

まず、本回路におけるパラレル/シリアル変換動作が開
始されるときには、マイクロプロセッサMPUまたは外
部装置tEXTから初期設定信号ICLがクロック計数
部10に入力され、そのカウンタ18.19の初期設定
(クリア)が行われる。
First, when the parallel/serial conversion operation in this circuit is started, the initial setting signal ICL is input from the microprocessor MPU or the external device tEXT to the clock counting section 10, and the initial setting (clearing) of the counter 18 and 19 is performed. be exposed.

その後、マイクロプロセッサMPυからチップセレクト
信号COD、メモリライト信号MW(いずれも低レベル
信号)が送出されると、チップセレクト信号中継部6G
のオアゲー)61を通してデータバッフ7部30のり7
トレジスタ31゜32が駆動され、そのビットA−Hに
マイクロプロセッサMPUから所定語長(例えば、16
ピツト)のパラレルデータDO−D15がデータバスを
介して転送・蓄積される。
After that, when the chip select signal COD and memory write signal MW (both low level signals) are sent from the microprocessor MPυ, the chip select signal relay section 6G
or game) 61 through data buffer 7 parts 30 glue 7
The registers 31 and 32 are driven, and a predetermined word length (for example, 16
Parallel data DO-D15 of the pit) is transferred and stored via the data bus.

次に1クロツクCLOCK (外部装置EXT、マイク
ロプロセッサMPUその他いずれから供給されるもので
もよい。)は、クロック!rl′数410のオアゲート
11.を通してカウンタ1Bで計数され、その出力Qは
、クロックCLOCKの81−ことに(すなわち、CL
OCK 8,16,24,32.・・・・・・K対応し
て)送出される。
Next, one clock CLOCK (which may be supplied from an external device EXT, microprocessor MPU, or any other source) is a clock! OR gate 11 with rl' number 410. The output Q is counted by the counter 1B through 81- of the clock CLOCK (i.e., CL
OCK 8, 16, 24, 32. . . . corresponding to K) is sent out.

なp1インバータ12.アンドゲート14Fi、上記出
力Qがナントゲート16を通してカウンタのクリア端子
CLに印加されるので、カウンタ18がクリア状態にさ
れたときのクロック計数(例えば、クロックCLOCK
8の針数)t−確爽に完了しうるようKするためのもの
である。
p1 inverter 12. Since the output Q of the AND gate 14Fi is applied to the clear terminal CL of the counter through the Nants gate 16, the clock count when the counter 18 is in the clear state (for example, the clock CLOCK
This is to ensure that the stitches can be completed with ease.

上記出力QFi、インバータ13で反転され、カウンタ
19は、その立下りで出力Q、 Q・が変化し、りo7
りCLOCK (7)8個ととK、+1次、”oo” 
@Q1m、″″10”、′11”となり、これを繰返す
、なお、その4個計数ごとのクリアは、その出力Q、 
Q・の状態(例えば、”11’)Kより、ナントゲート
17.アンドゲート1st−通して行われる。
The output QFi is inverted by the inverter 13, and the counter 19 changes the outputs Q and Q・ at the falling edge of the inverter 13.
CLOCK (7) 8 pieces and K, +1st order, “oo”
@Q1m, ""10", '11", and repeat this. Furthermore, clearing every 4 counts is the output Q,
From the state of Q (for example, "11"), K is passed through the Nantes gate 17.AND gate 1st-.

この出力Qs Qeが語長識別情報となり、ステータス
情報変換部零〇、゛クリアルデータ出力部50に入力さ
れる。
This output Qs Qe becomes word length identification information and is input to the status information converter 0 and the clear data output unit 50.

シリアルデータ出力部50では、この情報がセレクタ5
1,52の切替制御端子A、BK印加され、そのシリア
ルデータ出力端子88tたけクロック入力端子8Bは、
上記情報に応じ、それぞれ、次表のように入力端子ま危
は出力端子YO〜Y3に切替浸接続をされる。
In the serial data output section 50, this information is sent to the selector 5.
1 and 52 switching control terminals A and BK are applied, and its serial data output terminal 88t and clock input terminal 8B are
According to the above information, the input terminals are connected to the output terminals YO to Y3 as shown in the following table.

更に、この各選択端子YO〜Y3は、次表に示すように
、それぞれ、データバッファ部30゜40の77トレジ
スタ31.32,41.42の出力端子0.クロック端
子CKに接続されている。
Further, each of the selection terminals YO to Y3 is connected to the output terminals 0 to 77 of the 77 registers 31.32 and 41.42 of the data buffer section 30.40, respectively, as shown in the following table. Connected to clock terminal CK.

したがって、シフトレジスタ31.32または41.4
24C蓄積されている16ビツトの語長のパラレルデー
タは、所望のクロック速度(すなわち、クロックCLO
CK )に従い、1@次に、7リアルデータDATA1
01〜108としてシフトレジスタ31から、同109
〜116としてシフトレジスタ32から、同201〜2
08としてシフトレジスタ41から、同209〜216
としてシフトレジスタ42から送出されることになる。
Therefore, shift register 31.32 or 41.4
The 16-bit word length parallel data stored at 24C is stored at the desired clock speed (i.e. clock CLO
CK), 1@Next, 7 real data DATA1
From the shift register 31 as 01 to 108, 109
~116 from the shift register 32, 201~2
08 from the shift register 41, 209 to 216
It will be sent out from the shift register 42 as a.

なお、シフトレジスタ31,32,41.42は、各8
ビツトの汎用のものを使用しているが、16ビツトのも
のを使用すれば、各゛データバッファ部30.40に対
して1個を設ければよく、まえ、セレクタ51.52も
各2個の選択端子のものでよい。
Note that the shift registers 31, 32, 41.42 each have 8
Although a general-purpose bit type is used, if a 16-bit type is used, it is sufficient to provide one for each data buffer section 30 and 40, and two for each of the selectors 51 and 52. The selected terminal may be used.

一方、ステータス情報変換部20は、上述の鎖長識別情
報を取り込み、そのデコーダ21によってデコードし、
当該語長識別情報に応じたデコード出力XO〜X3−を
得る。
On the other hand, the status information converter 20 takes in the above-mentioned chain length identification information, decodes it with the decoder 21,
Decode outputs XO to X3- are obtained according to the word length identification information.

マイクロプロセッサMPUからチップセレクト信号Ca
F、メモリライト信号MW(いずれも低レベル信号)が
送出されると、チップセレクト信号中継部60のオアゲ
ート63會通してステータス情報変換部20のパスドラ
イバ22が駆動され、上記デコード出力がデータバスD
O〜D3に送出され、本回路におけるパラレル/シリア
ル変換動作のステータス(状態)情報がマイクロプロセ
ッサMPUで読取シ・識別される。
Chip select signal Ca from microprocessor MPU
F. When the memory write signal MW (all low level signals) is sent out, the path driver 22 of the status information conversion section 20 is driven through the OR gate 63 of the chip select signal relay section 60, and the decoded output is sent to the data bus. D
The status information of the parallel/serial conversion operation in this circuit is read and identified by the microprocessor MPU.

これにより、マイクロプロセッサMPUは、第2図に示
すごとく、チップセレクト信号C8Dま九はCUg (
いずれも低レベル信号であり、上記メモリライト信号M
Wt−伴なう、)金、所だのステータス時(例えば、デ
コーダ出力“xO〜x3”=”0111″または“11
01”の時)に送出し、データバッファ部30または4
0のシフトレジスタ31.32または41.42に16
ビツト時長のパラレルデータを交互に蓄積させることが
できる。
As a result, the microprocessor MPU outputs the chip select signal C8D and CUg (
Both are low level signals, and the memory write signal M
Wt-accompanying) gold, when the status is (for example, decoder output "xO~x3" = "0111" or "11"
01”), the data buffer unit 30 or 4
0 shift register 31.32 or 41.42 to 16
Parallel data of bit length can be stored alternately.

このようKして、マイクロプロセッサMPUからデータ
バッファ部30.40にパラレルデータを交互に蓄積さ
せである限シ、それに対応して、クロックCLOCK 
K同期し、語間が間断なく連続し九シリアルデータDA
TA f:変換・送出することかできる。
In this way, as long as the parallel data is stored alternately in the data buffer sections 30 and 40 from the microprocessor MPU, the clock CLOCK is
9 serial data DA with K synchronization and continuous word spacing.
TA f: Can be converted and sent.

なお、データ転送の初期設定は、例えば、データバッフ
ァ部30.40に初期値として一定パターンデータt−
書込んでおくことにより、これ金シリアルデータDAT
Aとして受信した外部装置DJは、その特定パターンを
識別して以後のデータ転送の受入れ装備をすることかで
色る。データ転送の終了についても同様に特定パターン
によって識別せしめることもできる。
Note that the initial setting for data transfer is, for example, to set constant pattern data t- as an initial value in the data buffer section 30.40.
By writing this gold serial data DAT
The external device DJ that received the data as A identifies the specific pattern and prepares to accept subsequent data transfer. The end of data transfer can also be similarly identified by a specific pattern.

前述において、マイクロプロセッサMPUは、パラレル
データの転送時以外には他の処理動作を行うことができ
るので、その効率を低下させるおそれがない。
In the above description, the microprocessor MPU can perform other processing operations other than when transferring parallel data, so there is no risk of its efficiency decreasing.

以上詳細に説明したように、本発明によれば、汎用のI
C(半導体集積回路)金用い、語間が間断なく連続した
シリアルデータに係るパラレル/シリアル変換回路t−
i済的に実現することかで−きるので、マイクロプロセ
ッサの周辺回路の拡充化等、その効果は顕著である。
As explained in detail above, according to the present invention, a general-purpose I
C (semiconductor integrated circuit) Parallel/serial conversion circuit t- using gold, related to serial data with continuous word spacing
Since it can be realized economically, its effects are significant, such as expansion of peripheral circuits of microprocessors.

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

第1図は、本発明に係るパラレル/シリアル変換回路の
一実施例のブロック図、第2図は、そのタイムチャート
である。
FIG. 1 is a block diagram of an embodiment of a parallel/serial conversion circuit according to the present invention, and FIG. 2 is a time chart thereof.

Claims (1)

【特許請求の範囲】[Claims] 1、所定のクロックを取シ込んで計数し、その計数結果
に従って所定の語長識別情報を発生するクロック針数部
と、上記飴長識別情@を所定のステータス情報に変換し
た後対応するチップセレクト信号によってデータバスへ
送出するステータス情報変換部と、データバスからの所
定語長のパラレルデータを対応するチップセレクト信号
によって交互に取り込んで一時蓄積する一対のデータバ
ッファ部と、上記語長識別情報およびクロックに従って
上記データバッファ部に一時蓄積され光パラレルデータ
を上記所定語長ごとに交互にシリアルデータとして取出
し・送出するシリアルデータ出力部とから構成したこと
を%徽とするパラレル/シリアル変換回路。
1. A clock hand unit that inputs and counts a predetermined clock and generates predetermined word length identification information according to the counting result, and a corresponding chip that converts the candy length identification information into predetermined status information. a status information conversion unit that sends out to the data bus in response to a select signal; a pair of data buffer units that alternately captures and temporarily stores parallel data of a predetermined word length from the data bus in response to a corresponding chip select signal; and the word length identification information. and a serial data output section which alternately extracts and sends out the optical parallel data temporarily stored in the data buffer section according to a clock as serial data every predetermined word length.
JP14227681A 1981-09-11 1981-09-11 Parallel-serial converting circuit Pending JPS5844534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14227681A JPS5844534A (en) 1981-09-11 1981-09-11 Parallel-serial converting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14227681A JPS5844534A (en) 1981-09-11 1981-09-11 Parallel-serial converting circuit

Publications (1)

Publication Number Publication Date
JPS5844534A true JPS5844534A (en) 1983-03-15

Family

ID=15311587

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14227681A Pending JPS5844534A (en) 1981-09-11 1981-09-11 Parallel-serial converting circuit

Country Status (1)

Country Link
JP (1) JPS5844534A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6160424A (en) * 1984-08-24 1986-03-28 大日本印刷株式会社 Sterilizing bag-making filler
JPS6340306U (en) * 1986-09-03 1988-03-16
JPH01167023A (en) * 1987-08-12 1989-06-30 Toyo Jidoki Kk Bag supplying type automatic packaging equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6160424A (en) * 1984-08-24 1986-03-28 大日本印刷株式会社 Sterilizing bag-making filler
JPH0471770B2 (en) * 1984-08-24 1992-11-16 Dainippon Insatsu Kk
JPS6340306U (en) * 1986-09-03 1988-03-16
JPH0449046Y2 (en) * 1986-09-03 1992-11-18
JPH01167023A (en) * 1987-08-12 1989-06-30 Toyo Jidoki Kk Bag supplying type automatic packaging equipment

Similar Documents

Publication Publication Date Title
SU517278A3 (en) Digital computer for data processing
EP0251151A2 (en) Programmable fifo buffer
JPH01182992A (en) Semiconductor memory device
US6798707B2 (en) Memory control apparatus for serial memory
KR960025044A (en) Semiconductor integrated circuit
JPS5844534A (en) Parallel-serial converting circuit
JPS5844533A (en) Serial-parallel converting circuit
JPH08194784A (en) Input-output device of smart card
JPS5917455B2 (en) Data delivery method
JPS6361697B2 (en)
US6510480B1 (en) Data transfer circuit and data processing method using data transfer circuit for handling interruption processing
KR940004576B1 (en) Data exchange circuit between microprocessors
CN112542187B (en) Circuit for reading ID and chip state at high speed and flash memory
RU1805496C (en) Memory circuit
JP3063433B2 (en) Microprocessor
SU1591027A2 (en) Device for interfacing cental processor with group of peripherals
KR970007156Y1 (en) Access time control circuit of data i/o apparatus
SU691830A1 (en) Data exchange device
SU1510010A1 (en) Memory
RU2006920C1 (en) Device for priority interrupts
SU1633377A1 (en) Device for programmed controlling production processes
SU943736A1 (en) Microprogram data processing system
JPS59151231A (en) Selective reception system
SU385276A1 (en) DEVICE FOR RECORDING AND READING BY ALPHABETIC
SU1561073A1 (en) Apparatus for preliminary sampling of commands