[go: up one dir, main page]

JPS58170117A - Serial/parallel-parallel/serial converting circuit - Google Patents

Serial/parallel-parallel/serial converting circuit

Info

Publication number
JPS58170117A
JPS58170117A JP5160282A JP5160282A JPS58170117A JP S58170117 A JPS58170117 A JP S58170117A JP 5160282 A JP5160282 A JP 5160282A JP 5160282 A JP5160282 A JP 5160282A JP S58170117 A JPS58170117 A JP S58170117A
Authority
JP
Japan
Prior art keywords
shift
signal
register
shift register
parallel
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
JP5160282A
Other languages
Japanese (ja)
Inventor
Yuichi Ito
祐一 伊藤
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP5160282A priority Critical patent/JPS58170117A/en
Publication of JPS58170117A publication Critical patent/JPS58170117A/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

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、lワードを構成するビット数を任意に設定で
きる直列並列・並列直列変換回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a series-parallel/parallel-serial conversion circuit that can arbitrarily set the number of bits constituting an l word.

従来技術と問題点〕 ゛ シリアル・インタフェースでデータを転送する場合、デ
ータはワード単位で転送される。1ワードは、例えば1
4ビツト又は8ビツトで構成されている・従来技術にお
いては、1.ワードのビット数が固定であり、ワード構
成を可使とすることが出来なかりた・ 〔発明の目的〕9、 本発明は、上記の考察に基づくものでありて、シリアル
・インタフェース上におけるワード−の・ビット数を可
変とできるようにした直列並列・並列直列変換回路を提
供することを目的としている。
Prior Art and Problems] ゛When transferring data using a serial interface, data is transferred in units of words. For example, 1 word is 1
Consisting of 4 bits or 8 bits - In the prior art, 1. The number of bits of a word is fixed, and the word structure cannot be made usable. [Objective of the Invention] 9. The present invention is based on the above considerations, and An object of the present invention is to provide a serial-parallel/parallel-serial converter circuit in which the number of bits of - can be made variable.

〔発明の構成〕[Structure of the invention]

そしてそのため、本発明の直列並列・並列直列変換回路
は、シリアル・インタフェースに*続されたシフト・レ
ジスタと、受信の場合にはセット信号が生成されると上
記シフト・レジスタのデータがセットされ送信の場合に
はセット信号が生成されると自己のデータが上記シフト
・レジスタにセットされるバッファ・レジスタと、上記
シフト・レジスタに対するシフト信号を生成するシフト
信号生成回路と、上記シフト信号をカウントする2と共
にセット信号が生成されるとその内容がクリアされるビ
ット・カウンタと、1ワードを構成するビット数が設定
されるビット数設定回路と、上記ビット−カウンタの内
容と上記ビット数設定回路の内容とが一致した時にセッ
ト信号を生成するセット信号生成手段と、プp゛セッサ
とを備え、上I   記プ。ヤ、tが、上記パ、7ア0
.シュ、をリードおよびライトできると共に、上記ビッ
ト数設定回路に任意の数値をセットできるように構成さ
れていることす特徴とするものである。
Therefore, the serial-parallel/parallel-serial conversion circuit of the present invention has a shift register connected to a serial interface, and in the case of reception, when a set signal is generated, the data in the shift register is set and transmitted. In this case, a buffer register whose own data is set in the shift register when a set signal is generated, a shift signal generation circuit that generates a shift signal for the shift register, and a shift signal generation circuit that counts the shift signal. 2, a bit counter whose contents are cleared when a set signal is generated, a bit number setting circuit to which the number of bits constituting one word is set, and a bit counter whose contents are set to the number of bits constituting one word; The processor described in I above includes a set signal generation means for generating a set signal when the contents match, and a processor. Ya, t is the above pa, 7a0
.. The bit number setting circuit is characterized in that it is configured to be able to read and write the bit number setting circuit, and to set an arbitrary value in the bit number setting circuit.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明を図面を参照しつつ説明する。 Hereinafter, the present invention will be explained with reference to the drawings.

第1図は本発明の1実施例のブロック図、jlI!2図
は受信時の動作を説明するタイムチャート、第3wAは
送信時の動作を説明するタイムチャートである。
FIG. 1 is a block diagram of one embodiment of the present invention, jlI! 2 is a time chart explaining the operation at the time of reception, and the third wA is a time chart explaining the operation at the time of transmission.

第1図において、1はシフト・レジスタ、2−Oと2−
1はバッファ・レジスタ、3はシフト信号生成回路、4
はビット−カウンタ、5はビット数設定n路、sはiイ
クロプ京セッサ、7は比較回路をそれぞれ示している。
In Figure 1, 1 is a shift register, 2-O and 2-
1 is a buffer register, 3 is a shift signal generation circuit, 4
5 is a bit counter, 5 is a bit number setting n path, s is an i-cycloprocessor, and 7 is a comparison circuit.

