JP4021566B2 - Data memory device and data memory control method - Google Patents
Data memory device and data memory control method Download PDFInfo
- Publication number
- JP4021566B2 JP4021566B2 JP22856198A JP22856198A JP4021566B2 JP 4021566 B2 JP4021566 B2 JP 4021566B2 JP 22856198 A JP22856198 A JP 22856198A JP 22856198 A JP22856198 A JP 22856198A JP 4021566 B2 JP4021566 B2 JP 4021566B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- parallel
- input
- port memory
- phase difference
- 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
Links
Images
Landscapes
- Use Of Switch Circuits For Exchanges And Methods Of Control Of Multiplex Exchanges (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、データメモリ装置及びデータメモリ制御方法に係り、特に、シングルポートメモリを用いて安価に構成したデータメモリ装置及びデータメモリ制御方法に関する。
【0002】
【従来の技術】
一般に、交換機及び伝送装置においては、大容量の主信号バッファが必要な機能部があり、このような機能部を安価に構成することが要求されている。たとえば、無瞬断切替機能において、例えば600kmの伝送路長差を吸収する場合、最低でも26フレーム分の主信号バッファが必要である。ここで、バーチャルコンテナ−3(Virtual Container −3、VC−3)信号の場合、1フレームは783バイト(87バイト×9行)で構成される。従来は、このような大容量バッファは、デュアルポートRAM( Dual Port Random Access Memory、DPRAM)で構成するのが一般的であった。
【0003】
図19に、従来のDPRAMを使用した主信号バッファの構成図を示す。
【0004】
従来の主信号バッファは、DPRAM101、書込み側フレームカウンタ102、書込み側アドレス制御部103、読出し側フレームカウンタ104、読出し側アドレス制御部105を備える。主信号バッファに入力されたデータは、書込み側フレームカウンタ102によるカウンタ値に基づき、書込み側アドレス制御部103により指定されたアドレスで、DPRAM101に書込まれる。一方、DPRAM101に記憶されたデータは、読出し側フレームカウンタ105によるカウンタ値に基づき、読出し側アドレス制御部104により指定されたアドレスで、DPRAM101から読出される。
【0005】
以上のように、従来においては、大容量の主信号バッファはDPRAMを用いて構成されており、これは、主に以下のような理由によるものであった。すなわち、
・書込み側アドレス制御部103及び読出し側アドレス制御部105により、DPRAM101への書込みアドレスと読出しアドレスを独立に制御可能なので、アドレス制御のための回路構成が容易であること、また、
・データのスループットが同じであれば、書込み側のクロック周波数と読出し側のクロック周波数が異なっていても問題は無いこと、
である。
【0006】
【発明が解決しようとする課題】
以上のように、従来は、大容量の主信号バッファは、DPRAMで構成するのが一般的であったため、非常に高価なものであった。本発明では、以上の点に鑑み、安価なシングルポートRAM( Single Port RAM、SPRAM)を使用して、大容量の主信号データバッファを安価に構成することを目的とする。
【0007】
また、本発明は、入力されたデータ群を並列分離した前後において、それらの位相差が過度にならないように分離後のデータを出力することを目的とする。
【0008】
【課題を解決するための手段】
本発明では、SPRAMを使用することにより、安価な大容量の主信号バッファ部を構成する。SPRAMは、データの書込みと読出しを同一ポートで行うために、書込みと読出しを同時に行うことはできない。そこで、本発明では、書込みと読出しを交互に行うことでSPRAMによる主信号バッファを実現した。
【0009】
本発明の第1の解決手段によると、
入力されたデータ群を並列データに分離する並列分離回路と、
前記データ群の先頭位置を示すポインタを検出するポインタ検出回路と、
前記並列データを各々等しいアドレスに並列に記憶するシングルポートメモリと、
前記並列データを、前記シングルポートメモリに入力するための書込み側ゲートと、
前記シングルポートメモリに記憶された前記並列データを読出すための読出し側ゲートと、
前記読出し側ゲートから出力された前記並列データをシリアルデータに多重する多重回路と、
前記並列分離回路、前記シングルポートメモリ、前記書込み側ゲート、前記読出し側ゲート及び前記多重回路を制御するアドレス制御部を備え、
前記アドレス制御部は、
前記並列分離回路により、前記データ群に含まれる奇数個のデータに少なくともひとつの空きビット又は他のデータを加えて、偶数個のデータとして前記並列データに分離する制御と、
前記書込み側ゲートをオン状態にするとともに、前記並列データを、前記ポインタ検出回路により検出されたポインタに従い、前記データ群の先頭位置から前記シングルポートメモリに並列に書込む制御と、
前記読出し側ゲートをオン状態にするとともに、前記並列データを、前記シングルポートメモリから読出す制御と、
前記多重回路により、前記シングルポートメモリから読出された前記並列データを多重して出力するように制御
を行うデータメモリ装置を提供する。
【0010】
本発明の第2の解決手段によると、
入力されたデータ群をシングルポートメモリにより入出力するためのデータメモリ制御方法であって、
前記データ群に含まれる奇数個のデータに少なくともひとつの空きビット又は他のデータを加えて、並列データに分離する機能と、
前記データ群の先頭位置を示すポインタを検出する機能と、
前記書込み側ゲートをオン状態にするとともに、前記並列データを、前記ポインタ検出回路により検出されたポインタに従い、前記データ群の先頭位置から前記並列データを各々等しいアドレスで前記シングルポートメモリに並列に記憶する書込む機能と、
前記読出し側ゲートをオン状態にするとともに、前記並列データを、前記シングルポートメモリから読出す機能と、
前記シングルポートから読出された前記並列データをシリアルデータに多重して出力する機能
を備えたデータメモリ制御方法を提供する。
【0011】
【発明の実施の形態】
図1に、本発明に係るデータメモリ装置の概略構成図を示す。また、図2に、本発明に係るデータメモリ装置のタイムチャートを示す。図示のデータメモリ装置は、一例として主信号バッファを示す。
【0012】
本発明に係る主信号バッファは、SPRAM1、アドレス制御部2、書込み側ゲート3、読出し側ゲート4を備える。データ入力の際は、アドレス制御部2は、書込み側ゲート3をデータ入力イネーブル(/DiEN)によりオン状態にする(ここで、「/」は、反転を表す。以下同様。)と共に、SPRAM1をライトイネーブル(/WE)により書込み可能とし、アドレス指定(A)によりアドレスを指示する。そして、主信号バッファに入力されたデータは、書込み側ゲート3を経て、SPRAM1のデータ入出力(D)に入力される。一方、データ読出しの際は、アドレス制御部2は、読出し側ゲート4をデータ出力イネーブル(/DoEN)によりオン状態にすると共に、SPRAM1をアウトプットイネーブル(/OE)により読出し可能とし、A端子によりアドレスを指示する。そして、SPRAM1に記憶されたデータは、D端子から読出し側ゲート4を経て出力される。なお、出力端子には、出力回路5を適宜設けて、出力タイミングを調整することができる。
【0013】
図2には、一例として、入力データ(DATA in)が、Di(1)〜Di(4)として入力された場合の、出力データ(DATA out)が、Do(1)〜Do(4)として出力される場合のタイミングチャートが示される。入出力データの書込み・読出し速度の2倍の速度で、SPRAM1の制御、即ち、/DiEN、/DoEN、A、/WE、/OE及びD等の各端子による制御が実行されている。
【0014】
本発明ではデータの書込みと読出しを交互に行うため、DPRAM方式と比較して単純に2倍のアクセス速度が要求される。従って、本発明の実現のためには、例えば、以下のような方式を用いることができる。すなわち、
(a)DPRAM方式の2倍の速度で、SPRAMをアクセスする方式、又は、
(b)SPRAMへの書込みデータを2並列展開することにより、SPRAMへのアクセス速度をDPRAM方式と同等にする方式、
である。
【0015】
メモリ制御回路を実現するデバイスの速度が十分であれば、(a)方式を採用することができる。ただし、一般には、SPRAMの制御信号は、アクセス周期の1/4周期程度の分解能が必要である。従って、(a)方式では、アクセス速度の4倍のクロックスピードで動作するデバイスが要求されることになる。
【0016】
しかしながら、デバイス能力的に(a)方式が困難な場合には、(b)方式で構成することができる。図3に、本発明に係るデータメモリ装置の構成図を示す。図3には、一例として、(b)方式の主信号バッファ構成、即ち、SPRAMへの書込みデータを2並列展開した主信号バッファの構成図を示す。
【0017】
本発明に係る主信号バッファは、SPRAM11、アドレス制御部12、書込み側ゲート13、読出し側ゲート14、書込み側フレームカウンタ15、読出し側フレームカウンタ16、ポインタ検出回路17、2並列分離回路18及び2多重回路19を備える。
【0018】
アドレス制御部12は、データ入力の際には、書込み側フレームカウンタ15のカウント値に基づき、書込み側ゲート3をデータ入力イネーブル(/DiEN)によりオン状態にすると共に、SPRAM11をライトイネーブル(/WE)により書込み可能とし、アドレス指定(A)によりアドレスを指示する。そして、主信号バッファに入力されたデータは、書込み側ゲート13を経て、SPRAM11のデータ入出力(D)に入力される。一方、アドレス制御部12は、データ読出しの際には、読出し側フレームカウンタ16のカウント値に基づき、読出し側ゲート14をデータ出力イネーブル(/DoEN)によりオン状態にすると共に、SPRAM11をアウトプットイネーブル(/OE)により読出し可能とし、アドレス指定(A)によりアドレスを指示する。そして、SPRAM11に記憶されたデータは、データ入出力(D)から読出し側ゲート4を経て出力される。
【0019】
ポインタ検出回路17は、書込み側フレームカウンタ15の値から、入力されたデータ群の先頭位置を示すポインタを検出し、アドレス制御部12に通知する。2並列分離回路18は、アドレス制御部12の制御により、例えば8パラレルの入力を16パラレルの出力に変換し、入力データを2並列データに分離する。また、2並列分離回路18は、パリティライン演算回路を備えることもでき、その場合、SPRAM11の空きビット位置にパリティーを挿入することができる。2多重回路19は、アドレス制御部12の制御により、読出し側ゲート14から出力された並列データをシリアルデータに多重するとともに、出力するタイミングを調整する。2多重回路19は、バッファメモリを備え、例えば、位相変動に対応して位相をそろえるバッファとしての機能と、アドレス制御部12からの制御により空きビット又はパリティーをスキップして出力する機能を有する。
【0020】
さらに、アドレス制御部12は、2並列分離回路18により、データ群に含まれる奇数個のデータに少なくともひとつの空きビット又は他のデータを加えて、2並列データに分離する制御をする。また、書込み側ゲート13をオン状態にするとともに、並列データを、ポインタ検出回路17により検出されたデータ群の先頭位置から、シングルポートメモリ11に書込む制御をする。一方、読出し側ゲート14をオン状態にするとともに、並列データを、シングルポートメモリ11から読出す制御をする。
【0021】
つぎに、このような(b)方式を、シンクロナス・ディジタル・ハイアラーキ(Synchronous Digital Hierarchy,SDH)フォーマットにおけるVC−3/4信号バッファに適用した例を説明する。まず、図4に、SDHフォーマットの説明図を示す。この図は、一例として、155.52Mbit/secインターフェースの、シンクロナス・トランスポート・モジュール−1(Synchronous Transport Module Level -1、STM−1)にVC−3が3多重されているフレーム構造を示している。
【0022】
STM−1において、ポインタが含まれるセクションオーバーヘッド(Section Over Head,SOH)は、9バイト×9行の構成となり、また、ペイロードは、261バイト×9行の構成となる。VC−3においては、パスオーバーヘッド(Path Over Head, POH)は1バイト×9行、また、ペイロードは、86バイト×9行の構成となる。従って、1フレームのVC−3には、#J1、#2〜#783のデータが含まれる。
【0023】
この実施の形態では、主信号バッファは、一例として、VC−3信号のみを通過させるものなので、SPRAMに書込む範囲はVC−3のみである。しかし、VC−3は783バイトと奇数なので、2並列展開時においてフレーム毎にタイミングずれを生じることになるため、上述の(b)方式のような2並列展開方式にはそのままでは適合しにくい。そこで、本発明では、空きビット又は他のデータ(パリティ等)を挿入することにより、偶数個のデータとした。
【0024】
以下、STM−1フレーム中のあるひとつのVC−3に着目して実施の形態を説明する。
【0025】
図5に、SPRAMの記憶領域の説明図を示す。
【0026】
SPRAM11は、並列データを各々等しいアドレスに並列して記憶する。図示のように、この例では、8ビットの入力データ#J1及び#2が、16ビットのアドレス0の位置に記憶される。以下同様に、順次記憶され、1フレームの最終データ#783が記憶されるアドレスでは、前の8ビットが#783のデータ、後ろの8ビットは、空きビットとするか又はパリティビットが挿入される。このパリティビットとしては、例えばBIP−8(Bit Interleaved Parity 8)等がある。
【0027】
また、SOHを入出力するタイミング(SOHタイミング)は、メモリへの書込み読出しはしないので、本発明では、このSOHタイミングを利用してペイロードのタイミングずれを吸収することができるようにした。さらに、SDHフレームにおいては、ジャスティフィケーションによりSTM−0ペイロードのデータ数が782または784バイトになる場合がある。よって、本発明では、このデータ数の吸収も、SOHタイミングを利用して行うことができるようにした。
【0028】
図6に、ジャスティフィケーション時の書込み及び読出し範囲の説明図を示す。図6(a)には、ポジティブ・ジャスティフィケーション(Positive Justification, PJ)のときの書込み範囲を示す。この場合、ポインタが図示のように、ペイロードへ割り込みようになる。一方、図6(b)には、ネガティブ・ジャスティフィケーション(Negative Justification, NJ)のときの書込み範囲を示す。この場合、ポインタが、逆にペイロードから割り込まれるようになる。
【0029】
つぎに、本発明のおける2並列展開部のタイムチャートについて説明する。本発明においては、主にアドレス制御部12により、あるフレームと次のフレームとの境界で、即ちSOHタイミングをまたぐ際に、2並列展開前のデータ位相と展開後のデータ位相を監視して、位相が接近したら離れ、位相が離れたら接近させるように制御することで、2並列展開前と展開後のデータ位相をある一定範囲におさめるようにしている。
【0030】
まず、図7〜図9に、VC−3の境界における2並列展開部のタイムチャートを示す。
【0031】
図7には、2並列展開前後の位相差が3バイトの場合を示す。図中「2並列展開前入力データ」は、主信号バッファに入力されるデータを示す。ここでは、VC−3のフレーム境界に関して、前のフレームの入力データ#783までと、次のフレームの入力データ#J1からの各データが入力されたことが示される。図中「2並列データ」は、図3中のアドレス制御部12に従い、2並列分離回路18により2並列に分離されたデータを示し、同時に、SPRAM11の書込み及び読出しデータを示す。ここでは、入力データ#779及び#780が2並列となっており、同様に、#781及び#782、#783及びBIP−8が2並列となる。BIP−8は、空きバイトでも良い。BIP−8又は空きバイトにより、次のフレームの先頭データ#J1及び#2が2並列にそろえられる。このとき、入力データ#779は、3バイトの位相差でSPRAM11に書込まれ、その位置に入力データ#780も書込まれる。また、次のフレームの入力データ#J1は、BIP−8又は空きバイトが挿入された分だけ遅れて、6バイトの位相差でSPRAM11に書込まれ、また、その位置に入力データ#2も書込まれる。アドレス制御部12に従い、図中「2並列データ」に示されたような同様のタイミング及び位相差で読出しも行われる。この際、書込み及び読出しのタイミングは、図2のタイムチャートに示されたように実行することができる。
【0032】
つぎに、図中「2分離後出力データ」は、SPRAM11から出力されたデータを、アドレス制御部12に従い2多重回路19により多重した後のデータを示す。この例では、SPRAM11から読出されたデータ#779は、2多重回路19により、12バイトの位相差で出力される。また、先程挿入されたBIP−8又は空きバイトは、2多重回路19により除かれる。データ#J1は、9バイトの位相差で出力される。
【0033】
図8には、2並列展開前後の位相差が6バイトの場合を示す。このとき、「2並列データ」としては、入力データ#781が、6バイトの位相差でSPRAM11に書込まれ、その位置に入力データ#782も書込まれる。また、次のフレームの入力データ#J1は、3バイト遅れて9バイトの位相差でSPRAM11に書込まれ、その位置に入力データ#2も書込まれる。なお、同様のタイミング及び位相差で読出しも行われる。つぎに、「2分離後出力データ」としては、SPRAM11から読出されたデータ#781は、2多重回路19により、9バイトの位相差で出力される。また、データ#J1は、6バイトの位相差で出力される。
【0034】
図9には、2並列展開前後の位相差が9バイトの場合を示す。このとき、「2並列データ」としては、入力データ#779が、9バイトの位相差でSPRAM11に書込まれ、その位置に入力データ#782も書込まれる。また、次のフレームの入力データ#J1は、12バイトの位相差でSPRAM11に書込まれ、その位置に入力データ#2書込まれる。同様のタイミング及び位相差で読出しも行われる。つぎに、「2分離後出力データ」としては、SPRAM11から読出されたデータ#779は、2多重回路19により、6バイトの位相差で出力される。また、データ#J1は、3バイトの位相差で出力される。
【0035】
このような方式においては、BIP−8又は空きバイトにより、2並列分離の前後での位相差が増加する場合がある。すなわち、上述の例では、前のフレームでは、3、6、9バイトの位相差であったものが、次のフレームでは、それぞれ3バイト加算され、6、9、12バイトの位相差となった。この例では、この遅延量は、さらに以後のフレームで累積されていくことがある。そこで、SOHタイミングを利用して、所定以上に遅延量が加算されず、累積されないようにした他の実施の形態を、以下に説明する。
【0036】
図10〜図12に、SOHタイミングにおける2並列展開のタイムチャートを示す。
【0037】
図10には、2並列展開前後の位相差が6バイトの場合を示す。図中「2並列展開前入力データ」は、主信号バッファに入力されるデータを示す。ここでは、フレーム#6と#7の間にSOHが入力される場合を示す(斜線部分参照)。また、SOHに関しては、ここでは一例として、入力主信号データは自装置中の装置内位相にポインタ変換した後に処理されることとし、2並列分離回路18の前後で入出力データのタイミング位置が固定されるものとする。
【0038】
「2並列データ」については、ここでは、入力データ#J1及び#3は、3バイトの位相差でSPRAM11に書込まれ、それぞれの位置に入力データ#2及び#4も書込まれる。SOHが入力されると、アドレス制御部12は、書込みフレームカウンタ15によりそれを認識する。アドレス制御部12は、2並列分離回路18の前後の位相差を監視し、9バイトより少ないので、SOHを3バイト分そのまま出力する。ここで、SOHは3バイトなので、書込みを1バイト休むこと又は1バイトの他のデータを挿入すること等により、4バイト分をSPRAM11に書込む。なお、アドレス制御部12は、この差が9バイト以上の場合は、後述のように、SOHを削除する処理を行う。また、ここでは、SOHタイミングが固定されるので、入力データ#3及び#4の後に、SOHが書込まれ、その後入力データ#5及び#6以降が、順次書込まれることになる。SOH入力後の入力データ#7は、9バイトの位相差でSPRAM11に書込まれ、その位置に入力データ#8も書込まれる。アドレス制御部12に従い、同様のタイミング及び位相差で読出しも行われる。
【0039】
つぎに、「2分離後出力データ」としては、SPRAM11から読出されたデータ#J1は、2多重回路19から9バイトの位相差で出力される。つぎに、SOHは、挿入された空きバイト又はBIP−8が破棄され、固定されたSOHタイミングで元の3バイト分が出力される。データ#2以降は、SOHの位置が固定されているため、その後に順次出力される。SOHの後に書込み/読出された入力データ#5は、6バイトの位相差で出力される。
【0040】
つぎに、図11には、2並列展開前後の位相差が9バイトの場合を示す。
【0041】
このとき、「2並列データ」としては、入力データ#3が、9バイトの位相差でSPRAM11に書込まれる。また、SOHは、固定位置に書込まれるが、アドレス制御部12は、2並列分離回路18により、2並列データが9バイトの位相差でSPRAM11に書込まれたことを認識し、位相差が過大になるのを防止するため、SOHを1バイト分読み捨てる処理を行う。ここで、VC−3のフレーム境界で偶数にするための空きバイト又はBIP−8等の付加が行われ、既に位相差が9バイトある場合はさらに3バイト遅延する可能性がある。そのため、一例として位相差が12バイト以下になるようにするためには、2並列分離前後の位相差が既に9バイトある場合には、このようなSOHの読み捨て処理を行う。次に、入力データ#5以降を順次書込む。入力データ#9は、SOH読み捨て処理のためあまり遅延されずに済み、6バイトの位相差で書込が行われる。同様のタイミング及び位相差で読出しも行われる。
【0042】
つぎに、「2分離後出力データ」としては、SPRAM11から読出されたデータ#J1は、2多重回路19により、6バイトの位相差で出力される。また、SOHは、1バイト分適当なデータ(空きビット等)が挿入され、固定されたSOHタイミングで3バイト分が出力される。SOHより後に書込み/読出しされた入力データ#7は、9バイトの位相差で出力される。
【0043】
つぎに、図12には、2並列展開前後の位相差が12バイトの場合を示す。
【0044】
このとき、「2並列データ」としては、入力データ#J1が、12バイトの位相差でSPRAM11に書込まれ、その位置に入力データ#2も書込まれる。また、次にSOHが書込まれるわけであるが、位相差が大きいので、上述のようにSOHの読み捨てが行われる。その後入力データ#3以降が書込まれる。SOH以後に入力された入力データ#7は、9バイトの位相差でSPRAM11に書込まれる。同様のタイミング及び位相差で読出しも行われる。
【0045】
つぎに、「2分離後出力データ」としては、SPRAM11から読出されたデータ#J1は、2多重回路19により、3バイトの位相差で出力される。また、上述のように、SOHが出力される。SOHタイミング後のデータ#7は、6バイトの位相差で出力される。
【0046】
以上のようにして、SOHタイミングを利用して、2並列展開前後の位相差が過度にならないように制御することができる。
【0047】
つぎに、図6に示されたようなポインタジャスティフィケーション指示がある場合の2並列展開について説明する。図13〜図15に、NJ時における2並列展開のタイムチャートを示す。
【0048】
図13には、2並列展開前後の位相差が6バイトの場合を示す。「2並列展開前入力データ」は、主信号バッファに入力されるデータを示す。ここでは、フレーム#6と#7の間にSOHが入力される場合を示す。
【0049】
「2並列データ」については、ここでは、入力データ#J1及び#3は、3バイトの位相差でSPRAM11に書込まれ、それぞれの位置に入力データ#2及び#4も書込まれる。SOHが入力されると、アドレス制御部12は、書込みフレームカウンタ15によりそれを認識するとともに、ポインタ検出回路17によりNJ時であることを認識する。NJ時には、SOHは2バイトの偶数であるため、そのまま2並列分離されてSPRAM11に書込まれる。SOHに関しては、ここでは一例として、前述のように、2並列分離回路18の前後で入出力データのタイミング位置が固定される場合を示している。したがって、入力データ#3及び#4の後に、SOHデータが書込まれ、その後入力データ#5及び#6以降が、順次書込まれることになる。SOH入力後の入力データ#7は、6バイトの位相差でSPRAM11に書込まれ、その位置に入力データ#8も書込まれる。また、アドレス制御部12に従い、同様のタイミング及び位相差で読出しも行われる。
【0050】
つぎに、「2分離後出力データ」は、SPRAM11から出力されたSOHを2バイト分そのまま出力する。この例では、SPRAM11から読出されたデータ#J1は、2多重回路19により、9バイトの位相差で出力される。また、SOHは、2バイト分SOHタイミングで出力される。データ#5以降は、SOHの位置が固定されているため、その後に順次出力される。SOHデータの後に書込み/読出された入力データ#5は、9バイトの位相差で出力される。
【0051】
つぎに、図14には、2並列展開前後の位相差が9バイトの場合を示す。
【0052】
このとき、「2並列データ」としては、入力データ#J1が、9バイトの位相差でSPRAM11に書込まれる。また、SOHは、同様に、固定位置に書込まれるが、アドレス制御部12は、NJ時であってSOHが2バイト分であることを認識する。次に、入力データ#5以降を順次書込む。入力データ#9は、9バイトの位相差で書込まれる。また、同様のタイミング及び位相差で読出しも行われる。
【0053】
つぎに、「2分離後出力データ」としては、SPRAM11から読出されたデータ#J1は、6バイトの位相差で出力される。固定された位置でSOHの出力がされた後に、SOHの前に入力された入力データ#3及び#4が、出力される。また、SOHより後に書込み/読出しされた入力データ#7は、6バイトの位相差で出力される。
【0054】
つぎに、図15には、2並列展開前後の位相差が12バイトの場合を示す。
【0055】
このとき、同様に、「2並列データ」としては、入力データ#J1が、12バイトの位相差でSPRAM11に書込まれ、その位置に入力データ#2も書込まれる。また、次にSOHが固定位置に書込まれ、その後入力データ#3以降が書込まれる。SOH以後に入力された入力データ#7は、12バイトの位相差でSPRAM11に書込まれる。また、同様のタイミング及び位相差で読出しも行われる。
【0056】
つぎに、「2分離後出力データ」としては、SPRAM11から読出されたデータ#J1は、3バイトの位相差で出力される。また、データ#5は、3バイトの位相差で出力される。
【0057】
つぎに、図16〜図18に、PJ時における2並列展開のタイムチャートを示す。
【0058】
図16には、2並列展開前後の位相差が6バイトの場合を示す。「2並列展開前入力データ」は、主信号バッファに入力されるデータを示す。ここでは、フレーム#6と#7の間にSOHが入力される場合を示す。
【0059】
「2並列データ」については、ここでは、入力データ#J1及び#3は、6バイトの位相差でSPRAM11に書込まれ、それぞれの位置に入力データ#2及び#4も書込まれる。SOHが入力されると、アドレス制御部12は、書込みフレームカウンタ15によりそれを認識するとともに、ポインタ検出回路17によりPJ時であることを認識する。PJ時には、SOHは4バイトの偶数であるため、そのまま2並列分離されSPRAM11に書込まれる。SOHに関しては、ここでは一例として、2並列分離回路18の前後で入出力データのタイミング位置が固定される。したがって、入力データ#3及び#4の後に、SOHデータが書込まれ、その後入力データ#5及び#6以降が、順次書込まれることになる。SOH入力後の入力データ#7は、6バイトの位相差でSPRAM11に書込まれ、その位置に入力データ#8も書込まれる。また、アドレス制御部12に従い、同様のタイミング及び位相差で読出しも行われる。
【0060】
つぎに、「2分離後出力データ」は、SPRAM11から出力されたSOHを4バイト分そのまま出力する。この例では、SPRAM11から読出されたデータ#J1は、2多重回路19により、9バイトの位相差で出力される。また、SOHは、4バイト分SOHタイミングで出力される。データ#5以降は、SOHの位置が固定されているため、その後に順次出力される。ここで、SOHデータの後に書込み/読出された入力データ#5は、9バイトの位相差で出力される。
【0061】
つぎに、図17には、2並列展開前後の位相差が9バイトの場合を示す。
【0062】
このとき、「2並列データ」としては、入力データ#J1が、9バイトの位相差でSPRAM11に書込まれる。また、SOHは、同様に、固定位置に書込まれるが、アドレス制御部12は、PJ時であってSOHが4バイト分であることを認識する。次に、入力データ#5以降を順次書込む。入力データ#9は、9バイトの位相差で書込まれる。また、同様のタイミング及び位相差で読出しも行われる。
【0063】
つぎに、「2分離後出力データ」としては、SPRAM11から読出されたデータ#J1は、6バイトの位相差で出力される。固定された位置でSOHの出力がされた後に、SOHの前に入力された入力データ#3及び#4が、出力される。また、SOHより後に書込み/読出しされた入力データ#5は、6バイトの位相差で出力される。
【0064】
つぎに、図18には、2並列展開前後の位相差が12バイトの場合を示す。
【0065】
このとき、同様に、「2並列データ」としては、入力データ#J1が、12バイトの位相差でSPRAM11に書込まれ、その位置に入力データ#2も書込まれる。また、次にSOHが固定位置に4バイト分書込まれ、その後入力データ#3以降が書込まれる。SOH以後に入力された入力データ#7は、12バイトの位相差でSPRAM11に書込まれる。また、同様のタイミング及び位相差で読出しも行われる。
【0066】
つぎに、「2分離後出力データ」としては、SPRAM11から読出されたデータ#J1は、3バイトの位相差で出力される。また、SOH後のデータ#5は、3バイトの位相差で出力される。
【0067】
以上、実施の形態を説明したが、本発明は、これに限定されず、様々な改良及び変更を含むものである。たとえば、本発明は、主信号バッファに限らず、あらゆるデータメモリ装置に適用することができる。また、入力データやSPRAMの記憶領域は、それぞれ8ビットや16ビットに限らず適宜のビット数を用いることができる。並列分離については、2並列展開に限らず、複数の偶数の並列データに展開することもできる。また、VC−3、STM−0等のフレームフォーマット以外にも、様々なデータ群に応用することができる。さらに、SOHの読み捨て・削除等を行う基準として、2並列展開前後で9バイト以上の位相差としたが、これに限らず適宜所定の位相差とすることができる。
【0068】
【発明の効果】
以上のように、本発明によると、安価なSPRAMを使用して、大容量の主信号データバッファを安価に構成することができる。
【0069】
また、本発明によると、入力されたデータ群を並列分離した前後において、それらの位相差が過度にならないように分離後のデータを出力することができる。
【0070】
【図面の簡単な説明】
【図1】本発明に係るデータメモリ装置の概略構成図。
【図2】本発明に係るデータメモリ装置のタイムチャート。
【図3】本発明に係るデータメモリ装置の構成図。
【図4】SDHフォーマットの説明図。
【図5】SPRAMの記憶領域の説明図。
【図6】ジャスティフィケーション時の書込み及び読出し範囲の説明図。
【図7】VC−3の境界における2並列展開部のタイムチャート(位相差3バイト)。
【図8】VC−3の境界における2並列展開部のタイムチャート(位相差6バイト)。
【図9】VC−3の境界における2並列展開部のタイムチャート(位相差9バイト)。
【図10】SOHタイミングにおける2並列展開のタイムチャート(位相差6バイト)。
【図11】SOHタイミングにおける2並列展開のタイムチャート(位相差9バイト)。
【図12】SOHタイミングにおける2並列展開のタイムチャート(位相差12バイト)。
【図13】NJ時における2並列展開のタイムチャート(位相差6バイト)。
【図14】NJ時における2並列展開のタイムチャート(位相差9バイト)。
【図15】NJ時における2並列展開のタイムチャート(位相差12バイト)。
【図16】PJ時における2並列展開のタイムチャート(位相差6バイト)。
【図17】PJ時における2並列展開のタイムチャート(位相差9バイト)。
【図18】PJ時における2並列展開のタイムチャート(位相差12バイト)。
【図19】従来のDPRAMを使用した主信号バッファの構成図。
【符号の説明】
11 SPRAM
12 アドレス制御部
13 書込み側ゲート
14 読出し側ゲート
15 書込み側フレームカウンタ
16 読出し側フレームカウンタ
17 ポインタ検出回路
18 2並列分離回路
19 2多重回路19[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data memory device and a data memory control method, and more particularly, to a data memory device and a data memory control method configured at low cost using a single port memory.
[0002]
[Prior art]
In general, an exchange and a transmission apparatus have a function unit that requires a large-capacity main signal buffer, and it is required to configure such a function unit at low cost. For example, in the non-instantaneous switching function, when absorbing a transmission path length difference of 600 km, for example, a main signal buffer for at least 26 frames is required. Here, in the case of a virtual container-3 (VC-3) signal, one frame is composed of 783 bytes (87 bytes × 9 rows). Conventionally, such a large-capacity buffer is generally constituted by a dual port random access memory (DPRAM).
[0003]
FIG. 19 shows a configuration diagram of a main signal buffer using a conventional DPRAM.
[0004]
The conventional main signal buffer includes a DPRAM 101, a write
[0005]
As described above, conventionally, a large-capacity main signal buffer is configured using a DPRAM, and this is mainly due to the following reasons. That is,
The write address control unit 103 and the read address control unit 105 can independently control the write address and the read address to the DPRAM 101, so that the circuit configuration for address control is easy.
If the data throughput is the same, there is no problem even if the clock frequency on the writing side and the clock frequency on the reading side are different.
It is.
[0006]
[Problems to be solved by the invention]
As described above, conventionally, a large-capacity main signal buffer is generally composed of a DPRAM, and thus is very expensive. In view of the above, an object of the present invention is to construct a large-capacity main signal data buffer at low cost by using an inexpensive single port RAM (SPRAM).
[0007]
Another object of the present invention is to output the separated data so that the phase difference between them does not become excessive before and after the input data group is separated in parallel.
[0008]
[Means for Solving the Problems]
In the present invention, an inexpensive large-capacity main signal buffer unit is configured by using SPRAM. Since the SPRAM performs data writing and reading at the same port, it cannot perform writing and reading simultaneously. Therefore, in the present invention, a main signal buffer using SPRAM is realized by alternately performing writing and reading.
[0009]
According to the first solution of the present invention,
A parallel separation circuit that separates the input data group into parallel data;
A pointer detection circuit for detecting a pointer indicating a head position of the data group;
A single port memory for storing the parallel data in parallel at equal addresses,
A write side gate for inputting the parallel data to the single port memory;
A read side gate for reading the parallel data stored in the single port memory;
A multiplexing circuit that multiplexes the parallel data output from the read side gate into serial data;
An address control unit for controlling the parallel separation circuit, the single port memory, the write side gate, the read side gate, and the multiplexing circuit;
The address control unit
A control for adding at least one empty bit or other data to an odd number of data included in the data group by the parallel separation circuit and separating the parallel data as an even number of data;
The write side gate is turned on, and the parallel data is written in parallel to the single port memory from the start position of the data group according to the pointer detected by the pointer detection circuit;
The read side gate is turned on, and the parallel data is read from the single port memory; and
Control to multiplex and output the parallel data read from the single port memory by the multiplexing circuit
A data memory device is provided.
[0010]
According to the second solution of the present invention,
A data memory control method for inputting / outputting an input data group by a single port memory,
A function of adding at least one vacant bit or other data to an odd number of data included in the data group and separating it into parallel data;
A function of detecting a pointer indicating the head position of the data group;
The write side gate is turned on, and the parallel data is stored in parallel in the single port memory at the same address from the start position of the data group according to the pointer detected by the pointer detection circuit. The ability to write,
A function of turning on the read side gate and reading the parallel data from the single port memory;
A function of multiplexing and outputting the parallel data read from the single port to serial data
A data memory control method is provided.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 shows a schematic configuration diagram of a data memory device according to the present invention. FIG. 2 shows a time chart of the data memory device according to the present invention. The illustrated data memory device shows a main signal buffer as an example.
[0012]
The main signal buffer according to the present invention includes an
[0013]
In FIG. 2, as an example, when input data (DATA in) is input as Di (1) to Di (4), output data (DATA out) is expressed as Do (1) to Do (4). A timing chart when output is shown. Control of the
[0014]
In the present invention, since data writing and reading are alternately performed, an access speed that is twice as high as that of the DPRAM system is required. Therefore, for example, the following method can be used for realizing the present invention. That is,
(A) A method of accessing the SPRAM at twice the speed of the DPRAM method, or
(B) A method of making the access speed to the SPRAM equal to that of the DPRAM method by developing two parallel write data to the SPRAM.
It is.
[0015]
If the speed of the device for realizing the memory control circuit is sufficient, the method (a) can be adopted. In general, however, the SPRAM control signal needs to have a resolution of about 1/4 of the access period. Therefore, the method (a) requires a device that operates at a clock speed four times the access speed.
[0016]
However, when the (a) method is difficult in terms of device capability, the (b) method can be used. FIG. 3 shows a configuration diagram of a data memory device according to the present invention. FIG. 3 shows, as an example, a main signal buffer configuration of (b) system, that is, a configuration diagram of a main signal buffer in which two write data to SPRAM are developed in parallel.
[0017]
The main signal buffer according to the present invention includes an
[0018]
At the time of data input, the
[0019]
The
[0020]
Further, the
[0021]
Next, an example will be described in which such a method (b) is applied to a VC-3 / 4 signal buffer in the Synchronous Digital Hierarchy (SDH) format. First, FIG. 4 shows an explanatory diagram of the SDH format. This figure shows, as an example, a frame structure in which three VC-3s are multiplexed on a synchronous transport module level-1 (STM-1) of a 155.52 Mbit / sec interface. ing.
[0022]
In STM-1, the section overhead including the pointer (Section Over Head, SOH) has a configuration of 9 bytes × 9 rows, and the payload has a configuration of 261 bytes × 9 rows. In VC-3, the path overhead (Path Over Head, POH) is 1 byte × 9 lines, and the payload is 86 bytes × 9 lines. Accordingly, one frame of VC-3 includes data # J1, # 2 to # 783.
[0023]
In this embodiment, as an example, the main signal buffer allows only the VC-3 signal to pass through, so that the range to be written into the SPRAM is only VC-3. However, since VC-3 is an odd number of 783 bytes, a timing shift occurs for each frame in the 2-parallel expansion, and thus it is difficult to adapt to the 2-parallel expansion system as described above (b). Therefore, in the present invention, an even number of data is obtained by inserting empty bits or other data (parity or the like).
[0024]
Hereinafter, the embodiment will be described focusing on one VC-3 in the STM-1 frame.
[0025]
FIG. 5 is an explanatory diagram of the storage area of the SPRAM.
[0026]
The
[0027]
In addition, since the SOH input / output timing (SOH timing) is not written to and read from the memory, the present invention makes it possible to absorb the timing difference of the payload by using this SOH timing. Further, in the SDH frame, the number of data in the STM-0 payload may be 782 or 784 bytes due to justification. Therefore, in the present invention, the absorption of this number of data can be performed using the SOH timing.
[0028]
FIG. 6 is an explanatory diagram of the write and read ranges during justification. FIG. 6A shows a writing range in the case of positive justification (PJ). In this case, the pointer interrupts the payload as shown. On the other hand, FIG. 6B shows a writing range in the case of negative justification (NJ). In this case, the pointer is interrupted from the payload.
[0029]
Next, a time chart of the two parallel development units in the present invention will be described. In the present invention, the
[0030]
First, FIGS. 7 to 9 show time charts of the two parallel development units at the boundary of VC-3.
[0031]
FIG. 7 shows a case where the phase difference before and after the two parallel developments is 3 bytes. In the figure, “input data before two parallel development” indicates data input to the main signal buffer. Here, with respect to the frame boundary of VC-3, it is indicated that the data up to the
[0032]
Next, “output data after two separations” in the figure indicates data after the data output from the
[0033]
FIG. 8 shows a case where the phase difference before and after the two parallel developments is 6 bytes. At this time, as “2 parallel data”, the
[0034]
FIG. 9 shows a case where the phase difference before and after the two parallel developments is 9 bytes. At this time, as “2 parallel data”, the
[0035]
In such a system, the phase difference before and after the two parallel separations may increase due to BIP-8 or empty bytes. That is, in the above example, the phase difference of 3, 6, 9 bytes in the previous frame was added to 3 bytes in the next frame, resulting in a phase difference of 6, 9, 12 bytes. . In this example, this delay amount may be accumulated in subsequent frames. Therefore, another embodiment in which the delay amount is not added and accumulated by using SOH timing will be described below.
[0036]
10 to 12 show time charts of 2-parallel development at the SOH timing.
[0037]
FIG. 10 shows a case where the phase difference before and after the two parallel developments is 6 bytes. In the figure, “input data before two parallel development” indicates data input to the main signal buffer. Here, a case where SOH is input between
[0038]
As for “2 parallel data”, here, the input data # J1 and # 3 are written into the
[0039]
Next, as “output data after 2 separation”, the data # J1 read from the
[0040]
Next, FIG. 11 shows a case where the phase difference before and after the two parallel developments is 9 bytes.
[0041]
At this time, as “2 parallel data”, the
[0042]
Next, as “output data after 2 separation”, the data # J1 read from the
[0043]
Next, FIG. 12 shows a case where the phase difference before and after the two parallel developments is 12 bytes.
[0044]
At this time, as “2 parallel data”, the input data # J1 is written into the
[0045]
Next, as “output data after 2 separation”, the data # J1 read from the
[0046]
As described above, the SOH timing can be used to control the phase difference before and after the two parallel developments from becoming excessive.
[0047]
Next, two parallel developments when there is a pointer justification instruction as shown in FIG. 6 will be described. 13 to 15 show time charts of 2-parallel development at NJ.
[0048]
FIG. 13 shows a case where the phase difference before and after the two parallel developments is 6 bytes. “Input data before 2-parallel expansion” indicates data input to the main signal buffer. Here, a case where SOH is input between
[0049]
As for “2 parallel data”, here, the input data # J1 and # 3 are written into the
[0050]
Next, “output data after two separations” outputs the SOH output from the
[0051]
Next, FIG. 14 shows a case where the phase difference before and after the two parallel developments is 9 bytes.
[0052]
At this time, as “2 parallel data”, the input data # J1 is written in the
[0053]
Next, as “output data after 2 separation”, data # J1 read from the
[0054]
Next, FIG. 15 shows a case where the phase difference before and after the two parallel developments is 12 bytes.
[0055]
At this time, similarly, as “2 parallel data”, the input data # J1 is written into the
[0056]
Next, as “output data after 2 separation”, data # J1 read from the
[0057]
Next, FIGS. 16 to 18 show time charts of 2-parallel development at the time of PJ.
[0058]
FIG. 16 shows a case where the phase difference before and after the two parallel developments is 6 bytes. “Input data before 2-parallel expansion” indicates data input to the main signal buffer. Here, a case where SOH is input between
[0059]
As for “2 parallel data”, here, the input data # J1 and # 3 are written into the
[0060]
Next, for “output data after 2 separation”, the SOH output from the
[0061]
Next, FIG. 17 shows a case where the phase difference before and after the two parallel developments is 9 bytes.
[0062]
At this time, as “2 parallel data”, the input data # J1 is written in the
[0063]
Next, as “output data after 2 separation”, data # J1 read from the
[0064]
Next, FIG. 18 shows a case where the phase difference before and after the two parallel developments is 12 bytes.
[0065]
At this time, similarly, as “2 parallel data”, the input data # J1 is written into the
[0066]
Next, as “output data after 2 separation”, data # J1 read from the
[0067]
Although the embodiment has been described above, the present invention is not limited to this, and includes various improvements and changes. For example, the present invention can be applied not only to the main signal buffer but also to any data memory device. The storage area of the input data and SPRAM is not limited to 8 bits or 16 bits, respectively, and an appropriate number of bits can be used. The parallel separation is not limited to two parallel expansions, and can be expanded to a plurality of even-numbered parallel data. In addition to the frame formats such as VC-3 and STM-0, the present invention can be applied to various data groups. Furthermore, as a reference for discarding / deleting SOH, etc., a phase difference of 9 bytes or more is obtained before and after 2-parallel development.
[0068]
【The invention's effect】
As described above, according to the present invention, a large-capacity main signal data buffer can be configured at low cost by using inexpensive SPRAM.
[0069]
Also, according to the present invention, before and after the input data group is separated in parallel, the separated data can be output so that the phase difference between them does not become excessive.
[0070]
[Brief description of the drawings]
FIG. 1 is a schematic configuration diagram of a data memory device according to the present invention.
FIG. 2 is a time chart of the data memory device according to the present invention.
FIG. 3 is a configuration diagram of a data memory device according to the present invention.
FIG. 4 is an explanatory diagram of an SDH format.
FIG. 5 is an explanatory diagram of a storage area of an SPRAM.
FIG. 6 is an explanatory diagram of a write and read range during justification.
FIG. 7 is a time chart (phase difference: 3 bytes) of two parallel expansion units at the boundary of VC-3.
FIG. 8 is a time chart (phase difference: 6 bytes) of two parallel development units at the boundary of VC-3.
FIG. 9 is a time chart of the two parallel development units at the boundary of VC-3 (phase difference: 9 bytes).
FIG. 10 is a time chart of two parallel developments at SOH timing (phase difference of 6 bytes).
FIG. 11 is a time chart of two parallel developments at SOH timing (
FIG. 12 is a time chart of two parallel developments at SOH timing (
FIG. 13 is a time chart of 2-parallel development at NJ (
FIG. 14 is a time chart of two parallel developments at NJ (
FIG. 15 is a time chart of two parallel developments during NJ (
FIG. 16 is a time chart of 2-parallel development at PJ (
FIG. 17 is a time chart of two parallel developments during PJ (
FIG. 18 is a time chart of two parallel developments during PJ (
FIG. 19 is a configuration diagram of a main signal buffer using a conventional DPRAM.
[Explanation of symbols]
11 SPRAM
12 Address control unit
13 Write side gate
14 Reading side gate
15 Write side frame counter
16 Reading side frame counter
17 Pointer detection circuit
18 2 parallel separation circuit
19 2
Claims (11)
前記データ群の先頭位置を示すポインタを検出するポインタ検出回路と、
データ入出力端子から入力される前記並列データを各々等しいアドレスに並列に記憶するシングルポートメモリと、
前記並列データを、前記シングルポートメモリの前記データ入出力端子に入力するための書込み側ゲートと、
前記シングルポートメモリに記憶された前記並列データを、前記シングルポートメモリの前記データ入出力端子から読出すための読出し側ゲートと、
前記読出し側ゲートから出力された前記並列データをシリアルデータに多重する多重回路と、
前記並列分離回路、前記シングルポートメモリ、前記書込み側ゲート、前記読出し側ゲート及び前記多重回路を制御するアドレス制御部を備え、
前記アドレス制御部は、
前記並列分離回路により、前記データ群に含まれる奇数個のデータに少なくともひとつの空きビット又は他のデータを加えて、偶数個のデータとして前記並列データに分離する制御と、
前記書込み側ゲートをオン状態にするとともに前記シングルポートメモリを書込み可能とし、前記並列データを前記シングルポートメモリの前記データ入出力端子に入力し、前記ポインタ検出回路により検出されたポインタに従い、前記データ群の先頭位置から前記シングルポートメモリに、前記並列データを各々等しいアドレスに並列に書込む制御と、
前記読出し側ゲートをオン状態にするとともに前記シングルポートメモリを読出し可能とし、指示されるアドレスに従い該アドレスの前記並列データを、前記シングルポートメモリから前記データ入出力端子を介して読出す制御と、
前記多重回路により、前記シングルポートメモリから前記データ入出力端子を介して読出された前記並列データをシリアルデータに多重して出力するように制御
を行うデータメモリ装置。A parallel separation circuit that separates the input data group into parallel data;
A pointer detection circuit for detecting a pointer indicating a head position of the data group;
A single-port memory for storing the parallel data input from the data input / output terminals in parallel at equal addresses,
A write side gate for inputting the parallel data to the data input / output terminal of the single port memory;
A read side gate for reading the parallel data stored in the single port memory from the data input / output terminal of the single port memory ;
A multiplexing circuit that multiplexes the parallel data output from the read side gate into serial data;
An address control unit for controlling the parallel separation circuit, the single port memory, the write side gate, the read side gate, and the multiplexing circuit;
The address control unit
A control for adding at least one empty bit or other data to an odd number of data included in the data group by the parallel separation circuit and separating the parallel data as an even number of data;
The write side gate is turned on and the single port memory can be written , the parallel data is input to the data input / output terminal of the single port memory, and the data is detected according to the pointer detected by the pointer detection circuit. A control for writing the parallel data in parallel to each of the same addresses from the head position of the group to the single port memory;
A control for turning on the read-side gate and enabling the single-port memory to be read, and reading the parallel data at the address from the single-port memory through the data input / output terminal in accordance with an indicated address ;
A data memory device that performs control such that the parallel data read from the single port memory via the data input / output terminal is multiplexed and output by the multiplexing circuit to serial data .
前記他のデータとして、前記パリティ演算回路により演算されたパリティを挿入することを特徴とする請求項1に記載のデータメモリ装置。The parallel separation circuit includes a parity operation circuit,
The data memory device according to claim 1, wherein a parity calculated by the parity calculation circuit is inserted as the other data.
位相変動に対応して位相をそろえる機能と、
前記アドレス制御部からの制御により、前記並列分離回路により加えられた前記空きビット又は他のデータをスキップして出力する機能
を備えたことを特徴とする請求項1又は2に記載のデータメモリ装置。The multiplexing circuit is:
A function that aligns phases in response to phase fluctuations,
3. The data memory device according to claim 1, further comprising a function of skipping and outputting the empty bits or other data added by the parallel separation circuit under the control of the address control unit. .
書込み側フレームカウンタのカウント値により、入力されたデータがオーバーヘッドであることを認識するとともに、
前記並列分離回路により、奇数個のデータを含むオーバーヘッドについて、1データ分書込みを休むこと又は他のデータを挿入することにより、偶数個のデータとして該オーバーヘッドを並列に前記シングルポートメモリに書込むことを特徴とする請求項1乃至3のいずれかに記載のデータメモリ装置。The address control unit
Based on the count value of the writing side frame counter, it is recognized that the input data is overhead,
The overhead including an odd number of data is written to the single port memory in parallel as an even number of data by resting the writing for one data or inserting other data by the parallel separation circuit. The data memory device according to claim 1, wherein the data memory device is a data memory device.
オーバーヘッドのタイミング以外のタイミングで、データ群に含まれるデータについて、前記シングルポートメモリによる書込み及び読出し、及び、前記多重回路からの出力がなされることを特徴とする請求項1乃至4のいずれかに記載のデータメモリ装置。The overhead input and output timings are fixed,
The data included in the data group is written and read by the single-port memory and output from the multiplexing circuit at a timing other than the overhead timing. A data memory device as described.
書込み側フレームカウンタのカウント値により、入力されたデータがオーバーヘッドであることを認識するとともに、
前記並列分離回路の前後の位相差を監視して、該位相差が所定バイトより少ない場合は、オーバーヘッドを並列データとして分離して、1データ分書込みを休むこと又は他のデータを挿入することにより、偶数個のデータとして前記並列分離回路から並列データを出力し、一方、該位相差が所定バイト以上の場合は、オーバーヘッドに含まれるデータを少なくともひとつ削除して偶数個のデータとして前記並列分離回路から並列データを出力することを特徴とする請求項1乃至5のいずれかに記載のデータメモリ装置。The address control unit
Based on the count value of the writing side frame counter, it is recognized that the input data is overhead,
By monitoring the phase difference before and after the parallel separation circuit, if the phase difference is less than a predetermined byte, the overhead is separated as parallel data, and writing of one data is suspended or other data is inserted The parallel separation circuit outputs parallel data from the parallel separation circuit as an even number of data. On the other hand, if the phase difference is equal to or larger than a predetermined byte, at least one of the data included in the overhead is deleted and the parallel separation circuit is obtained as an even number of data. 6. The data memory device according to claim 1, wherein parallel data is output from the data storage device.
書込み側フレームカウンタのカウント値により、入力されたデータがオーバーヘッドであることを認識するとともに、
前記ポインタ検出回路で検出されたポインタにより、前記データ群がネガティブ・ジャスティフィケーション又はポジティブ・ジャスティフィケーションであることを認識した場合、前記並列分離回路により、オーバーヘッドが偶数個のデータとして並列データに分離され、前記シングルポートメモリに書込まれることを特徴とする請求項1乃至6のいずれかに記載のデータメモリ装置。The address control unit
Based on the count value of the writing side frame counter, it is recognized that the input data is overhead,
When the pointer detected by the pointer detection circuit recognizes that the data group is negative justification or positive justification, the parallel separation circuit converts the data into parallel data as an even number of data. 7. The data memory device according to claim 1, wherein the data memory device is separated and written to the single port memory.
前記データ群に含まれる奇数個のデータに少なくともひとつの空きビット又は他のデータを加えて、偶数個のデータとして並列データに分離する機能と、
前記データ群の先頭位置を示すポインタを検出する機能と、
書込み側ゲートをオン状態にするとともにシングルポートメモリを書込み可能とし、前記並列データを前記シングルポートメモリのデータ入出力端子に入力し、検出されたポインタに従い、前記データ群の先頭位置から前記並列データを各々等しいアドレスで前記シングルポートメモリに並列に書込む機能と、
読出し側ゲートをオン状態にするとともに前記シングルポートメモリを読出し可能とし、指示されるアドレスに従い該アドレスの前記並列データを、前記シングルポートメモリから前記データ入出力端子を介して読出す機能と、
前記シングルポートメモリから、前記データ入出力端子を介して読出された前記並列データをシリアルデータに多重して出力する機能
を備えたデータメモリ制御方法。A data memory control method for inputting / outputting an input data group by a single port memory,
A function of adding at least one vacant bit or other data to an odd number of data included in the data group and separating it into parallel data as an even number of data ;
A function of detecting a pointer indicating the head position of the data group;
The write side gate is turned on and the single port memory can be written , the parallel data is input to the data input / output terminal of the single port memory, and the parallel data is started from the head position of the data group according to the detected pointer. A parallel write to the single port memory at the same address,
A function of turning on a read-side gate and enabling reading of the single-port memory, and reading the parallel data of the address from the single-port memory through the data input / output terminal according to an instructed address ;
A data memory control method comprising a function of multiplexing the parallel data read from the single port memory through the data input / output terminal and outputting the serial data.
奇数個のデータを含むオーバーヘッドに、1データ分書込みを休むこと又は他のデータを挿入することにより、偶数個のデータとして前記オーバーヘッドを並列に前記シングルポートメモリに書込むことを特徴とする請求項8に記載のデータメモリ制御方法。Based on the count value of the writing side frame counter, it is recognized that the input data is overhead,
The overhead is included in an odd number of data, and the overhead is written in parallel into the single port memory as an even number of data by resting one data write or inserting other data. 9. The data memory control method according to 8 .
並列分離の前後の位相差を監視して、該位相差が所定バイトより少ない場合は、オーバーヘッドを並列データとして分離して、1データ分書込みを休むこと又は他のデータを挿入することにより、偶数個のデータとして並列データを出力し、一方、該位相差が所定バイト以上の場合は、オーバーヘッドに含まれるデータを少なくともひとつ削除して偶数個のデータとして並列データを出力することを特徴とする請求項8又は9に記載のデータメモリ制御方法。Based on the count value of the writing side frame counter, it is recognized that the input data is overhead,
The phase difference before and after the parallel separation is monitored, and if the phase difference is less than a predetermined byte, the overhead is separated as parallel data, and the writing of one data is interrupted or another data is inserted to Parallel data is output as a plurality of pieces of data, and on the other hand, when the phase difference is equal to or greater than a predetermined byte, at least one of the data included in the overhead is deleted and the parallel data is output as an even number of pieces of data. Item 10. The data memory control method according to Item 8 or 9 .
検出されたポインタにより、前記データ群がネガティブ・ジャスティフィケーション又はポジティブ・ジャスティフィケーションであることを認識した場合には、オーバーヘッドが偶数個のデータとして並列データに分離され、前記シングルポートメモリに書込まれることを特徴とする請求項8乃至10のいずれかに記載のデータメモリ制御方法。Based on the count value of the writing side frame counter, it is recognized that the input data is overhead,
When the detected pointer recognizes that the data group is negative justification or positive justification, the overhead is separated into parallel data as an even number of data and written to the single port memory. 11. The data memory control method according to claim 8, wherein the data memory control method is performed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP22856198A JP4021566B2 (en) | 1998-07-30 | 1998-07-30 | Data memory device and data memory control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP22856198A JP4021566B2 (en) | 1998-07-30 | 1998-07-30 | Data memory device and data memory control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2000050372A JP2000050372A (en) | 2000-02-18 |
JP4021566B2 true JP4021566B2 (en) | 2007-12-12 |
Family
ID=16878306
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP22856198A Expired - Fee Related JP4021566B2 (en) | 1998-07-30 | 1998-07-30 | Data memory device and data memory control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4021566B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100594043B1 (en) | 2004-11-08 | 2006-06-30 | 삼성전자주식회사 | Input Buffer Device For de-rate matching In High Speed Turbo Decoder |
JP6361290B2 (en) | 2014-05-30 | 2018-07-25 | セイコーエプソン株式会社 | Image processing apparatus, display apparatus, and image processing method |
-
1998
- 1998-07-30 JP JP22856198A patent/JP4021566B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2000050372A (en) | 2000-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1189140B1 (en) | Synchronization control device | |
JPH02272925A (en) | Method and circuit for synchronizing frame phase by pointer conversion | |
JP2600596B2 (en) | Cross connect device | |
JP4021566B2 (en) | Data memory device and data memory control method | |
JP3185863B2 (en) | Data multiplexing method and apparatus | |
JP4428779B2 (en) | Data multiplexer | |
JP4699913B2 (en) | Non-instantaneous switching device | |
JPH08186556A (en) | Transmission signal processing circuit | |
US5331639A (en) | Method and apparatus for frame phase conversion of signal having frame structure | |
JP3067369B2 (en) | ATM communication device having cell array synchronization function | |
JP3957574B2 (en) | Segment division multiplexing apparatus and segment division multiplexing method used therefor | |
JP2834145B2 (en) | Packet phase synchronization circuit and packet phase synchronization method | |
JPH01270431A (en) | High-speed packet exchange switch | |
JP3868047B2 (en) | Buffer circuit | |
JP3009073B2 (en) | Multiplexed data separation device | |
JP3198675B2 (en) | Data rate converter | |
JP3654241B2 (en) | Phase adjustment circuit and phase adjustment method used therefor | |
JPS5833737B2 (en) | doukikahoushiki | |
JP3408634B2 (en) | Frame phase synchronization circuit | |
JPH08213986A (en) | Data conversion circuit | |
JPS63124651A (en) | Transmission data protection circuit | |
JPH11112480A (en) | Error monitoring circuit and digital transmitter | |
JPS5812780B2 (en) | Asynchronous circuit | |
JPS62266946A (en) | Multi-channel packet reception system | |
JPH04273629A (en) | Signal frame replacement circuit for time division multiplexer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20040130 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040203 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050406 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20061215 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070109 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070308 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20070925 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070927 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101005 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101005 Year of fee payment: 3 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111005 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121005 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121005 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131005 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |