JPH0155785B2 - - Google Patents
Info
- Publication number
- JPH0155785B2 JPH0155785B2 JP59060904A JP6090484A JPH0155785B2 JP H0155785 B2 JPH0155785 B2 JP H0155785B2 JP 59060904 A JP59060904 A JP 59060904A JP 6090484 A JP6090484 A JP 6090484A JP H0155785 B2 JPH0155785 B2 JP H0155785B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- address
- error correction
- signal
- circuit
- 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
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
Landscapes
- Physics & Mathematics (AREA)
- Probability & Statistics with Applications (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Error Detection And Correction (AREA)
- Detection And Correction Of Errors (AREA)
- Television Systems (AREA)
Description
【発明の詳細な説明】
(技術分野)
本発明はTV信号の垂直帰線期間にデイジタル
信号としてコード化した文字・図形情報を多重伝
送するコード方式文字放送に好適な符号の誤り制
御に関するものであり、特に伝送路で生じたビツ
ト誤りを訂正することによつて最大限回復させよ
うとする誤り訂正復号回路に関するものである。[Detailed Description of the Invention] (Technical Field) The present invention relates to code error control suitable for coded teletext broadcasting in which character and graphic information coded as digital signals is multiplexed transmitted during the vertical retrace period of a TV signal. In particular, it relates to an error correction decoding circuit that attempts to recover as much as possible by correcting bit errors occurring on a transmission path.
(技術的背景)
TV伝送路を使用するこの種サービスにおける
誤り訂正方式として1パケツトを272ビツトで構
成し、データビツト272ビツト、情報ビツト190ビ
ツト、およびパリテイビツト82ビツトのデータ信
号を形成して伝送し、復号する方式が特願昭58−
6579(特開昭59−133751号公報)、特願昭58−
54002(特開昭59−181841号公報)、および特願昭
58−90017(特開昭59−216388号公報)に示されて
いる。(Technical background) As an error correction method for this type of service using a TV transmission path, one packet is composed of 272 bits, and a data signal of 272 data bits, 190 information bits, and 82 parity bits is formed and transmitted. The method for decoding was proposed in a patent application filed in 1982.
6579 (Japanese Unexamined Patent Publication No. 133751/1983), Patent Application 1987-
54002 (Japanese Unexamined Patent Publication No. 59-181841), and
58-90017 (Japanese Unexamined Patent Publication No. 59-216388).
ここに開示されている誤り訂正復号回路の構成
を第1図に示す。第1図において、1は図示しな
いCPUにつながるCPUバスラインであつて出力
ポート2の入力端子、および入力ポート3の出力
端子に接続されている。出力ポート2の出力信号
は誤り訂正回路に供給され、入力ポート3の入力
信号は誤り訂正回路から供給される。誤り訂正回
路4は、並−直列変換回路、直−並列変換回路、
シンドロームレジスタ、データレジスタ等を含ん
でおり、(272、290)符号を訂正する動作を行な
う。 FIG. 1 shows the configuration of the error correction decoding circuit disclosed herein. In FIG. 1, 1 is a CPU bus line connected to a CPU (not shown), and is connected to an input terminal of an output port 2 and an output terminal of an input port 3. The output signal of output port 2 is supplied to an error correction circuit, and the input signal of input port 3 is supplied from the error correction circuit. The error correction circuit 4 includes a parallel-serial conversion circuit, a serial-parallel conversion circuit,
It includes syndrome registers, data registers, etc., and performs operations to correct (272, 290) codes.
次に第1図の動作を説明する。訂正前データが
CPUからCPUバスライン1を介して出力ポート
2に供給される。出力ポート2によつて受取られ
た前記訂正前データは誤り訂正回路4によつて訂
正され、入力ポート3に供給され、CPUバスラ
イン1を介してCPUに伝達される。 Next, the operation shown in FIG. 1 will be explained. The data before correction
It is supplied from the CPU to output port 2 via CPU bus line 1. The uncorrected data received by the output port 2 is corrected by the error correction circuit 4, supplied to the input port 3, and transmitted to the CPU via the CPU bus line 1.
第1図においてCPUバスを介するCPUと誤り
訂正部との信号の授受が例えば8ビツト単位で行
なわれるものとすると、1パケツト=272ビツト
の訂正前データをCPUから誤り訂正復号回路に
供給するのに34バイト時間を必要とし、また、誤
り訂正回路4で訂正された1パケツトのデータを
誤り訂正復号回路からCPUに供給するのに同様
の時間がかかる。 In Figure 1, assuming that signals are exchanged between the CPU and the error correction unit via the CPU bus in units of 8 bits, for example, 1 packet = 272 bits of uncorrected data is supplied from the CPU to the error correction decoding circuit. It takes 34 bytes to process the data, and it takes a similar amount of time to supply one packet of data corrected by the error correction circuit 4 from the error correction decoding circuit to the CPU.
さらに、日本の文字放送においては、1垂直期
間に最大12パケツトまでの送信が可能であり、こ
れらをすべて処理しようとすると1垂直期間=
16.67mSの間に前記CPUと誤り訂正復号回路と
のデータ転送時間は34バイト時間×2×12=816
バイト時間にものぼる。 Furthermore, in Japanese teletext broadcasting, up to 12 packets can be transmitted in one vertical period, and if you try to process all of them, one vertical period =
The data transfer time between the CPU and the error correction decoding circuit during 16.67mS is 34 byte time x 2 x 12 = 816
This extends to part-time work time.
これらの転送はCPUの書込み、読出し命令に
よつて行なわれるものであり、この転送の時間の
間、CPUは他の処理ができないため、文字放送
の受信・表示に必要なコードの解読や表示フオー
マツトの生成などの処理に支障をきたすことにな
る。特に、誤り訂正回路4における誤り訂正動作
はCPUの動作とは非同期に行なわれるため、
CPUは1パツケート分の誤り訂正が終了したか
否かを常時、検出して誤り訂正が終了したら即座
に、入力ポート3からのデータを読み取る動作に
移行しなければならないため、CPUの他の処理
が断続的かつひんぱんに中断されてしまう。 These transfers are performed by the CPU's write and read commands, and during this transfer time, the CPU cannot perform any other processing, so it must decode the codes and display formats necessary for receiving and displaying teletext. This will cause problems in processing such as generation of . In particular, since the error correction operation in the error correction circuit 4 is performed asynchronously with the operation of the CPU,
The CPU must constantly detect whether or not the error correction for one packet has been completed, and as soon as the error correction is completed, the CPU must shift to the operation of reading data from input port 3. is interrupted intermittently and frequently.
実際の文字放送においては垂直帰線期間中に複
数パケツトのデータがシリアルに送信されてくる
ので、第1図のような回路構成においては、シリ
アル受信データを直−並列変換しCPUが読取り、
場合によつてはメモリに一時保管する動作も行な
わなくてはならない。 In actual teletext broadcasting, multiple packets of data are transmitted serially during the vertical retrace period, so in the circuit configuration shown in Figure 1, the serially received data is serial-parallel converted and read by the CPU.
In some cases, it may be necessary to temporarily store the data in memory.
以上説明したように第1図に示した従来技術で
はCPUの負担が大きく、処理時間の多くをさか
ねばならず、事実上、文字放送の受信と表示に必
要なすべての処理を行なえなくなつてしまうとい
う欠点があつた。 As explained above, the conventional technology shown in Figure 1 imposes a heavy burden on the CPU, requiring much of the processing time, and in fact cannot perform all the processing necessary for receiving and displaying teletext. It had the disadvantage of being stored away.
(発明の目的と概要)
本発明は従来技術の欠点を除去するために訂正
前データと訂正後データとを格納・保持するため
のバツフアメモリを有し、CPUの動作とは無関
係に受信された訂正前データを前記バツフアメモ
リに自動的に転送するとともに訂正されたデータ
を前記バツフアメモリに自動的に転送するように
してCPUの動作の自由度を増大させるようにし
たものである。(Objective and Summary of the Invention) In order to eliminate the drawbacks of the prior art, the present invention has a buffer memory for storing and holding uncorrected data and post-corrected data, and the present invention has a buffer memory for storing and holding uncorrected data and post-corrected data. The degree of freedom of operation of the CPU is increased by automatically transferring previous data to the buffer memory and automatically transferring corrected data to the buffer memory.
(発明の実施例)
本発明の第1の実施例の回路図を第2図に示
す。第2図において10はCPUのデータバス、
また11はCPUのアドレスバスである。CPUの
データバス10はデータバス制御回路16の第1
の入出力端子に接続され、前記データバス制御回
路16の第2の入出力端子はローカルデータバス
17に接続され、ローカルデータバス17は誤り
訂正回路12のデータ入出力端子に接続されると
ともに、バツフアメモリ13のデータ入出力端子
に接続されている。(Embodiment of the Invention) A circuit diagram of a first embodiment of the invention is shown in FIG. In Figure 2, 10 is the CPU data bus,
Further, 11 is the address bus of the CPU. The data bus 10 of the CPU is the first bus of the data bus control circuit 16.
A second input/output terminal of the data bus control circuit 16 is connected to a local data bus 17, and the local data bus 17 is connected to a data input/output terminal of the error correction circuit 12. It is connected to the data input/output terminal of the buffer memory 13.
前記CPUのアドレスバス11はアドレス切替
回路14の第一の入力端子に接続されている。前
記アドレス切替回路の出力端子は前記バツフアメ
モリのアドレス入力端子に接続されている。15
は受信データ入力端子であり、前記誤り訂正回路
12の信号入力端子に接続されている。前記誤り
訂正回路はアドレス出力端子18を有しており、
このアドレス出力端子が前記アドレス切替回路1
4の第2の入力端子に接続されている。 The address bus 11 of the CPU is connected to a first input terminal of an address switching circuit 14. An output terminal of the address switching circuit is connected to an address input terminal of the buffer memory. 15
is a received data input terminal, which is connected to the signal input terminal of the error correction circuit 12. The error correction circuit has an address output terminal 18,
This address output terminal is the address switching circuit 1.
4 is connected to the second input terminal of 4.
次に第2図の動作を説明する。 Next, the operation shown in FIG. 2 will be explained.
受信された放送信号のうち垂直帰線期間に挿入
されている文字放送信号だけが抽出されて第2図
の受信データ入力端子15に加えられ、誤り訂正
回路12に供給される。この文字放送信号は1パ
ケツトあたり情報ビツトが190ビツトおよびパリ
テイ・ビツトが82ビツトのつごうデータビツトと
して272ビツトの2値シリアルデータである。垂
直帰線期間のうち10〜21H目の任意の各1水平走
査期間ごとに1パケツト=272ビツトのデータが
送られてくる。1垂直帰線消去期間あたり最大で
12パケツト分のデータが送られてくる。 Of the received broadcast signals, only the teletext signal inserted in the vertical blanking period is extracted and applied to the received data input terminal 15 in FIG. 2, and supplied to the error correction circuit 12. This teletext signal is binary serial data of 272 bits with 190 information bits and 82 parity bits per packet. One packet = 272 bits of data is sent every arbitrary horizontal scanning period from the 10th to the 21st H of the vertical retrace period. Maximum per vertical blanking period
12 packets of data are sent.
第1の動作モードにおいてはパケツト受信デー
タをローカルデータバス17を介してバツフアメ
モリ13に書込む。 In the first operating mode, packet reception data is written to buffer memory 13 via local data bus 17.
誤り訂正回路12は後に詳細回路構成を説明す
ることになるがデータ転送部を含んでおり、前記
受信データ入力端子15に加えられたシリアル文
字放送信号を直−並列変換して、ローカルデータ
バス17に送出し、これを介してバツフアメモリ
13に供給する。ローカルデータバス17のビツ
ト数はCPUの種類により、あるいはバツフアメ
モリのビツト構成により任意に選ばれるが実用的
には、8ビツトないし16ビツトである。以下の説
明ではCPUバス、ローカルデータバスともに8
ビツトの場合について説明する。 The error correction circuit 12 includes a data transfer section, the detailed circuit configuration of which will be explained later, converts the serial teletext signal applied to the received data input terminal 15 into serial-to-parallel signals and transfers it to the local data bus 17. and supplies it to the buffer memory 13 via this. The number of bits of the local data bus 17 is arbitrarily selected depending on the type of CPU or the bit configuration of the buffer memory, but in practice it is 8 bits to 16 bits. In the following explanation, both the CPU bus and local data bus are 8.
The case of bits will be explained.
同時に誤り訂正回路12はアドレス生成部を有
し、バツフアメモリ13の中のどのアドレスに書
込むかを指定するためのアドレス信号をアドレス
出力端子18に出力し、アドレス切替回路14の
第2の入力端子に供給する。 At the same time, the error correction circuit 12 has an address generation section, and outputs an address signal for specifying which address in the buffer memory 13 to write to the address output terminal 18, and outputs an address signal to the second input terminal of the address switching circuit 14. supply to.
アドレス切替回路14の第1の入力端子には、
CPUアドレスバスを介してCPUから任意のアド
レス信号が供給されているが第1の動作モード、
すなわち、シリアル受信データの転送時において
は第2の入力端子の信号が選択されてアドレス切
替回路の出力端子に出て、バツフアメモリ13の
アドレス入力端子に供給されるごとく制御されて
いる。同時に、CPUデータバス10とローカル
データバス17とは分離されるようにデータバス
制御回路16が制御される。かくして、第1の動
作モードにおいてはシリアル受信データが誤り訂
正回路中のアドレス生成部によつて指定されるバ
ツフアメモリ13のアドレスに書込まれる。 The first input terminal of the address switching circuit 14 has a
In the first operation mode, an arbitrary address signal is supplied from the CPU via the CPU address bus.
That is, during the transfer of serial reception data, the signal at the second input terminal is selected, outputted to the output terminal of the address switching circuit, and controlled so as to be supplied to the address input terminal of the buffer memory 13. At the same time, the data bus control circuit 16 is controlled so that the CPU data bus 10 and the local data bus 17 are separated. Thus, in the first operation mode, serially received data is written to the address of the buffer memory 13 specified by the address generator in the error correction circuit.
後に説明するように、第1の動作モードにおけ
る転送すなわち、シリアル受信データ(訂正前デ
ータ)の転送は、バツフアメモリ13の中の、訂
正後のデータが格納されるエリアとは異なるエリ
アに書込まれる。 As will be explained later, the transfer in the first operation mode, that is, the transfer of serial reception data (data before correction) is written in an area in the buffer memory 13 that is different from the area where the data after correction is stored. .
また第1の動作モードにおける転送において
は、ローカルデータバス17のビツト容量を仮り
に8ビツトとすれば1パケツト=272ビツトのデ
ータを転送するのに
272÷8=34となり
34回にわけて行なう。従つて、バツフアメモリ
13の中にあつては、訂正前のデータとして34ア
ドレス分が必要になる。バツフアメモリ13中に
複数パケツト、例えば12パケツト分の訂正前デー
タを格納すれば34アドレスを1ブロツクとして12
ブロツク分のメモリエリアが必要である。 In addition, in the transfer in the first operation mode, if the bit capacity of the local data bus 17 is assumed to be 8 bits, 1 packet = 272 bits of data is transferred, which is 272 ÷ 8 = 34, and the data is divided into 34 times. . Therefore, in the buffer memory 13, 34 addresses are required as data before correction. If multiple packets, for example 12 packets of uncorrected data are stored in the buffer memory 13, 34 addresses will form 1 block and 12
A memory area for each block is required.
第1の動作モードの転送は、実用的には、1垂
直帰線消去期間の全パケツト(例えば12パケツ
ト)を連続して転送するのがよい。そしてこの間
CPUは何も介在しなくてよいから、他の処理を
行なつていてよい。 In the transfer in the first operation mode, practically, it is preferable to continuously transfer all packets (for example, 12 packets) in one vertical blanking period. And during this time
Since the CPU does not need any intervention, it can perform other processing.
第2の動作モードでは、第1の動作モードでい
つたんバツフアメモリに格納された訂正前データ
を訂正すべく誤り訂正回路に供給し訂正する。 In the second operation mode, the uncorrected data stored in the buffer memory in the first operation mode is supplied to an error correction circuit for correction.
第2の動作モードにおいて、誤り訂正回路12
は前記アドレス出力端子18にバツフアメモリ1
3の中を読み出すべきロケーシヨンのアドレス信
号を送出し前記アドレス切替回路14の第2の入
力端子に供給する。この場合、つまり第2の動作
モードにおいては、第2の入力端子の信号を選択
して、出力端子に送出するようにアドレス切替回
路14が動作するので誤り訂正回路のアドレス出
力信号がバツフアメモリのアドレス入力端子に供
給される。 In the second mode of operation, the error correction circuit 12
The buffer memory 1 is connected to the address output terminal 18.
The address signal of the location to be read out is sent out and supplied to the second input terminal of the address switching circuit 14. In this case, that is, in the second operation mode, the address switching circuit 14 operates to select the signal at the second input terminal and send it to the output terminal, so that the address output signal of the error correction circuit changes to the address of the buffer memory. Supplied to the input terminal.
同時にデータバス切替回路16はCPUデータ
バス10とローカルデータバス17とを分離する
よう制御されるので、誤り訂正回路12はローカ
ルデータバス17を介してバツフアメモリ13の
出力信号を受入れる。かくして、誤り訂正回路1
2が指定するアドレスのバツフアメモリ13の内
容が誤り訂正回路12に入る。ローカルデータバ
ス17のビツド数を8ビツトとすれば、これら第
2の動作モードにおけるデータ転送は8ビツトご
とに行なわれ、1回=8ビツトの転送が行なわれ
る毎に誤り訂正回路12のアドレス出力端子の信
号が変化するので、バツフアメモリ13中の訂正
前データが順次、誤り訂正回路に転送される。3
4回の転送によつて、272ビツト=1パケツトの
データ転送が完了する。誤り訂正回路12は1パ
ケツトのデータを、単位ブロツクとして扱い誤り
訂正を行なう。 At the same time, the data bus switching circuit 16 is controlled to separate the CPU data bus 10 and the local data bus 17, so that the error correction circuit 12 receives the output signal of the buffer memory 13 via the local data bus 17. Thus, error correction circuit 1
The contents of the buffer memory 13 at the address specified by 2 enter the error correction circuit 12. If the number of bits of the local data bus 17 is 8 bits, data transfer in these second operation modes is performed every 8 bits, and the address output of the error correction circuit 12 is output every time 8 bits are transferred. Since the signal at the terminal changes, the uncorrected data in the buffer memory 13 is sequentially transferred to the error correction circuit. 3
Data transfer of 272 bits=1 packet is completed by four transfers. The error correction circuit 12 treats one packet of data as a unit block and performs error correction.
第2の動作モードにおけるバツフアメモリ13
から誤り訂正回路12への訂正前データ転送は誤
り訂正回路12によつて管理されるのでこの間
CPUは介在しなくてよくCPUは他の処理を行な
うことができる。 Buffer memory 13 in second operating mode
Since the uncorrected data transfer from to the error correction circuit 12 is managed by the error correction circuit 12,
There is no need for the CPU to intervene, and the CPU can perform other processing.
第2の動作モードによつて転送・訂正が行なわ
れると第3の動作モード、すなわち訂正されたデ
ータを8ビツトずつ34回にわたつて、バツフアメ
モリに書込む動作モードに入る。第2の動作モー
ドによつて訂正された1パケツトのデータは8ビ
ツトずつ順番にローカルデータバス17に載せら
れバツフアメモリ13のデータ入出力端子に供給
される。第3の動作モードにおいてもデータバス
制御回路16は、CPUデータバス10からロー
カルデータバス17を分離するよう動作する。 When transfer and correction are performed in the second operation mode, a third operation mode is entered, that is, an operation mode in which corrected data is written to the buffer memory 34 times in 8-bit increments. One packet of data corrected in the second operation mode is sequentially loaded in 8-bit units onto the local data bus 17 and supplied to the data input/output terminal of the buffer memory 13. Also in the third operation mode, the data bus control circuit 16 operates to separate the local data bus 17 from the CPU data bus 10.
他方、誤り訂正回路12はバツフアメモリ13
にアドレス信号を供給すべくアドレス出力信号を
アドレス切替回路14の第2の入力端子に与え
る。第3の動作モードにおいてもアドレス切替回
路14は第2の入力端子に与えられるアドレス信
号を選択し、バツフアメモリ13のアドレス入力
端子に供給すべく動作する。誤り訂正回路12
は、8ビツトの訂正後のデータをローカルデータ
バス17に送出するごとに、アドレス出力端子を
更新するように動作するので、誤り訂正済みデー
タが順次バツフアメモリ13に格納される。 On the other hand, the error correction circuit 12 has a buffer memory 13.
An address output signal is applied to the second input terminal of the address switching circuit 14 to supply an address signal to the address switching circuit 14. Also in the third operation mode, the address switching circuit 14 operates to select the address signal applied to the second input terminal and supply it to the address input terminal of the buffer memory 13. error correction circuit 12
operates to update the address output terminal every time 8-bit corrected data is sent to the local data bus 17, so that the error-corrected data is stored in the buffer memory 13 in sequence.
この際、訂正後データを訂正前データが格納さ
れていた同じアドレスに格納すると訂正前データ
が消滅してしまう。訂正前のデータを保持してお
くためには、訂正後のデータを異なるエリアに格
納する必要がある。第3図および第4図は、バツ
フアメモリにデータを格納する際のマツピングを
例示するものである。 At this time, if the corrected data is stored at the same address where the uncorrected data was stored, the uncorrected data will disappear. In order to retain the data before correction, it is necessary to store the data after correction in a different area. 3 and 4 illustrate mapping when storing data in the buffer memory.
第3図において20〜31および40〜51は
それぞれ1パケツト分のデータを格納するための
メモリエリアである。1パケツトは34バイトのデ
ータからなるから、バイト単位でアドレス付けを
するとすれば1パケツト分のメモリエリアは34番
地分あればよい。そこで1パケツト目の訂正前デ
ータを0番地〜33番地即ち、20に割り当て、2
パケツト目の訂正前データを34番地〜67番地即
ち、21に割り当て、3パケツト目の訂正前デー
タを68番地〜101番地即ち、22に割り当て、以
下同様にして、12パケツト目の訂正前データを
374番地〜407番地即ち31に割り当てる。 In FIG. 3, 20-31 and 40-51 are memory areas for storing one packet of data, respectively. One packet consists of 34 bytes of data, so if addresses are assigned in byte units, the memory area for one packet only needs to be 34 addresses. Therefore, the uncorrected data of the first packet is assigned to addresses 0 to 33, that is, 20, and
The uncorrected data of the 12th packet is assigned to addresses 34 to 67, that is, 21, and the uncorrected data of the 3rd packet is assigned to addresses 68 to 101, that is, 22. In the same manner, the uncorrected data of the 12th packet is assigned to 21.
Assigned to addresses 374 to 407, ie 31.
他方、訂正後データの格納エリアとして40〜
51を用意する。番地で言えば408番地から815番
地まで12パケツト分のエリアである。 On the other hand, as a storage area for corrected data, 40~
Prepare 51. In terms of addresses, the area from 408 to 815 is equivalent to 12 packets.
CPUを使う装置あるいはメモリを使う装置に
おいては、データ長だけでなくアドレスのサイズ
も2n(nは整数)にとるのがソフトウエアおよび
ハードウエアの面で便利な場合が多い。第4図に
おいては1パケツト分のメモリエリアとして26=
64バイトだけ確保している。また、訂正前、訂正
後いずれの領域に対しても24=16パケツト分のエ
リアを確保している。このようにバツフアメモリ
のマツピングを行なうと、不必要なメモリエリア
が生ずるが、このエリアは他の用途に使用するこ
とができる。第4図の方法によれば2048バイト
(慣例的に2kバイトと呼んでいる)のメモリエリ
アがあればよく、いわゆる16kビツトのRAMが
ちようど使用可能となり便利である。 In devices that use a CPU or memory, it is often convenient from a software and hardware standpoint to set not only the data length but also the address size to 2 n (n is an integer). In Figure 4, the memory area for one packet is 2 6 =
Only 64 bytes are reserved. Furthermore, an area for 2 4 =16 packets is secured for both the pre-correction and post-correction areas. Mapping buffer memory in this manner creates unnecessary memory area, but this area can be used for other purposes. According to the method shown in FIG. 4, a memory area of 2048 bytes (commonly called 2k bytes) is all that is required, and so-called 16k-bit RAM can be easily used, which is convenient.
次に第4の動作モードについて説明する。第4
の動作モードにおいては、CPUが誤り訂正され
たデータを処理し、表示を行なうようにするため
に、バツフアメモリ13に格納された誤り訂正済
データを取り込む。第2図において、第4の動作
モードにおいてはアドレス切替回路14が第1の
入力端子に与えられた信号を選択してバツフアメ
モリ13のアドレス入力端子に与えるように動作
するので、CPUが指定するアドレスがCPUアド
レスバス11およびアドレス切替回路14を介し
てバツフアメモリ13に供給される。同時に第4
の動作モードにおいては、データバス制御回路1
6がCPUデータバス10をローカルデータバス
17に連結するように動作する。かくして第4の
動作モードにおいては、CPUがアドレス指定す
るバツフアメモリ13の内容がローカルデータバ
ス17、制御回路16およびCPUデータバス1
0を介してCPU、あるいは主記憶装置に読み込
まれる。CPUは所望の時期にバツフアメモリ1
3に格納された訂正済データを取出し、これに基
づいて文字放送に必要な表示を行なうべくデータ
処理を行なうことができる。 Next, the fourth operation mode will be explained. Fourth
In the operating mode, the CPU reads error-corrected data stored in the buffer memory 13 in order to process and display the error-corrected data. In FIG. 2, in the fourth operation mode, the address switching circuit 14 operates to select the signal applied to the first input terminal and apply it to the address input terminal of the buffer memory 13, so the address specified by the CPU is is supplied to buffer memory 13 via CPU address bus 11 and address switching circuit 14. 4th at the same time
In the operation mode, data bus control circuit 1
6 operates to connect the CPU data bus 10 to the local data bus 17. Thus, in the fourth operating mode, the contents of buffer memory 13 addressed by the CPU are transferred to local data bus 17, control circuit 16 and CPU data bus 1.
0 to the CPU or main memory. The CPU buffers memory 1 at the desired time.
The corrected data stored in 3 can be retrieved and data processing can be performed based on the corrected data in order to perform display necessary for teletext broadcasting.
次に第2図の動作をより明確にするために、誤
り訂正回路12のより詳しい回路構成図を第5図
に示す。第5図における17および18は第2図
の同一番号のものと同等であり、また、68aは
第2図における受信データ入力端子15と同等で
ある。 Next, in order to make the operation of FIG. 2 more clear, a more detailed circuit diagram of the error correction circuit 12 is shown in FIG. 17 and 18 in FIG. 5 are equivalent to those with the same numbers in FIG. 2, and 68a is equivalent to the received data input terminal 15 in FIG.
第5図において、60はタイミング制御部であ
り、基準となるクロツクパルス87を受け、第1
のタイミング出力信号として切替信号61を発
し、第2のタイミング出力信号を誤り訂正部62
に供給し、第3のタイミング出力信号をデータ転
送部63に供給し、第4のタイミング出力信号を
アドレス生成部64に供給するとともに、ステー
タス信号64を発する。ステータス信号67は
CPUがバツフアメモリ13をアクセスしてよい
か否かを示す信号であり、前記第1〜第3のモー
ドでは例えば“H”が出力され、それ以外の時に
は“L”になつている。CPUはステータス信号
67を検出し、“L”であるのを確認してからバ
ツフアメモリをアクセスする。 In FIG. 5, 60 is a timing control section which receives a reference clock pulse 87 and receives a first clock pulse 87.
A switching signal 61 is generated as a timing output signal of
A third timing output signal is supplied to the data transfer section 63, a fourth timing output signal is supplied to the address generation section 64, and a status signal 64 is generated. The status signal 67 is
This is a signal indicating whether or not the CPU may access the buffer memory 13, and in the first to third modes, for example, "H" is output, and in other cases, it is "L". The CPU detects the status signal 67, confirms that it is "L", and then accesses the buffer memory.
68aはシリアル受信データ、68bはフレー
ミング検知信号、68cはシリアル受信データ6
8aのデータ列と同期したクロツクパルスであつ
て、いずれもデータ転送部63に供給される。 68a is serial reception data, 68b is a framing detection signal, 68c is serial reception data 6
These clock pulses are synchronized with the data string 8a, and both are supplied to the data transfer section 63.
データ転送部は訂正前信号65を誤り訂正部6
2に供給し、また誤り訂正部62より訂正後信号
66を受取り、またアドレス生成部64にアドレ
ス歩進パルス69を供給し、またローカルデータ
バス17とも接続されている。アドレス生成部6
4はバツフアメモリをアドレシングするためのア
ドレス信号を生成する機能をはたす。 The data transfer unit transfers the pre-correction signal 65 to the error correction unit 6.
It also receives a corrected signal 66 from the error correction section 62, supplies an address increment pulse 69 to the address generation section 64, and is also connected to the local data bus 17. Address generation section 6
4 functions to generate an address signal for addressing the buffer memory.
次に第5図の動作を説明する。第5図において
誤り訂正部62はデータ転送部63から、訂正前
信号65を受け取りパケツト単位で訂正し、訂正
後信号66をデータ転送部63に与える。 Next, the operation shown in FIG. 5 will be explained. In FIG. 5, an error correction section 62 receives a pre-correction signal 65 from a data transfer section 63, corrects it in packet units, and provides a post-correction signal 66 to the data transfer section 63.
データ転送部63は受信データ入力端子68
aに与えられたシリアル受信データを直−並列変
換してローカルデータバス17に送出する(第1
の動作モード時)、バツフアメモリ13からロ
ーカルデータバス17に送出された訂正前のデー
タを受け取り、並−直列変換を行なつて訂正前信
号65を生成し、誤り訂正部62を伝達する(第
2の動作モード時)および誤り訂正部62から
送出される訂正後信号66を直−並列変換してロ
ーカルデータバス17に送出する(第3の動作モ
ード時)、などの動作を行なう。 The data transfer unit 63 has a reception data input terminal 68
The serial reception data given to a is serial-parallel converted and sent to the local data bus 17 (first
operation mode), receives the uncorrected data sent from the buffer memory 13 to the local data bus 17, performs parallel-to-serial conversion to generate the uncorrected signal 65, and transmits it to the error correction unit 62 (second (in the third operation mode) and serial-to-parallel convert the corrected signal 66 sent from the error correction section 62 and send it to the local data bus 17 (in the third operation mode).
各動作モードにおける各信号の流れは次の通り
である。第1の動作モードにおいてはデータがシ
リアル受信データ入力端子68a→データ転送部
63→ローカルデータバス17のごとく転送され
るがこの間、データ転送部63は、1バイトのデ
ータ転送ごとにアドレス歩進パルス69を発生
し、アドレス生成部64に与えるので、これによ
つて、アドレス信号18が更新され、バツフアメ
モリに順次書込むことができる。 The flow of each signal in each operation mode is as follows. In the first operation mode, data is transferred from the serial reception data input terminal 68a to the data transfer unit 63 to the local data bus 17. During this time, the data transfer unit 63 generates an address increment pulse every time one byte of data is transferred. 69 is generated and given to the address generation unit 64, thereby the address signal 18 is updated and can be sequentially written into the buffer memory.
第2の動作モードにおいては、データがローカ
ルデータバス17→データ転送部63→訂正前信
号65→誤り訂正部62のごとく転送され、1バ
イトの転送ごとにアドレス生成部64がアドレス
更新するようにタイミング制御部60がタイミン
グ信号を供給するので、バツフアメモリ13から
1バイト単位で順次読出される。 In the second operation mode, data is transferred as follows: local data bus 17 → data transfer unit 63 → pre-correction signal 65 → error correction unit 62, and the address generation unit 64 updates the address every time one byte is transferred. Since the timing control unit 60 supplies the timing signal, the data are read out from the buffer memory 13 in one byte unit sequentially.
第3の動作モードにおいてはデータが誤り訂正
部62→訂正後信号66→データ転送部63→ロ
ーカルデータバス17のごとく転送され、1バイ
トの転送ごとに、タイミング制御部60からのタ
イミングパルスによつてアドレス生成部64がア
ドレス更新を行なうものでバツフアメモリ13に
訂正後データを順次書込むことができる。 In the third operation mode, data is transferred as follows: error correction unit 62 → corrected signal 66 → data transfer unit 63 → local data bus 17, and every byte is transferred by a timing pulse from the timing control unit 60. The address generator 64 then updates the address and can sequentially write the corrected data into the buffer memory 13.
第5図において、シリアル受信データをデータ
転送部63で受取り、バツフアメモリ13に格納
する動作をより具体的に示すために細部を第6
図、第7図および第8図に示す。 In FIG. 5, in order to more specifically illustrate the operation of receiving serial reception data by the data transfer unit 63 and storing it in the buffer memory 13, details are shown in the sixth section.
7 and 8.
第6図はパケツト受信データのフオーマツトを
示すタイミング図であつて、特願昭58−6579の第
16図と同じものである。すなわち、第6図にお
いて70は水平同期信号、71はカラーバース
ト、72はクロツク同期をとるためのクロツクラ
ンイン、73はフレーム同期をとるためのフレー
ミング信号、74は34バイトパケツト信号すなわ
ちシリアル受信データ68aを表わす。フレーミ
ング信号73によつてフレーム同期がとられた時
に発生されるのがフレーミング検知信号68bで
あり、クロツクランイン72によつてクロツク同
期がとられたクロツクパルスが68cである。 FIG. 6 is a timing chart showing the format of packet reception data, and is the same as FIG. 16 of Japanese Patent Application No. 58-6579. That is, in FIG. 6, 70 is a horizontal synchronization signal, 71 is a color burst, 72 is a clock line in for clock synchronization, 73 is a framing signal for frame synchronization, and 74 is a 34-byte packet signal, that is, serial reception data 68a. represents. A framing detection signal 68b is generated when frame synchronization is achieved by the framing signal 73, and a clock pulse 68c is generated when the frame is synchronized by the clock run-in 72.
第7図はフレーミング検知信号68b、クロツ
クパルス68cによつてシリアル受信データ68
aをローカルデータバス17を介してバツフアメ
モリ13に格納するためのデータ転送部63にお
ける部分回路図を示す。また第8図はデータ転送
部63の部分回路である第7図の動作を示すため
のタイミング図である。 FIG. 7 shows the serial received data 68 by the framing detection signal 68b and clock pulse 68c.
A partial circuit diagram of a data transfer section 63 for storing data a into the buffer memory 13 via the local data bus 17 is shown. 8 is a timing diagram showing the operation of FIG. 7, which is a partial circuit of the data transfer section 63. In FIG.
第7図において80はゲート回路であり、フレ
ーム検知信号68bが“L”の時にクロツクパル
ス68cをシフトレジスタ81のクロツクパルス
入力端子に供給するように動作する。シフトレジ
スタ81はシリアル受信データ68aをクロツク
パルス入力端子のパルスによつて順次取り込みシ
フトするとともに、8ビツトのシフトした信号を
レジスタ82の入力端子に供給する。レジスタ8
2はシフトレジスタ81から供給された8ビツト
信号をラツチパルス85によつて取込み、取込ん
だ8ビツト信号をバスラインインターフエイス回
路83に供給する。バスラインインターフエイス
回路83は、レジスタ82から供給された8ビツ
ト信号を指定されるタイミングでローカルデータ
バス17に送出する。データ受信制御回路84は
ゲート回路80の出力パルスをカウントすること
によつてシリア受信データが8ビツト=1バイト
分シフトレジスタ81にシフトされるごとにレジ
スタ82に転送すべくラツチパルス85を発する
とともに、1バイトの転送ごとにバツフアメモリ
13への書込みパルス86を発し、かつ、1バイ
トの転送ごとにアドレス更新をさせるためにアド
レス歩進パルス69を発する。 In FIG. 7, 80 is a gate circuit, which operates to supply a clock pulse 68c to the clock pulse input terminal of the shift register 81 when the frame detection signal 68b is "L". Shift register 81 sequentially takes in and shifts serial received data 68a in response to pulses from a clock pulse input terminal, and supplies an 8-bit shifted signal to an input terminal of register 82. register 8
2 takes in the 8-bit signal supplied from the shift register 81 by means of a latch pulse 85, and supplies the taken-in 8-bit signal to the bus line interface circuit 83. Bus line interface circuit 83 sends the 8-bit signal supplied from register 82 to local data bus 17 at a designated timing. By counting the output pulses of the gate circuit 80, the data reception control circuit 84 issues a latch pulse 85 to transfer the serial reception data to the register 82 every time 8 bits = 1 byte of serial reception data is shifted to the shift register 81. A write pulse 86 to the buffer memory 13 is generated every time one byte is transferred, and an address increment pulse 69 is generated to update the address every time one byte is transferred.
かくして第7図は、シリアルに送られてくるパ
ケツト受信データを、8ビツト単位に変換してバ
スインタフエイス回路83を介してローカルデー
タバス17に順次送出する。この間アドレス歩進
パルス69およびバツフアメモリ書込みパルス8
6を発するのでローカルデータバス17に送出さ
れた8ビツト単位のデータが順次バツフアメモリ
13の相異なるアドレスに書込まれる。 Thus, in FIG. 7, the serially sent packet reception data is converted into 8-bit units and sequentially sent to the local data bus 17 via the bus interface circuit 83. During this time, address increment pulse 69 and buffer memory write pulse 8
6, the 8-bit unit data sent to the local data bus 17 is sequentially written to different addresses in the buffer memory 13.
第8図において、93はローカルデータバス1
7に送出されるデータの内容を示したものでラツ
チパルス85によつて、データ更新されることが
示されている。 In FIG. 8, 93 is the local data bus 1
This shows the contents of the data sent out at 7 and shows that the data is updated by the latch pulse 85.
以上説明したように第2図における誤り訂正回
路12として第5図に示す回路を用いれば、
CPUが介在することなしに、訂正前データと訂
正後データとを格納保持することができる。この
間CPUは他の処理を行なつていてよい。 As explained above, if the circuit shown in FIG. 5 is used as the error correction circuit 12 in FIG.
Pre-correction data and post-correction data can be stored and held without the intervention of the CPU. During this time, the CPU may be performing other processing.
以上の説明ではCPUデータバス10およびロ
ーカルデータバス17として8ビツト=1バイト
構成にした場合について述べたが他のビツト構
成、例えば4ビツト構成や16ビツト構成にしても
よい。 In the above description, the CPU data bus 10 and the local data bus 17 have an 8-bit=1-byte configuration, but other bit configurations, such as a 4-bit configuration or a 16-bit configuration, may be used.
また、第1実施例では、受信データをいつたん
バツフアメモリ13に格納して、訂正前データを
保持しておくようにしたが、訂正前データが不要
である場合には、訂正後データを訂正前データと
同じアドレスに格納することができ、あるいは第
1の動作モードを不要にし、かつ受信データ入力
端子15に与えられる。シリアル受信データをデ
ータ転送部63を介して直接に誤り訂正部62に
伝達し、訂正してしまうことも可能である。 In addition, in the first embodiment, the received data is stored in the buffer memory 13 and the uncorrected data is retained, but if the uncorrected data is not needed, the uncorrected data is stored in the buffer memory 13. It can be stored at the same address as the data, or it can obviate the first mode of operation and is applied to the receive data input terminal 15. It is also possible to directly transmit the serial reception data to the error correction section 62 via the data transfer section 63 and correct it.
次に、受信データをバツフアメモリ13に転送
する際にアドレス生成する方法として、より有効
な他の実施例について以下に説明する。 Next, as a method for generating an address when transferring received data to the buffer memory 13, another embodiment that is more effective will be described below.
この実施例について説明するために、第4図に
示したバツフアメモリのマツピングを書き直して
第9図に示す。例えば、訂正前の第1パケツト目
データは0番目から33番地まに格納される。先頭
番地は0番地であり、2進表現で0番地を表現す
れば“000、0000、0000”(16進表現では“000”)
である。訂正前の第2パケツト目データは64番地
から97番地までに格納される。先頭番地は64番地
であり、2進表現で64番地を表現すれば“000、
0100、0000”(16進表現では“040”)である。以
下同様にして、訂正前および訂正後のパケツトデ
ータの格納される先頭アドレスが10進表現、2進
表現および16進表現に分けて第9図に列記されて
いる。全部で2048バイトのアドレスを与えるのに
アドレス信号として11ビツト必要であり、最上位
ビツトから順番に、A10、A9、A8…A0と対応さ
せている。第9図で注意すべきことは、パケツト
番号がA9、A8、A7、A6の4ビツトだけで表現で
きることである。A5〜A0はそのパケツト内での
バイト番号に対応ずけられ、A10は訂正前データ
か訂正後データかの識別ビツトとなる。 In order to explain this embodiment, the buffer memory mapping shown in FIG. 4 is rewritten and shown in FIG. 9. For example, the first packet data before correction is stored in addresses 0 to 33. The first address is address 0, and if address 0 is expressed in binary notation, it is “000, 0000, 0000” (“000” in hexadecimal notation)
It is. The second packet data before correction is stored from address 64 to address 97. The first address is address 64, and if address 64 is expressed in binary representation, it is “000,
0100, 0000"("040" in hexadecimal representation). In the same way, the start address where the packet data before and after correction is stored is divided into decimal representation, binary representation, and hexadecimal representation. They are listed in Figure 9. 11 bits are required as an address signal to give a total of 2048 bytes of address, and they correspond to A 10 , A 9 , A 8 ...A 0 in order from the most significant bit. What should be noted in Figure 9 is that the packet number can be expressed with only 4 bits, A9 , A8 , A7 , and A6.A5 to A0 correspond to the byte numbers within the packet. A10 serves as an identification bit as to whether the data is before correction or after correction.
従つて、受信データをバツフアメモリに格納す
る際のアドレシングは、パケツト番号をA9〜A6
に対応させればよい。 Therefore, the addressing when storing received data in buffer memory is based on packet numbers A9 to A6.
All you have to do is make it correspond to .
さらにこの実施例の動作を説明するために、送
信されてくる文字放送データのタイミング図を第
10に示す。第10図において、100aは垂直
同期信号、100bは垂直帰線消去信号、100
cは垂直同期信号100aと垂直帰線消去信号1
00bあるいは垂直帰線消去信号100bだけか
ら生成される垂直信号であり、これらはいずれも
1垂直走査期間を周期とする繰り返しパルス信号
である。 Further, in order to explain the operation of this embodiment, a timing diagram of the teletext data to be transmitted is shown in No. 10. In FIG. 10, 100a is a vertical synchronizing signal, 100b is a vertical blanking signal, 100
c is a vertical synchronizing signal 100a and a vertical blanking signal 1
00b or vertical blanking signal 100b, and both of these are repetitive pulse signals whose period is one vertical scanning period.
垂直帰線消去期間は21水平走査期間(以下21H
というようにHで水平走査期間を表わす)であ
り、このうち、文字放送用のデータが載せられる
のは、10H目以後のつごう12H分である。即ち、
垂直信号100cが“L”から“H”に反転して
から12H分だけが文字放送のデータとして意味を
もつ。1Hの期間に載せられるデータが1パケツ
トであるから、10H目に1パケツト目のデータが
載つており、11H目に2パケツト目のデータが載
つており、以下同様にして21H目に12パケツト目
のデータが載つている。 The vertical blanking period is 21 horizontal scanning periods (hereinafter referred to as 21H).
(H represents the horizontal scanning period), of which data for teletext broadcasting is carried for 12 hours after the 10th hour. That is,
Only 12H after the vertical signal 100c is inverted from "L" to "H" has meaning as teletext data. Since the data loaded in the 1H period is 1 packet, the 1st packet data is loaded in the 10th hour, the 2nd packet data is loaded in the 11th hour, and so on, and the 12th packet is loaded in the 21st hour. Contains data on.
本実施例における受信データをバツフアメモリ
13に転送・格納する際のアドレス生成回路の部
分回路図を第11図に示す。第11図において1
00cは第10図に示した垂直信号であり、1垂
直走査期間ごとの繰返しパルスである。110は
水平同期信号、もしくは水平帰線消去信号が水平
クロツクパルス入力端子であつて、4ビツトカウ
ンタ111のクロツクパルス入力端子CKに接続
されている。同時に、4ビツトカウンタ111の
リセツト入力端子Rには前記垂直信号100cが
加えられる。113〜116は4ビツトカウンタ
111の各ビツト出力端子でありそれぞれアドレ
ス出力信号A6〜A9を形成している。 FIG. 11 shows a partial circuit diagram of the address generation circuit for transferring and storing received data in the buffer memory 13 in this embodiment. In Figure 11, 1
00c is the vertical signal shown in FIG. 10, which is a repetitive pulse for each vertical scanning period. 110 is a horizontal clock pulse input terminal for a horizontal synchronization signal or a horizontal blanking signal, and is connected to a clock pulse input terminal CK of a 4-bit counter 111. At the same time, the vertical signal 100c is applied to the reset input terminal R of the 4-bit counter 111. Numerals 113-116 are respective bit output terminals of the 4-bit counter 111, and form address output signals A6 - A9, respectively.
次に第11図の動作を第9図および第10図を
参考にして説明する。4ビツトカウンタ111は
垂直信号100cが“L”の期間すなわち、垂直
帰線消去期間の9H目までリセツトされており、
水平クロツクパルスをカウントしない。4ビツト
カウンタ111は10H目からカウントし始めるが
10Hの目はまだカウントアツプしていないので、
86〜83は“0000”であり、アドレス信号A9
〜A6が“0000”であつて、第9図における1パ
ケツト目のアドレスを与えることができる。11H
目になると4ビツトカウンタ111はカウントア
ツプし4ビツトカウンタの出力信号116〜11
3は“0001)となり、アドレス信号A9〜A6が
“0001”であつて、2パケツト目のアドレスを与
えることができる。 Next, the operation shown in FIG. 11 will be explained with reference to FIGS. 9 and 10. The 4-bit counter 111 is reset until the period when the vertical signal 100c is "L", that is, the 9th H of the vertical blanking period.
Do not count horizontal clock pulses. The 4-bit counter 111 starts counting from the 10th H.
10H has not counted up yet, so
86 to 83 are “0000” and address signal A 9
~ A6 is "0000" and can give the address of the first packet in FIG. 11H
4-bit counter 111 counts up and the output signals 116-11 of the 4-bit counter
3 is "0001", and the address signals A9 to A6 are "0001", so that the address of the second packet can be given.
以下同様にして1Hごとに4ビツトカウンタ1
11がカウントアツプしアドレス信号A9〜A6が
順次歩進してアドレスを更新していく。 Similarly, 4-bit counter 1 every 1H
11 counts up and the address signals A9 to A6 sequentially increment to update the address.
なお、第11図では図示していないがA10は、
例えば垂直帰線消去期間信号、すなわち第10図
における垂直帰線消去信号100bなどから与え
られ、パケツト受信データが挿入されている期間
に“L”になるようにする。 Although not shown in Fig. 11, A10 is
For example, it is given from the vertical blanking period signal, ie, the vertical blanking signal 100b in FIG. 10, and is set to "L" during the period in which packet reception data is inserted.
また、アドレスの下位ビツト信号A5〜A0は、
第5図におけるアドレス歩進パルス69もしくは
タイミング制御部63から供給されるアドレス歩
進パルスをカウントすることによつて生成され
る。 In addition, the lower bit signals A 5 to A 0 of the address are
It is generated by counting the address step pulse 69 in FIG. 5 or the address step pulse supplied from the timing control section 63.
以上説明したように、この実施例では水平同期
信号もしくは水平帰線消去信号をカウントするこ
とによつて容易にバツフアメモリのアドレツシン
グを行なうことができる。 As explained above, in this embodiment, addressing of the buffer memory can be easily performed by counting the horizontal synchronizing signal or the horizontal blanking signal.
(発明の効果)
以上説明したように本発明によれば誤り訂正復
号回路としてシリアルに送られてくる受信データ
を順次バツフアメモリに格納する機能、バツフア
メモリに格納された訂正前データを順次読み出し
て訂正する機能、および訂正後のデータを順次バ
ツフアメモリに格納する機能を有しているから、
これらの動作の間、CPUは介在しなくてもよく、
この間CPUは他の処理を行なうことができ、
CPUの動作の自由度を増大させることができ、
コード方式による文字放送の受信機などに極めて
有効である。(Effects of the Invention) As explained above, according to the present invention, the error correction decoding circuit has a function of sequentially storing received data sent serially in a buffer memory, and sequentially reading and correcting uncorrected data stored in the buffer memory. function and the function to sequentially store corrected data in the buffer memory,
During these operations, the CPU does not need to intervene;
During this time, the CPU can perform other processing,
The degree of freedom of CPU operation can be increased,
This is extremely effective for code-based teletext receivers.
第1図は従来の誤り訂正復号回路の回路図、第
2図は本発明の一実施例の誤り訂正復号回路の回
路図、第3図及び第4図はバツフアメモリのマツ
ピング図、第5図は誤り訂正回路の回路図、第6
図はパケツト受信データのフオーマツトを示すタ
イミング図、第7図はデータ転送部の部分回路
図、第8図はデータ転送部の部分回路の動作を示
すタイミング図、第9図はバツフアメモリのマツ
ピング図、第10図は文字放送データのタイミン
グ図、第11図はアドレス生成回路の部分回路図
である。
1……CPUバスライン、2……出力ポート、
3……入力ポート、4……誤り訂正回路、10…
…CPUデータバス、11……CPUアドレスバス、
12……誤り訂正回路、13……バツフアメモ
リ、14……アドレス切替回路、15……受信デ
ータ入力端子、16……データバス制御回路、1
7……ローカルデータバス、18……誤り訂正回
路のアドレス出力端子、20〜31,40〜51
……パケツトメモリエリア、32〜35,52〜
55……パケツトメモリエリア、60……タイミ
ング制御部、61……切替信号、62……誤り訂
正部、63……データ転送部、64……アドレス
生成部、65……訂正前信号、66……訂正後信
号、67……CPUがバツフアメモリをアクセス
してよいか否かを示す信号、68a……シリアル
受信データ、68b……フレーミング検知信号、
68c……クロツクパルス、69……アドレス歩
進パルス、70……水平同期信号、71……カラ
ーバースト、72……クロツクランイン、73…
…フレーミング信号、74……34バイトパケツト
信号、80……ゲート回路、81……シフトレジ
スタ、82……レジスタ、83……バスインタフ
エイス回路、84……データ受信制御回路、85
……ラツチパルス、86……書込みパルス、10
0a……垂直同期信号、100b……垂直帰線消
去信号、100c……垂直信号、110……水平
同期信号もしくは水平帰線消去信号、111……
4ビツトカウンタ、113〜116……4ビツト
カウンタの出力信号。87……クロツクパルス。
Fig. 1 is a circuit diagram of a conventional error correction decoding circuit, Fig. 2 is a circuit diagram of an error correction decoding circuit according to an embodiment of the present invention, Figs. 3 and 4 are mapping diagrams of buffer memory, and Fig. 5 is a circuit diagram of a conventional error correction decoding circuit. Circuit diagram of error correction circuit, No. 6
7 is a partial circuit diagram of the data transfer section. FIG. 8 is a timing diagram showing the operation of the partial circuit of the data transfer section. FIG. 9 is a mapping diagram of the buffer memory. FIG. 10 is a timing diagram of teletext data, and FIG. 11 is a partial circuit diagram of an address generation circuit. 1...CPU bus line, 2...Output port,
3...Input port, 4...Error correction circuit, 10...
...CPU data bus, 11...CPU address bus,
12...Error correction circuit, 13...Buffer memory, 14...Address switching circuit, 15...Receive data input terminal, 16...Data bus control circuit, 1
7...Local data bus, 18...Address output terminal of error correction circuit, 20-31, 40-51
...Packet memory area, 32-35, 52-
55... Packet memory area, 60... Timing control section, 61... Switching signal, 62... Error correction section, 63... Data transfer section, 64... Address generation section, 65... Signal before correction, 66 ...Corrected signal, 67...Signal indicating whether or not the CPU may access the buffer memory, 68a...Serial reception data, 68b...Framing detection signal,
68c...Clock pulse, 69...Address step pulse, 70...Horizontal synchronization signal, 71...Color burst, 72...Clock run in, 73...
...Framing signal, 74...34-byte packet signal, 80...Gate circuit, 81...Shift register, 82...Register, 83...Bus interface circuit, 84...Data reception control circuit, 85
...Latch pulse, 86 ...Write pulse, 10
0a...Vertical synchronization signal, 100b...Vertical blanking signal, 100c...Vertical signal, 110...Horizontal synchronization signal or horizontal blanking signal, 111...
4-bit counter, 113-116... Output signal of 4-bit counter. 87...Clock pulse.
Claims (1)
する誤り訂正回路と、 前記ローカルデータバスに結合され、前記訂正
済データを格納するバツフアメモリと、 前記誤り訂正回路から出力されたアドレス信号
と、CPU(中央処理装置)から出力されたアドレ
ス信号を選択的に前記バツフアメモリに転送し、
前記バツフアメモリのアドレスを指定するアドレ
ス切換回路と、 前記CPUのデータバスと前記ローカルデータ
バス間に結合され、前記アドレス切換回路が前記
誤り訂正回路から出力されたアドレス信号を選択
する場合、前記データバスと前記ローカルデータ
バス間を分離するデータバス制御回路と、 からなる誤り訂正復号回路。 2 前記誤り訂正回路は、 バツフアメモリに与えるアドレス信号を生成す
るアドレス生成部と、 符号データを訂正するための誤り訂正部と、 受信データを前記ローカルデータバスもしくは
前記誤り訂正部に転送し、あるいは、前記ローカ
ルデータバスのデータを前記誤り訂正部に転送し
あるいは前記誤り訂正部からのデータを前記ロー
カルデータバスに転送するごとく作動するデータ
転送部と前記アドレス生成部、誤り訂正部および
データ転送部に所定のタイミング信号を供給する
タイミング制御部とを有することを特徴とする特
許請求の範囲第1項記載の誤り訂正復号回路。 3 前記バツフアメモリは異なつたアドレスに訂
正前のデータを格納するエリアと訂正後のデータ
を格納するエリアとを有することを特徴とする特
許請求の範囲第1項、または第2項記載の誤り訂
正復号回路。 4 前記アドレス生成部は、水平パルス信号をカ
ウントすることによつて受信データを格納するア
ドレスを決定するごとくした特許請求の範囲第2
項記載の誤り訂正復号回路。 5 前記データ転送部は、文字コード放送のパケ
ツト信号に含まれているフレーミング信号によつ
てフレーム同期がとられたことを検知する信号
と、同じく文字コード放送のパケツト信号に含ま
れているクロツクランイン信号に同期したクロツ
クパルスとによりパケツト受信データをローカル
データバスに送出する手段を有していることを特
徴とする特許請求の範囲第2項記載の誤り訂正復
号回路。[Claims] 1. A local data bus; an error correction circuit that corrects errors in teletext code data and transfers the corrected data to the local data bus; a buffer memory for storing data; selectively transferring an address signal output from the error correction circuit and an address signal output from a CPU (central processing unit) to the buffer memory;
an address switching circuit that specifies an address of the buffer memory; and an address switching circuit coupled between the data bus of the CPU and the local data bus, and when the address switching circuit selects the address signal output from the error correction circuit, the data bus and a data bus control circuit that separates between the local data bus and the local data bus. 2. The error correction circuit includes an address generation section that generates an address signal to be applied to the buffer memory, an error correction section that corrects code data, and transfers received data to the local data bus or the error correction section, or a data transfer unit that operates to transfer data on the local data bus to the error correction unit or transfer data from the error correction unit to the local data bus, the address generation unit, the error correction unit, and the data transfer unit; 2. The error correction decoding circuit according to claim 1, further comprising a timing control section that supplies a predetermined timing signal. 3. Error correction decoding according to claim 1 or 2, wherein the buffer memory has an area for storing uncorrected data and an area for storing post-corrected data at different addresses. circuit. 4. The address generation unit determines an address for storing received data by counting horizontal pulse signals.
The error correction decoding circuit described in Section 1. 5. The data transfer unit transmits a signal for detecting frame synchronization using a framing signal included in a packet signal for character code broadcasting, and a clock clamp signal also included in a packet signal for character code broadcasting. 3. The error correction decoding circuit according to claim 2, further comprising means for sending the received packet data to the local data bus using a clock pulse synchronized with the IN signal.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59060904A JPS60206225A (en) | 1984-03-30 | 1984-03-30 | Error correcting and decoding circuit |
| US06/716,027 US4672612A (en) | 1984-03-30 | 1985-03-26 | Error correction system in a teletext system |
| CA000477540A CA1223076A (en) | 1984-03-30 | 1985-03-26 | Error correction system in a teletext system |
| KR1019850002151A KR900000489B1 (en) | 1984-03-30 | 1985-03-30 | Error correction system of teletext system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59060904A JPS60206225A (en) | 1984-03-30 | 1984-03-30 | Error correcting and decoding circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60206225A JPS60206225A (en) | 1985-10-17 |
| JPH0155785B2 true JPH0155785B2 (en) | 1989-11-27 |
Family
ID=13155809
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59060904A Granted JPS60206225A (en) | 1984-03-30 | 1984-03-30 | Error correcting and decoding circuit |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JPS60206225A (en) |
| KR (1) | KR900000489B1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH03201626A (en) * | 1989-12-27 | 1991-09-03 | Sharp Corp | Memory control system |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS57188158A (en) * | 1981-05-15 | 1982-11-19 | Nec Corp | Parity bit addition circuit |
| JPS58200351A (en) * | 1982-05-14 | 1983-11-21 | Nec Corp | Error correcting circuit |
-
1984
- 1984-03-30 JP JP59060904A patent/JPS60206225A/en active Granted
-
1985
- 1985-03-30 KR KR1019850002151A patent/KR900000489B1/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| KR850007178A (en) | 1985-10-30 |
| JPS60206225A (en) | 1985-10-17 |
| KR900000489B1 (en) | 1990-01-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0261791B1 (en) | High resolution monitor interface & related interface method | |
| JP2579456B2 (en) | Decoder | |
| JP2608398B2 (en) | Decoder | |
| JPH0759075B2 (en) | Teletext decoder | |
| KR20230025858A (en) | Communication device and communication system | |
| JPH04267431A (en) | Elastic buffer | |
| JPH0824298B2 (en) | CSMA communication system | |
| CA1223076A (en) | Error correction system in a teletext system | |
| KR910001071B1 (en) | Error correction system of telext system using cyclic code | |
| JPH0155785B2 (en) | ||
| JPH09502855A (en) | Teletext page transmission method | |
| EP0840520B1 (en) | Circuitry for identifying packets of digital data | |
| US7298397B2 (en) | Digital transmission system | |
| US8024767B1 (en) | Method and apparatus for receiving digital video signals | |
| JPH0155787B2 (en) | ||
| JP2525988B2 (en) | FM multiplex broadcast receiver | |
| JPH0155789B2 (en) | ||
| JPS58157277A (en) | Receiver for character broadcasting | |
| JPS6143343Y2 (en) | ||
| SU717752A1 (en) | Device for presentation of information on tv display | |
| JPH0566778B2 (en) | ||
| JPS59284A (en) | Framing code detecting device of character broadcasting | |
| JPH0155786B2 (en) | ||
| JP3098372B2 (en) | Communication device | |
| JPH0620297B2 (en) | Data signal receiving device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |