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
JPH0712234B2 - Semiconductor memory device - Google Patents
[go: Go Back, main page]

JPH0712234B2 - Semiconductor memory device - Google Patents

Semiconductor memory device

Info

Publication number
JPH0712234B2
JPH0712234B2 JP21751087A JP21751087A JPH0712234B2 JP H0712234 B2 JPH0712234 B2 JP H0712234B2 JP 21751087 A JP21751087 A JP 21751087A JP 21751087 A JP21751087 A JP 21751087A JP H0712234 B2 JPH0712234 B2 JP H0712234B2
Authority
JP
Japan
Prior art keywords
address
data
latch means
clock signal
output
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 - Fee Related
Application number
JP21751087A
Other languages
Japanese (ja)
Other versions
JPS6460189A (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.)
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 JP21751087A priority Critical patent/JPH0712234B2/en
Publication of JPS6460189A publication Critical patent/JPS6460189A/en
Publication of JPH0712234B2 publication Critical patent/JPH0712234B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Use Of Switch Circuits For Exchanges And Methods Of Control Of Multiplex Exchanges (AREA)

Description

【発明の詳細な説明】 [概要] 本発明は半導体記憶装置、特に電話交換機の通路路等の
多重通信に係るタイムスイッチメモリ(TSW)に適した
半導体記憶装置に関し、 書き込み、読み出し処理動作を1サイクル内で完了する
ことなく、その処理動作を数サイクルタイムに分割して
パイプライン処理することにより、タイムスイッチメモ
リの動作速度上の負担を軽減することを目的とし、 書込みデータ、第1のアドレス、第2のアドレスをクロ
ック信号に同期してラッチする第1のラッチ手段と、該
第2のラッチ手段の出力を該クロック信号に同期してラ
ッチする第2のラッチ手段と、該第2のラッチ手段から
出力される書込みデータ及び第1のアドレスが与えられ
る第1のメモリ部と、該第2のラッチ手段から出力され
る書込みデータ及び第2のアドレスが与えられる第2の
メモリ部と、該第1及び第2のメモリ部から出力される
データを前記クロック信号に同期してラッチする第3の
ラッチ手段と、該第3のラッチ手段の出力を前記クロッ
ク信号に同期してラッチする第4のラッチ手段と、前記
第1のメモリ部又は第2のメモリ部の一方に対してライ
トイネーブル信号を出力して書込み状態とし、他方を読
出し状態とする制御手段とを具備し、構成する。
DETAILED DESCRIPTION OF THE INVENTION [Outline] The present invention relates to a semiconductor memory device, and more particularly to a semiconductor memory device suitable for a time switch memory (TSW) relating to multiplex communication such as a passageway of a telephone exchange. The purpose is to reduce the load on the operation speed of the time switch memory by dividing the processing operation into several cycle times and performing pipeline processing without completing within the cycle. , First latch means for latching the second address in synchronization with the clock signal, second latch means for latching the output of the second latch means in synchronization with the clock signal, and the second latch means. A first memory portion to which write data and a first address output from the latch means are provided; and write data and a first memory portion to which the write data and the first address are output from the second latch means. A second memory portion to which an address of 2 is given, third latch means for latching the data output from the first and second memory portions in synchronization with the clock signal, and the third latch means. And a write enable signal is output to one of the first memory unit and the second memory unit to write the output, and the other is read. And a control unit for setting the state.

[産業上の利用分野] 本発明半導体記憶装置に関するものであり、更に詳しく
言えば電話交換機の通話路等の多重通信に係るタイムス
イッチメモリ(TSW)に適した半導体記憶装置に関する
ものである。
[Field of Industrial Application] The present invention relates to a semiconductor memory device, and more particularly to a semiconductor memory device suitable for a time switch memory (TSW) relating to multiplex communication such as a communication path of a telephone exchange.

[従来の技術] 第3図は、従来技術に係る説明図である。[Prior Art] FIG. 3 is an explanatory diagram according to a prior art.

同図(a)は、タイムスイッチメモリ(TSW)の機能を
説明する為の図である。図において、TSWは、たとえ
ば、d→a→e→c→b…の順に入力されるデータ列Di
nをタイムスイッチメモリ1に記憶し、データa→b→
c→d→e…の順に順序を並べ換えたデータ列Doutを出
力する機能を有する。
FIG. 3A is a diagram for explaining the function of the time switch memory (TSW). In the figure, TSW is, for example, a data string Di input in the order of d → a → e → c → b ...
n is stored in the time switch memory 1 and data a → b →
It has a function of outputting a data string Dout whose order is rearranged in the order of c → d → e ....

