[go: up one dir, main page]

JPH08331678A - Time slot replacement circuit - Google Patents

Time slot replacement circuit

Info

Publication number
JPH08331678A
JPH08331678A JP7137587A JP13758795A JPH08331678A JP H08331678 A JPH08331678 A JP H08331678A JP 7137587 A JP7137587 A JP 7137587A JP 13758795 A JP13758795 A JP 13758795A JP H08331678 A JPH08331678 A JP H08331678A
Authority
JP
Japan
Prior art keywords
data
port
read
written
time slot
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.)
Granted
Application number
JP7137587A
Other languages
Japanese (ja)
Other versions
JP3724752B2 (en
Inventor
Eiji Shimose
栄司 下瀬
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 JP13758795A priority Critical patent/JP3724752B2/en
Publication of JPH08331678A publication Critical patent/JPH08331678A/en
Application granted granted Critical
Publication of JP3724752B2 publication Critical patent/JP3724752B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Use Of Switch Circuits For Exchanges And Methods Of Control Of Multiplex Exchanges (AREA)

Abstract

(57)【要約】 (修正有) 【目的】 簡単な構成により出力への不要データの読出
を有効に防止する。 【構成】 各バッファ回路は、データ読/書可能なポー
トP1及びデータ書込可能なポートP2を有するデュア
ルポートメモリ17,18を備え、入力データをポート
P1から書き込み後、該記憶データをポートP1から読
み出すと共に、データ読出後の同一アドレスにポートP
2からデータ読出と同一のメモリサイクル時間内に所定
データを書き込む。又は、各バッファ回路は、データ書
込可能なポートP1及びデータ読出可能なポートP2を
有するデュアルポートメモリ27,28を備え、入力デ
ータをポートP1から書き込み後、ポートP2から読み
出し、データ読出後の同一アドレスにポートP1からデ
ータ読出と同一のメモリサイクル時間内に所定データを
書き込む。
(57) [Summary] (Modified) [Purpose] Effectively prevent reading of unnecessary data to the output with a simple configuration. Each buffer circuit includes dual port memories 17 and 18 having a data readable / writable port P1 and a data writable port P2. After writing input data from the port P1, the stored data is stored in the port P1. From the port P to the same address after reading the data.
Predetermined data is written within the same memory cycle time as the data read from 2. Alternatively, each buffer circuit includes dual port memories 27 and 28 having a data writable port P1 and a data readable port P2, and after input data is written from the port P1, read from the port P2 and data is read. Predetermined data is written to the same address from the port P1 within the same memory cycle time as data reading.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はタイムスロット入替回路
に関し、更に詳しくは入力データをシステムの接続情報
に従うランダムモードで第1,第2のバッファ回路に交
互に書き込むと共に、その記憶データをシーケンシャル
モードで第2,第1のバッファ回路から交互に読み出し
て出力データとなすダブルバッファ方式のタイムスロッ
ト入替回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a time slot interchange circuit, and more specifically, it writes input data alternately in first and second buffer circuits in a random mode according to connection information of a system and stores the stored data in a sequential mode. The present invention relates to a double buffer type time slot switching circuit which alternately reads from the second and first buffer circuits to form output data.

【0002】タイムスロット入替回路は、加入者系伝送
装置、交換機、ディジタルクロスコネクト装置、PBX
等におけるタイムスイッチ実現手段として広く利用され
ている。近年、収容加入者数の増大に伴い、単位時間
(例えば1フレーム)当たりに収容するタイムスロット
数も増大している。このため、タイムスイッチメモリの
高速化、大容量化が進んでいるが、この種のタイムスロ
ット入替回路では後述する不要データのマスク処理が必
要であり、効率よい実現が望まれる。
The time slot replacement circuit is used for subscriber transmission equipment, switching equipment, digital cross-connect equipment, PBX.
It is widely used as a means for realizing a time switch in, for example. In recent years, as the number of accommodated subscribers has increased, the number of time slots accommodated per unit time (for example, one frame) has also increased. For this reason, the speed and capacity of the time switch memory have been increasing, but this type of time slot replacement circuit requires masking of unnecessary data, which will be described later, and is desired to be realized efficiently.

【0003】[0003]

【従来の技術】図5は従来技術を説明する図で、図5
(A)は従来のダブルバッファ方式による一例のタイム
スロット入替回路のブロック図を示している。図中、1
〜4は3ステートのバッファ回路(BF)、5,6はデ
ータセレクタ(SEL)、7,8はRAM、9は書込カ
ウンタ(WC)、10はアドレスコントロールメモリ
(ACM)、11はシーケンシャル読出カウンタ(SR
C)である。
2. Description of the Related Art FIG. 5 is a diagram for explaining the prior art.
FIG. 1A shows a block diagram of an example of a time slot switching circuit according to the conventional double buffer system. In the figure, 1
˜4 is a 3-state buffer circuit (BF), 5 and 6 are data selectors (SEL), 7 and 8 are RAM, 9 is a write counter (WC), 10 is an address control memory (ACM), and 11 is a sequential read. Counter (SR
C).

【0004】システムの面切替信号FSL=1の時はR
AM7に入力データを書き込み、同時にRAM8から出
力データを読み出す。以下、詳述する。RAM7の側に
おいて、FSL=1の時はバッファ回路1が付勢され、
RAM7のデータ端子DAに入力データが加えられる。
このRAM7はFSL=1によりデータ書込モードWで
ある。一方、書込カウンタ9は入力データに同期した書
込クロック信号WCKによりシーケンシャルにカウント
アップする。ACM10は書込カウンタ9のカウント出
力をシステムの接続情報に従って対応するうランダムな
書込アドレス信号RWAに変換する。セレクタ5はFS
L=1の時に入力a側を選択し、FSL=0の時に入力
b側を選択する。今は、FSL=1であるから、a側の
ランダム書込アドレスRWAが選択される。またこれと
併せて書込クロック信号WCKが選択され、これがデー
タ書込パルス信号WPとしてRAM7のストローブ端子
STBに加えられる。こうして入力データはRAM7の
ランダム書込アドレスRWAに順次書き込まれる。
When the system surface switching signal FSL = 1, R
Input data is written in AM7, and output data is read from RAM8 at the same time. The details will be described below. On the side of the RAM 7, when FSL = 1, the buffer circuit 1 is energized,
Input data is added to the data terminal DA of the RAM 7.
The RAM 7 is in the data write mode W with FSL = 1. On the other hand, the write counter 9 sequentially counts up by the write clock signal WCK synchronized with the input data. The ACM 10 converts the count output of the write counter 9 into a corresponding random write address signal RWA according to the connection information of the system. Selector 5 is FS
The input a side is selected when L = 1, and the input b side is selected when FSL = 0. Since FSL = 1 now, the random write address RWA on the a side is selected. Along with this, the write clock signal WCK is selected, and this is applied to the strobe terminal STB of the RAM 7 as the data write pulse signal WP. In this way, the input data is sequentially written in the random write address RWA of the RAM 7.

【0005】RAM8の側において、FSL=1の時は
バッファ回路4が付勢され、RAM8の読出データが出
力データとなる。このRAM8はFSL=1によりデー
タ読出モードRである。一方、シーケンシャル読出カウ
ンタ11は読出クロック信号RCKによりシーケンシャ
ルにカウントアップする。セレクタ6はFSL=1の時
に入力a側を選択し、FSL=0の時に入力b側を選択
する。今は、FSL=1であるから、a側のシーケンシ
ャル読出アドレスSRAが選択される。またこれと併せ
て、必要なら読出クロック信号RCKが選択され、これ
がデータ読出イネーブル信号REとしてRAM8のスト
ローブ端子STBに加えられる。こうしてRAM8から
は出力データがシーケンシャルに読み出される。
On the side of the RAM 8, when FSL = 1, the buffer circuit 4 is energized and the read data of the RAM 8 becomes output data. The RAM 8 is in the data read mode R when FSL = 1. On the other hand, the sequential read counter 11 counts up sequentially by the read clock signal RCK. The selector 6 selects the input a side when FSL = 1 and the input b side when FSL = 0. Since FSL = 1 now, the a-side sequential read address SRA is selected. At the same time, if necessary, the read clock signal RCK is selected and added to the strobe terminal STB of the RAM 8 as the data read enable signal RE. In this way, the output data is sequentially read from the RAM 8.

【0006】面切替信号FSLは単位時間(1フレー
ム)毎に反転しており、面切替信号FSL=0の場合は
上記の場合と逆の動作となる。こうして入出力データ間
のタイムスロット入替処理が連続的に行われる。次に、
図5(B)に従い、従来技術の問題点を説明する。時刻
(t)のフレームにおいて、ACM10のアドレスAD
=0〜3にはタイムスロット入替用データ「0,3,
2,*」が記憶されている。記号「*」は未接続状態を
表しており、例えばRAM7のあり得ないアドレスを指
すような情報である。
The surface switching signal FSL is inverted every unit time (one frame), and when the surface switching signal FSL = 0, the operation is the reverse of the above case. In this way, time slot replacement processing between input and output data is continuously performed. next,
Problems of the conventional technique will be described with reference to FIG. Address AD of ACM 10 in the frame at time (t)
= 0 to 3 indicates time slot replacement data “0, 3,
2, * ”is stored. The symbol "*" represents a non-connected state, and is information indicating an impossible address in the RAM 7, for example.

【0007】この状態で入力データが「A,B,C,
−」の順で入力すると、最初のデータ「A」はRAM7
のアドレス「0」に、2番目のデータ「B」はRAM7
のアドレス「3」に、3番目のデータ「C」はRAM7
のアドレス「2」に夫々書き込まれる。4番目の入力デ
ータ「−」は未接続(無効)データであり、RAM7の
あり得ないアドレス「*」に書き込まれる。
In this state, the input data is "A, B, C,
If you enter in the order of "-", the first data "A" is in RAM7.
The second data “B” is stored in the RAM 7 at the address “0” of
The third data "C" at the address "3" of the RAM7
Are written in the respective addresses "2". The fourth input data "-" is unconnected (invalid) data and is written in the impossible address "*" of the RAM 7.

【0008】RAM7の記憶データ「A,−,C,B」
は時刻(t+1)のフレームでシーケンシャルに読み出
され、こうして入力チャネル「A,B,C,−」から出
力チャネル「A,−,C,B」へのタイムスロット入替
が行われる。この状態で、新たに呼の接続、切断、切替
等の要求が発生すると、システムはADM10のタイム
スロット入替用データを書き換える。タイムスロット入
替用データの書き換えはフームの空き時間等を利用して
行われる。
Data stored in RAM 7 "A,-, C, B"
Are sequentially read in the frame at time (t + 1), and the time slots are switched from the input channels "A, B, C,-" to the output channels "A,-, C, B". In this state, when a new request for connection, disconnection, switching, etc. of a call occurs, the system rewrites the time slot replacement data of the ADM 10. The data for time slot replacement is rewritten by utilizing the free time of the fum.

【0009】時刻(t+2)のフレームにおいて、AC
M10のアドレスAD=0〜3にはタイムスロット入替
用データ「0,3,*,*」が記憶されている。即ち、
ここでは入力チャネル「2」の接続が断になっている。
この状態で、入力データが引き続き「a,b,−,−」
の順で入力すると、最初のデータ「a」はRAM7のア
ドレス「0」に、2番目のデータ「b」はRAM7のア
ドレス「3」に書き込まれる。3番目以降のデータ
「−」は未接続データであり、RAM7のあり得ないア
ドレス「*」に書き込まれる。
In the frame at time (t + 2), AC
Time slot replacement data “0, 3, *, *” is stored in the address AD = 0 to 3 of M10. That is,
Here, the input channel "2" is disconnected.
In this state, the input data continues to be "a, b,-,-"
, The first data “a” is written to the address “0” of the RAM 7 and the second data “b” is written to the address “3” of the RAM 7. The third and subsequent data "-" is unconnected data and is written in the impossible address "*" of the RAM 7.

【0010】その結果、RAM7のアドレス「2」の古
いデータ「C」が消されずに残ってしまい、これが時刻
(t+3)のフレームで読み出されると、不要データが
読み出される不都合があった。従来は、以下の2方式に
より問題解決を図っていた。 セレクタ5/6の出力のランダム書込アドレスRW
Aの情報を1フレームに渡ってモニタすると共に、有効
書込アドレスRWA=「0,3」等の情報を記憶する。
次のシーケンシャルリードフレームでは、記憶した有効
書込アドレス「0,3」からの読出データは出力する
が、それ以外の書込アドレス「1,2」からの読出デー
タは出力しない(代わりに未接続データ「−」を出力す
る)ものである。
As a result, the old data "C" at the address "2" in the RAM 7 remains unerased, and when this is read at the frame at time (t + 3), unnecessary data is read. Conventionally, the following two methods have been used to solve problems. Random write address RW of output of selector 5/6
The information of A is monitored over one frame, and information such as effective write address RWA = "0, 3" is stored.
In the next sequential read frame, the read data from the stored effective write address “0, 3” is output, but the read data from the other write addresses “1, 2” is not output (instead, it is not connected. The data "-" is output).

【0011】しかし、上記の方式によると、有効書込
アドレスの情報等を記憶するための余分なメモリ等が必
要となり、回路が複雑化、大規模化してしまう。 シーケンシャルリードのフレームにおいて、RAM
7/8にリード及びライトの2つのメモリアクセスサイ
クルを設け、出力データ読出直後の同一アドレスに未接
続データ「−」を書き込むものである。
However, according to the above method, an extra memory or the like for storing the information of the effective write address and the like is required, and the circuit becomes complicated and large-scaled. RAM in the sequential read frame
Two memory access cycles of read and write are provided on 7/8, and unconnected data "-" is written to the same address immediately after reading output data.

【0012】しかし、上記の方式によると、RAM7
/8のシーケンシャルリード時にはリード及びライトの
2倍のメモリアクセス時間が必要となり、このため単位
時間(1フレーム)内に収容できるタイムスロット数が
減少してしまう。なお、高速RAM7,8を使用するこ
とも考えられるが、発熱、電力消費、コスト等の増大を
招く。
However, according to the above method, the RAM 7
In the case of / 8 sequential read, the memory access time which is twice as long as that of read and write is required, which reduces the number of time slots that can be accommodated within a unit time (1 frame). It is possible to use the high-speed RAMs 7 and 8, but this causes increase in heat generation, power consumption, cost, and the like.

【0013】[0013]

【発明が解決しようとする課題】上記の如く従来方式
,によると、回路が複雑化、大規模化するか、又は
システムに収容できるタイムスロット数が減少するか、
又は発熱、電力消費、コスト等の増大を招く不都合があ
った。本発明の目的は、簡単な構成により出力への不要
データの読出が有効に防止されるタイムスロット入替回
路を提供することにある。
According to the conventional method as described above, the circuit becomes complicated and large-scaled, or the number of time slots that can be accommodated in the system decreases.
Alternatively, there is a disadvantage that heat generation, power consumption, cost, and the like increase. An object of the present invention is to provide a time slot replacement circuit in which reading of unnecessary data to an output can be effectively prevented with a simple configuration.

【0014】[0014]

【課題を解決するための手段】上記の課題は図1(A)
の構成により解決される。即ち、本発明(1)のタイム
スロット入替回路は、入力データをシステムの接続情報
に従うランダムモードで第1,第2のバッファ回路に交
互に書き込むと共に、その記憶データをシーケンシャル
モードで第2,第1のバッファ回路から交互に読み出し
て出力データとなすダブルバッファ方式のタイムスロッ
ト入替回路において、各バッファ回路は、データ読/書
可能な第1のポートP1及びデータ書込可能な第2のポ
ートP2を有するデュアルポートメモリ17,18を備
え、入力データを第1のポートP1から書き込み後、該
記憶データを第1のポートP1から読み出すと共に、該
データ読出後の同一アドレスに第2のポートP2からデ
ータ読出と同一のメモリサイクル時間内に所定データを
書き込むものである。
[Means for Solving the Problems] The above-mentioned problems are shown in FIG.
It is solved by the configuration of. That is, the time slot switching circuit of the present invention (1) alternately writes the input data to the first and second buffer circuits in the random mode according to the connection information of the system, and the stored data in the sequential mode to the second and second buffer circuits. In the double buffer type time slot interchange circuit which alternately reads from one buffer circuit to form output data, each buffer circuit includes a data readable / writable first port P1 and a data writable second port P2. The dual port memories 17 and 18 having the above are provided, and after input data is written from the first port P1, the stored data is read from the first port P1 and at the same address after reading the data from the second port P2. The predetermined data is written within the same memory cycle time as the data read.

【0015】また上記の課題は図1(B)の構成により
解決される。即ち、本発明(2)のタイムスロット入替
回路は、同タイムスロット入替回路において、各バッフ
ァ回路は、データ書込可能な第1のポートP1及びデー
タ読出可能な第2のポートP2を有するデュアルポート
メモリ27,28を備え、入力データを第1のポートP
1から書き込み後、該記憶データを第2のポートP2か
ら読み出すと共に、該データ読出後の同一アドレスに第
1のポートP1からデータ読出と同一のメモリサイクル
時間内に所定データを書き込むものである。
The above problem can be solved by the structure of FIG. That is, in the time slot interchange circuit of the present invention (2), in the same time slot interchange circuit, each buffer circuit is a dual port having a data writable first port P1 and a data readable second port P2. Equipped with memories 27 and 28, input data to the first port P
After writing from 1, the stored data is read from the second port P2, and at the same address after reading the data, predetermined data is written within the same memory cycle time as the data read from the first port P1.

【0016】[0016]

【作用】上記各本発明によれば、各バッファ回路はデュ
アルポートメモリを備えるので、出力データの読出と所
定データ(例えば未接続データ)の書込とを同一のメモ
リサイクル時間で行える。従って、簡単な構成により出
力への不要データの読出が有効に防止される。
According to each of the above inventions, since each buffer circuit has the dual port memory, the output data can be read and the predetermined data (for example, unconnected data) can be written in the same memory cycle time. Therefore, reading of unnecessary data to the output can be effectively prevented with a simple configuration.

【0017】[0017]

【実施例】以下、添付図面に従って本発明による実施例
を詳細に説明する。なお、全図を通して同一符号は同一
又は相当部分を示すものとする。図2は第1実施例のタ
イムスロット入替回路のブロック図で、図5と同等の構
成には同一番号を付し、その説明を省略する。
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Note that the same reference numerals indicate the same or corresponding parts throughout the drawings. FIG. 2 is a block diagram of the time slot switching circuit of the first embodiment. The same components as those in FIG. 5 are designated by the same reference numerals and the description thereof will be omitted.

【0018】図において、10は例えば10bit ×20
48Wordのアドレスコントロールメモリ(ADM)、1
5,16はセレクタ(SEL)、17,18は夫々8bi
t ×2048WordのデュアルポートRAM(DPRA
M)、19は遅延回路(DL)、20はシーケンシャル
書込カウンタ(SWC)である。遅延回路19はデータ
読出クロック信号RCKを1クロック分遅延させること
により遅延書込クロック信号WCKDを形成する。シー
ケンシャル書込カウンタ20は遅延書込クロック信号W
CKDによりシーケンシャル読出カウンタ11よりも1
クロック分位相遅れでカウントアップする。
In the figure, 10 is, for example, 10 bits × 20.
48 Word Address Control Memory (ADM), 1
5 and 16 are selectors (SEL), 17 and 18 are 8bi respectively
t × 2048 Word dual port RAM (DPRA
M) and 19 are delay circuits (DL), and 20 is a sequential write counter (SWC). Delay circuit 19 delays data read clock signal RCK by one clock to form delayed write clock signal WCKD. The sequential write counter 20 receives the delayed write clock signal W
1 more than the sequential read counter 11 by CKD
It counts up with a clock phase delay.

【0019】DPRAM17,18の第1のポート(図
の左側)はデータ読/書可能に構成されている。一方、
その第2のポート(図の右側)は、好ましくは回路規模
削減のため、データ書込専用である。DPRAM17の
動作に着目すると、その第1のポートはシステムの面選
択信号FSL=1によりデータ書込モードWとなる。こ
れにより、入力データはACM10のランダム書込アド
レスRWAに従って該第1のポートからランダムモード
で書き込まれる。またこの第1のポートはFSL=0に
よりデータ読出モードRとなる。これにより、DPRA
M17の記憶データはSRC11のシーケンシャル読出
アドレスSRAに従って該第1のポートからシーケンシ
ャルに読み出される。
The first ports (left side in the figure) of the DPRAMs 17 and 18 are configured to be capable of reading / writing data. on the other hand,
The second port (on the right side of the figure) is dedicated to writing data, preferably to reduce circuit size. Focusing on the operation of the DPRAM 17, the first port of the DPRAM 17 is set to the data write mode W by the plane selection signal FSL = 1 of the system. Thereby, the input data is written in the random mode from the first port according to the random write address RWA of the ACM 10. Further, the first port is in the data read mode R when FSL = 0. This allows DPRA
The storage data of M17 is sequentially read from the first port according to the sequential read address SRA of SRC11.

【0020】一方、DPRAM17の第2のポートはデ
ータ書込専用にされており、固定の未接続データ「−」
はSWC20のシーケンシャル書込アドレスSWAに従
って該第2のポートからシーケンシャルに書き込まれ
る。但し、FSL=1の時(即ち、DPRAM17への
入力データ書込時)は、セレクタ15は入力端子b側の
LOWレベルを選択しており、このためストローブ信号
端子STBへのデータ書込パルス信号WPの入力は無
く、未接続データ「−」の書込は行われない。一方、F
SL=0の時(即ち、DPRAM17からの出力データ
読出時)は、セレクタ15は入力端子a側の遅延書込ク
ロック信号WCKDを選択しており、これに基づくデー
タ書込パルス信号WPにより未接続データ「−」の書込
が行われる。
On the other hand, the second port of the DPRAM 17 is dedicated to writing data, and the fixed unconnected data "-" is used.
Are sequentially written from the second port according to the sequential write address SWA of SWC20. However, when FSL = 1 (that is, when writing input data to the DPRAM 17), the selector 15 selects the LOW level on the input terminal b side, and therefore the data write pulse signal to the strobe signal terminal STB is selected. There is no WP input, and unconnected data "-" is not written. On the other hand, F
When SL = 0 (that is, when the output data is read from the DPRAM 17), the selector 15 selects the delayed write clock signal WCKD on the input terminal a side, and the data write pulse signal WP based on this selects the unconnected state. Data "-" is written.

【0021】DPRAM18の動作は上記の逆であり、
容易に類推できる。図3は第1実施例のタイムスロット
入替回路の動作タイミングチャートである。但し、図は
説明の簡単のためにDPRAM17,18のバッファサ
イズを8Wordとしている。DPRAM17の動作に着目
すると、時刻(t),(t+2)の各フレームでは入力
データのランダム書込モードW、かつ中間の時刻(t+
1)のフレームでは出力データのシーケンシャル読出モ
ードRになっている。
The operation of DPRAM 18 is the reverse of the above,
It can be easily analogized. FIG. 3 is an operation timing chart of the time slot switching circuit of the first embodiment. However, in the figure, the buffer size of the DPRAMs 17 and 18 is set to 8 words for the sake of simplicity of description. Focusing on the operation of the DPRAM 17, in each frame at time (t) and (t + 2), the random write mode W of the input data and the intermediate time (t +).
In the frame 1), the output data is in the sequential read mode R.