シフト・レジスタ1は左方向および右方向のいずれの方
崗にシフト可能であると共に、並列データ入力可能であ
り、また並列データ出力可能なもf)テアル。シフト・
レジスタ1の直列入出力端子はシリアル・インタフェー
スに接続されている。
The shift register 1 can be shifted either leftward or rightward, and is also capable of parallel data input and parallel data output. shift·
The serial input/output terminals of register 1 are connected to a serial interface.

シフト・レジスタ1の内容はバッファ・レジスタ2−0
  と 2−IK上セツト能であり、また、ノ(ソファ
・レジスタ2−0と2−1の内容はシフト・レジスタ1
にセットすることが出来る。シフト信号生成手段3は、
シフト・レジスタ1に対するシフト信号を生成するもの
である。ビット−カラ/り4ハ、シフト・レジスタlに
入力されたピッ)?、或はシフト・レジスタ1から出力
されたビット数のカウントを行うものであり、このビッ
ト・カウンタ3はセット信号によってクリアされる。ビ
ット数設定回路5には、マイクロプロセッサ6によって
1ワードを構成するビット数がセットされる。
The contents of shift register 1 are buffer register 2-0
and 2-IK are settable, and the contents of sofa registers 2-0 and 2-1 are
It can be set to . The shift signal generating means 3 is
It generates a shift signal for shift register 1. bit-color/ri4c, pip input to shift register l)? , or counts the number of bits output from the shift register 1, and this bit counter 3 is cleared by a set signal. In the bit number setting circuit 5, the number of bits constituting one word is set by the microprocessor 6.

1ワードを構成するビット数は可変である・マイクワプ
ロセッサ6は、バッファ・レジスタ2−0および2−1
にデータを書込むことが出沫ると共に、バッファQレジ
スタ2−0と2−1 の内容を読取ることが出来る。マ
イクロプロセッサ6は、その他に送信か或は受信かなど
の指示を行う、比較回路7は、ビット・カウンタ4の内
容とビット設定回路5の内容とを比較し、両者が一致し
た時にセット信号を出力する。送信の場合にはセット信
号が生成されると、バッファ・レジスタ2−0 と2−
1のデータはシフト・レジスタ1にセットされ受信の場
合にはセット信号が生成されると、シフト・レジスタ1
のデータがノ(ソファ・レジスタ2−0と2−1にセッ
トされる。受信時には1.シリアル入力データはシフト
・レジスタ1に順次に取込まれ、シフト・レジスタ1の
内容カッ(ソファ・レジスタ2−0と2−1に移され、
モして〕(ソファ・レジスタ2−0と2−1の内容がマ
イクロプロセッサ6によって読取られる。送信時には、
マイクロプロセッサ6によってデータが)(ソファ・レ
ジスタ2−0と2−1に書込まれ、バッファ・レジスタ
2−〇と2−1のデータがシフト・レジスタ1にセット
され、シフト・レジスタ1のデータが1ビツトずつ順番
に出力される。なお、第1図の回路全体はLSL  化
されているものである。
The number of bits constituting one word is variable. Microprocessor 6 has buffer registers 2-0 and 2-1.
It is possible to write data to buffer Q registers 2-0 and 2-1 as well as read the contents of buffer Q registers 2-0 and 2-1. The microprocessor 6 also instructs whether to transmit or receive, etc. The comparison circuit 7 compares the contents of the bit counter 4 and the contents of the bit setting circuit 5, and outputs a set signal when the two match. Output. In the case of transmission, when the set signal is generated, buffer registers 2-0 and 2-
1 data is set in shift register 1, and in the case of reception, when a set signal is generated, shift register 1 is set.
The data is set in the sofa registers 2-0 and 2-1. At the time of reception, the serial input data is sequentially taken into shift register 1, and the contents of shift register 1 are set in the sofa registers 2-0 and 2-1. Moved to 2-0 and 2-1,
(The contents of sofa registers 2-0 and 2-1 are read by the microprocessor 6. At the time of transmission,
The microprocessor 6 writes data to sofa registers 2-0 and 2-1, sets the data in buffer registers 2-0 and 2-1 to shift register 1, and sets the data in shift register 1 to are sequentially output one bit at a time.The entire circuit shown in FIG. 1 is an LSL.

第2図は受信時の動作を説明するためのタイムチャート
である。第2図の例では1ワードが5ビツト構成である
としている。第2図から判るように、シリアル入力デー
タは)くルヌ列で表わされるが、論理「1」のパルスは
幅が長く、論理「0」のパルスは幅が短かくされている
。シフト信号を1パルス周期の略図にの時点で生成され
る。ジアジ信号が生成される度に、シリアル入力データ
は、1ビツトずつシフト・レジスタ1に取込まれる。
FIG. 2 is a time chart for explaining the operation at the time of reception. In the example shown in FIG. 2, it is assumed that one word is composed of 5 bits. As can be seen from FIG. 2, the serial input data is represented by a series of pulses, with logic "1" pulses having a long width and logic "0" pulses having a short width. A shift signal is generated at a time point in one pulse period. The serial input data is loaded into the shift register 1 bit by bit each time the signal is generated.

ビット・カウンタ4の内容はシフト信号が生成切れる度
に+1される。1ワードが5ビット構成シ場合にはビッ
ト数設定回路5には数値@41が秘定されている。ビッ
ト・カウンタ4の内容が数置@4”となると、ビット数
設定回路5の内容と一重するので、セット信号が生成さ
れ、シフト・しうスタ1の内容はバッファ・レジ、スタ
2−0と2−1鱈移される。
The contents of the bit counter 4 are incremented by 1 each time a shift signal is generated. When one word consists of 5 bits, the bit number setting circuit 5 has a numeric value @41. When the contents of the bit counter 4 become the number digit @4'', it becomes the same as the contents of the bit number setting circuit 5, so a set signal is generated, and the contents of the shift register 1 are transferred to the buffer register, register 2-0. 2-1 cod was transferred.

第3図は送信時の動作を説明するためのタイ−チャート
である。シフト・レジスタ1にはバッファ・レジスタ2
−0と2−1の内容が移され、シフ1信号が生成される
度にシフト・レジスタ1のデータは1ビツトずつ出力さ
れる。シフト出力デー」i  の形式は、シフト入力デ
ータと同じである。第:図の例でも、1ワードは5ビツ
ト構成とされて−る。ビット・カウンタ4とビット数設
定回路5−内容とが一致すると、バッファ・レジスタ2
−0と2−1の中に前取て準備されている次のワードが
シフト・レジスターにセットされる。
FIG. 3 is a tie chart for explaining the operation during transmission. Shift register 1 has buffer register 2
The contents of -0 and 2-1 are shifted, and the data in shift register 1 is output one bit at a time each time a shift 1 signal is generated. The format of the shift output data "i" is the same as the shift input data. In the example shown in Figure 1, one word is also composed of 5 bits. When the contents of bit counter 4 and bit number setting circuit 5 match, buffer register 2
The next word preloaded in -0 and 2-1 is placed in the shift register.

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

以上の説明から明らかなように、本発1jllKよれ1
  ば、1ワードを構成するビット数を任意に変更す1
  ることが可能となる。
As is clear from the above explanation, the original 1jllKyore 1
For example, you can arbitrarily change the number of bits that make up one word1.
It becomes possible to

[ 【4、図面の簡単な説明 シ   第1図は本発明の1実施例のブロック図、第2
図は受信時の動作を説明するタイムチャート、第3図は
送信時の動作を説明するタイムチャートである。
[[4. Brief explanation of the drawings] Figure 1 is a block diagram of one embodiment of the present invention, Figure 2 is a block diagram of one embodiment of the present invention.
The figure is a time chart explaining the operation at the time of reception, and FIG. 3 is the time chart explaining the operation at the time of transmission.

1・・・シフト・レジスタ、2−0と2−1・・・バッ
ファ・レジスタ、3・・・シフト信号生成回路、4・・
・ビット・カウンタ、5・・・ビット数設定回路、6・
・・r   マイクロプロセッサ、7・・・比較回路。
1... Shift register, 2-0 and 2-1... Buffer register, 3... Shift signal generation circuit, 4...
・Bit counter, 5...Bit number setting circuit, 6.
...r Microprocessor, 7... Comparison circuit.

轡許出願人 富士通株式会社 代理人弁場士 京 谷 四 部 )License applicant: Fujitsu Limited Agent Bento Attorney Kyo Tani Yobe )

Claims (1)

【特許請求の範囲】[Claims] シリアル・インタフェースKII続されたシフト・レジ
スタと、受信の場合にはセット信号が生成されると上記
シフト・レジスタのデータがセットされ送信の場合には
セット信奄が生成されると自己のデータが上記シフト・
レジスタにセットされるバッファ・レジスタと、上記シ
フト・レジスタに対するシフト信号を生成す為シフト信
号生成回路と、上記シフト信号をカウントすると共にセ
ット信号が生成されるとその内容がクリアされるビット
・カウンタと、1ワードを構成するビット数が設定され
るビット数設定回−と、上記ビット・カウンタの内容と
上記ビット数設定回数の内容とが一致した時にセット信
号を生成するセット信号生成手段と、プロセッサとを備
え、上記プiセッサが、上記バッファ・レジスタをリー
ドおよびライトできると共に、上記ビット数設定回路に
任意の数値をセットできるように構成されていることを
特徴とする直列並列・並列直列変換回路。
In the case of reception, when a set signal is generated, the data in the shift register is set to the shift register connected to the serial interface KII, and in the case of transmission, when a set signal is generated, the data in the shift register is set. The above shift/
A buffer register that is set in the register, a shift signal generation circuit for generating a shift signal for the shift register, and a bit counter that counts the shift signal and whose contents are cleared when a set signal is generated. a bit number setting time for setting the number of bits constituting one word; and set signal generation means for generating a set signal when the contents of the bit counter match the contents of the bit number setting time; a processor, wherein the i-processor is configured to be able to read and write the buffer register and set an arbitrary value to the bit number setting circuit. conversion circuit.
JP5160282A 1982-03-30 1982-03-30 Serial/parallel-parallel/serial converting circuit Pending JPS58170117A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5160282A JPS58170117A (en) 1982-03-30 1982-03-30 Serial/parallel-parallel/serial converting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5160282A JPS58170117A (en) 1982-03-30 1982-03-30 Serial/parallel-parallel/serial converting circuit

Publications (1)

Publication Number Publication Date
JPS58170117A true JPS58170117A (en) 1983-10-06

Family

ID=12891444

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5160282A Pending JPS58170117A (en) 1982-03-30 1982-03-30 Serial/parallel-parallel/serial converting circuit

Country Status (1)

Country Link
JP (1) JPS58170117A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61164341A (en) * 1985-01-17 1986-07-25 Oki Electric Ind Co Ltd Serial-parallel and parallel-serial converting system
JPS61256828A (en) * 1985-01-17 1986-11-14 Oki Electric Ind Co Ltd Serial parallel conversion circuit
JPS62121563A (en) * 1985-11-21 1987-06-02 Mitsubishi Electric Corp Word serial bit parallel transfer device
JPS6361355A (en) * 1986-09-02 1988-03-17 Toshiba Corp Data processor
JPS63118967A (en) * 1986-11-07 1988-05-23 Nec Corp Serial interface circuit
EP0337471A2 (en) * 1988-04-14 1989-10-18 Nec Corporation Serial input-output circuit for forward and backward producing bits from bidirectional shift registers

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61164341A (en) * 1985-01-17 1986-07-25 Oki Electric Ind Co Ltd Serial-parallel and parallel-serial converting system
JPS61256828A (en) * 1985-01-17 1986-11-14 Oki Electric Ind Co Ltd Serial parallel conversion circuit
JPS62121563A (en) * 1985-11-21 1987-06-02 Mitsubishi Electric Corp Word serial bit parallel transfer device
JPS6361355A (en) * 1986-09-02 1988-03-17 Toshiba Corp Data processor
JPS63118967A (en) * 1986-11-07 1988-05-23 Nec Corp Serial interface circuit
EP0337471A2 (en) * 1988-04-14 1989-10-18 Nec Corporation Serial input-output circuit for forward and backward producing bits from bidirectional shift registers

Similar Documents

Publication Publication Date Title
US4593393A (en) Quasi parallel cyclic redundancy checker
US3961138A (en) Asynchronous bit-serial data receiver
JPS6247008B2 (en)
JPS58170117A (en) Serial/parallel-parallel/serial converting circuit
US3309671A (en) Input-output section
JPH0327635A (en) Digital communication equipment
JP3064435B2 (en) Apparatus for doubling or halving a series of bit stream frequencies
JPS5928745A (en) Information transfer system
RU2012146C1 (en) Device for transmitting and receiving digital signals
SU1043710A1 (en) Device for receiving and transmitting information
RU2034401C1 (en) Threshold element
US3581284A (en) Randomly accessed noninterfering input-output data accumulator
SU1411738A1 (en) Digital function converter
SU798778A1 (en) Interface
SU1462422A1 (en) Asynchronous successive register
SU962898A1 (en) Multichannel communication device for computing system
RU2011217C1 (en) Device for mating computer with communication channel
JPS6115640Y2 (en)
SU1619405A1 (en) Device for compacting code batch form
RU1777146C (en) Multichannel subscriber-to-central computer interface
SU1152038A1 (en) Counting-shifting device
KR0155718B1 (en) Synchronous Data Generator
SU1107173A1 (en) Buffer storage
SU1295451A1 (en) Buffer storage
SU510782A1 (en) Cyclic code encoding device