同図(b)は、タイムスイッチメモリ1を電話交換機の
通話路等に設けて、多重通信を行なう例を示す図であ
り、図において、1はタイムスイッチメモリ(TSW)、
2はたとえばn=1024回線(加入電話数)の通信データ
を多重化する多重通信機能を有するマルチプレクサ(多
重化装置)、31〜3nはn回線のユーザのアナログ音声信
号S1〜Snを1回線毎にパルスコード変調(PCM)してデ
ジタル信号データに変換するA/D変換器、4はデマルチ
プレクサ(多重分離装置)、5,6は伝送路である。
FIG. 1B is a diagram showing an example in which the time switch memory 1 is provided in a communication path of a telephone exchange to perform multiplex communication, in which 1 is a time switch memory (TSW),
2 is a multiplexer (multiplexer) having a multiplex communication function for multiplexing communication data of, for example, n = 1024 lines (the number of subscriber telephones), 31 to 3n are 1 line of analog voice signals S 1 to Sn of n lines of users. An A / D converter that performs pulse code modulation (PCM) for each and converts it into digital signal data, 4 is a demultiplexer (demultiplexing device), and 5 and 6 are transmission lines.

第3図において、音声信号は8kHzのサンプリングレート
でサンプリングされ、A/D変換器によってデジタルコー
ド化される。
In FIG. 3, the audio signal is sampled at a sampling rate of 8 kHz and digitally coded by an A / D converter.

A/D変換器31〜3nのデジタル出力はマルチプレクサ2で
多重化され、多重化されたデータ列は、伝送路5を介し
てTSW1へ記憶される。TSW1では所望の順序に並べ換えら
れたデータ列は、伝送路6を介してデマルチプレクサ4
に入力される。デマルチプレクサでは入力されたデータ
列を回線毎に分離する。
The digital outputs of the A / D converters 31 to 3n are multiplexed by the multiplexer 2, and the multiplexed data string is stored in TSW1 via the transmission line 5. In TSW1, the data sequence rearranged in a desired order is transmitted via the transmission line 6 to the demultiplexer 4
Entered in. The demultiplexer separates the input data string for each line.

[発明が解決しようとする問題点] ところで、アトランダムに入力されるデータ列を並べ換
える場合、回線数が多くなればなるほど一般に高速大容
量のメモリを必要とするが、特に、汎用メモリと異な
り、メモリ容量が大きくなればなる程、より高速の処理
動作スピードが要求されるという問題がある。
[Problems to be Solved by the Invention] By the way, when rearranging a data string that is input at random, as the number of lines increases, a high-speed and large-capacity memory is generally required. However, there is a problem that as the memory capacity increases, a higher processing operation speed is required.

すなわち、多重度nに対するタイムスイッチメモリのメ
モリ容量と、処理動作スピード(書き込みスピードと読
み出しスピード)との関係は、n=1024回線,サンプリ
ングレート=8kHzの場合には、所要メモリ容量は1024wo
rd×m bit、処理動作スピードは122[ns]であり、また
n=2048回線の場合には、所要メモリ容量は2048×m bi
t、処理動作スピードは61[ns]であり、n=4096回線
の場合には、所要メモリ4096×m bit、処理動作スピー
ド30[ns]である。
That is, the relationship between the memory capacity of the time switch memory for the multiplicity n and the processing operation speed (writing speed and reading speed) is n = 1024 lines and the sampling rate = 8 kHz, the required memory capacity is 1024wo.
rd × m bit, processing speed is 122 [ns], and when n = 2048 lines, the required memory capacity is 2048 × m bi
t, the processing operation speed is 61 [ns], and in the case of n = 4096 lines, the required memory is 4096 × m bit and the processing operation speed is 30 [ns].

ここで、mは音声等のアナログ信号をデジタル化する場
合の量子化ビット数であり、一般にはm=8程度が選択
される。
Here, m is the number of quantized bits when an analog signal such as voice is digitized, and generally m = 8 is selected.

従って、多重度nが倍増する毎に要求される処理動作ス
ピードは2倍になり、タイムスイッチメモリの動作サイ
クルタイムに対して高速処理を強いられるという問題が
ある。
Therefore, each time the multiplicity n is doubled, the required processing operation speed is doubled, and there is a problem that high-speed processing is forced on the operation cycle time of the time switch memory.

本発明はかかる従来例の問題に鑑み創作されたものであ
り、書込み、読出し処理動作を1サイクル内で完了する
ことなく、その処理動作を数サイクルタイムに分割して
パイプライン処理することにより、タイムスイッチメモ
リの動作速度上の負担を軽減できる半導体記憶装置の提
供を目的とする。
The present invention was created in view of the problems of the conventional example, and by performing the pipeline processing by dividing the processing operation into several cycle times without completing the writing and reading processing operations within one cycle, An object of the present invention is to provide a semiconductor memory device that can reduce the load on the operating speed of the time switch memory.