【0022】時刻(t)のフレームにおいて、ACM1
0のアドレスAD=0〜7にはタイムスロット入替用デ
ータ「0,3,2,*,*,*,*,*」が記憶されて
いる。この状態で、入力データが「A,B,C,−,
−,−,−,−」の順で入力すると、最初のデータ
「A」はDPRAM17のアドレス「0」に、2番目の
データ「B」はDPRAM17のアドレス「3」に、3
番目のデータ「C」はDPRAM17のアドレス「2」
に夫々第1のポートからランダムに書き込まれる。4番
目以降の各入力データ「−」は未接続データであり、D
PRAM17のあり得ないアドレス「*」に書き込まれ
る。
In the frame at time (t), ACM1
Time slot replacement data "0, 3, 2, *, *, *, *, *" is stored in the address AD = 0 to 7 of 0. In this state, the input data is "A, B, C,-,
When inputting in the order of −, −, −, −, the first data “A” is stored in the address “0” of the DPRAM 17 and the second data “B” is stored in the address “3” of the DPRAM 17, 3
The second data "C" is the address "2" of DPRAM17.
Are randomly written from the first port. Each input data "-" after the 4th is unconnected data, and D
It is written in the impossible address “*” of the PRAM 17.

【0023】時刻(t+1)のフレームにおいて、DP
RAM17の記憶データはSRC11のシーケンシャル
読出アドレスSRA=「0」〜「7」に従って第1のポ
ートからシーケンシャルに読み出される。一方、SWC
20は上記シーケンシャル読出アドレスSRAよりも1
クロック分の位相遅れでシーケンシャル書込アドレスS
WA=「0」〜「7」を発生する。これによりDPRA
M17の全記憶データは各記憶データの読出後、第2の
ポートからの未接続データ「−」 により全て書き換え
られる。
In the frame at time (t + 1), DP
The data stored in the RAM 17 is sequentially read from the first port according to the sequential read address SRA = "0" to "7" of the SRC 11. On the other hand, SWC
20 is 1 from the sequential read address SRA
Sequential write address S with a phase delay of clock
WA = “0” to “7” is generated. This allows DPRA
All the stored data in M17 are all rewritten by the unconnected data “−” from the second port after reading each stored data.

