Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2652993B2 - Counting circuit - Google Patents
[go: Go Back, main page]

JP2652993B2 - Counting circuit - Google Patents

Counting circuit

Info

Publication number
JP2652993B2
JP2652993B2 JP3003621A JP362191A JP2652993B2 JP 2652993 B2 JP2652993 B2 JP 2652993B2 JP 3003621 A JP3003621 A JP 3003621A JP 362191 A JP362191 A JP 362191A JP 2652993 B2 JP2652993 B2 JP 2652993B2
Authority
JP
Japan
Prior art keywords
signal
circuit
data
input
counting
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
JP3003621A
Other languages
Japanese (ja)
Other versions
JPH04242461A (en
Inventor
司 上野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP3003621A priority Critical patent/JP2652993B2/en
Publication of JPH04242461A publication Critical patent/JPH04242461A/en
Application granted granted Critical
Publication of JP2652993B2 publication Critical patent/JP2652993B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は計数回路に関し、特に、
基準フレーム内に複数個あるそれぞれ独立なステータス
信号を独立に計数する計数回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a counting circuit.
The present invention relates to a counting circuit that independently counts a plurality of independent status signals in a reference frame.

【0002】[0002]

【従来の技術】従来のこの種の計数回路は、図3に示す
ように、1フレームに3つのそれぞれ独立なステータス
信号が多重化されているデータ信号を例にとると、入力
回路11、計数部31、出力回路51の系列と、入力回
路12、計数部32、出力回路52の系列と、入力回路
13、計数部33、出力回路53の系列とからなる3系
列と信号発生器61とで構成されている。なお、入力さ
れるチャネルステータスデータ信号D1は図2に示すよ
うに1フレーム中に第1,第2,第3チャネルのステー
タス信号A1,B1,C1、次のフレームに第1,第
2,第3チャネルのステータス信号A2,B2,C2を
配列している。
2. Description of the Related Art As shown in FIG. 3, a conventional counting circuit of this type uses, as an example, a data signal in which three independent status signals are multiplexed in one frame. The signal generator 61 includes a series of the unit 31, the output circuit 51, a series of the input circuit 12, the counting unit 32, and the output circuit 52, and a series of the input circuit 13, the counting unit 33, and the output circuit 53. It is configured. As shown in FIG. 2, the input channel status data signal D1 includes the status signals A1, B1, and C1 of the first, second, and third channels in one frame, and the first, second, and second status signals in the next frame. Status signals A2, B2, and C2 of three channels are arranged.

【0003】次に従来例の動作を図3により説明する。
1フレームに3つのそれぞれ独立なステータス信号が多
重されているチャネルステータスデータ信号D1中のス
テータス信号A1を入力回路11に、ステータス信号B
1を入力回路12に、ステータス信号C1を入力回路1
3に、フレーム基準信号SRによって信号発生器61で
発生するステータス信号の先頭を示す制御信号SC1、
SC2、SC3に従って取り込み、ステータス信号DS
1を計数部31に、ステータス信号DS2を計数部32
に、ステータス信号DS3を計数部33に入力する。さ
らに信号発生器61で発生する計数を指示する制御信号
SCK1、SCK2、SCK3に従って計数部31,3
2,33でそれぞれステータス信号を計数し計数部情報
DC1を出力回路部51に、計数部情報DC2を出力回
路52に、計数部情報DC3を出力回路部53に入力す
る。さらに信号発生器61で発生する各チャネル出力を
指示する制御信号SCO1、SCO2、計数結果DO
2、計数結果DO3が出力される。
Next, the operation of the conventional example will be described with reference to FIG.
The status signal A1 in the channel status data signal D1 in which three independent status signals are multiplexed in one frame is supplied to the input circuit 11, and the status signal B
1 to the input circuit 12, and the status signal C1 to the input circuit 1.
3, a control signal SC1 indicating the head of a status signal generated by the signal generator 61 by the frame reference signal SR;
SC2, SC3 and status signal DS
1 to the counter 31 and the status signal DS2 to the counter 32
, The status signal DS3 is input to the counting unit 33. Further, the counting units 31, 3 according to the control signals SCK1, SCK2, SCK3 instructing the counting generated by the signal generator 61.
At 2 and 33, the status signals are counted, and the counting section information DC1 is input to the output circuit section 51, the counting section information DC2 is input to the output circuit 52, and the counting section information DC3 is input to the output circuit section 53. Further, control signals SCO1 and SCO2 for instructing each channel output generated by the signal generator 61, and the counting result DO
2. The counting result DO3 is output.

【0004】[0004]

【発明が解決しようとする課題】上述した従来の計数回
路では、1フレーム内に複数個あるステータス信号のそ
れぞれ1つのステータス信号に対して1つの入力回路、
計数部、出力回路が必要であり、また、信号発生器で発
生する入力制御信号、計数制御信号及び出力制御信号が
ステータス信号の個数と同じ数だけ必要であるために、
ステータス信号が複数個になると回路規模が増大し、ま
た、信号発生器による制御が複雑になるという欠点があ
る。
In the conventional counting circuit described above, one input circuit is provided for each one of a plurality of status signals in one frame.
Since a counting unit and an output circuit are required, and the number of input control signals, count control signals, and output control signals generated by the signal generator are required as many as the number of status signals,
When there are a plurality of status signals, there are disadvantages that the circuit scale increases and control by a signal generator becomes complicated.

【0005】本発明の目的は、ステータス信号が増えて
も回路規模の増大を避け、また、信号発生器による制御
信号の増大を避ける計数回路を提供することにある。
It is an object of the present invention to provide a counting circuit which avoids an increase in circuit scale even if the number of status signals increases, and which prevents an increase in control signals by a signal generator.

【0006】時系列に配列した各フレームに多重化され
た複数個のチャネルの入力データ信号のうち先頭に配置
されたパリティビット等のステータスデータ信号を各チ
ャネルに独立のデータとして記憶する記憶部と、前記入
力データ信号を入力し外部からの各チャネル先頭信号を
起点として各チャネルの前記ステータスデータ信号を1
単位として出力する入力回路と、外部からのリード信号
により前記記憶部に記憶された現時点より1フレーム前
の該当するチャネルの前記ステータスデータ信号を(D
TA0)を読出した後に前記入力回路から現時点の前記
ステータスデータ信号(A1)を入力し外部からの係数
指示信号により前記ステータスデータ信号(DTA0)
と前記ステータスデータ信号(A1)との和(DTA0
+A1=DTA1)の演算データを前記記憶回路に転送
する計数部と、外部からのデータバス信号により前記記
憶部と前記計数部との計数データの授受と各チャネル毎
の前記演算データを出力する選択回路と、外部からのチ
ャネル指示信号により前記選択回路を経由して前記記憶
回路から転送した前記演算データを並列に出力する出力
回路と、前記入力回路、前記計数部、前記記憶部、前記
選択回路、前記出力回路のそれぞれを所定のタイミング
で制御する前記外部からの制御信号を送出する信号発生
手段とを有する。
[0006] Multiplexed to each frame arranged in time series
At the beginning of input data signals of multiple channels
Status data signals such as parity bits
A storage unit for storing the data as independent data in the channel;
Input the input data signal and start each channel from the outside.
As the starting point, the status data signal of each channel is set to 1
Input circuit output as a unit and read signal from outside
One frame before the current time stored in the storage unit
The status data signal of the corresponding channel of (D)
TA0) from the input circuit after reading
Input status data signal (A1) and input external coefficient
In response to the instruction signal, the status data signal (DTA0)
(DTA0) and the status data signal (A1)
+ A1 = DTA1) is transferred to the storage circuit
Counting section, and a data bus signal from outside,
Transfer of count data between the storage unit and the counting unit and for each channel
A selection circuit for outputting the operation data, Ji from outside
An output circuit that outputs the operation data transferred from the storage circuit via the selection circuit in parallel by a channel instruction signal, and each of the input circuit, the counting unit, the storage unit, the selection circuit, and the output circuit And a signal generating means for transmitting the external control signal for controlling at a predetermined timing.

【0007】[0007]

【実施例】本発明について図面を参照して説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described with reference to the drawings.

【0008】図1は本発明の一実施例のブロック図、図
2は本実施例の動作を説明するタイミングチャートであ
る。ここでは図2のように1フレームに3つのそれぞれ
独立なステータス信号が多重化されているデータ信号に
おいてステータス信号をそれぞれ独立に計数する回路に
ついて説明する。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a timing chart for explaining the operation of the embodiment. Here, a description will be given of a circuit for independently counting status signals in a data signal in which three independent status signals are multiplexed in one frame as shown in FIG.

【0009】図1の実施例は、計数すべきステータスを
1フレームの中に時系列に多重化したチャネルステータ
ス信号DIを入力して、各チャネルごとのステータスデ
ータを後述する制御信号により抽出して順次出力して行
く入力回路1、この出力されるステータスデータを後述
する手順で計数する計数部3、計数部3の計数データを
チャネルごとに記憶する記憶回路2、計数部3と記憶回
路2との間のデータ授受を所定の手順で行うデータバス
を兼ねた選択回路4、計数結果をチャネル順位に従った
指示信号により出力する出力回路5、前述の入力回路
1、計数部3、記憶回路2、選択回路4、出力回路5の
それぞれに所定の手順とタイミングに従い指示信号を出
力する信号発生器6から構成される。
In the embodiment shown in FIG. 1, a channel status signal DI in which statuses to be counted are multiplexed in a time series in one frame is input, and status data for each channel is extracted by a control signal described later. An input circuit 1 for sequentially outputting, a counting unit 3 for counting the output status data in a procedure described later, a storage circuit 2 for storing the counting data of the counting unit 3 for each channel, and a counting unit 3 and a storage circuit 2. A selection circuit 4 also serving as a data bus for transmitting and receiving data during a predetermined procedure, an output circuit 5 for outputting a counting result by an instruction signal according to a channel order, the input circuit 1, the counting section 3, and a storage circuit 2 described above. , A selection circuit 4 and an output circuit 5 each comprising a signal generator 6 for outputting an instruction signal in accordance with a predetermined procedure and timing.

【0010】次に本実施例の動作を図2を参照して説明
する。まず、前述のように1フレーム中の3チャネルの
ステータスデータ信号をA1,B1,C1とすると、ス
テータス信号A1の処理について説明する。なお、次の
フレームにおいて同じチャネルのステータスデータA
2,B2,C2が順次配列されている。信号発生器6が
外部からフレームの先頭を示すフレーム基準信号SRを
入力すると、内蔵のクロックカウンタによりフレーム基
準信号SRを起点として3チャネルの先頭パルス信号S
Cを発生して入力回路1に供給する。例えば最初のチャ
ネル先頭パルス信号によりステータス信号A1がA1ス
テータスデータ(DS)として計数部3に入力される。
ここで信号発生器6はリード/ライト信号SCMのうち
のリード信号(図2の(R))を記憶回路2に送り、1
フレーム前のステータス信号(例えばA0)の読み出し
の指示を行う。さらに信号発生回路6はデータバス信号
SCLを選択回路4に送り、この1フレーム前のA0の
計数データを記憶回路2から計数部3へ転送する。計数
部3は前述のステータス信号A1とA0のデータを入力
した後に、信号発生回路6から計数指示信号SCKを入
力して、A1とA0の計数を開始する。一例として本実
施例の計数回路がパリティチェックに適用される場合に
は、ステータスデータA0とA1の和の演算が行われ
る。ここで図2の計数データ信号DCにおけるDTA0
は前述のステータス信号A0に対応し、DTA1はA0
+A1の演算結果を示している。この演算結果が正しけ
れば、A1のデータがリード/ライト信号SCMのうち
の図2の(W)に示すライト指示信号、ならびに対応す
るデータバス信号SCLとにより選択回路4を経由して
記憶回路2に記憶される。この計数結果は信号発生回路
6から出力されるチャネル出力信号SCOにより出力回
路5からチャネル出力DO1のデータとして送出され
る。なお、この出力回路5の出力データはチャネルごと
に並列に変換して出力される。すなわち、チャネル1の
場合には、ステータスデータA0,A1,A2として送
出される。このようにチャネル1のステータスデータA
1の処理は図2の各ステータスデータDSのタイムスロ
ットA1のタイミング中で処理され、引き続きタイムス
ロットB1のタイミング中でステータスデータB1の処
理が行われる。以降タイムスロットC1の場合も同様の
処理が行わる。
Next, the operation of this embodiment will be described with reference to FIG. First, assuming that the status data signals of three channels in one frame are A1, B1, and C1 as described above, the processing of the status signal A1 will be described. In the next frame, status data A of the same channel
2, B2 and C2 are sequentially arranged. When the signal generator 6 externally inputs a frame reference signal SR indicating the beginning of a frame, a built-in clock counter starts the three-channel pulse signal S starting from the frame reference signal SR.
C is generated and supplied to the input circuit 1. For example, the status signal A1 is input to the counting unit 3 as A1 status data (DS) by the first channel head pulse signal.
Here, the signal generator 6 sends a read signal ((R) in FIG. 2) of the read / write signal SCM to the storage circuit 2, and
An instruction to read the status signal (for example, A0) before the frame is issued. Further, the signal generation circuit 6 sends the data bus signal SCL to the selection circuit 4, and transfers the count data of A0 one frame before from the storage circuit 2 to the counting unit 3. After inputting the data of the status signals A1 and A0, the counting unit 3 inputs the count instruction signal SCK from the signal generation circuit 6 and starts counting A1 and A0. As an example, when the counting circuit of the present embodiment is applied to a parity check, the sum of the status data A0 and A1 is calculated. Here, DTA0 in the count data signal DC of FIG.
Corresponds to the status signal A0 described above, and DTA1 corresponds to A0.
The calculation result of + A1 is shown. If the operation result is correct, the data of A1 is stored in the storage circuit 2 via the selection circuit 4 by the write instruction signal shown in FIG. 2 (W) of the read / write signal SCM and the corresponding data bus signal SCL. Is stored. The counting result is transmitted from the output circuit 5 as data of the channel output DO1 by the channel output signal SCO output from the signal generation circuit 6. The output data from the output circuit 5 is converted and output in parallel for each channel. That is, in the case of the channel 1, it is transmitted as status data A0, A1, A2. Thus, the status data A of channel 1
The processing of No. 1 is performed during the timing of the time slot A1 of each status data DS in FIG. 2, and the processing of the status data B1 is subsequently performed during the timing of the time slot B1. Thereafter, the same processing is performed in the case of the time slot C1.

【0011】以上述べたように独立に行う処理を1つの
回路を用いて時間的に処理を分割することで、1つの回
路で複数回の処理をそれぞれ独立に行うことができる。
なお、本実施例では計数回路に関して記述したが、計数
回路に限らずロジック回路により本発明の機能を容易に
実現できる。
As described above, the processing performed independently is temporally divided by using one circuit, so that a plurality of processings can be performed independently by one circuit.
In this embodiment, the counting circuit has been described. However, the function of the present invention can be easily realized not only by the counting circuit but also by a logic circuit.

【0012】[0012]

【発明の効果】以上説明したように本発明は、基準フレ
ーム内で同様な信号処理を複数回行う場合に、それぞれ
の処理を時間的に分割して行い、また、回路中のデータ
を記憶回路を用いて一時的に保存することにより、1つ
の入力回路、計数部、出力回路と、記憶回路・選択回路
という構成で複数の信号処理を独立におこなうことがで
きる。このため回路規模が信号処理の回数によらず最小
の構成となる。また、信号処理動作を制御する制御信号
は信号処理の回数が増えても複雑にならないという効果
がある。
As described above, according to the present invention, when the same signal processing is performed a plurality of times in the reference frame, each processing is performed in a time-divided manner, and the data in the circuit is stored in the storage circuit. , A plurality of signal processings can be independently performed by a configuration including one input circuit, a counting unit, an output circuit, and a storage circuit / selection circuit. Therefore, the circuit scale becomes the minimum configuration regardless of the number of times of signal processing. Further, there is an effect that the control signal for controlling the signal processing operation does not become complicated even if the number of times of the signal processing increases.

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

【図1】本発明の一実施例の計数回路のブロック図であ
る。
FIG. 1 is a block diagram of a counting circuit according to an embodiment of the present invention.

【図2】本実施例の動作を説明するタイムチャートであ
る。
FIG. 2 is a time chart for explaining the operation of the embodiment.

【図3】従来の計数回路のブロック図である。FIG. 3 is a block diagram of a conventional counting circuit.

【符号の説明】[Explanation of symbols]

1,11,12,13 入力回路 2 記憶回路 3,31,32,33 計数部 4 選択回路 5,51,52,53 出力回路 6,61 信号発生器 1, 11, 12, 13 input circuit 2 storage circuit 3, 31, 32, 33 counting section 4 selection circuit 5, 51, 52, 53 output circuit 6, 61 signal generator

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】時系列に配列した各フレームに多重化され
た複数個のチャネルの入力データ信号のうち先頭に配置
されたパリティビット等のステータスデータ信号を各チ
ャネルに独立のデータとして記憶する記憶部と、前記入
力データ信号を入力し外部からの各チャネル先頭信号を
起点として各チャネルの前記ステータスデータ信号を1
単位として出力する入力回路と、外部からのリード信号
により前記記憶部に記憶された現時点より1フレーム前
の該当するチャネルの前記ステータスデータ信号を(D
TA0)を読出した後に前記入力回路から現時点の前記
ステータスデータ信号(A1)を入力し外部からの係数
指示信号により前記ステータスデータ信号(DTA0)
と前記ステータスデータ信号(A1)との和(DTA0
+A1=DTA1)の演算データを前記記憶回路に転送
する計数部と、外部からのデータバス信号により前記記
憶部と前記計数部との計数データの授受と各チャネル毎
の前記演算データを出力する選択回路と、外部からのチ
ャネル指示信号により前記選択回路を経由して前記記憶
回路から転送した前記演算データを並列に出力する出力
回路と、前記入力回路、前記計数部、前記記憶部、前記
選択回路、前記出力回路のそれぞれを所定のタイミング
で制御する前記外部からの制御信号を送出する信号発生
手段とを有することを特徴とする計数回路。
1. A multiplexed signal which is multiplexed into respective frames arranged in time series.
At the beginning of input data signals of multiple channels
Status data signals such as parity bits
A storage unit for storing the data as independent data in the channel;
Input the input data signal and start each channel from the outside.
As the starting point, the status data signal of each channel is set to 1
Input circuit output as a unit and read signal from outside
One frame before the current time stored in the storage unit
The status data signal of the corresponding channel of (D)
TA0) from the input circuit after reading
Input status data signal (A1) and input external coefficient
In response to the instruction signal, the status data signal (DTA0)
(DTA0) and the status data signal (A1)
+ A1 = DTA1) is transferred to the storage circuit
Counting section, and a data bus signal from outside,
Transfer of count data between the storage unit and the counting unit and for each channel
A selection circuit for outputting the operation data, Ji from outside
An output circuit that outputs the operation data transferred from the storage circuit via the selection circuit in parallel by a channel instruction signal, and each of the input circuit, the counting unit, the storage unit, the selection circuit, and the output circuit And a signal generating means for transmitting the external control signal for controlling the timing at a predetermined timing.
【請求項2】前記信号発生手段が、前記入力回路に各フ
レーム内の複数個のステータスデータ信号を所定のタイ
ミングで取り込む制御信号と、前記計数部に前記ステー
タスデータ信号ごとに計数を開始させる計数制御信号
と、前記記憶に書き込みおよび読み出しを指示する制
御信号と、前記選択回路に前記計数部と前記記憶との
間のデータ授受の制御を行う制御信号と、前記出力回路
に前記選択回路を経由してステータスデータを出力させ
る制御信号とを送出することを特徴とする請求項1記載
の計数回路。
2. The control signal according to claim 1, wherein said signal generating means captures a plurality of status data signals in each frame into said input circuit at a predetermined timing, and a count for causing said counting section to start counting for each status data signal. A control signal, a control signal for instructing the storage unit to write and read, a control signal for the selection circuit to control data transfer between the counting unit and the storage unit, and a control signal for the output circuit. 2. The counting circuit according to claim 1, wherein a control signal for outputting status data is transmitted via the control circuit.
JP3003621A 1991-01-17 1991-01-17 Counting circuit Expired - Lifetime JP2652993B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3003621A JP2652993B2 (en) 1991-01-17 1991-01-17 Counting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3003621A JP2652993B2 (en) 1991-01-17 1991-01-17 Counting circuit

Publications (2)

Publication Number Publication Date
JPH04242461A JPH04242461A (en) 1992-08-31
JP2652993B2 true JP2652993B2 (en) 1997-09-10

Family

ID=11562568

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3003621A Expired - Lifetime JP2652993B2 (en) 1991-01-17 1991-01-17 Counting circuit

Country Status (1)

Country Link
JP (1) JP2652993B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5773532A (en) * 1980-10-24 1982-05-08 Mitsubishi Electric Corp Count value storage device
JPS5849826B2 (en) * 1980-12-18 1983-11-07 株式会社東芝 pulse counting circuit

Also Published As

Publication number Publication date
JPH04242461A (en) 1992-08-31

Similar Documents

Publication Publication Date Title
EP0295409A2 (en) Programmable skew-tolerant array processor architecture
US20040225810A1 (en) Serial bus data control device
US4897840A (en) Method and apparatus for controlling the error correction within a data transmission controller given data read from moving peripheral storages, particularly disk storages, of a data processing system
JP2918007B2 (en) Parallel time switch
JP2652993B2 (en) Counting circuit
JP3191701B2 (en) Transmission frame format conversion circuit
US4885750A (en) Method and apparatus for error correction
JPS60241150A (en) Data transfer device
JPH08205211A (en) Time division multiplexed time switch circuit
JPH08149160A (en) Data receiver
JP3957574B2 (en) Segment division multiplexing apparatus and segment division multiplexing method used therefor
JP3454527B2 (en) Data length protection device
JP3204411B2 (en) Identification information setting method for multi-stage paper feed unit
KR100259139B1 (en) Input Buffer Control for Audio Decoder
JP3339215B2 (en) Thinned clock generation circuit
US5634157A (en) Information recording apparatus having parallel to serial and PPM signal converters
JPH06265999A (en) Camera capable of recording photographing information
JP2705107B2 (en) Image data output device
JP4438276B2 (en) Data transfer device
JP3118518B2 (en) Digital communication equipment
JPH0272744A (en) Interface device
JP3130735B2 (en) Print processing device
JP2578762B2 (en) Error correction code generator
JPH0541713A (en) Buffer circuit
JP2516920B2 (en) Image processing device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970415