[問題点を解決するための手段] 本発明の半導体記憶装置は、書込みデータ、第1のアド
レス、第2のアドレスをクロック信号に同期してラッチ
する第1のラッチ手段と、該第2のラッチ手段の出力を
該クロック信号に同期してラッチする第2のラッチ手段
と、該第2のラッチ手段から出力される書込みデータ及
び第1のアドレスが与えられる第1のメモリ部と、該第
2のラッチ手段から出力される書込みデータ及び第2の
アドレスが与えられる第2のメモリ部と、該第1及び第
2のメモリ部から出力されるデータを前記クロック信号
に同期してラッチする第3のラッチ手段と、該第3のラ
ッチ手段の出力を前記クロック信号に同期してラッチす
る第4のラッチ手段と、前記第1のメモリ部又は第2の
メモリ部の一方に対してライトイネーブル信号を出力し
て書込み状態とし、他方を読出し状態とする制御手段と
を具備することにより、上記目的を達成する。
[Means for Solving Problems] A semiconductor memory device of the present invention includes a first latch means for latching write data, a first address, and a second address in synchronization with a clock signal, and the second latch means. Second latch means for latching the output of the latch means in synchronization with the clock signal; a first memory section to which write data and a first address output from the second latch means are applied; A second memory unit to which write data and a second address output from the second latch unit are given; and a second memory unit that latches the data output from the first and second memory units in synchronization with the clock signal. 3 latch means, 4th latch means for latching the output of the 3rd latch means in synchronization with the clock signal, and write enable for one of the first memory section or the second memory section. The above-mentioned object is achieved by providing a control means for outputting a read signal to put it in a written state and the other into a read state.

[作用] 本発明によれば、第1〜第4のラッチ手段によりパイプ
ライン動作を行ない、且つ、第1,第2のメモリ部に対し
て同時にランダムアクセス、シーケンシャルアクセスを
行なう。すなわち、第1のラッチ手段で書込みデータ、
第1,第2のアドレスを取り込み中に前のサイクルで取り
込んだ書込みデータ、第1,第2のアドレスを第2のラッ
チ手段により第1,第2のメモリ部へ与える。一方、第1
又は第2のメモリ部からのデータを第3のラッチ手段に
ラッチしている際中に、前のサイクルで読出したデータ
を第4のラッチ手段から出力する。
[Operation] According to the present invention, the pipeline operation is performed by the first to fourth latch means, and the random access and the sequential access are simultaneously performed to the first and second memory sections. That is, the write data by the first latch means,
While the first and second addresses are being fetched, the write data and the first and second addresses fetched in the previous cycle are given to the first and second memory sections by the second latch means. On the other hand, the first
Alternatively, while the data from the second memory section is being latched in the third latch means, the data read in the previous cycle is output from the fourth latch means.

[実施例] 次に図を参照しながら本発明の実施例について説明す
る。
[Embodiment] Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の実施例に係るタイムスイッチメモリの
構成図である。
FIG. 1 is a configuration diagram of a time switch memory according to an embodiment of the present invention.

図において、23は第1のラッチ手段であり、入力データ
Din(8bit)をクロック信号CLKの立ち上がりに同期して
ラッチシ、データDINを出力するD型フリップフロップ
回路(DFF)23aと、入力ランダムアドレスra(10bit)
をクロック信号CLKに同期してラッチし、ランダムアド
レスRAを出力するDFF23bで構成される。カウンタ23c
は、クロック信号CLKを計数してシーケンシャルアドレ
スSAを出力する。fcは、たとえば多重度n=1024回線の
場合、シーケンシャルアドレスSAを0〜1023までカウン
トアップするとカウンタをクリアする信号である。
In the figure, 23 is the first latch means,
D-type flip-flop circuit (DFF) 23a that latches Din (8 bits) in synchronization with the rising edge of clock signal CLK and outputs data DIN, and input random address ra (10 bits)
Is latched in synchronization with the clock signal CLK and outputs a random address RA, which is composed of DFF23b. Counter 23c
Outputs a sequential address SA by counting the clock signal CLK. fc is a signal that clears the counter when the sequential address SA is counted up from 0 to 1023 when the multiplicity n = 1024 lines.

なお、シーケンシャルアドレスSAを外部から入力する場
合には、カウンタ23cに代えてDFF23bと同様のD型フリ
ップ回路を設ける。
When the sequential address SA is input from the outside, a D-type flip circuit similar to the DFF 23b is provided instead of the counter 23c.