【0024】なお、図3はDPRAM17の最終アドレ
ス「7」への未接続データ「−」の書込タイミングが時
刻(t+2)のフレームにオーバラップしている場合を
示している。しかし、通常はフレーム内又はフレーム間
に空き(時間的余裕)があり、この場合はオーバラップ
は生じない。時刻(t+2)のフレームにおいて、AC
M10のアドレスAD=0〜7にはタイムスロット入替
用データ「0,3,*,*,*,*,*,*」が記憶さ
れている。即ち、チャネル「2」が切断となっている。
この状態で、入力データが引き続き「a,b,−,−,
−,−,−,−」の順で入力すると、最初のデータ
「a」はDPRAM17のアドレス「0」に、2番目の
データ「b」はDPRAM17のアドレス「3」に夫々
書き込まれる。3番目以降の各入力データ「−」は未接
続データであり、DPRAM17のあり得ないアドレス
「*」に書き込まれる。
FIG. 3 shows a case where the timing of writing the unconnected data "-" to the final address "7" of the DPRAM 17 overlaps with the frame at time (t + 2). However, normally, there is a vacancy (time margin) within a frame or between frames, and in this case, no overlap occurs. In the frame at time (t + 2), AC
Time slot replacement data "0, 3, *, *, *, *, *, *" is stored in the address AD = 0 to 7 of M10. That is, the channel "2" is disconnected.
In this state, the input data continues to be "a, b,-,-,
When inputting in the order of −, −, −, −, the first data “a” is written in the address “0” of the DPRAM 17 and the second data “b” is written in the address “3” of the DPRAM 17. Each input data "-" after the third is unconnected data and is written in the impossible address "*" of the DPRAM 17.

【0025】本第1実施例によれば、時刻(t+1)の
フレームでDPRAM17の全記憶データは未接続デー
タ「−」により初期化されているので、時刻(t+2)
のフレームではDPRAM17のアドレス「2」の古い
データ「C」が消されずに残ってしまうようなことは無
い。こうして、簡単な構成により、不要データの読出が
有効に防止される。
According to the first embodiment, all the data stored in the DPRAM 17 is initialized by the unconnected data "-" in the frame at time (t + 1), so that at time (t + 2).
In this frame, the old data "C" at the address "2" in the DPRAM 17 will not remain unerased. Thus, with a simple structure, reading of unnecessary data is effectively prevented.

【0026】図4は第2実施例のタイムスロット入替回
路のブロック図で、図において21,22は3ステート
のバッファ回路(BF)、27,28はデュアルポート
RAM(DPRAM)である。DPRAM27,28の
第1のポート(図の左側)はデータ書込専用に構成さ
れ、第2のポート(図の右側)はデータ読出専用に構成
されている。
FIG. 4 is a block diagram of the time slot switching circuit of the second embodiment. In the figure, 21 and 22 are 3-state buffer circuits (BF), and 27 and 28 are dual port RAM (DPRAM). The first ports (left side in the figure) of the DPRAMs 27 and 28 are dedicated to data writing, and the second ports (right side in the figure) are dedicated to reading data.

【0027】DPRAM27の動作に着目すると、FS
L=1の時は、第1のポートに入力データ、ランダム書
込アドレスRWA、データ書込パルスWPが加えられ、
これにより入力データはDPRAM27の第1のポート
から書き込まれる。一方、第2のポートは読出イネーブ
ル端子REの入力がLOWレベルのため、データ読出は
行われない。
Focusing on the operation of the DPRAM 27, the FS
When L = 1, input data, random write address RWA, and data write pulse WP are applied to the first port,
As a result, the input data is written from the first port of the DPRAM 27. On the other hand, since the input of the read enable terminal RE is LOW level, the second port does not read data.

【0028】FSL=0の時は、第2のポートは読出イ
ネーブル端子REの入力がHIGHレベルとなり、DP
RAM27の記憶データはシーケンシャル読出アドレス
SRAに従って順に読み出される。同時に第1のポート
には未接続データ「−」、遅延シーケンシャル書込アド
レスSWA、遅延データ書込パルスWPが加えられ、こ
れにより未接続データ「−」はDPRAM27の第1の
ポートから書き込まれる。
When FSL = 0, the input of the read enable terminal RE of the second port becomes HIGH level, and DP
The data stored in the RAM 27 is sequentially read according to the sequential read address SRA. At the same time, unconnected data "-", delayed sequential write address SWA, and delayed data write pulse WP are applied to the first port, whereby unconnected data "-" is written from the first port of DPRAM 27.

【0029】DPRAM28の動作は上記の逆であり、
容易に類推できる。本第2実施例によれば、汎用(市
販)のDPRAM27,28を使用でき、回路を廉価に
実現できる。なお、上記各実施例では各カウンタ回路が
昇順にカウントする場合を述べたが、本発明はカウンタ
回路が降順にカウントする場合でも実現できる。
The operation of DPRAM 28 is the reverse of the above,
It can be easily analogized. According to the second embodiment, general-purpose (commercially available) DPRAMs 27 and 28 can be used, and the circuit can be realized at low cost. In each of the above embodiments, the case where each counter circuit counts in ascending order has been described, but the present invention can be realized even when the counter circuit counts in descending order.

【0030】また、上記各実施例ではシーケンシャル書
込カウンタ20がシーケンシャル読出カウンタ11より
も1クロック分の位相遅れでカウントアップする場合を
述べたがこれに限らない。2クロック以上でも良い。更
には、シーケンシャル読出カウンタ11のカウント出力
SRAから所定値を差し引くような方法で遅延シーケン
シャル書込アドレスSWAを生成しても良い。
In each of the above embodiments, the case where the sequential write counter 20 counts up with a phase delay of one clock from the sequential read counter 11 has been described, but the present invention is not limited to this. It may be more than 2 clocks. Further, the delay sequential write address SWA may be generated by a method of subtracting a predetermined value from the count output SRA of the sequential read counter 11.

【0031】また、上記本発明に好適なる実施例を述べ
たが、本発明思想を逸脱しない範囲内で、構成及び制御
の様々な変更が行えることは言うまでも無い。
Although the preferred embodiments of the present invention have been described above, it goes without saying that various changes in configuration and control can be made without departing from the spirit of the present invention.

【0032】[0032]

【発明の効果】以上述べた如く本発明によれば、簡単な
構成により出力への不要データの読出が有効に防止され
る。
As described above, according to the present invention, unnecessary data can be effectively prevented from being read to the output with a simple structure.

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

【図1】図1は本発明の原理を説明する図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】図2は第1実施例のタイムスロット入替回路の
ブロック図である。
FIG. 2 is a block diagram of a time slot switching circuit of the first embodiment.

【図3】図3は第1実施例のタイムスロット入替回路の
動作タイミングチャートである。
FIG. 3 is an operation timing chart of the time slot switching circuit of the first embodiment.

【図4】図4は第2実施例のタイムスロット入替回路の
ブロック図である。
FIG. 4 is a block diagram of a time slot switching circuit according to a second embodiment.

【図5】図5は従来技術を説明する図である。FIG. 5 is a diagram illustrating a conventional technique.

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

17,18,27,28 デュアルポートメモリ 17, 18, 27, 28 Dual port memory

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 入力データをシステムの接続情報に従う
ランダムモードで第1,第2のバッファ回路に交互に書
き込むと共に、その記憶データをシーケンシャルモード
で第2,第1のバッファ回路から交互に読み出して出力
データとなすダブルバッファ方式のタイムスロット入替
回路において、 各バッファ回路は、データ読/書可能な第1のポート及
びデータ書込可能な第2のポートを有するデュアルポー
トメモリを備え、 入力データを第1のポートから書き込み後、該記憶デー
タを第1のポートから読み出すと共に、該データ読出後
の同一アドレスに第2のポートからデータ読出と同一の
メモリサイクル時間内に所定データを書き込むことを特
徴とするタイムスロット入替回路。
1. Input data is alternately written to first and second buffer circuits in a random mode according to connection information of the system, and stored data is alternately read from the second and first buffer circuits in a sequential mode. In a double-buffer type time slot interchange circuit used as output data, each buffer circuit includes a dual port memory having a first port capable of reading / writing data and a second port capable of writing data, After writing from the first port, the stored data is read from the first port, and predetermined data is written to the same address after reading the data from the second port within the same memory cycle time as data reading. And time slot replacement circuit.
【請求項2】 入力データをシステムの接続情報に従う
ランダムモードで第1,第2のバッファ回路に交互に書
き込むと共に、その記憶データをシーケンシャルモード
で第2,第1のバッファ回路から交互に読み出して出力
データとなすダブルバッファ方式のタイムスロット入替
回路において、 各バッファ回路は、データ書込可能な第1のポート及び
データ読出可能な第2のポートを有するデュアルポート
メモリを備え、 入力データを第1のポートから書き込み後、該記憶デー
タを第2のポートから読み出すと共に、該データ読出後
の同一アドレスに第1のポートからデータ読出と同一の
メモリサイクル時間内に所定データを書き込むことを特
徴とするタイムスロット入替回路。
2. The input data is alternately written to the first and second buffer circuits in a random mode according to the connection information of the system, and the stored data is alternately read from the second and first buffer circuits in a sequential mode. In a double-buffer type time slot interchange circuit used as output data, each buffer circuit is provided with a dual port memory having a data writable first port and a data readable second port, and the input data After the data is written from the port, the stored data is read from the second port, and at the same address after the data is read, the predetermined data is written within the same memory cycle time as the data read from the first port. Time slot replacement circuit.
JP13758795A 1995-06-05 1995-06-05 Time slot replacement circuit Expired - Lifetime JP3724752B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13758795A JP3724752B2 (en) 1995-06-05 1995-06-05 Time slot replacement circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13758795A JP3724752B2 (en) 1995-06-05 1995-06-05 Time slot replacement circuit

Publications (2)

Publication Number Publication Date
JPH08331678A true JPH08331678A (en) 1996-12-13
JP3724752B2 JP3724752B2 (en) 2005-12-07

Family

ID=15202204

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13758795A Expired - Lifetime JP3724752B2 (en) 1995-06-05 1995-06-05 Time slot replacement circuit

Country Status (1)

Country Link
JP (1) JP3724752B2 (en)

Also Published As

Publication number Publication date
JP3724752B2 (en) 2005-12-07

Similar Documents

Publication Publication Date Title
JP2848400B2 (en) Switching device for prioritized information packets
JP3678412B2 (en) DRAM data storage and migration for network processors
US6249524B1 (en) Cell buffer memory for a large capacity and high throughput ATM switch
JP3183159B2 (en) Synchronous DRAM
KR100498233B1 (en) First-in first-out memory circuit and method for executing the same
JP2627903B2 (en) Semiconductor storage device
JPH08331678A (en) Time slot replacement circuit
JP3244035B2 (en) Semiconductor storage device
JPH05316550A (en) Time switch control system
JP3103298B2 (en) ATM switch address generation circuit
JP3559299B2 (en) Buffer memory device
JP3761962B2 (en) Time switch memory data control device
JP3166713B2 (en) Multi-plane configuration time division switch
JP3460115B2 (en) Cross connect device
KR100678250B1 (en) Asynchronous Transfer Mode Cell Buffering Method
JPS6243888A (en) Dual port memory
JPH0783513B2 (en) Semiconductor memory device
JP2797836B2 (en) Double buffer memory system
JPH0514983A (en) Time-division call path switch
JPS63156291A (en) image memory
JPH06103026A (en) Memory system
JP3034548B2 (en) Time switch
JPH0520182A (en) Information processing system
JPH06208539A (en) High-speed data transfer system
JPH07203494A (en) Configulation system for time-sharing switching circuit

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20021008

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050722

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050916

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080930

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090930

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090930

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100930

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100930

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110930

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120930

Year of fee payment: 7