27,28はDFF23bにラッチされたランダムアドレスRA又は
シーケンシャルアドレスSAを、制御回路34からの制御信
号(c)の応答して選択するセレクタである。35,36は
ランダムアドレスRA,シーケンシャルアドレスSAをプリ
デコードするプリデコーダである。すなわち、本発明の
実施例ではアドレスを2段階にデコードしており、RAM
#1,2ではプリデコードされたアドレスを更にデコード
している。また、24は第2のラッチ手段であり、データ
DINをクロック信号CLKに同期してラッチするDFF24aと、
プリデコードされたランダムアドレスRA又はシーケンシ
ャルアドレスSAをクロック信号CLKに同期してラッチ
し、RAM#1,#2のアドレス入力端子A(#1)又はA
(#2)に出力するDFF24b,24cとにより構成する。
Reference numerals 27 and 28 are selectors that select the random address RA or the sequential address SA latched in the DFF 23b in response to the control signal (c) from the control circuit 34. Reference numerals 35 and 36 are predecoders for predecoding the random address RA and the sequential address SA. That is, in the embodiment of the present invention, the address is decoded in two stages, and the RAM is
# 1 and 2 further decode the predecoded address. Further, 24 is a second latch means,
DFF24a that latches DIN in synchronization with the clock signal CLK,
The predecoded random address RA or the sequential address SA is latched in synchronization with the clock signal CLK, and the address input terminal A (# 1) or A of the RAM # 1 or # 2 is latched.
It is composed of DFFs 24b and 24c output to (# 2).

29,30はデータDINと、ランダムアドレスRAとを入力して
書き込み処理をしたり、シーケンシャルアドレスSAに従
って、読み出し処理をするランダムアクセスメモリ部
(RAM)#1,#2である。IN#1,IN#2はデータ入力端
子、A#1,A#2はアドレス入力端子、WEはライトイネ
ーブル信号入力端子である。
Reference numerals 29 and 30 denote random access memory units (RAM) # 1 and # 2 for inputting the data DIN and the random address RA to perform a write process and to perform a read process according to the sequential address SA. IN # 1 and IN # 2 are data input terminals, A # 1 and A # 2 are address input terminals, and WE is a write enable signal input terminal.

25は第3のアドレス手段であり、読み出しデータD(#
1)またD(#2)をクロック信号CLKに同期してラッ
チするDFF25aと25bとにより構成する。
Reference numeral 25 denotes a third addressing means, which is a read data D (#
1) Also, D (# 2) is composed of DFFs 25a and 25b which latch in synchronization with the clock signal CLK.

31は第3の選択手段であり、読み出しデータD(#1)
又はD(#2)を制御回路34からの制御信号c3,c4に応
答して選択するセレクタである。32はテスト等に用いる
補助のセレクタである。26は第4のラッチ手段であり、
読み出しデータD(#1)又はD(#2)をクロック信
号CLKに同期してラッチし、読み出しデータdoutを出力
するDFF26aと補助読出し用データdout′を出力するDFF2
6bとにより構成されている。
Reference numeral 31 is a third selection means, which is read data D (# 1)
Alternatively, it is a selector for selecting D (# 2) in response to the control signals c 3 , c 4 from the control circuit 34. Reference numeral 32 is an auxiliary selector used for tests and the like. 26 is a fourth latching means,
The read data D (# 1) or D (# 2) is latched in synchronization with the clock signal CLK, and the DFF26a that outputs the read data dout and the DFF2 that outputs the auxiliary read data dout '
It is composed of 6b and.

また、37は入力データDINに対応するパリディビットを
発生するパリティ発生回路,38はDINが正しく書き込ま
れ、正しく読み出されているか否かをチェックするため
のパリティチェッカー、39はパリティエラー検出信号
(err)をクロック信号CLKに同期してラッチするD型フ
リップフロップ回路(DFF)である。
Further, 37 is a parity generation circuit for generating a paridi bit corresponding to the input data DIN, 38 is a parity checker for checking whether or not DIN is correctly written and correctly read, 39 is a parity error detection signal ( err) is a D-type flip-flop circuit (DFF) that latches in synchronization with the clock signal CLK.

33は各DFF23a,23b,23c,24a,24b,25a,25b,26a,26b及び39
のラッチ回路にクロック信号CLKを、RAM#1,#2にライ
トイネーブル信号▲▼と▲▼を供給するク
ロック発生回路である。
33 is each DFF 23a, 23b, 23c, 24a, 24b, 25a, 25b, 26a, 26b and 39
Is a clock generation circuit for supplying the clock signal CLK to the latch circuit of the above and the write enable signals ▲ ▼ and ▲ ▼ to the RAMs # 1 and # 2.

なお、▲▼,▲▼は外部から入力しても良
い。但し、クロック発生回路33から▲▼,▲
▼を供給する場合には、▲▼がイネーブルのと
き、▲▼がディスエーブルになる様にする。
Note that ▲ ▼ and ▲ ▼ may be input from the outside. However, from the clock generation circuit 33 ▲ ▼, ▲
When ▼ is supplied, ▲ ▼ is disabled when ▲ ▼ is enabled.

34は、各セレクタ27,28,31及び32に不図示の制御線を介
して、各セレクタに入力される2系統の入力のうち、ど
ちらをセレクタ出力に接続するかを制御する制御回路で
あり、これ等によりタイムスイッチメモリを構成する。
Reference numeral 34 is a control circuit for controlling which of the two systems of inputs to each selector 27, 28, 31 and 32 is connected to the selector output via a control line (not shown). The time switch memory is configured by these components.

第2図は本発明の実施例に係る動作の一例を示すタイム
チャートであり、RAM#1に対してシーケンシャルリー
ド,RAM#2に対してランダムライトをしている場合を示
している。
FIG. 2 is a time chart showing an example of the operation according to the embodiment of the present invention, showing a case where the RAM # 1 is sequentially read and the RAM # 2 is randomly written.

図において、CLKはクロック信号、raは入力ランダムア
ドレス、RAはラッチされたランダムアドレス、fcはクリ
ア信号、SAはカウンタ23cにより発生されるシーケンシ
ャルアドレス、Dinは入力データ、DINは第1のラッチ回
路23によりラッチされた入力データ、INは第2のラッチ
回路24によりラッチされた入力データ、A(#1)は,
たとえば0〜1023までのシーケンシャルアドレス、A
(#2)はランダムアドレス、D(#1)は読み出して
データ、doutは第4のラッチ回路26によりラッチされた
読み出しデータ、▲▼,▲▼はライトイネ
ーブル信号、▲▼はパリティエラー信号を示して
いる。
In the figure, CLK is a clock signal, ra is an input random address, RA is a latched random address, fc is a clear signal, SA is a sequential address generated by a counter 23c, Din is input data, and DIN is a first latch circuit. The input data latched by 23, IN is the input data latched by the second latch circuit 24, and A (# 1) is
For example, a sequential address from 0 to 1023, A
(# 2) is a random address, D (# 1) is read data, dout is read data latched by the fourth latch circuit 26, ▲ ▼ and ▲ ▼ are write enable signals, and ▲ ▼ is a parity error signal. Shows.

第2図は参照しながら、第1のRAM(#1)29に対して
シーケンシャルリードをし、第2のRAM(#2)30に対
してからランダムライトをする場合について説明する。
この場合、セレクタ27はカウンタ23cからのシーケンシ
ャルアドレスSAを選択し、セレクタ28はDFF23bからのラ
ンダムアドレスRAを選択している。一方、セレクタ31は
DFF25aからのデータD#1を選択している。
Referring to FIG. 2, a case will be described in which the first RAM (# 1) 29 is sequentially read and the second RAM (# 2) 30 is randomly written.
In this case, the selector 27 selects the sequential address SA from the counter 23c, and the selector 28 selects the random address RA from the DFF 23b. On the other hand, the selector 31
Data D # 1 from DFF25a is selected.

まず、クロック信号CLKの立上がりで入力ランダムア
ドレスraはDFF23bにラッチされ、入力データDinはDFF23
aにラッチされる。DFF23bからはランダムアドレスRAの
内容「a」が出力され、DFF23aからは、入力データDIN
の内容「α」が出力される。一方、カウンタ23cのシー
ケンシャルアドレスSAはクリア信号fcによりクリアされ
て「0」が出力される。
First, at the rising edge of the clock signal CLK, the input random address ra is latched in DFF23b, and the input data Din is DFF23.
Latched to a. The content "a" of the random address RA is output from DFF23b, and the input data DIN is input from DFF23a.
The content “α” is output. On the other hand, the sequential address SA of the counter 23c is cleared by the clear signal fc and "0" is output.

次のクロック信号CLKの立ち上りにより、入力ランダ
ムアドレスra「b」及び入力データDinの内容「β」がD
FFF23b,DFF23aにラッチされる。同時に「a」にパリテ
ィビットを付加したデータがDFF24aにラッチされ、その
出力DIN′はRAM#1のIN#1,RAM#2のIN#2に入力さ
れる。但し、WE2のみがイネーブルになっているので、R
AM#1にのみ、データ「α」が書込まれる。
The next rising edge of the clock signal CLK causes the input random address ra “b” and the content “β” of the input data Din to be D
It is latched by FFF23b and DFF23a. At the same time, data obtained by adding a parity bit to "a" is latched by the DFF 24a, and its output DIN 'is input to IN # 1 of RAM # 1 and IN # 2 of RAM # 2. However, since only WE2 is enabled, R
Data “α” is written only to AM # 1.

また、プリデコーダ35でプリデコードされたシーケンシ
ャルアドレス「0」がDFF24bにラッチされ、プリデコー
ダが36でプリデコードされたランダムアドレス「a」は
DFF24cにラッチされる。従って、前記データ「α」は前
サイクルでラチされていたランダムアドレスRAの内容
「a」が印加されることによって、RAM#2のa番地が
選択され、該番地にDINの内容「α」が書き込まれる。
一方、第1のRAM#1にはシーケンスシャルアドレスSA
の内容「0」が印加され0番地が選択され、該番地の記
憶情報が読出される。なお、カウンタ23cはこのときカ
ウントアップして、シーケンシャルアドレスSA「1」を
出力している。
Further, the sequential address “0” predecoded by the predecoder 35 is latched in the DFF 24b, and the random address “a” predecoded by the predecoder 36 is
Latch to DFF24c. Therefore, the content "a" of the RAM # 2 is selected by applying the content "a" of the random address RA which was latched in the previous cycle to the data "α", and the content "α" of the DIN is stored in the address. Written.
On the other hand, the first RAM # 1 has a sequential address SA
"0" is applied to select the address 0, and the stored information at the address is read. The counter 23c counts up at this time and outputs the sequential address SA "1".

次のクロック信号CLKの立ち上りにより、入力ランダ
ムアドレスra「c」及び入力データDin「γ」がDFF23b,
DFF23aにそれぞれラッチされる。また、カウンタ23cは
カウントアップして「2」を出力する。
At the next rising edge of the clock signal CLK, the input random address ra “c” and the input data Din “γ” are transferred to the DFF23b,
Latched by DFF23a. Further, the counter 23c counts up and outputs "2".

なお、この時点では第2のRAM30に対してランダムアド
レスRAで指示された「b」番地にデータDINの内容
「β」が書き込まれる。第1のRAM29からのシーケンス
シャルアドレスSAで指示された「1」番地から読み出し
が行なわれる。また、第4のラッチ回路26により読み出
しデータD(#1)の内容「0」がラッチされる。
At this point, the content “β” of the data DIN is written into the second RAM 30 at the address “b” designated by the random address RA. Reading is performed from the address "1" designated by the sequential address SA from the first RAM 29. Further, the content “0” of the read data D (# 1) is latched by the fourth latch circuit 26.

次いでクロック信号CLKの立ち上りにより、入力ラン
ダムアドレスra「d」及び入力データDinの内容「δ」
がDFF23b,23aにラッチされる。一方、カウンタ23cはカ
ウントアップして、シーケンシャルアドレスSAで指示さ
れた「3」を出力する。なお、この時点では第2のRAM3
0に対するランダムアドレスRAで指示された番地にDINの
内容「γ」が書き込まれる。第1のRAM29からのシーケ
ンシャルアドレスSAで指示された「2」番地から読み出
しが行なわれる。また、第4のラッチ回路26により読み
出しデータD(#1)の内容「1」がラッチされる。一
方、この時点で読み出しデータD(#1)の内容「0」
が出力データdoutとなる。
Next, at the rising edge of the clock signal CLK, the input random address ra “d” and the content “δ” of the input data Din.
Is latched by DFF23b, 23a. On the other hand, the counter 23c counts up and outputs "3" designated by the sequential address SA. At this point, the second RAM3
The content “γ” of DIN is written in the address designated by the random address RA for 0. Reading is performed from the address "2" designated by the sequential address SA from the first RAM 29. Further, the content “1” of the read data D (# 1) is latched by the fourth latch circuit 26. On the other hand, at this time point, the content “0” of the read data D (# 1)
Is the output data dout.

次いで、クロック信号CLKの立ち上りにより、入力ラ
ンダムアドレスra「e」及び入力データDin「ε」がDFF
23a,23bにラッチされ、ランダムアドレスRAで指示され
た「e」と、入力データDINの内容「ε」とを出力す
る。一方、シーケンスシャルアドレスSAの内容「4」を
ラッチする。なお、この時点では第2のRAM30に対して
ランダムアドレスRAで指示された「d」番地にデータDI
Nの内容「δ」が書き込まれる。第1のRAM29からはシー
ケンシャルアドレスSAで指示された「3」番地から読出
しが行なわれる。また、第4のラッチ回路26により読み
出しデータD(#1)の内容「2」がラッチされる。一
方、この時点で読み出しデータD(#1)の内容「1」
が出力データdoutとなる。
Next, when the clock signal CLK rises, the input random address ra “e” and the input data Din “ε” become DFF.
It outputs "e" which is latched by 23a and 23b and which is designated by the random address RA and the content "ε" of the input data DIN. Meanwhile, the content “4” of the sequential address SA is latched. At this point, the data DI is stored in the "d" address designated by the random address RA to the second RAM 30.
The content “δ” of N is written. The first RAM 29 is read from the address "3" designated by the sequential address SA. Further, the content “2” of the read data D (# 1) is latched by the fourth latch circuit 26. On the other hand, at this point, the content “1” of the read data D (# 1)
Is the output data dout.

なお、err信号はパリティが正常時には図のように実線
になり、例えば「0」番地の読み出しデータにパリティ
ーエラーが生じた場合には、破線で示すようにパリティ
チェック回路38を介して出力する。
The err signal has a solid line as shown in the figure when the parity is normal. For example, when a parity error occurs in the read data at the address "0", it is output via the parity check circuit 38 as shown by the broken line.

なお、通常はフレーム終了後、すなわち、RAM29のデー
タが全て読出されると、セレクタ27はランダムアドレス
RA,セレクタ28はシーケンシャルアドレスSAを選択する
ように、切り換え制御する。すなわち、▲▼は周
期的にローレベル,▲▼はハイレベルに固定さ
れ、RAM#1に対してランダムライト、RAM#2からシー
ケンシャルリードが行なわれる。
Normally, after the end of the frame, that is, when all the data in the RAM 29 is read, the selector 27 sets the random address.
RA, selector 28 controls switching so as to select sequential address SA. That is, ▲ ▼ is periodically fixed to the low level and ▲ ▼ is fixed to the high level, and the random write is performed to the RAM # 1 and the sequential read is performed from the RAM # 2.

このようにして、入力ランダムアドレスRAと、シーケン
シャルアドレスSAとを制御回路34を介して選択する第1,
第2の選択手段27,28と該データを随時書き込み又は読
出しをして所望の伝送順にする第1,第2のRAM29,30と、
該読み出しデータD(#1)又はD(#2)を制御回路
34を介して選択する第3の選択回路31を設けることによ
り、入力データDin、入力ランダムアドレスra及びシー
ケンシャルアドレスSA、クリア信号fcの情報を取り込
み、たとえば第1のRAM29を介して、シーケンシャルリ
ードをし、第2のRAM30を介して、ランダムライトを
し、該データの処理を単位サイクル毎に割り当てて、パ
イプライン動作をすることが可能となる。
In this way, the input random address RA and the sequential address SA are selected via the control circuit 34.
Second selecting means 27, 28, first and second RAMs 29, 30 for writing or reading the data at any time to make a desired transmission order,
Control circuit for the read data D (# 1) or D (# 2)
By providing the third selection circuit 31 that selects via the 34, the information of the input data Din, the input random address ra and the sequential address SA, and the clear signal fc are fetched, and the sequential read is performed via the first RAM 29, for example. Then, it becomes possible to perform a random write via the second RAM 30, allocate the processing of the data for each unit cycle, and perform a pipeline operation.

なお、実施例ではシーケンシャルリード,ランダムライ
トを行なう場合について説明したが、逆にシーケンシャ
ルライト,ランダムリード行なわせることも可能であ
る。
In the embodiment, the case where the sequential read and the random write are performed has been described, but it is also possible to perform the sequential write and the random read conversely.

[発明の効果] 以上説明したように本発明によれば、データ処理を数サ
イクルタイムに分割して行なうことができるので、汎用
RAMのアクセス速度の負担を軽減して適正な処理が可能
となる。また、RAMを#1と#2とに分けてダブルバッ
ファ処理することにより、データの順序の入れ替えを間
断なく行なうことが可能となる。
[Effects of the Invention] According to the present invention as described above, data processing can be divided into several cycle times to be performed.
The load on the RAM access speed can be reduced and proper processing can be performed. In addition, by dividing the RAM into # 1 and # 2 and performing double buffer processing, the order of data can be interchanged without interruption.

これにより電話交換機の通話路等の多重度が倍増するPC
Mの伝送に関し、処理動作の高速化に対処することが可
能となる。
This doubles the multiplicity of the communication paths of telephone exchanges.
It becomes possible to cope with the speeding up of the processing operation regarding the transmission of M.

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

第1図は、本発明の実施例に係る半導体記憶装置の構成
図、 第2図は、本発明の実施例に係る動作を説明するタイム
チャート、 第3図は、従来例に係る説明図である。 (符号の説明) 1……タイムスイッチメモリ(半導体記憶装置)、 2……マルチプレクサ、 31〜3n……A/D変換器、 4……デマルチプレクサ、 5,6……伝送路、 S1〜Sn……アナログ音声信号、 11,23,12,24,13,25,及び26,14……第1,2,3及び4のラッ
チ手段、 15,16,19……第1,2及び3の選択手段、 17,18……第1及び2のRAM(随時書き込み読み出しメモ
リ)、 21……クロック発生手段、 22……制御手段、 23a,23b,23c,24a,24b,24c,25a,25b,26a,26b及び39……
D型フリップフロップ回路(DFF)、 27,28,31,32……セレクタ、 29,30……ランダムアクセスメモリ部 (RAM#1,RAM#2)、 33……クロック発生回路、 34……制御回路、 35,36……プリデコーダ、 37……パリティ発生回路、 38……パリティ検出回路、 fc……クリア信号、 CLK……クロック信号、 C1〜C4……制御信号、 ▲▼,▲▼……ライトイネーブル信号、 RA……ランダムアドレス、 SA……シーケンシャルアドレス、 A(#1),A(#2)……ランダム又はシーケンシャル
アドレス、 D(#1),D(#2)……読み出しデータ、 Dout,dout……読出し出力データ、 dout′……補助読出し出力データ。
FIG. 1 is a configuration diagram of a semiconductor memory device according to an embodiment of the present invention, FIG. 2 is a time chart explaining an operation according to the embodiment of the present invention, and FIG. 3 is an explanatory diagram according to a conventional example. is there. (Description of symbols) 1 ... Time switch memory (semiconductor memory device), 2 ... Multiplexer, 31 to 3n ... A / D converter, 4 ... Demultiplexer, 5,6 ... Transmission line, S 1 to Sn ... Analog audio signal, 11,23,12,24,13,25, and 26,14 ... Latch means of the first, second, third and fourth, 15,16,19 ... First, second and third Selection means, 17,18 ... first and second RAMs (random write / read memories), 21 ... clock generation means, 22 ... control means, 23a, 23b, 23c, 24a, 24b, 24c, 25a, 25b , 26a, 26b and 39 ……
D-type flip-flop circuit (DFF), 27,28,31,32 ... Selector, 29,30 ... Random access memory block (RAM # 1, RAM # 2), 33 ... Clock generation circuit, 34 ... Control Circuit, 35,36 …… Predecoder, 37 …… Parity generation circuit, 38 …… Parity detection circuit, fc …… Clear signal, CLK …… Clock signal, C 1 to C 4 … Control signal, ▲ ▼, ▲ ▼ …… Write enable signal, RA …… Random address, SA …… Sequential address, A (# 1), A (# 2) …… Random or sequential address, D (# 1), D (# 2) …… Read data, Dout, dout …… Read output data, dout´ …… Auxiliary read output data.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】書込みデータ、第1のアドレス、第2のア
ドレスをクロック信号に同期してラッチする第1のラッ
チ手段と、 該第2のラッチ手段の出力を該クロック信号に同期して
ラッチする第2のラッチ手段と、 該第2のラッチ手段から出力される書込みデータ及び第
1のアドレスが与えられる第1のメモリ部と、 該第2のラッチ手段から出力される書込みデータ及び第
2のアドレスが与えられる第2のメモリ部と、 該第1及び第2のメモリ部から出力されるデータを前記
クロック信号に同期してラッチする第3のラッチ手段
と、 該第3のラッチ手段の出力を前記クロック信号に同期し
てラッチする第4のラッチ手段と、 前記第1のメモリ部又は第2のメモリ部の一方に対して
ライトイネーブル信号を出力して書込み状態とし、他方
を読出し状態とする制御手段とを具備することを特徴と
する半導体装置。
1. A first latch means for latching write data, a first address, and a second address in synchronization with a clock signal, and an output of the second latch means for latching in synchronization with the clock signal. Second latch means, a first memory section to which write data and a first address output from the second latch means are given, and write data and a second output from the second latch means. Of the third latch means for latching the data output from the first and second memory parts in synchronization with the clock signal, Fourth latch means for latching an output in synchronization with the clock signal, and a write enable signal for outputting a write enable signal to one of the first memory section or the second memory section to read the other. The semiconductor device characterized by comprising a control means for the to state.
【請求項2】前記第1のラッチ手段は、前記書込みデー
タをラッチする第1とラッチ回路と、 前記第1のアドレスをラッチする第2のラッチ回路と、 前記クロック信号を計数して第2のアドレスを発生し、
所定期間保持するカウンタを含むことを特徴とする特許
請求の範囲第1項に記載の半導体記憶装置。
2. The first latch means includes a first latch circuit for latching the write data, a second latch circuit for latching the first address, and a second latch circuit for counting the clock signal. Generate the address of
The semiconductor memory device according to claim 1, further comprising a counter that holds a predetermined period.
JP21751087A 1987-08-31 1987-08-31 Semiconductor memory device Expired - Fee Related JPH0712234B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21751087A JPH0712234B2 (en) 1987-08-31 1987-08-31 Semiconductor memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21751087A JPH0712234B2 (en) 1987-08-31 1987-08-31 Semiconductor memory device

Publications (2)

Publication Number Publication Date
JPS6460189A JPS6460189A (en) 1989-03-07
JPH0712234B2 true JPH0712234B2 (en) 1995-02-08

Family

ID=16705362

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21751087A Expired - Fee Related JPH0712234B2 (en) 1987-08-31 1987-08-31 Semiconductor memory device

Country Status (1)

Country Link
JP (1) JPH0712234B2 (en)

Also Published As

Publication number Publication date
JPS6460189A (en) 1989-03-07

Similar Documents

Publication Publication Date Title
US4771420A (en) Time slot interchange digital switched matrix
US4901308A (en) Digital bridge for a time slot interchange digital switched matrix
US3984643A (en) Method and apparatus for establishing a plurality of simultaneous conferences in a PCM switching system
US4564926A (en) Information memory device with address multiplexing
US4512012A (en) Time-switch circuit
US4825433A (en) Digital bridge for a time slot interchange digital switched matrix
US4571723A (en) Pulse code modulated digital telephony tone generator
JPH0712234B2 (en) Semiconductor memory device
US6438719B1 (en) Memory supervision
JPH0828913B2 (en) Time multiplex switch
RU2180992C2 (en) Single-bit resolution switch
US20040203723A1 (en) Apparatus and method for memory sharing between interleaver and deinterleaver in a turbo decoder
JP3034548B2 (en) Time switch
JP2921286B2 (en) Digital tone generation circuit
US4081610A (en) Fast access antiphase control memory for digital data switches
JPH0783513B2 (en) Semiconductor memory device
JP2508861B2 (en) Word multi-time switch
JP2623519B2 (en) Time switch circuit
KR930007193Y1 (en) Voice decoder
JP3188287B2 (en) Service tone generation method
JP2996601B2 (en) Shared circuit of elastic store circuit and time switch circuit
KR19990036939A (en) Time-Multiple Switches Operate as Single- and Double-Buffered Types
KR950001834B1 (en) Memory device storing coded acoustic data
US20020129219A1 (en) Method and device for sequential readout of a memory with address jump
JPS6219120B2 (en)

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees