JP2004341632A - Storage device and storage control system - Google Patents

Storage device and storage control system Download PDF

Info

Publication number
JP2004341632A
JP2004341632A JP2003134867A JP2003134867A JP2004341632A JP 2004341632 A JP2004341632 A JP 2004341632A JP 2003134867 A JP2003134867 A JP 2003134867A JP 2003134867 A JP2003134867 A JP 2003134867A JP 2004341632 A JP2004341632 A JP 2004341632A
Authority
JP
Japan
Prior art keywords
data
control
period
switching
storage device
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
JP2003134867A
Other languages
Japanese (ja)
Other versions
JP4381029B2 (en
Inventor
Taiji Tani
泰司 谷
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.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2003134867A priority Critical patent/JP4381029B2/en
Publication of JP2004341632A publication Critical patent/JP2004341632A/en
Application granted granted Critical
Publication of JP4381029B2 publication Critical patent/JP4381029B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a storage device that can reduce the number of terminals on the storage device for capturing external control signals and the number of control signal lines for connecting the storage device and an external device. <P>SOLUTION: The storage device 10 comprises a storage part 16 for storing data; and captures an external control signal for data reading and writing and, according to the control signal, writes data into the storage part 16 and reads out data stored in the storage part 16. There is a single control signal line 15 for capturing the control signal. The control signal triggers data writing and reading in two states of a binary signal. A pull-down resistor 21 is provided to input given logic into the storage part 16 and hold data written into the storage part 16 while data input/output terminals 13 are in a high impedance state. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は記憶装置及び記憶制御システムに関し、より詳細にはデータの書き込みと読み出しとを行うことのできる記憶装置及び記憶制御システムに関する。
【0002】
【従来の技術】
図18は、従来の記憶制御システムの要部を概略的に示したブロック図である。記憶制御システム100は、記憶装置110と外部装置120とを含んで構成されており、記憶装置110と外部装置120は、リード信号線101とライト信号線102とN本のデータ線103とを介して接続されている。外部装置120は、記憶装置110に対してデータの読み出し/書き込み制御を行うことができるCPUを含んで構成されており、記憶装置110は半導体メモリを含んで構成されている。
【0003】
記憶制御システム100では、リード信号線101を介して外部装置120から記憶装置110へリード信号(読出制御信号)が所定のタイミングで出力される。またライト信号線102を介して外部装置120から記憶装置110へライト信号(書込制御信号)が所定のタイミングで出力される。そして、記憶装置110がリード信号のONを検知すると、記憶装置110からデータ(読出データ)が読み出され、外部装置120は、データ線103を介して前記読出データを取り込む。また、記憶装置110がライト信号のONを検知すると、外部装置120からデータ線103に出力されたデータ(書込データ)が記憶装置110へ書き込まれるようになっている。
【0004】
次に、従来の記憶制御システム100における記憶装置110に対するデータの読み出し/書き込み動作を図19に示したタイミングチャートに基づいて説明する。
【0005】
時刻t100 において、ライト信号がON(この場合、ローアクティブに設定)されると、ライト期間に入る。記憶装置110では、時刻t100 〜時刻t101 のライト期間に外部装置120からデータ線103へ出力された書込データを記憶装置110内のメモリ(図示せず)へ書き込む。
【0006】
時刻t101 でライト信号がOFFされると、記憶装置110では、記憶装置110内メモリ(図示せず)への書込データの書き込みを終了する。一方、外部装置120では、時刻t103 までの期間、書込データをホールドし、その後、データ線103上で書込データと読出データとの衝突を回避するための対応期間に入り、データ線103は、ハイインピーダンス状態になる。
【0007】
時刻t104 において、リード信号がONされると、リード期間に入る。記憶装置110では、時刻t104 〜時刻t105 のリード期間に記憶装置内メモリから読出データを読み出して、外部装置120へ出力する。一方、外部装置120は、記憶装置110から出力された読出データを取り込むようになっている。
【0008】
このようなデータの読み書きの制御を行うためにライト信号線101とリード信号線102とが接続され、2つの制御信号入力端子を有する半導体メモリが、下記の特許文献1等に開示されている。
【0009】
【特許文献1】
特開平9−139066号公報
【0010】
【発明が解決しようとする課題】
LSI等の半導体製品やデータ通信が必要なシステム等においては、端子数や信号線の削減が望まれている。しかしながら、上記した従来の記憶制御システム100では、外部装置120の対応期間を確保するために、リード信号線101及びライト信号線102の2本の制御信号線を使用した制御が行われており、そのため記憶装置110には、ライト信号とリード信号とを取り込むための2つの制御信号入力端子が必要であり、また、外部装置120側も、ライト信号とリード信号とを出力するための2つの制御信号出力端子が必要であるという課題があった。
【0011】
本発明は上記課題に鑑みなされたものであって、外部からの制御信号を取り込むための記憶装置の端子数や、記憶装置へ制御信号を出力する外部装置の端子数や、記憶装置と外部装置とを接続する制御信号線数を削減することのできる記憶装置及び記憶制御システムを提供することを目的としている。
【0012】
【課題を解決するための手段及びその効果】
上記目的を達成するために本発明に係る記憶装置(1)は、データを格納する記憶部を備え、データの読み書きを行うための制御信号を外部から取り込み、該制御信号に基づいて、前記記憶部へのデータの書き込みと前記記憶部に格納されたデータの読み出しとを行う記憶装置において、前記制御信号を取り込むための制御信号ラインが1本で構成され、前記制御信号が、2値信号の2つの状態でデータの書き込みと読み出しとを行わせるものであり、前記データの入出力端子がハイインピーダンス状態となる期間に前記記憶部へ所定の論理を入力し、前記記憶部に書き込まれたデータを保持させるための論理固定手段を備えていることを特徴としている。
【0013】
上記記憶装置(1)によれば、前記論理固定手段により、前記入出力端子がハイインピーダンス状態となる期間、前記記憶部へ所定の論理が入力され、前記記憶部に書き込まれたデータが保持される。したがって、前記ハイインピーダンス状態となる期間においても論理が確定されることとなり、2値信号の2つの状態でデータの書き込みと読み出しとを制御する制御信号でもデータの読み書きの制御を行うことができるようになり、制御信号ラインを1本で構成することができ、従来、書き込み用と読み出し用との2つ必要であった制御信号の入力端子を1つにすることができ、端子数を削減することができる。
【0014】
また本発明に係る記憶装置(2)は、上記記憶装置(1)において、前記論理固定手段が、前記入出力端子と前記記憶部とを接続するラインに接続されたプルアップ抵抗又はプルダウン抵抗で構成されていることを特徴としている。
【0015】
上記記憶装置(2)によれば、前記論理固定手段として、前記プルアップ抵抗又は前記プルダウン抵抗が前記ラインに接続されることにより、前記入出力端子がハイインピーダンス状態となる期間、前記記憶部へ入力される論理をH又はLに固定することができ、前記入出力端子がハイインピーダンス状態となる期間においても論理を確定させることができる。
【0016】
また本発明に係る記憶装置(3)は、上記記憶装置(2)において、前記記憶部へ書き込まれるデータが変化する際、該データのばらつき周期以上の周期を有する基準信号に基づいて前記データのばらつきをフィルタリングするフィルタ手段を備えていることを特徴としている。
【0017】
上記記憶装置(3)によれば、前記記憶部へ書き込まれるデータが変化する際に、同一タイミングで全てのデータを変化させることができずに、データのばらつきが生じたとしても、前記フィルタ手段により、意図しないデータが入力されるのを防ぐことができ、データの精度を高めることができる。
【0018】
また本発明に係る記憶装置(4)は、データを格納する記憶部と、データの読み書きを行うための制御信号を外部から取り込み、該制御信号に基づいて、前記記憶部へのデータの書き込みと前記記憶部に格納されたデータの読み出しとを制御する制御手段とを備えた記憶装置において、前記制御信号を取り込むための制御信号ラインが1本で構成され、前記制御信号が、データの読み出し期間と書き込み期間との信号間に複数の切り替えエッジが含まれている2値信号からなり、前記制御手段が、前記切り替えエッジの立上がりと立下がりとを区別して検出するエッジ検出手段と、該エッジ検出手段により検出される前記切り替えエッジの立上がりと立下がりとの検出回数をそれぞれ区別してカウントするエッジカウント手段とを備え、該エッジカウント手段によりカウントされるエッジカウント数に基づいて、前記制御信号の切り替え内容を判断し、前記読み出し期間と前記書き込み期間との信号間は前記記憶部内のデータを論理固定する制御を行う一方、前記書き込み期間は書き込み制御を行い、前記読み出し期間は読み出し制御を行うものであることを特徴としている。
【0019】
上記記憶装置(4)によれば、前記読み出し期間と前記書き込み期間との信号間(データの読み出しを終了させるエッジからデータの書き込みを開始させるエッジまでの期間、データの書き込みを終了させるエッジからデータの読み出しを開始させるエッジまでの期間)、すなわち、前記データの入出力端子がハイインピーダンス状態となる期間を含む所定期間は、前記制御信号のエッジの検出を利用して前記記憶部内のデータの論理固定を行うことができ、ハイインピーダンス状態において誤ったデータが入力されるのを防ぐことができる。したがって、前記制御信号を用いた1本の制御信号ラインによりデータの読み書きの制御を行うことができ、従来、書き込み用と読み出し用との2つ必要であった制御信号の入力端子を1つにすることができ、端子数を削減することができる。
【0020】
また本発明に係る記憶装置(5)は、上記記憶装置(4)において、前記エッジカウント手段が、前記読み出し期間において、データの読み出しを終了させるエッジと同じ論理切り替えを行う第1エッジと、前記書き込み期間において、データの書き込みを終了させるエッジと同じ論理切り替えを行う第2エッジとをカウントするものであり、前記制御手段が、前記エッジカウント手段により前記第1エッジ又は前記第2エッジが所定回数カウントされると、前記記憶部内のデータを論理固定する制御を開始するものであることを特徴としている。
【0021】
上記記憶装置(5)によれば、前記エッジカウント手段により前記第1エッジ又は第2エッジを所定回数カウントした後、前記記憶部内のデータを論理固定する制御を開始させることができ、前記所定回数を所定値に設定することによりエッジのカウントによる読み書き制御のバリエーションを増やすことができる。
【0022】
また本発明に係る記憶装置(6)は、データを格納する記憶部と、データの読み書きを行うための制御信号を外部から取り込み、該制御信号に基づいて、前記記憶部へのデータの書き込みと前記記憶部に格納されたデータの読み出しとを制御する制御手段とを備えた記憶装置において、前記制御信号を取り込むための制御信号ラインが1本で構成され、前記制御信号が、2値信号の2つの状態でデータの書き込みと読み出しとを行わせるものであり、前記制御手段が、前記制御信号におけるデータの読み出し期間から書き込み期間への切り替えと、データの書き込み期間から読み出し期間への切り替えとを検出する信号切替検出手段と、該信号切替検出手段による前記読み出し期間から書き込み期間への切り替え検出後、所定時間を計時する第1の計時手段とを備え、該第1の計時手段により前記所定時間が計時されるまでの期間、前記記憶部内のデータを論理固定する制御を行う一方、前記第1の計時手段により前記所定時間が計時されると外部からの書込データを前記記憶部へ書き込み、前記信号切替検出手段により前記書き込み期間から読み出し期間への切り替えを検出すると、前記書込データを読み出す制御を行うものであることを特徴としている。
【0023】
上記記憶装置(6)によれば、前記第1の計時手段により前記所定時間が計時されるまでの期間、すなわち、前記データの入出力端子がハイインピーダンス状態となる期間を含む期間は、前記第1の計時手段を利用して前記記憶部内のデータの論理固定を行うことができ、誤ったデータが入力されるのを防ぐことができる。したがって、前記制御信号を用いた1本の制御信号ラインによりデータの読み書きの制御を行うことができ、従来、書き込み用と読み出し用との2つ必要であった制御信号の入力端子を1つにすることができ、端子数を削減することができる。
【0024】
また本発明に係る記憶装置(7)は、データを格納する記憶部と、データの読み書きを行うための制御信号を外部から取り込み、該制御信号に基づいて、前記記憶部へのデータの書き込みと前記記憶部に格納されたデータの読み出しとを制御する制御手段とを備えた記憶装置において、前記制御信号を取り込むための制御信号ラインが1本で構成され、前記制御信号が、2値信号の2つの状態でデータの書き込みと読み出しとを行わせるものであり、前記制御手段が、前記制御信号におけるデータの読み出し期間から書き込み期間への切り替えと、データの書き込み期間から読み出し期間への切り替えとを検出する信号切替検出手段と、該信号切替検出手段による前記読み出し期間から書き込み期間への切り替え検出時から所定時間を所定回数繰り返し計時する第2の計時手段とを備え、該第2の計時手段により前記所定時間が繰り返し計時される期間毎に、前記記憶部内のデータを論理固定する制御を行う一方、前記第2の計時手段による前記所定時間の計時毎に外部からの書込データを前記記憶部へ書き込み、前記信号切替検出手段により前記書き込み期間から読み出し期間への切り替えを検出すると、最後に書き込まれた書込データを読み出す制御を行うものであることを特徴としている。
【0025】
上記記憶装置(7)によれば、前記制御信号を用いた1本の制御信号ラインによりデータの読み書きの制御を行うことができ、従来、書き込み用と読み出し用との2つ必要であった制御信号の入力端子を1つにすることができ、端子数を削減することができる。また、前記第2の計時手段により前記所定時間が繰り返し計時される期間毎に、前記記憶部内のデータの論理固定を行うことができ、誤ったデータが入力されるのを防ぐことができるとともに、1回の書き込み期間に所定回数繰り返しデータの入力を行うことができ、例えば、入力されたデータに誤りがあった場合などでも、正しいデータをすぐに入力することができる。
【0026】
また本発明に係る記憶装置(8)は、データを格納する記憶部と、データの読み書きを行うための制御信号を外部から取り込み、該制御信号に基づいて、前記記憶部へのデータの書き込みと前記記憶部に格納されたデータの読み出しとを制御する制御手段とを備えた記憶装置において、前記制御信号を取り込むための制御信号ラインが1本で構成され、前記制御信号が、2値信号の2つの状態でデータの書き込みと読み出しとを行わせるものであり、前記制御手段が、前記制御信号におけるデータの読み出し期間から書き込み期間への切り替えと、データの書き込み期間から読み出し期間への切り替えとを検出する信号切替検出手段と、該信号切替検出手段によるデータの読み出し期間から書き込み期間への切り替え検出時から所定時間を所定回数繰り返し計時する第2の計時手段と、前記信号切替検出手段によるデータの書き込み期間から読み出し期間への切り替え検出時から所定時間を所定回数繰り返し計時する第3の計時手段とを備え、前記第2の計時手段により前記所定時間が繰り返し計時される期間毎に、前記記憶部内のデータを論理固定する制御を行う一方、前記第2の計時手段による前記所定時間の計時毎に外部からの書込データを前記記憶部へ書き込み、前記信号切替検出手段により前記書き込み期間から読み出し期間への切り替えを検出すると、前記第3の計時手段により計時される前記所定時間毎に前記データを読み出す制御を行うものであることを特徴としている。
【0027】
上記記憶装置(8)によれば、前記制御信号を用いた1本の制御信号ラインによりデータの読み書きの制御を行うことができ、従来、書き込み用と読み出し用との2つ必要であった制御信号の入力端子を1つにすることができ、端子数を削減することができる。また、前記第2の計時手段により前記所定時間が繰り返し計時される期間毎に、前記記憶部内のデータの論理固定を行うことができ、誤ったデータが入力されるのを防ぐことができるとともに、1回の書き込み期間に所定回数繰り返しデータの書き込みを行うことができる。また前記第3の計時手段により計時される前記所定時間毎に前記データを読み出すことができ、前記記憶部に入力されたデータの内容を前記外部にすべて把握させることが可能になる。
【0028】
また本発明に係る記憶装置(9)は、データを格納する記憶部と、該記憶部へのデータの書き込みと前記記憶部に格納されたデータの読み出しとを制御する制御手段とを備えた記憶装置において、前記制御手段が、予め設定されたデータの書き込み期間と読み出し期間とを繰り返し計時する第4の計時手段と、該第4の計時手段による前記書き込み期間と読み出し期間との計時毎にデータの書き込み制御又は読み出し制御への切り替えを行う制御切替手段と、該制御切替手段による前記書き込み制御への切替後、所定時間を計時する第5の計時手段とを備え、該第5の計時手段により前記所定時間が計時されるまで、前記記憶部内のデータを論理固定する制御を行う一方、前記第5の計時手段により前記所定時間を計時すると外部からの書込データを前記記憶部へ書き込み、前記制御切替手段による前記読み出し制御への切替後、前記書込データを読み出す制御を行うものであることを特徴としている。
【0029】
上記記憶装置(9)によれば、前記制御手段が、前記第4の計時手段と前記制御切替手段とにより、前記書き込み期間と前記読み出し期間との計時毎に、前記書き込み制御と前記読み出し制御とを切り替えるとともに、前記第5の計時手段により前記所定時間が計時されるまでの期間、すなわち、前記データの入出力端子がハイインピーダンス状態となる期間を含む所定期間は、前記記憶部内のデータの論理固定を行うことができ、誤ったデータが入力されるのを防ぐことができる。また、前記外部から制御信号を取り込む制御信号ラインが必要なくなり、制御信号の入力端子が必要なくなる。したがって、従来、書き込み用と読み出し用との2つ必要であった制御信号の入力端子をなくすことができ、端子数を2本削減することができる。
【0030】
また本発明に係る記憶装置(10)は、データを格納する記憶部と、該記憶部へのデータの書き込みと前記記憶部に格納されたデータの読み出しとを制御する制御手段とを備えた記憶装置において、前記制御手段が、予め設定されたデータの書き込み期間と読み出し期間とを繰り返し計時する第4の計時手段と、該第4の計時手段による前記書き込み期間と読み出し期間との計時毎にデータの書き込み制御又は読み出し制御への切り替えを行う制御切替手段と、該制御切替手段による前記書き込み制御への切替後、所定時間を所定回数繰り返し計時する第6の計時手段とを備え、該第6の計時手段により前記所定時間が繰り返し計時される期間毎に、前記記憶部内のデータを論理固定する制御を行う一方、前記第6の計時手段による前記所定時間の計時毎に外部からの書込データを前記記憶部へ書き込み、前記制御切替手段による前記読み出し制御への切替後、最後に書き込まれた書込データを読み出す制御を行うものであることを特徴としている。
【0031】
上記記憶装置(10)によれば、前記外部から制御信号を取り込む制御信号ラインが必要なくなり、制御信号の入力端子が必要なくなる。したがって、従来、書き込み用と読み出し用との2つ必要であった制御信号の入力端子をなくすことができ、端子数を2本削減することができる。また、前記第6の計時手段により前記所定時間が繰り返し計時される期間毎に、前記記憶部内のデータの論理固定を行うことができ、誤ったデータが入力されるのを防ぐことができるとともに、1回の書き込み期間に所定回数繰り返しデータの入力を行うことができ、例えば、入力されたデータに誤りがあった場合などでも、正しいデータをすぐに入力することができる。
【0032】
また本発明に係る記憶装置(11)は、データが格納される記憶部と、該記憶部へのデータの書き込みと前記記憶部に格納されたデータの読み出しとを制御する制御手段とを備えた記憶装置において、前記制御手段が、予め設定されたデータの書き込み期間と読み出し期間とを繰り返し計時する第4の計時手段と、該第4の計時手段による前記書き込み期間と読み出し期間との計時毎にデータの書き込み制御又は読み出し制御への切り替えを行う制御切替手段と、該制御切替手段による前記書き込み制御への切替後、所定時間を所定回数繰り返し計時する第6の計時手段と、前記制御切替手段による前記読み出し制御への切替後、所定時間を所定回数繰り返し計時する第7の計時手段とを備え、前記第6の計時手段により前記所定時間が繰り返し計時される期間毎に、前記記憶部内のデータを論理固定する制御を行う一方、前記第6の計時手段による前記所定時間の計時毎に外部からの書込データを前記記憶部へ書き込み、前記第7の計時手段により計時される前記所定時間毎に前記書込データを読み出す制御を行うものであることを特徴としている。
【0033】
上記記憶装置(11)によれば、前記外部から制御信号を取り込む制御信号ラインが必要なくなり、制御信号の入力端子が必要なくなる。したがって、従来、書き込み用と読み出し用との2つ必要であった制御信号の入力端子をなくすことができ、端子数を2本削減することができる。また、前記第6の計時手段により前記所定時間が繰り返し計時される期間毎に、前記記憶部内のデータの論理固定を行うことができ、誤ったデータが入力されるのを防ぐことができ、さらに1回の書き込み期間に所定回数繰り返しデータの入力を行うことができるとともに、前記第7の計時手段により計時される前記所定時間毎に前記データを読み出すことができ、前記記憶部に入力されたデータの内容を前記外部にすべて把握させることが可能になる。
【0034】
また本発明に係る記憶装置(12)は、上記記憶装置(9)〜(11)のいずれかにおいて、前記第4の計時手段により計時される前記書き込み期間、及び/又は前記読み出し期間を変更する期間変更手段を備えていることを特徴としている。
【0035】
上記記憶装置(12)によれば、前記期間変更手段により、前記第4の計時手段により計時される前記書き込み期間、及び/又は前記読み出し期間を変更することができ、制御に合わせた任意の前記書き込み期間、及び/又は前記読み出し期間を設定することができる。前記期間変更手段は、例えば、外部から入力された電圧値に基づいて計時される値を変更できる回路構成のものを採用することができる。
【0036】
また本発明に係る記憶制御システム(1)は、上記記憶装置(1)〜(3)のいずれかと、該記憶装置に対して、1つの制御信号出力端子から2値信号の2つの状態でデータの書き込みと読み出しとを行わせる制御信号を出力し、該制御信号に基づいて、前記記憶装置への書込データの出力や前記記憶装置から読出データの取り込みを行う外部制御手段とを含んで構成されていることを特徴としている。
【0037】
上記記憶制御システム(1)によれば、前記記憶装置と前記外部制御手段との間を1本の制御信号ラインで接続することができ、従来、書き込み用と読み出し用の2本必要であった制御信号ラインを1本にすることができ、それに合わせて前記記憶装置と前記外部制御手段との端子数を削減することができる。
【0038】
また本発明に係る記憶制御システム(2)は、上記記憶装置(4)又は(5)と、該記憶装置に対して、1つの制御信号出力端子からデータの読み出し期間と書き込み期間との信号間に複数の切り替えエッジが含まれている2値信号からなる制御信号を出力し、該制御信号に基づいて、前記記憶装置への書込データの出力や前記記憶装置から読出データの取り込みを行う外部制御手段とを含んで構成されていることを特徴としている。
【0039】
上記記憶制御システム(2)によれば、前記記憶装置と前記外部制御手段との間を1本の制御信号ラインで接続することができ、従来、書き込み用と読み出し用の2本必要であった制御信号ラインを1本にすることができ、それに合わせて前記記憶装置と前記外部制御手段との端子数を削減することができる。
【0040】
また本発明に係る記憶制御システム(3)は、上記記憶装置(6)〜(8)のいずれかと、該記憶装置に対して、1つの制御信号出力端子から2値信号の切り替えエッジを検出させることによってデータの読み書きの制御を行わせる制御信号を出力し、該制御信号に基づいて、前記記憶装置への書込データの出力や前記記憶装置から読出データの取り込みを行う外部制御手段とを含んで構成されていることを特徴としている。
【0041】
上記記憶制御システム(3)によれば、前記記憶装置と前記外部制御手段との間を1本の制御信号ラインで接続することができ、従来、書き込み用と読み出し用の2本必要であった制御信号ラインを1本にすることができ、それに合わせて前記記憶装置と前記外部制御手段との端子数を削減することができる。
【0042】
また本発明に係る記憶制御システム(4)は、上記記憶装置(9)〜(12)のいずれかにおいて、外部制御手段と含んで構成され、該外部制御手段が、前記記憶装置の前記第4の計時手段と同じタイミングで前記書き込み期間と前記読み出し期間とを繰り返し計時する第8の計時手段と、該第8の計時手段による前記書き込み期間と前記読み出し期間との計時毎に前記記憶装置への書込データの出力制御と前記記憶装置から読出データの取込制御とを切り替える外部制御切替手段とを備え、該外部制御切替手段による書込データの出力制御への切替後、前記記憶装置の前記第5の計時手段、又は前記第6の計時手段により計時される前記所定時間内に前記記憶装置へ書込データを出力する制御と、前記外部制御切替手段による読出データの取込制御への切替後、前記記憶装置から読出データを取り込む制御とを行うものであることを特徴としている。
【0043】
上記記憶制御システム(4)によれば、前記記憶装置と前記外部制御手段との間に制御信号ラインを必要としないシステムを構成することができ、従来、書き込み用と読み出し用の2本必要であった制御信号ラインをなくすことができ、それに合わせて前記記憶装置と前記外部制御手段との端子数を削減することができる。
【0044】
【発明の実施の形態】
以下、本発明に係る記憶装置及び記憶制御システムの実施の形態を図面に基づいて説明する。図1は、実施の形態(1)に係る記憶装置が採用された記憶制御システムの要部を概略的に示したブロック図である。
【0045】
図中1は、記憶制御システムを示しており、記憶制御システム1は、記憶装置10と、記憶装置10に対するデータの読み書き(読み出し、書き込み)を制御するCPU50とを含んで構成されている。
【0046】
記憶装置10とCPU50とは、1本の制御信号線2とN本のデータ線3と1本のクロック信号線4とを介して接続されており、記憶装置10には、これら信号線に対応する制御信号入力端子(R/Win)12とデータ入出力端子(D〜D)13とクロック信号入力端子(CLKin)14とが設けられている。
【0047】
また、CPU50には、制御信号出力端子(R/Wout)52と、データ入出力端子(D〜D)53と、クロック信号出力端子(CLKout)54とが設けられており、データの書き込み可能な期間(以下、ライト期間と言う)をHレベル、データの読み出し可能な期間(以下、リード期間と言う)をLレベルとした2値信号からなる制御信号が、制御信号出力端子52から制御信号線2を介して記憶装置10の制御信号入力端子12へ与えられるようになっている。
【0048】
また、CPU50は、Hレベルの制御信号の出力に応じて、記憶装置10へ書き込むためのデータ(書込データ)をデータ入出力端子53からデータ線3を介して記憶装置10のデータ入出力端子13へ出力したり、Lレベルの制御信号の出力に応じて、記憶装置10から読み出されたデータ(読出データ)をデータ線3を介してデータ入出力端子53から取り込むことができるようになっている。
【0049】
次に記憶装置10の構成について説明する。制御信号入力端子12は、制御信号を取り込むための制御信号入力ライン15を介して記憶部16へ接続されており、また制御信号入力ライン15上の分岐点Aから分岐してデータ出力バッファ17に接続されている。
【0050】
データ入出力端子13には、CPU50からのデータを取り込んだり、記憶部16から読み出したデータを出力するためのデータ入出力ライン18が接続されており、データ入出力ライン18の分岐点Bから分岐したデータ入力ライン18aとデータ出力ライン18bとが記憶部16に接続されている。データ入力ライン18aには、データ入力バッファ19とフィルタ手段20とが介装されており、フィルタ手段20から出力されたデータが記憶部16へ書き込まれるようになっている。また、データ出力ライン18bには、記憶部16から読み出されたデータをLレベルの読出制御信号に対応させて出力するためのデータ出力バッファ17が介装されている。
【0051】
また、データ入出力ライン18におけるデータ入出力端子13と分岐点Bとの間にはプルダウン抵抗21が接続されている。プルダウン抵抗21により、データ入出力端子13がハイインピーダンス状態となる期間、記憶部16へLレベルの論理が入力されるようになっている。
【0052】
また、クロック信号入力端子14からのクロック信号入力ライン22はフィルタ手段20に接続されている。フィルタ手段20は、データ入力バッファ19から出力されたデータを、該データのばらつき周期以上の周期を有する基準信号を利用して、データの2度読みを行い、同一データが2回連続して入ってくると正しいデータであると判断し、該データを記憶部16へ書き込むようになっている。
【0053】
次に、実施の形態(1)に係る記憶制御システム1における記憶装置10に対するデータの読み出し/書き込み動作を図2に示したタイミングチャートに基づいて説明する。
【0054】
記憶装置10にデータを書き込む場合、CPU50は、Hレベルの制御信号を出力するとともに、記憶装置10に書き込むデータ(書込データ)を出力し、記憶装置10では、制御信号がHレベルの期間にデータ入出力端子13に与えられた書込データを記憶部16に書き込む処理を行うようになっている。また、記憶装置10からデータを読み出す場合、CPU50はLレベルの制御信号を出力し、記憶装置10では、制御信号がLレベルの期間に記憶部16からデータを読み出し、該データ(読出データ)を出力する処理を行うようになっている。
【0055】
時刻tにおいて、制御信号がHレベル(すなわちライト期間)で、CPU50からの書込データのホールドが終わる(すなわち、CPU50が、データ線3上での書込データと読出データとの衝突を回避するための対応期間に入る)と、記憶装置10は、プルダウン抵抗21による論理固定期間に入る。記憶装置10では、データ入出力端子13がハイインピーダンス状態となるが、プルダウン抵抗21により、記憶部16へLレベルの論理が入力され、時刻tの前に記憶部16へ書き込まれたデータが保持されるようになっている。
【0056】
時刻tにおいて、制御信号がHレベルからLレベルに切り替えられると、リード期間に入る。記憶装置10では、Lレベルの信号を取り込み、リード期間の開始を判断すると、記憶部16内のデータの論理固定を行ったまま、記憶部16からCPU50へ出力する読出データの読み出しを開始する。
【0057】
時刻tにおいて、制御信号がLレベルからHレベルに切り替えられると、ライト期間に入る。CPU50では、データ線3上での読出データと書込データとの衝突を回避するための対応期間に入り、所定期間後の時刻tに記憶装置10へ書込データが出力される。
【0058】
一方、記憶装置10では、時刻tにおいて、制御信号がLレベルからHレベルに切り替えられるとプルダウン抵抗21による論理固定期間に入る。記憶装置10では、時刻tから時刻tまでデータ入出力端子13がハイインピーダンス状態となるが、プルダウン抵抗21により、記憶部16へLレベルの論理が入力され、記憶部16へ書き込まれたデータが保持されるようになっている。そして、時刻tにCPU50から記憶装置10へ書込データが出力されると、記憶部16内のデータの論理固定が解除される(すなわち、書込可能な状態にする)とともに、CPU50からデータ線3に出力された書込データの記憶部16への書き込みを開始する。以下同様にして読み出し/書き込み動作が繰り返されるようになっている。
【0059】
なお、記憶部16へ書き込まれるデータが変化する際(図2における時刻t、時刻t)においては、書き込みされるデータに多少のばらつきが生じる恐れがある。そのため、フィルタ手段20によるフィルタリング処理、すなわちデータのばらつき周期(数nsec〜数十nsec)以上の周期を有するクロック信号(数μsec〜数十μsec)で、書き込まれるデータの2度読みを行い、同じデータを連続して読み取った場合に、正しいデータであると判断して、記憶部16に書き込む処理が行われるようになっている。なお、クロック信号は、記憶装置10内の他の回路で使用されるクロック信号を取り込むようにすればよい。
【0060】
上記実施の形態(1)に係る記憶制御システム1によれば、データ入出力ライン18に接続されたプルダウン抵抗21により、データ入出力端子13がハイインピーダンス状態となる期間、記憶部16へLレベルの論理が入力され、記憶部16に書き込まれたデータが保持される。したがって、ライト期間でデータ入出力端子13がハイインピーダンス状態となる期間においても論理が確定されることとなり、2値信号の2つの状態でデータの書き込みと読み出しとを制御する制御信号でもデータの読み書きの制御を行うことができるようになり、制御信号線2や制御信号入力ライン15を1本で構成することができ、従来、書き込み用と読み出し用との2つ必要であった記憶装置10の制御信号入力端子12、CPU50の制御信号出力端子52をそれぞれ1つにすることができ、端子数を削減することができる。
【0061】
また記憶部16へ書き込まれるデータが変化する際、該データのばらつき周期以上の周期を有する基準信号に基づいて書込データのばらつきをフィルタリングするフィルタ手段20を備えているので、記憶部16へ書き込まれるデータが変化する際に、同一タイミングで全てのデータを変化させることができずにデータのばらつきが生じたとしても、意図しないデータが入力されるのを防ぐことができ、データの精度を高めることができる。
【0062】
なお上記実施の形態(1)に係る記憶制御システム1における記憶装置10では、論理固定手段として、データ入出力ライン18のN本のそれぞれにプルダウン抵抗21を接続した場合について説明したが、別の実施の形態では、プルダウン抵抗21の代わりにプルアップ抵抗を接続してもよく、この場合は、Hレベルの論理が記憶部16に入力されることとなる。またプルダウン抵抗とプルアップ抵抗とを混在させてもよく、要は、データ入出力端子13がハイインピーダン状態となる期間に記憶部16へ所定の論値が入力されるように接続されていればよい。
【0063】
図3は、実施の形態(2)に係る記憶制御システムの要部を概略的に示したブロック図である。但し図1に示した記憶制御システム1と同一機能を有する構成部品には同一符号を付して、その説明を省略する。
【0064】
記憶制御システム1Aは、記憶装置10Aと、記憶装置10Aに対するデータの読み書きを制御することのできるCPU50Aとを含んで構成されている。記憶装置10AとCPU50Aとは、1本の制御信号線2とN本のデータ線3とを介して接続されており、記憶装置10Aには、これら信号線に対応する制御信号入力端子12とデータ入出力端子13とが設けられている。
【0065】
また、CPU50Aには、制御信号出力端子52とデータ入出力端子53とが設けられており、ライト期間とリード期間との信号間に複数の切り替えエッジが含まれている2値信号からなる制御信号を制御信号出力端子52から制御信号線2を介して記憶装置10Aの制御信号入力端子12へ出力することができるようになっている。
【0066】
また、CPU50Aは、制御信号のリード期間を終了させる切り替え信号の出力後、データ線3上で読出データと書込データとの衝突を回避させるための対応期間を経た後、記憶装置10Aへ書き込むためのデータ(書込データ)を記憶装置10Aのデータ入出力端子13へ出力する処理を行ったり、リード期間を示す制御信号の出力後、記憶装置10Aから読み出されたデータ(読出データ)をデータ線3を介してデータ入出力端子13から取り込む処理を行うようになっている。
【0067】
次に記憶装置10Aの構成について説明する。制御信号入力端子12には、制御信号入力ライン15を介して制御部30が接続されている。制御部30は、制御信号における切り替えエッジの立上がりを検出する第1のエッジ検出手段31と、切り替えエッジの立下がりを検出する第2のエッジ検出手段32と、第1のエッジ検出手段31と接続され、切り替えエッジの立上がりの検出回数をカウントする第1のカウンタ33と、第2のエッジ検出手段32と接続され、切り替えエッジの立下がりの検出回数をカウントする第2のカウンタ34とを含んで構成されている。
【0068】
制御部30において、第1のカウンタ33でカウントされたエッジのカウント値がデータの書き込みを開始するエッジに対応するカウント値であると判断されると、記憶部16へデータの書き込みを許可する信号が出力されるようになっている。また、第2のカウンタ34でカウントされたエッジのカウント値がデータの読み出しを開始するエッジに対応するカウント値であると判定されると、記憶部16へデータの読み出しを許可する信号が出力されるようになっている。
【0069】
また、制御部30は、第1のエッジ検出手段31、第2のエッジ検出手段32、第1のカウンタ33、及び第2のカウンタ34からの信号を取り込み、データ出力バッファ17の動作を制御する出力バッファ制御部35を含んで構成されており、出力バッファ制御部35は、データ出力バッファ17のゲートを開いて記憶部16からデータを出力するための制御信号をデータ出力バッファ17へ出力することができるようになっている。
【0070】
データ入出力端子13には、CPU50Aからのデータを取り込んだり、記憶部16から読み出したデータを出力するためのデータ入出力ライン18が接続されており、データ入出力ライン18の分岐点Bから分岐されたデータ入力ライン18aとデータ出力ライン18bとが記憶部16に接続されている。
【0071】
次に、実施の形態(2)に係る記憶制御システム1Aにおける記憶装置10Aに対するデータの読み出し/書き込み動作を図4に示したタイミングチャートに基づいて説明する。
【0072】
なお、CPU50Aからは、リード期間をLレベル、ライト期間をHレベルとし、リード期間とライト期間との信号間に複数の切り替えエッジが含まれている論理固定期間が設けられた制御信号が出力されるようになっているものとする。
【0073】
時刻t11において、制御信号がリード期間を示すLレベルからHレベルへ切り替えられると、論理固定期間に入る。記憶装置10Aでは、第1のエッジ検出手段31により立上がりエッジが検出され、第1のカウンタ33で立上がりエッジがカウントされる。そして、該カウント値(1)からリード期間の終了を判断すると、記憶部16からのデータ(読出データ)の読み出しを終了するとともに、記憶部16内のデータの論理固定(ラッチ)を開始する。
【0074】
一方、CPU50Aでは、データ線3上で読出データと書込データとの衝突を回避するための所定の対応期間を経た後、時刻t12において記憶装置10Aに書き込むための書込データを出力する。
【0075】
制御信号が、時刻t11において切り替えられたHレベルの状態からLレベルに切り替えられた後、時刻t13において再度Hレベルへ切り替えられると、ライト期間に入る。記憶装置10Aでは、第1のエッジ検出手段31により立上がりエッジが検出され、第1のカウンタ33で立上がりエッジがカウントされる。そして、該カウント値(2)からライト期間の開始を判断すると、記憶部16内のデータの論理固定が解除される(すなわち、書込可能な状態にする)とともに、CPU50Aからデータ線3に出力された書込データの記憶部16への書き込みを開始する。
【0076】
そして、時刻t14において、制御信号がライト期間を示すHレベルからLレベルへ切り替えられると、論理固定期間に入る。記憶装置10Aでは、第2のエッジ検出手段32により立下がりエッジが検出され、第2のカウンタ34で立下がりエッジがカウントされる。そして、該カウント値(1)からライト期間の終了を判断すると、記憶部16への書込データの書き込みを終了するとともに、記憶部16内のデータの論理固定(ラッチ)を開始する。
【0077】
一方、CPU50Aでは、論理固定期間に入った後も、所定期間、書込データをホールドし、その後、時刻t15において、データ線3上で書込データと読出データとの衝突を回避するための対応期間に入る。
【0078】
制御信号が、時刻t14において切り替えられたLレベルの状態からHレベルに切り替えられた後、時刻t16において再度Lレベルへ切り替えられると、リード期間に入る。記憶装置10Aでは、第2のエッジ検出手段32により立下がりエッジが検出され、第2のカウンタ34で立下がりエッジがカウントされる。そして、該カウント値(2)からリード期間の開始を判断すると、記憶部16内のデータの論理固定を行ったまま、記憶部16からCPU50Aへ出力する読出データの読み出しを開始し、以下同様にして読み出し/書き込み動作が繰り返されるようになっている。
【0079】
上記実施の形態(2)に係る記憶制御システム1Aによれば、リード期間とライト期間との信号間(データの読み出しを終了させるエッジからデータの書き込みを開始させるエッジまでの期間、データの書き込みを終了させるエッジからデータの読み出しを開始させるエッジまでの期間)、すなわち、データ入出力端子13がハイインピーダンス状態となる期間を含む所定期間は、制御信号のエッジの検出を利用して記憶部16内のデータの論理固定を行うことができ、ハイインピーダンス状態において誤ったデータが入力されるのを防ぐことができる。したがって、制御信号を用いた1本の制御信号線2や制御信号入力ライン15によりデータの読み書きの制御を行うことができ、従来、書き込み用と読み出し用との2つ必要であった記憶装置10Aの制御信号入力端子12、CPU50Aの制御信号出力端子52をそれぞれ1つにすることができ、端子数を削減することができる。
【0080】
次に実施の形態(3)に係る記憶制御システムについて説明する。但し実施の形態(3)に係る記憶制御システム1Bの構成については、記憶装置10Bの制御部30A(第1のカウンタ33A及び第2のカウンタ34A)を除いて図3に示した記憶制御システム1Aと略同様であるため、記憶装置10Bの制御部30A(第1のカウンタ33A及び第2のカウンタ34A)には異なる符号を付して、その他の構成部品の説明をここでは省略する。
【0081】
実施の形態(2)に係る記憶制御システム1Aにおける記憶装置10Aでは、リード期間を示すLレベルからHレベルへの切り替えエッジを1回カウントすると、論理固定期間に入り、また、ライト期間を示すHレベルからLレベルへの切り替えエッジを1回カウントすると、論理固定期間に入るようになっている。
【0082】
それに対し、実施の形態(3)に係る記憶制御システム1Bにおける記憶装置10Bでは、リード期間を示すLレベルからHレベルへの切り替えエッジをn回カウントすると、論理固定期間に入り、また、ライト期間を示すHレベルからLレベルへの切り替えエッジをn回カウントすると、論理固定期間に入るようにして、1回ではなく予め設定された所定回数(n回)のエッジがカウントされると、記憶部16内のデータを論理固定する制御を開始する。すなわち論理固定期間に入るようになっている点が、実施の形態(2)に係る記憶制御システム1Aと相違する。
【0083】
次に、実施の形態(3)に係る記憶制御システム1Bにおける記憶装置10Bに対するデータの読み出し/書き込み動作を図5に示したタイミングチャートに基づいて説明する。なお、CPU50Bからは、リード期間をLレベル、ライト期間をHレベルとし、リード期間とライト期間との信号間に複数の切り替えエッジが含まれている論理固定期間が設けられるとともに、リード期間及びライト期間にも複数の切り替えエッジが含まれた制御信号が出力されるようになっているものとする。
【0084】
時刻t21において、制御信号がリード期間を示すLレベルからHレベルへ切り替えられると、記憶装置10Bでは、第1のエッジ検出手段31により立上がりエッジが検出され、第1のカウンタ33Aで立上がりエッジがカウントされる。そして、該カウント値(1)からリード期間の終了ではない判断すると(この場合、カウント値が2になるとリード期間を終了させる設定となっている)、引き続き記憶部16からのデータの読み出しを行う。
【0085】
時刻t22において、制御信号がリード期間を示すLレベルからHレベルへ切り替えられると、記憶装置10Bでは、第1のエッジ検出手段31により立上がりエッジが検出され、第1のカウンタ33Aで立上がりエッジがカウントされる。そして、該カウント値(2)からリード期間が終了である判断すると、記憶部16からのデータ(読出データ)の読み出しを終了するとともに、論理固定期間に入り、記憶部16内のデータの論理固定(ラッチ)を開始する。
【0086】
一方、CPU50Bでは、データ線3上で読出データと書込データとの衝突を回避するための所定の対応期間を経た後、時刻t23において、記憶装置10Bに書き込むための書込データを出力する。
【0087】
制御信号が、時刻t22において切り替えられたHレベルの状態からLレベルに切り替えられた後、時刻t24において再度Hレベルへ切り替えられると、ライト期間に入る。記憶装置10Bでは、第1のエッジ検出手段31により立上がりエッジが検出され、第1のカウンタ33Aで立上がりエッジがカウントされる。そして、該カウント値(3)からライト期間の開始を判断すると(この場合、カウント値が3になるとライト期間に入る設定となっている)、記憶部16内のデータの論理固定が解除される(すなわち、書込可能な状態にする)とともに、CPU50Bからデータ線3に出力された書込データの記憶部16への書き込みを開始する。
【0088】
そして時刻t25において、制御信号がライト期間を示すHレベルからLレベルへ切り替えられると、記憶装置10Bでは、第2のエッジ検出手段32により立下がりエッジが検出され、第2のカウンタ34Aで立下がりエッジがカウントされる。そして、該カウント値(1)からリード期間の終了ではない判断すると(この場合、カウント値が2になるとリード期間を終了させる設定となっている)、引き続き記憶部16へのデータの書き込みを行う。
【0089】
そして、時刻t26において、制御信号がライト期間を示すHレベルからLレベルへ切り替えられると、記憶装置10Bでは、第2のエッジ検出手段32により立下がりエッジが検出され、第2のカウンタ34Aで立下がりエッジがカウントされる。そして、該カウント値(2)からライト期間の終了を判断すると、記憶部16への書込データの書き込みを終了するとともに、論理固定期間に入り、記憶部16内のデータの論理固定(ラッチ)を開始する。
【0090】
一方、CPU50Bでは、論理固定期間に入った後も、所定期間、書込データをホールドし、その後、時刻t27において、データ線3上で書込データと読出データとの衝突を回避するための対応期間に入る。
【0091】
制御信号が、時刻t26において切り替えられたLレベルの状態からHレベルに切り替えられた後、時刻t28において再度Lレベルへ切り替えられると、リード期間に入る。記憶装置10Bでは、第2のエッジ検出手段32により立下がりエッジが検出され、第2のカウンタ34Aで立下がりエッジがカウントされる。そして、該カウント値(3)からリード期間の開始を判断すると(この場合、カウント値が3になるとリード期間に入る設定となっている)、記憶部16内のデータの論理固定を行ったまま、記憶部16からCPU50Bへ出力する読出データの読み出しを開始し、以下同様にして読み出し/書き込み動作が繰り返されるようになっている。
【0092】
上記実施の形態(3)に係る記憶制御システム1Bによれば、リード期間においてリード期間終了のエッジと同じ論理切り替えを行うエッジ、又はライト期間においてライト期間終了のエッジと同じ論理切り替えを行うエッジが、第1のカウンタ33A又は第2のカウンタ34Aにより所定回数カウントさせた後、記憶部16内のデータを論理固定する制御を開始させることができ、前記所定回数を所定値に設定することによりエッジのカウントによる読み書き制御のバリエーションを増やすことができる。
【0093】
図6は、実施の形態(4)に係る記憶制御システムの要部を概略的に示したブロック図である。但し図1に示した記憶制御システム1と同一機能を有する構成部品には同一符号を付して、その説明をここでは省略する。
【0094】
記憶制御システム1Cは、記憶装置10Cと、記憶装置10Cに対するデータの読み書きを制御することのできるCPU50Cとを含んで構成されている。記憶装置10CとCPU50Cとは、1本の制御信号線2とN本のデータ線3とを介して接続されており、記憶装置10Cには、これら信号線に対応する制御信号入力端子12とデータ入出力端子13とが設けられている。
【0095】
また、CPU50Cには、制御信号出力端子52とデータ入出力端子53とが設けられており、ライト期間をHレベル、リード期間をLレベルとした2値信号からなる制御信号を制御信号出力端子52から制御信号線2を介して記憶装置10Cの制御信号入力端子12に与えることができるようになっている。
【0096】
また、CPU50Cは、Hレベルの制御信号の出力に応じて、書込データをデータ入出力端子53からデータ線3を介して記憶装置10Cのデータ入出力端子13へ出力したり、Lレベルの制御信号の出力に応じて、記憶装置10Cから読み出された読出データをデータ線3を介してデータ入出力端子53から取り込むことができるようになっている。
【0097】
次に記憶装置10Cの構成について説明する。制御信号入力端子12には、制御信号入力ライン15を介して制御部30Bが接続されている。制御部30Bは、制御信号における切り替えエッジの立上がりを検出する第1のエッジ検出手段31と、第1のエッジ検出手段31からの立上りエッジの検出信号を受けて、記憶部16への書込データの書き込みを行うタイミングを計るための所定時間を計時するタイマ36とを含んで構成されており、タイマ36により前記所定時間が計時されると、記憶部16へデータの書き込みを許可する信号を出力し、書込データが記憶部16へ書き込まれるようになっている。また、制御信号入力ライン15の分岐点Aからデータ出力バッファ17へは、Lレベルの読出制御信号が出力されるようになっており、Lレベルを出力することによりゲートを開いて、記憶部16のデータを読み出すことができるようになっている。
【0098】
次に、実施の形態(4)に係る記憶制御システム1Cにおける記憶装置10Cに対するデータの読み出し/書き込み動作を図7に示したタイミングチャートに基づいて説明する。なおCPU50Cからは、リード期間をLレベル、ライト期間をHレベルとした2値信号からなる制御信号が出力されるようになっているものとする。
【0099】
時刻t31において、制御信号がHレベルからLレベルに切り替えられると、リード期間に入る。記憶装置10Cでは、Lレベルの信号を取り込み、リード期間の開始を判断すると、記憶部16内のデータの論理固定を行ったまま、記憶部16からCPU50Cへ出力する読出データの読み出しを開始する。
【0100】
時刻t32において、制御信号がLレベルからHレベルに切り替えられると、ライト期間に入る。CPU50Cでは、データ線3上での読出データと書込データとの衝突を回避するための対応期間に入っており、所定期間後の時刻t33に記憶装置10Cへ書込データが出力される。
【0101】
一方、記憶装置10Cでは、第1のエッジ検出手段31により立上がりエッジが検出され、タイマ36による記憶部16へのデータの書き込みを行うタイミングを計るための所定時間の計時を開始するとともに、記憶部16内のデータの論理固定(ラッチ)を開始し、所定時間後の時刻t34に、記憶部16内のデータの論理固定が解除され(すなわち、書込可能な状態にする)、データ線3に出力された書込データを記憶部16に書き込み、再度、記憶部16内のデータの論理固定を開始する。
【0102】
一方、CPU50Cでは、時刻t34後も、所定期間、書込データをホールドし、その後、時刻35tにおいて、データ線3上で書込データと読出データとの衝突を回避するための対応期間に入る。そして、時刻t36において、制御信号がHレベルからLレベルに切り替えられると、リード期間に入り、以下上記同様にして読み出し/書き込み動作が繰り返されるようになっている。
【0103】
上記実施の形態(4)に係る記憶制御システム1Cによれば、タイマ36により所定時間が計時されるまでの期間、すなわち、データ入出力端子13がハイインピーダンス状態となる期間を含む所定期間は、タイマ36を利用して記憶部16内のデータの論理固定を行うことができ、誤ったデータが入力されるのを防ぐことができる。したがって、前記制御信号を用いた1本の制御信号線2、制御信号入力ライン15によりデータの読み書きの制御を行うことができ、従来、書き込み用と読み出し用との2つ必要であった記憶装置10Cの制御信号入力端子12、CPU50Cの制御信号出力端子52をそれぞれ1つにすることができ、端子数を削減することができる。
【0104】
図8は、実施の形態(5)に係る記憶制御システムの要部を概略的に示したブロック図である。但し図6に示した記憶制御システム1Cと同一機能を有する構成部品には同一符号を付して、その説明をここでは省略する。
【0105】
実施の形態(5)に係る記憶制御システム1Dと実施の形態(4)に係る記憶制御システム1Cとの相違点は、実施の形態(4)に係る記憶制御システム1Cでは、LからHへの立ち上がりのエッジを検出した後に、所定時間をタイマ36により計時し、該所定時間後に、記憶部16へのデータの書き込みを行う、すなわち、ライト期間に1度だけ書込データの書き込みが行われるようになっているのに対し、実施の形態(5)に係る記憶制御システム1Dでは、LからHへの立ち上がりのエッジを検出した後、リングタイマ37により所定時間を所定回数(n回)繰り返し計時し、該所定時間毎に、記憶部16へのデータの書き込みを行う、すなわち、ライト期間にn回データの書き込みが行えるようになっている点である。
【0106】
次に、実施の形態(5)に係る記憶制御システム1Dにおける記憶装置10Dに対するデータの読み出し/書き込み動作を図9に示したタイミングチャートに基づいて説明する。なお、CPU50Dからは、リード期間をLレベル、ライト期間をHレベルとした2値信号からなる制御信号が出力されるようになっているものとする。
【0107】
時刻t41において、制御信号がHレベルからLレベルに切り替えられると、リード期間に入る。記憶装置10Dでは、Lレベルの信号を取り込み、リード期間の開始を判断すると、記憶部16内のデータの論理固定を行ったまま、記憶部16からCPU50Dへ出力する読出データの読み出しを開始する。
【0108】
時刻t42において、制御信号がLレベルからHレベルに切り替えられると、ライト期間に入る。CPU50Dでは、データ線3上での読出データと書込データとの衝突を回避するための対応期間に入っており、所定期間後の時刻t43に記憶装置10Dへ書込データAが出力される。
【0109】
一方、記憶装置10Dでは、第1のエッジ検出手段31により立上がりエッジが検出され、リングタイマ37による所定時間の計時を繰り返し(この場合2回)行う処理を開始するとともに、記憶部16内のデータの論理固定(ラッチ)を開始し、1回目の所定時間後の時刻t44に、記憶部16内のデータの論理固定が解除され(すなわち、書込可能な状態にする)、データ線3に出力された書込データAを記憶部16に書き込み、再度、記憶部16内のデータの論理固定を開始する。
【0110】
一方、CPU50Dでは、時刻t44後も、所定期間、書込データをホールドし、その後、時刻t45に記憶装置10Dへ書込データBが出力される。そして記憶装置10Dでは、2回目の所定時間後の時刻t46に、記憶部16内のデータの論理固定を解除して、データ線3に出力された書込データBを記憶部16に書き込み、再度、記憶部16内のデータの論理固定を開始する。
【0111】
そして、時刻t47において、制御信号がHレベルからLレベルに切り替えられると、リード期間に入る。記憶装置10Dでは、Lレベルの信号を取り込み、リード期間の開始を判断すると、記憶部16内のデータの論理固定を行ったまま、直前のライト期間の最後に書き込まれた書込データBを記憶部16からCPU50Dへ出力する読出データBとして読み出す処理を行い、以下上記同様にして読み出し/書き込み動作が繰り返されるようになっている。
【0112】
上記実施の形態(5)に係る記憶制御システム1Dによれば、前記制御信号を用いた1本の制御信号線2、制御信号入力ライン15によりデータの読み書きの制御を行うことができ、従来、書き込み用と読み出し用との2つ必要であった記憶装置10Dの制御信号入力端子12、CPU50Dの制御信号出力端子52を1つにすることができ、端子数を削減することができる。また、リングタイマ37により前記所定時間が繰り返し計時される期間毎に、記憶部16内のデータの論理固定を行うことができ、誤ったデータが入力されるのを防ぐことができるとともに、1回の書き込み期間に所定回数繰り返しデータの入力を行うことができ、例えば、入力されたデータに誤りがあった場合などでも、正しいデータをすぐに入力することができる。
【0113】
図10は、実施の形態(6)に係る記憶制御システムの要部を概略的に示したブロック図である。但し図8に示した記憶制御システム1Dと同一機能を有する構成部品には同一符号を付して、その説明をここでは省略する。
【0114】
実施の形態(5)に係る記憶制御システム1Dでは、ライト期間にn回データの書き込みを行い、次のリード期間において、直前のライト期間の最後に書き込まれた(n回目の)書込データを記憶部16からCPU50Dへ出力する読出データとして読み出す処理を行うようになっているのに対して、実施の形態(6)に係る記憶制御システム1Eでは、LからHへの立ち上がりのエッジを第1のエッジ検出手段31で検出した後、一定時間を第1のリングタイマ37により所定回数(n回)繰り返しカウントし、該一定時間毎に、記憶部16へのデータの書き込みを行う。ここまでは実施の形態(5)と同じであるが、実施の形態(6)では、その後、HからLへの立ち下がりのエッジを第2のエッジ検出手段32で検出した後、一定時間を第2のリングタイマ38により所定回数(n回)繰り返しカウントし、該一定時間毎に、記憶部16からデータの読み出しを行う、すなわち、リード期間にもn回データの読み出しが行われるようになっている点が相違している。
【0115】
次に、実施の形態(6)に係る記憶制御システム1Eにおける記憶装置10Eに対するデータの読み出し/書き込み動作を図11に示したタイミングチャートに基づいて説明する。なお、CPU50Eからは、リード期間をLレベル、ライト期間をHレベルとした2値信号からなる制御信号が出力されるようになっているものとする。
【0116】
時刻t51において、制御信号がLレベルからHレベルに切り替えられると、ライト期間に入る。CPU50Eでは、データ線3上での読出データと書込データとの衝突を回避するための対応期間に入っており、所定期間後の時刻t52に記憶装置10Eへ書込データAが出力される。
【0117】
一方、記憶装置10Eでは、第1のエッジ検出手段31により立上がりエッジが検出され、第1のリングタイマ37による所定時間の計時を繰り返し(この場合2回)行う処理を開始するとともに、記憶部16内のデータの論理固定(ラッチ)を開始し、1回目の所定時間後の時刻t53に、記憶部16内のデータの論理固定が解除され(すなわち、書込可能な状態にする)、データ線に出力された書込データAを記憶部16に書き込み、再度、記憶部16内のデータの論理固定を開始する。
【0118】
一方、CPU50Eでは、時刻t53後も、所定期間、書込データをホールドし、その後、時刻t54に記憶装置10Eへ書込データBが出力される。そして記憶装置10Eでは、2回目の所定時間後の時刻t55に、記憶部16内のデータの論理固定を解除して、データ線3に出力された書込データBを記憶部16に書き込み、再度、記憶部16内のデータの論理固定を開始する。
【0119】
そして、時刻t56において、制御信号がHレベルからLレベルに切り替えられると、リード期間に入る。記憶装置10Eでは、第2のエッジ検出手段32により立下がりエッジが検出され、第2のリングタイマ38による所定時間の計時を繰り返し(この場合2回)行う処理を開始するとともに、記憶部16内のデータの論理固定を行ったまま、1回目の所定時間が経過する時刻t57までの間に書込データAを記憶部16からCPU50Eへ出力する読出データAとして読み出す処理を行い、さらに時刻t57後、2回目の所定時間が経過する時刻t58までの間に書込データBを記憶部16からCPU50Eへ出力する読出データBとして読み出す処理を行う。そして、時刻t59において、制御信号がLレベルからHレベルに切り替えられると、ライト期間に入り、以下上記同様にして読み出し/書き込み動作が繰り返されるようになっている。
【0120】
上記実施の形態(6)に係る記憶制御システム1Eによれば、制御信号を用いた1本の制御信号線2、制御信号入力ライン15によりデータの読み書きの制御を行うことができ、従来、書き込み用と読み出し用との2つ必要であった記憶装置10Eの制御信号入力端子12、CPU50Eの制御信号出力端子52をそれぞれ1つにすることができ、端子数を削減することができる。
【0121】
また、第1のリングタイマ37により前記所定時間が繰り返し計時される期間毎に、記憶部16内のデータの論理固定を行うことができ、誤ったデータが入力されるのを防ぐことができるとともに、1回のライト期間に所定回数繰り返しデータの書き込みを行うことができる。また第2のリングタイマ38により計時される前記所定時間毎にデータを読み出すことができ、記憶部16に入力されたデータの内容をCPU50Eにすべて把握させることが可能になる。
【0122】
図12は、実施の形態(7)に係る記憶制御システムの要部を概略的に示したブロック図である。但し図1に示した記憶制御システム1と同一機能を有する構成部品には同一符号を付して、その説明をここでは省略する。
【0123】
記憶制御システム1Fは、記憶装置10Fと、記憶装置10Fに対してデータの入出力を行うことのできるCPU50Fとを含んで構成されている。
記憶装置10FとCPU50Fとは、N本のデータ線3を介して接続されており、記憶装置10F、CPU50Fには、データ線3に対応するデータ入出力端子13、33が設けられている。
【0124】
記憶装置10Fは、データを格納する記憶部16と、CPU50Fから出力されたデータの書き込みと、記憶部16に格納されたデータの読み出しとを制御する制御部30Eとを含んで構成されている。
【0125】
制御部30Eは、データの書き込みや読み出しを行うために予め設定された所定時間を繰り返し計時するリングタイマ39と、リングタイマ39による前記所定時間の計時毎にデータの書き込み制御又は読み込み制御への切り替えを行う制御切替手段40と、制御切替手段40による書き込み制御への切替後、記憶部16への書込データの書き込みを行うタイミングを計るための所定時間を計時するタイマ41とを含んで構成されている。制御部30Eでは、タイマ41による所定時間の計時後にCPU50Fからデータ線3へ与えられている書込データを記憶部16へ書き込む処理や、制御切替手段40による読み出し制御への切替後、記憶部16からデータを読み出す処理を行うようになっている。
【0126】
データ入出力端子13には、CPU50Fからのデータを取り込んだり、記憶部16から読み出したデータを出力するためのデータ入出力ライン18が接続されており、データ入出力ライン18は、分岐点Bからデータ入力ライン18aとデータ出力ライン18bとに分岐されて記憶部16に接続されている。データ入力ライン18aには、データ入力バッファ19が介装されており、データ入力バッファ19から出力されたデータが記憶部16へ書き込まれるようになっている。また、データ出力ライン18bには、記憶部16から読み出されたデータをタイマ値に対応させて出力させるためのデータ出力バッファ17が介装されている。
【0127】
CPU50Fは、記憶装置10Fのリングタイマ39と同じタイミングで所定時間を計時するリングタイマ55と、リングタイマ55による所定時間の計時毎に書込データを記憶装置10Fへ供給する制御又は記憶装置10Fから読み出された読出データを読み込む制御を切り替える制御切替手段56とを含んで構成されており、制御切替手段56によるデータ供給制御への切替後、記憶装置10Fのタイマ41により計時される所定時間内に前記記憶装置10Fへ書込データを供給し、制御切替手段56によるデータ読み込み制御への切替後、記憶装置10Fからのデータを読み込む制御を行うようになっている。
【0128】
次に、実施の形態(7)に係る記憶制御システム1Fにおける記憶装置10Fに対するデータの読み出し/書き込み動作を図13に示したタイミングチャートに基づいて説明する。なお、タイマ値は、リングタイマ39、55により計時されるタイマ値を示しており、リード期間はTに設定され、ライト期間はTに設定されており、CPU50Fと記憶装置10Fとの間で同期がとられているものとする。
【0129】
時刻t61において、リングタイマ39、55によるライト期間のタイマ値T2を計時し終わると、制御切替手段40、56によりライト期間からリード期間に制御が切り替えられる。そして、記憶部16では、リングタイマ39でリード期間のタイマ値Tの計時を開始し、記憶部16内のデータの論理固定を行ったまま、記憶部16からCPU50Fへ出力する読出データの読み出しを開始する。
【0130】
リングタイマ39がタイマ値Tを計時した時刻t62において、制御切替手段40、56によりリード期間からライト期間への制御に切り替えられる。CPU50Fは、データ線3上での読出データと書込データとの衝突を回避するための対応期間に入っており、所定期間後の時刻t63に記憶装置10Fへ書込データが出力される。
【0131】
一方、記憶装置10Fでは、リングタイマ39によるライト期間のタイマ値Tの計時を開始する。また、タイマ41による記憶部16へのデータの書き込みを行うタイミングを計るための所定時間の計時を開始するとともに、記憶部16内のデータの論理固定(ラッチ)を開始し、所定時間後の時刻t64に、記憶部16内のデータの論理固定が解除され(すなわち、書込可能な状態にする)、データ線に出力された書込データを記憶部16に書き込み、再度、記憶部16内のデータの論理固定を開始する。
【0132】
一方、CPU50Fでは、時刻t64後も、所定期間、書込データをホールドし、その後、時刻t65においてデータ線3上で書込データと読出データとの衝突を回避するための対応期間に入る。
【0133】
そして時刻t66において、リングタイマ39、55によるライト期間のタイマ値Tを計時し終わると、制御切替手段40、55によりライト期間からリード期間に制御が切り替えられ、以下上記同様にして読み出し/書き込み動作が繰り返されるようになっている。
【0134】
上記実施の形態(7)に係る記憶制御システム1Fによれば、制御部30Eが、リングタイマ39と制御切替手段40とにより、ライト期間とリード期間との計時毎に、データの書き込み制御と読み出し制御とを切り替えるとともに、タイマ41により前記所定時間が計時されるまでの期間、すなわち、データ入出力端子13がハイインピーダンス状態となる期間を含む所定期間は、記憶部16内のデータの論理固定を行うことができ、誤ったデータが入力されるのを防ぐことができる。また、CPU50Fから制御信号を取り込む制御信号ラインが必要なくなり、制御信号の入力端子が必要なくなる。したがって、従来、書き込み用と読み出し用との2つ必要であった制御信号の入力端子をなくすことができ、端子数を2本削減することができる。
【0135】
図14は、実施の形態(8)に係る記憶制御システムの要部を概略的に示したブロック図である。但し図12に示した記憶制御システム1Fと同一機能を有する構成部品には同一符号を付して、その説明をここでは省略する。
【0136】
実施の形態(8)に係る記憶制御システム1Gと実施の形態(7)に係る記憶制御システム1Fとが相違する点は、実施の形態(7)に係る記憶制御システム1Fでは、制御切替手段40によりリード期間からライト期間への制御に切り替えられた後、所定時間をタイマ41により計時し、該所定時間後に、記憶部16へのデータの書き込みを行う、すなわち、ライト期間に1度だけ書込データの書き込みが行われるようになっているのに対し、実施の形態(8)に係る記憶制御システム1Gでは、制御切替手段40によりリード期間からライト期間への制御に切り替えられた後、リングタイマ42により所定時間を所定回数(n回)繰り返し計時して、該所定時間毎に、記憶部16へのデータの書き込みを行う、すなわち、ライト期間にn回データの書き込みが行えるようになっている点である。
【0137】
また、実施の形態(7)に係る記憶制御システム1Fにおける記憶装置10F及びCPU50Fのリングタイマ39、55による計時時間は、予め設定されたもので変更することができないようになっているが、実施の形態(8)に係る記憶制御システム1Gでは、記憶装置10G、CPU50Gのリングタイマ39、55による計時時間(タイマ値)を、タイマ値変更手段43、57を介して設計変更することができるようになっている。タイマ値変更手段43、57としては、外部からタイマ値設定用の電圧値を取り込んで、外部電圧によりタイマ値を変化させる回路(コンパレータやA/D変換器等が組み込まれた回路)を組み込むようにすれば良い。
【0138】
次に、実施の形態(8)に係る記憶制御システム1Gにおける記憶装置10Gに対するデータの読み出し/書き込み動作を図15に示したタイミングチャートに基づいて説明する。なおタイマ値は、リングタイマ39、55により計時されるタイマ値を示しており、リード期間はTに設定され、ライト期間はTに設定されており、CPU50Gと記憶装置10Gとの間で同期がとられているものとする。
【0139】
時刻t61において、リングタイマ39、55によるライト期間のタイマ値Tを計時し終わると、制御切替手段40、56によりライト期間からリード期間に制御が切り替えられる。そして、記憶装置10Gでは、リングタイマ39でリード期間のタイマ値Tの計時を開始し、記憶部16内のデータの論理固定を行ったまま、記憶部16からCPU50Gへ出力する読出データの読み出しを開始する。
【0140】
リングタイマ39、55がタイマ値Tを計時した時刻t62において、制御切替手段40、56によりリード期間からライト期間への制御に切り替えられる。CPU50Gは、データ線3上での読出データと書込データとの衝突を回避するための対応期間に入っており、所定期間後の時刻t63に記憶装置10Gへ書込データAが出力される。
【0141】
一方、記憶装置10Gでは、リングタイマ39によるライト期間のタイマ値Tの計時を開始する。また、リングタイマ42による記憶部16へのデータの書き込みを行うタイミングを計るための所定時間の計時を繰り返し(この場合2回)行う処理を開始するとともに、記憶部16内のデータの論理固定(ラッチ)を開始し、1回目の所定時間後の時刻t64に、記憶部16内のデータの論理固定が解除され(すなわち、書込可能な状態にする)、データ線3に出力された書込データAを記憶部16に書き込み、再度、記憶部16内のデータの論理固定を開始する。
【0142】
一方、CPU50Gでは、時刻t64後も、所定期間、書込データAをホールドし、その後、時刻t65に記憶装置10Gへ書込データBが出力される。そして記憶装置10Gでは、2回目の所定時間後の時刻t66に、記憶部16内のデータの論理固定を解除して、データ線3に与えられた書込データBを記憶部16に書き込み、再度、記憶部16内のデータの論理固定を開始する。
【0143】
そして時刻t67において、リングタイマ39、55によるライト期間のタイマ値Tを計時し終わると、制御切替手段40、56によりライト期間からリード期間に制御が切り替えられる。そして、記憶装置10Gでは、リングタイマ39でリード期間のタイマ値Tの計時を開始し、記憶部16内のデータの論理固定を行ったまま、直前のライト期間の最後に書き込まれた書込データBを記憶部16からCPU50Gへ出力する読出データとして読み出す処理を行い、以下上記同様にして読み出し/書き込み動作が繰り返されるようになっている。
【0144】
上記実施の形態(8)に係る記憶制御システム1Gによれば、CPU50Gから制御信号を取り込む制御信号線、制御信号入力ラインが必要なくなり、記憶装置10Gの制御信号入力端子、CPU50Gの制御信号出力端子が必要なくなる。したがって、従来、書き込み用と読み出し用との2つ必要であった記憶装置10Gの制御信号入力端子、CPU50Gの制御信号出力端子をなくすことができ、端子数を2本削減することができる。また、リングタイマ42により前記所定時間が繰り返し計時される期間毎に、記憶部16内のデータの論理固定を行うことができ、誤ったデータが入力されるのを防ぐことができるとともに、1回のライト期間に所定回数繰り返しデータの入力を行うことができ、例えば、入力されたデータに誤りがあった場合などでも、正しいデータをすぐに入力することができる。
【0145】
また、タイマ値変更手段43、57を設けることにより、リングタイマ39、55により計時されるライト期間、及び/又はリード期間を変更することができ、制御に合わせた任意のライト期間、及び/又はリード期間を設定することができる。
【0146】
図16は、実施の形態(9)に係る記憶制御システムの要部を概略的に示したブロック図である。但し図14に示した記憶制御システム1Gと同一機能を有する構成部品には同一符号を付して、その説明をここでは省略する。
【0147】
実施の形態(8)に係る記憶制御システム1Gでは、ライト期間にn回データの書き込みを行い、次のリード期間において、直前のライト期間の最後に書き込まれた(n回目)書込データを記憶部16からCPU50Gへ出力する読出データとして読み出す処理を行うようになっているのに対して、実施の形態(9)に係る記憶制御システム1Hでは、制御切替手段40によりリード期間からライト期間への制御に切り替えた後、一定時間を第1のリングタイマ42により所定回数(n回)繰り返しカウントし、該一定時間毎に、記憶部16へのデータの書き込みを行う。ここまでは実施の形態(8)と同じであるが、実施の形態(9)では、その後、制御切替手段40によりライト期間からリード期間への制御に切り替えた後、一定時間を第2のリングタイマ43により所定回数(n回)繰り返しカウントし、該一定時間毎に、記憶部16からデータの読み出しを行う、すなわち、リード期間にもn回データの読み出しが行われるようになっている点が相違している。
【0148】
次に、実施の形態(9)に係る記憶制御システム1Hにおける記憶装置10Hに対するデータの読み出し/書き込み動作を図17に示したタイミングチャートに基づいて説明する。なおタイマ値は、リングタイマ39、55により計時されるタイマ値を示しており、リード期間はTに設定され、ライト期間はTに設定されており、CPU50Hと記憶装置10Hとの間で同期がとられているものとする。
【0149】
リングタイマ39、55がタイマ値Tを計時した時刻t71において、制御切替手段40、56によりリード期間からライト期間への制御に切り替えられる。CPU50Hは、データ線3上での読出データと書込データとの衝突を回避するための対応期間に入っており、所定期間後の時刻t72に記憶装置10Hへ書込データAが出力される。
【0150】
一方、記憶装置10Hでは、リングタイマ39によるライト期間のタイマ値Tの計時を開始する。また、第1のリングタイマ42による記憶部16へのデータの書き込みを行うタイミングを計るための所定時間の計時を繰り返し(この場合2回)行う処理を開始するとともに、記憶部16内のデータの論理固定(ラッチ)を開始し、1回目の所定時間後の時刻t73に、記憶部16内のデータの論理固定が解除され(すなわち、書込可能な状態にする)、データ線3に出力された書込データAを記憶部16に書き込み、再度、記憶部16内のデータの論理固定を開始する。
【0151】
一方、CPU50Hでは、時刻t73後も、所定期間、書込データをホールドし、その後、時刻t74に記憶装置10Hへ書込データBが出力される。そして記憶装置10Hでは、2回目の所定時間後の時刻t75に、記憶部16内のデータの論理固定を解除して、データ線3に与えられた書込データBを記憶部16に書き込み、再度、記憶部16内のデータの論理固定を開始する。
【0152】
そして時刻t76において、リングタイマ39、55によるライト期間のタイマ値Tを計時し終わると、制御切替手段40、56によりライト期間からリード期間に制御が切り替えられる。そして、記憶装置10Hでは、リングタイマ39でリード期間のタイマ値Tの計時を開始し、記憶部16内のデータの論理固定を行ったまま、第2のリングタイマ43による所定時間の計時を繰り返し(この場合2回)行う処理を開始するとともに、記憶部16内のデータの論理固定を行ったまま、1回目の所定時間が経過する時刻t77までの間に書込データAを記憶部16からCPU50Hへ出力する読出データAとして読み出す処理を行い、さらに時刻t77後、2回目の所定時間が経過する時刻t78までの間に書込データBを記憶部16からCPU50Hへ出力する読出データBとして読み出す処理を行う。
【0153】
そして、時刻t79において、リングタイマ39、55によるリード期間のタイマ値Tを計時し終わると、制御切替手段40、56によりリード期間からライト期間への制御に切り替えられ、以下上記同様にして読み出し/書き込み動作が繰り返されるようになっている。
【0154】
上記実施の形態(9)に係る記憶制御システム1Hによれば、CPU50Hから制御信号を取り込む制御信号線、制御信号入力ラインが必要なくなり、記憶装置10Hにおける制御信号入力端子、CPU50Hにおける制御信号出力端子が必要なくなる。したがって、従来、書き込み用と読み出し用との2つ必要であった制御信号入力端子、制御信号出力端子をなくすことができ、端子数を2本削減することができる。また、第1のリングタイマ42により前記所定時間が繰り返し計時される期間毎に、記憶部16内のデータの論理固定を行うことができ、誤ったデータが入力されるのを防ぐことができ、さらに1回のライト期間に所定回数繰り返しデータの入力を行うことができるとともに、第2のリングタイマ43により計時される前記所定時間毎に前記データを読み出すことができ、記憶部16に入力されたデータの内容をCPU50Hにすべて把握させることが可能になる。
【図面の簡単な説明】
【図1】本発明の実施の形態(1)に係る記憶装置が採用された記憶制御システムの要部を概略的に示したブロック図である。
【図2】実施の形態(1)に係る記憶制御システムにおける記憶装置に対するデータの読み出し/書き込み動作を示すタイミングチャートである。
【図3】実施の形態(2)に係る記憶制御システムの要部を概略的に示したブロック図である。
【図4】実施の形態(2)に係る記憶制御システムにおける記憶装置に対するデータの読み出し/書き込み動作を示すタイミングチャートである。
【図5】実施の形態(3)に係る記憶制御システムにおける記憶装置に対するデータの読み出し/書き込み動作を示すタイミングチャートである。
【図6】実施の形態(4)に係る記憶制御システムの要部を概略的に示したブロック図である。
【図7】実施の形態(4)に係る記憶制御システムにおける記憶装置に対するデータの読み出し/書き込み動作を示すタイミングチャートである。
【図8】実施の形態(5)に係る記憶制御システムの要部を概略的に示したブロック図である。
【図9】実施の形態(5)に係る記憶制御システムにおける記憶装置に対するデータの読み出し/書き込み動作を示すタイミングチャートである。
【図10】実施の形態(6)に係る記憶制御システムの要部を概略的に示したブロック図である。
【図11】実施の形態(6)に係る記憶制御システムにおける記憶装置に対するデータの読み出し/書き込み動作を示すタイミングチャートである。
【図12】実施の形態(7)に係る記憶制御システムの要部を概略的に示したブロック図である。
【図13】実施の形態(7)に係る記憶制御システムにおける記憶装置に対するデータの読み出し/書き込み動作を示すタイミングチャートである。
【図14】実施の形態(8)に係る記憶制御システムの要部を概略的に示したブロック図である。
【図15】実施の形態(8)に係る記憶制御システムにおける記憶装置に対するデータの読み出し/書き込み動作を示すタイミングチャートである。
【図16】実施の形態(9)に係る記憶制御システムの要部を概略的に示したブロック図である。
【図17】実施の形態(9)に係る記憶制御システムにおける記憶装置に対するデータの読み出し/書き込み動作を示すタイミングチャートである。
【図18】従来の記憶制御システムの要部を概略的に示したブロック図である。
【図19】従来の記憶制御システムにおける記憶装置に対するデータの読み出し/書き込み動作を示すタイミングチャートである。
【符号の説明】
10 記憶装置
13 データ入出力端子
15 制御信号入力ライン
16 記憶部
21 プルダウン抵抗
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a storage device and a storage control system, and more particularly, to a storage device and a storage control system capable of writing and reading data.
[0002]
[Prior art]
FIG. 18 is a block diagram schematically showing a main part of a conventional storage control system. The storage control system 100 includes a storage device 110 and an external device 120. The storage device 110 and the external device 120 are connected via a read signal line 101, a write signal line 102, and N data lines 103. Connected. The external device 120 is configured to include a CPU that can perform data read / write control on the storage device 110, and the storage device 110 is configured to include a semiconductor memory.
[0003]
In the storage control system 100, a read signal (read control signal) is output from the external device 120 to the storage device 110 via the read signal line 101 at a predetermined timing. A write signal (write control signal) is output from the external device 120 to the storage device 110 via the write signal line 102 at a predetermined timing. When the storage device 110 detects that the read signal is ON, data (read data) is read from the storage device 110, and the external device 120 takes in the read data via the data line 103. When the storage device 110 detects the ON of the write signal, data (write data) output from the external device 120 to the data line 103 is written to the storage device 110.
[0004]
Next, an operation of reading / writing data from / to the storage device 110 in the conventional storage control system 100 will be described based on a timing chart shown in FIG.
[0005]
Time t 100 When a write signal is turned ON (in this case, set to low active), a write period starts. In the storage device 110, the time t 100 To time t 101 The write data output from the external device 120 to the data line 103 during the write period is written to a memory (not shown) in the storage device 110.
[0006]
Time t 101 When the write signal is turned off at the step S, the storage device 110 ends the writing of the write data to the memory (not shown) in the storage device 110. On the other hand, at the external device 120, the time t 103 During this period, the write data is held, and then a corresponding period for avoiding collision between the write data and the read data on the data line 103 is entered, and the data line 103 enters a high impedance state.
[0007]
Time t 104 , When the read signal is turned on, a read period starts. In the storage device 110, the time t 104 To time t 105 The read data is read from the memory in the storage device during the read period of, and is output to the external device 120. On the other hand, the external device 120 takes in the read data output from the storage device 110.
[0008]
A semiconductor memory in which a write signal line 101 and a read signal line 102 are connected to perform such data read / write control and have two control signal input terminals is disclosed in Patent Document 1 or the like below.
[0009]
[Patent Document 1]
JP-A-9-139066
[0010]
[Problems to be solved by the invention]
In semiconductor products such as LSIs and systems that require data communication, it is desired to reduce the number of terminals and signal lines. However, in the above-described conventional storage control system 100, control using two control signal lines of the read signal line 101 and the write signal line 102 is performed in order to secure a corresponding period of the external device 120. Therefore, the storage device 110 needs two control signal input terminals for taking in the write signal and the read signal, and the external device 120 also needs two control signal input terminals for outputting the write signal and the read signal. There is a problem that a signal output terminal is required.
[0011]
The present invention has been made in view of the above problems, and has a number of terminals of a storage device for taking in a control signal from the outside, a number of terminals of an external device for outputting a control signal to the storage device, and a storage device and an external device. It is an object of the present invention to provide a storage device and a storage control system capable of reducing the number of control signal lines for connecting the storage device.
[0012]
Means for Solving the Problems and Their Effects
In order to achieve the above object, a storage device (1) according to the present invention includes a storage unit for storing data, fetches a control signal for reading and writing data from outside, and stores the control signal based on the control signal. In a storage device that writes data to a unit and reads data stored in the storage unit, a control signal line for capturing the control signal is configured by one line, and the control signal is a binary signal. Data is written and read in two states, and a predetermined logic is input to the storage unit during a period when the data input / output terminal is in a high impedance state, and the data written to the storage unit is input. Is provided with logic fixing means for holding
[0013]
According to the storage device (1), a predetermined logic is input to the storage unit while the input / output terminal is in a high impedance state by the logic fixing unit, and the data written in the storage unit is held. You. Therefore, the logic is determined even during the high impedance state, and the control of data reading and writing can be performed by the control signal for controlling the writing and reading of data in two states of the binary signal. The control signal line can be constituted by one, and the input terminal of the control signal, which has conventionally been required for writing and reading, can be reduced to one and the number of terminals can be reduced. be able to.
[0014]
Also, in the storage device (2) according to the present invention, in the storage device (1), the logic fixing means may be a pull-up resistor or a pull-down resistor connected to a line connecting the input / output terminal and the storage unit. It is characterized by being constituted.
[0015]
According to the storage device (2), as the logic fixing means, the pull-up resistor or the pull-down resistor is connected to the line, so that the input / output terminal is in a high-impedance state while the storage unit is in the high-impedance state. The input logic can be fixed to H or L, and the logic can be determined even during the period when the input / output terminal is in the high impedance state.
[0016]
Further, in the storage device (3) according to the present invention, in the storage device (2), when the data to be written to the storage unit changes, the data of the data is changed based on a reference signal having a cycle longer than a variation cycle of the data. It is characterized by having a filter means for filtering the variation.
[0017]
According to the storage device (3), when data to be written to the storage unit changes, all the data cannot be changed at the same timing. Thus, it is possible to prevent unintended data from being input, and to improve the accuracy of the data.
[0018]
In addition, the storage device (4) according to the present invention includes a storage unit for storing data and a control signal for reading and writing data from outside, and writing and writing of data to the storage unit based on the control signal. A control unit for controlling reading of data stored in the storage unit, a control signal line for capturing the control signal is formed by one line, and the control signal is transmitted during a data reading period. An edge detection means comprising a binary signal including a plurality of switching edges between signals between the switching edge and the writing period, wherein the control means discriminates between a rising edge and a falling edge of the switching edge; Edge counting means for distinguishing and counting the number of times the rising edge and the falling edge of the switching edge are detected by the means. The switching content of the control signal is determined based on the edge count number counted by the di-counting means, and control for logically fixing data in the storage unit is performed between signals in the read period and the write period. It is characterized in that write control is performed during a write period, and read control is performed during the read period.
[0019]
According to the storage device (4), between a signal between the read period and the write period (a period from an edge at which data reading ends to an edge at which data writing starts, an edge at which data writing ends) (A period until an edge at which reading of data starts), that is, a predetermined period including a period during which the data input / output terminal is in a high-impedance state, uses the detection of the edge of the control signal to detect the logical Fixing can be performed, and incorrect data can be prevented from being input in the high impedance state. Therefore, data read / write control can be performed by one control signal line using the control signal, and two control signal input terminals, which are conventionally required for writing and reading, are reduced to one. And the number of terminals can be reduced.
[0020]
Further, in the storage device (5) according to the present invention, in the storage device (4), the edge counting means performs the same logical switching as the edge for ending the data reading in the reading period; In the writing period, an edge for terminating the data writing and a second edge for performing the same logical switching are counted, and the control means controls the edge counting means to execute the first edge or the second edge a predetermined number of times. When counted, control for logically fixing data in the storage unit is started.
[0021]
According to the storage device (5), after the edge counting means has counted the first edge or the second edge a predetermined number of times, control for logically fixing data in the storage unit can be started, Is set to a predetermined value, it is possible to increase variations of read / write control by counting edges.
[0022]
Further, the storage device (6) according to the present invention includes a storage unit for storing data and a control signal for reading and writing data from the outside, and writes and writes data to the storage unit based on the control signal. A control unit for controlling reading of data stored in the storage unit, a control signal line for capturing the control signal is configured by one line, and the control signal is a binary signal. The data writing and reading are performed in two states, and the control means performs switching from the data reading period to the writing period and switching from the data writing period to the reading period in the control signal. A signal switching detecting means for detecting, and a predetermined time is measured after the switching from the reading period to the writing period is detected by the signal switching detecting means. And performing control for logically fixing data in the storage unit until the predetermined time is measured by the first time measuring means, while controlling the logic of the data in the storage unit by the first time measuring means. Is written, the externally-written data is written to the storage unit, and when the switching from the writing period to the reading period is detected by the signal switching detection unit, the control of reading the writing data is performed. It is characterized by.
[0023]
According to the storage device (6), a period until the predetermined time is measured by the first time counting means, that is, a period including a period in which the data input / output terminal is in a high impedance state, is equal to or less than the period of time. The logic of the data in the storage unit can be fixed using the first timekeeping means, and erroneous data can be prevented from being input. Therefore, data read / write control can be performed by one control signal line using the control signal, and two control signal input terminals, which are conventionally required for writing and reading, are reduced to one. And the number of terminals can be reduced.
[0024]
Further, the storage device (7) according to the present invention includes a storage unit for storing data and a control signal for reading and writing data from the outside, and writes and writes data to the storage unit based on the control signal. A control unit for controlling reading of data stored in the storage unit, a control signal line for capturing the control signal is configured by one line, and the control signal is a binary signal. The data writing and reading are performed in two states, and the control means performs switching from the data reading period to the writing period and switching from the data writing period to the reading period in the control signal. A signal switching detecting means for detecting, and a predetermined time from the time when the switching from the reading period to the writing period is detected by the signal switching detecting means for a predetermined number of times. A second time measuring means for repeatedly measuring the time, and performing control for logically fixing the data in the storage unit every time the predetermined time is repeatedly measured by the second time measuring means; Means for writing write data from the outside into the storage unit every time the predetermined time is counted, and when the signal switching detection means detects switching from the writing period to the reading period, the last written data is written. It is characterized by performing reading control.
[0025]
According to the storage device (7), data read / write control can be performed by one control signal line using the control signal. Conventionally, two control operations, one for writing and one for reading, are required. A single signal input terminal can be used, and the number of terminals can be reduced. In addition, the logic of the data in the storage unit can be fixed for each period in which the predetermined time is repeatedly measured by the second timing unit, and incorrect data can be prevented from being input. Data can be repeatedly input a predetermined number of times during one writing period. For example, even when there is an error in input data, correct data can be input immediately.
[0026]
Further, the storage device (8) according to the present invention includes a storage unit for storing data and a control signal for reading and writing data from the outside, and writes and writes data to the storage unit based on the control signal. A control unit for controlling reading of data stored in the storage unit, a control signal line for capturing the control signal is configured by one line, and the control signal is a binary signal. The data writing and reading are performed in two states, and the control means performs switching from the data reading period to the writing period and switching from the data writing period to the reading period in the control signal. A signal switching detecting means for detecting, and a predetermined time from when the switching from the data reading period to the writing period is detected by the signal switching detecting means. A second time counting means for repeatedly counting the number of times; and a third time counting means for repeatedly counting a predetermined number of times a predetermined number of times from the time when the signal switching detection means detects the switching from the data writing period to the reading period. While the control of logically fixing the data in the storage unit is performed for each period in which the predetermined time is repeatedly measured by the clocking means, the externally-written data is stored every time the predetermined time is measured by the second clocking means. Is written into the storage unit, and when the switching from the writing period to the reading period is detected by the signal switching detecting unit, the reading of the data is performed at every predetermined time counted by the third timing unit. It is characterized by having.
[0027]
According to the storage device (8), data read / write control can be performed by one control signal line using the control signal. Conventionally, two types of control, one for writing and the other for reading, are required. A single signal input terminal can be used, and the number of terminals can be reduced. In addition, the logic of the data in the storage unit can be fixed for each period in which the predetermined time is repeatedly measured by the second timing unit, and incorrect data can be prevented from being input. Data can be repeatedly written a predetermined number of times in one writing period. Further, the data can be read out at every predetermined time counted by the third time measuring means, and the contents of the data input to the storage unit can be completely grasped to the outside.
[0028]
A storage device (9) according to the present invention includes a storage unit that stores data, and a control unit that controls writing of data to the storage unit and reading of data stored in the storage unit. In the device, the control means repeats a preset data writing period and a preset data reading period, and the fourth timing device sets the data for each of the writing period and the reading period. Control switching means for switching to the write control or read control of the first control means, and fifth switching means for counting a predetermined time after switching to the write control by the control switching means, the fifth switching means Until the predetermined time is measured, control for logically fixing the data in the storage unit is performed. On the other hand, when the predetermined time is measured by the fifth timer, writing from the outside is performed. Write over data to the storage unit, after switching to the read control by the control switching means is characterized in that performs control for reading the write data.
[0029]
According to the storage device (9), the control means controls the write control and the read control by the fourth timing means and the control switching means every time the writing period and the reading period are counted. And a period until the predetermined time is measured by the fifth clock means, that is, a predetermined period including a period in which the data input / output terminal is in a high impedance state, is a logic period of the data in the storage unit. Fixation can be performed, and incorrect data can be prevented from being input. Further, a control signal line for taking in a control signal from the outside is not required, and an input terminal for the control signal is not required. Therefore, it is possible to eliminate the need for two control signal input terminals for writing and reading, and to reduce the number of terminals by two.
[0030]
A storage device (10) according to the present invention includes a storage unit that stores data, and a control unit that controls writing of data to the storage unit and reading of data stored in the storage unit. In the device, the control means repeats a preset data writing period and a preset data reading period, and the fourth timing device sets the data for each of the writing period and the reading period. Control switching means for switching to write control or read control of the sixth control, and sixth timing means for repeating a predetermined time a predetermined number of times after switching to the write control by the control switching means; While the control for logically fixing the data in the storage unit is performed for each period in which the predetermined time is repeatedly measured by the clocking unit, the predetermined time is controlled by the sixth clocking unit. Writing the external write data into the storage unit at every time interval, and performing control to read the last written write data after switching to the read control by the control switching unit. And
[0031]
According to the storage device (10), a control signal line for receiving a control signal from the outside is not required, and an input terminal for the control signal is not required. Therefore, it is possible to eliminate the need for two control signal input terminals for writing and reading, and to reduce the number of terminals by two. Further, the logic of the data in the storage unit can be fixed for each period in which the predetermined time is repeatedly counted by the sixth timer, so that erroneous data can be prevented from being input, Data can be repeatedly input a predetermined number of times during one writing period. For example, even when there is an error in input data, correct data can be input immediately.
[0032]
Further, a storage device (11) according to the present invention includes a storage unit in which data is stored, and control means for controlling writing of data to the storage unit and reading of data stored in the storage unit. In the storage device, the control means may include a fourth time counting means for repeatedly counting a preset data writing period and a preset data reading time period, and a fourth time counting means for each of the writing time period and the reading time period measured by the fourth time counting unit. Control switching means for switching to write control or read control of data; sixth switching means for repeating a predetermined time a predetermined number of times after switching to the write control by the control switching means; and control switching means. After switching to the read control, a seventh timer is provided for repeatedly counting a predetermined time a predetermined number of times, and the sixth timer repeats the predetermined time. While performing control to logically fix the data in the storage unit for each timed period, write the external write data to the storage unit every time the predetermined time is measured by the sixth timekeeping unit, It is characterized in that control is performed to read out the write data at every predetermined time counted by a seventh timer.
[0033]
According to the storage device (11), a control signal line for receiving a control signal from the outside is not required, and an input terminal for the control signal is not required. Therefore, it is possible to eliminate the need for two control signal input terminals for writing and reading, and to reduce the number of terminals by two. Further, the logic of the data in the storage unit can be fixed for each period in which the predetermined time is repeatedly counted by the sixth timer, and erroneous data can be prevented from being input. The data can be repeatedly input a predetermined number of times during one writing period, and the data can be read at the predetermined time counted by the seventh timer, and the data input to the storage unit can be read. Can be all grasped outside.
[0034]
Also, in the storage device (12) according to the present invention, in any of the storage devices (9) to (11), the writing period and / or the reading period counted by the fourth timing unit are changed. It is characterized by having a period changing means.
[0035]
According to the storage device (12), the writing period and / or the reading period clocked by the fourth clocking unit can be changed by the period changing unit, and any of the above described periods according to control can be changed. A writing period and / or the reading period can be set. As the period changing means, for example, a circuit having a circuit configuration capable of changing a value measured based on a voltage value input from the outside can be adopted.
[0036]
Further, the storage control system (1) according to the present invention provides any one of the storage devices (1) to (3) and data for the storage device in two states of a binary signal from one control signal output terminal. External control means for outputting a control signal for performing writing and reading of data, and outputting write data to the storage device and taking in read data from the storage device based on the control signal. It is characterized by being.
[0037]
According to the storage control system (1), the storage device and the external control means can be connected by one control signal line, and two lines for writing and for reading were conventionally required. The number of control signal lines can be reduced to one, and the number of terminals of the storage device and the external control means can be reduced accordingly.
[0038]
In addition, the storage control system (2) according to the present invention includes the storage device (4) or (5), and a signal transmission and reception period between one control signal output terminal and the storage device. Output a write signal to the storage device and fetch read data from the storage device based on the control signal. And a control unit.
[0039]
According to the storage control system (2), the storage device and the external control means can be connected by one control signal line, and conventionally two lines for writing and for reading were required. The number of control signal lines can be reduced to one, and the number of terminals of the storage device and the external control means can be reduced accordingly.
[0040]
Further, the storage control system (3) according to the present invention causes any of the storage devices (6) to (8) and the storage device to detect a switching edge of a binary signal from one control signal output terminal. External control means for outputting a control signal for controlling the reading and writing of data, thereby outputting write data to the storage device and taking in read data from the storage device based on the control signal. It is characterized by comprising.
[0041]
According to the storage control system (3), the storage device and the external control means can be connected by one control signal line, and conventionally two lines for writing and for reading were required. The number of control signal lines can be reduced to one, and the number of terminals of the storage device and the external control means can be reduced accordingly.
[0042]
A storage control system (4) according to the present invention is configured to include an external control unit in any of the storage devices (9) to (12), and the external control unit is configured to control the fourth of the storage device. Eighth timer means for repeatedly timing the write period and the read period at the same timing as the timer means, and an access to the storage device is performed every time the write period and the read period are counted by the eighth timer means. External control switching means for switching between output control of write data and control of taking in read data from the storage device, and after switching to output control of write data by the external control switching means, Controlling the writing data to be output to the storage device within the predetermined time period measured by the fifth time measuring means or the sixth time measuring means, and controlling the read data by the external control switching means. After switching to the write control, characterized in that the said storage device and performs a control to capture the read data.
[0043]
According to the storage control system (4), a system that does not require a control signal line between the storage device and the external control means can be configured. Conventionally, two lines for writing and for reading are required. A suitable control signal line can be eliminated, and the number of terminals of the storage device and the external control means can be reduced accordingly.
[0044]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of a storage device and a storage control system according to the present invention will be described with reference to the drawings. FIG. 1 is a block diagram schematically showing a main part of a storage control system in which the storage device according to the embodiment (1) is employed.
[0045]
1 shows a storage control system. The storage control system 1 includes a storage device 10 and a CPU 50 that controls reading / writing (reading / writing) of data from / to the storage device 10.
[0046]
The storage device 10 and the CPU 50 are connected via one control signal line 2, N data lines 3, and one clock signal line 4. Control signal input terminal (R / W in ) 12 and a data input / output terminal (D 0 ~ D n ) 13 and a clock signal input terminal (CLK in ) 14 are provided.
[0047]
The CPU 50 also has a control signal output terminal (R / W out ) 52 and a data input / output terminal (D 0 ~ D n ) 53 and a clock signal output terminal (CLK out ) 54 are provided, from a binary signal in which a period during which data can be written (hereinafter, referred to as a write period) is at an H level and a period during which data can be read (hereinafter, referred to as a read period) is at an L level. Is supplied from the control signal output terminal 52 to the control signal input terminal 12 of the storage device 10 via the control signal line 2.
[0048]
In addition, the CPU 50 outputs data (write data) to be written to the storage device 10 from the data input / output terminal 53 via the data line 3 in response to the output of the H-level control signal. 13 and the data (read data) read from the storage device 10 can be taken in from the data input / output terminal 53 via the data line 3 in response to the output of the L-level control signal. ing.
[0049]
Next, the configuration of the storage device 10 will be described. The control signal input terminal 12 is connected to a storage section 16 via a control signal input line 15 for taking in a control signal, and branches from a branch point A on the control signal input line 15 to a data output buffer 17. It is connected.
[0050]
The data input / output terminal 13 is connected to a data input / output line 18 for receiving data from the CPU 50 and outputting data read from the storage unit 16, and branches from a branch point B of the data input / output line 18. The data input line 18a and the data output line 18b are connected to the storage unit 16. The data input line 18a is provided with a data input buffer 19 and a filter means 20, and data output from the filter means 20 is written to the storage unit 16. The data output line 18b is provided with a data output buffer 17 for outputting data read from the storage unit 16 in accordance with an L-level read control signal.
[0051]
Further, a pull-down resistor 21 is connected between the data input / output terminal 13 and the branch point B in the data input / output line 18. During the period when the data input / output terminal 13 is in the high impedance state, the L level logic is input to the storage unit 16 by the pull-down resistor 21.
[0052]
Further, a clock signal input line 22 from the clock signal input terminal 14 is connected to the filter means 20. The filter means 20 reads the data output from the data input buffer 19 twice using a reference signal having a cycle longer than the variation cycle of the data, and receives the same data twice consecutively. Then, it is determined that the data is correct, and the data is written to the storage unit 16.
[0053]
Next, an operation of reading / writing data from / to the storage device 10 in the storage control system 1 according to the embodiment (1) will be described based on a timing chart shown in FIG.
[0054]
When writing data to the storage device 10, the CPU 50 outputs a control signal of H level and also outputs data to be written (write data) to the storage device 10. Processing for writing the write data given to the data input / output terminal 13 to the storage unit 16 is performed. When reading data from the storage device 10, the CPU 50 outputs an L-level control signal. The storage device 10 reads data from the storage unit 16 while the control signal is at the L level, and stores the data (read data). Output processing is performed.
[0055]
Time t 1 In the above, when the control signal is at the H level (that is, the write period), the hold of the write data from the CPU 50 ends (that is, the CPU 50 prevents the write data and the read data on the data line 3 from colliding with each other). When the storage device 10 enters the corresponding period), the storage device 10 enters a logic fixed period by the pull-down resistor 21. In the storage device 10, the data input / output terminal 13 is in a high impedance state, but the L level logic is input to the storage unit 16 by the pull-down resistor 21 and the time t 1 The data written to the storage unit 16 before is stored.
[0056]
Time t 2 In, when the control signal is switched from H level to L level, a read period starts. When the storage device 10 receives the L-level signal and determines the start of the read period, it starts reading read data to be output from the storage unit 16 to the CPU 50 while the logic of the data in the storage unit 16 is fixed.
[0057]
Time t 3 In, when the control signal is switched from L level to H level, a write period starts. The CPU 50 enters a corresponding period for avoiding a collision between the read data and the write data on the data line 3, and at a time t after a predetermined period. 4 The write data is output to the storage device 10.
[0058]
On the other hand, in the storage device 10, the time t 3 , When the control signal is switched from the L level to the H level, a logic fixing period by the pull-down resistor 21 starts. In the storage device 10, the time t 3 To time t 4 Up to this point, the data input / output terminal 13 is in a high impedance state. However, the L level logic is input to the storage unit 16 by the pull-down resistor 21, and the data written to the storage unit 16 is retained. And time t 4 When the write data is output from the CPU 50 to the storage device 10, the logical fixation of the data in the storage unit 16 is released (that is, the data is written into the writable state), and the data is output from the CPU 50 to the data line 3. The writing of the written data to the storage unit 16 is started. Hereinafter, the read / write operation is repeated in the same manner.
[0059]
When the data written to the storage unit 16 changes (at time t in FIG. 2). 1 At time t 4 In (2), there is a possibility that the data to be written has some variation. Therefore, the data to be written is read twice by a filtering process by the filter means 20, that is, a clock signal (several μsec to several tens μsec) having a cycle longer than the data variation cycle (several nsec to several tens nsec). When data is continuously read, it is determined that the data is correct, and a process of writing the data into the storage unit 16 is performed. Note that the clock signal may be a clock signal used in another circuit in the storage device 10.
[0060]
According to the storage control system 1 according to the first embodiment, the pull-down resistor 21 connected to the data input / output line 18 supplies an L level signal to the storage unit 16 while the data input / output terminal 13 is in a high impedance state. And the data written in the storage unit 16 is held. Therefore, the logic is determined even during the period when the data input / output terminal 13 is in the high impedance state during the write period, and the control signal for controlling the data writing and reading in the two states of the binary signal is used to read and write the data. Control can be performed, the control signal line 2 and the control signal input line 15 can be constituted by one, and the storage device 10 conventionally required two for writing and reading. The number of control signal input terminals 12 and the number of control signal output terminals 52 of the CPU 50 can be reduced to one, and the number of terminals can be reduced.
[0061]
When the data to be written to the storage unit 16 changes, there is provided the filter unit 20 for filtering the variation of the write data based on a reference signal having a cycle longer than the variation cycle of the data. When data to be changed changes, even if all data cannot be changed at the same timing and the data varies, unintended data can be prevented from being input, and the accuracy of data can be improved. be able to.
[0062]
In the storage device 10 in the storage control system 1 according to the first embodiment, the case where the pull-down resistor 21 is connected to each of the N data input / output lines 18 as the logic fixing means has been described. In the embodiment, a pull-up resistor may be connected instead of the pull-down resistor 21, and in this case, H-level logic is input to the storage unit 16. In addition, a pull-down resistor and a pull-up resistor may be mixed. In short, the data input / output terminal 13 is connected so that a predetermined theoretical value is input to the storage unit 16 during the period when the data input / output terminal 13 is in the high impedance state. Good.
[0063]
FIG. 3 is a block diagram schematically showing a main part of the storage control system according to the embodiment (2). However, components having the same functions as those of the storage control system 1 shown in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted.
[0064]
The storage control system 1A includes a storage device 10A and a CPU 50A that can control reading and writing of data from and to the storage device 10A. The storage device 10A and the CPU 50A are connected via one control signal line 2 and N data lines 3. The storage device 10A has a control signal input terminal 12 and a data signal corresponding to these signal lines. An input / output terminal 13 is provided.
[0065]
Further, the CPU 50A is provided with a control signal output terminal 52 and a data input / output terminal 53, and is a control signal composed of a binary signal including a plurality of switching edges between signals in a write period and a read period. Can be output from the control signal output terminal 52 to the control signal input terminal 12 of the storage device 10A via the control signal line 2.
[0066]
Further, after outputting the switching signal for ending the read period of the control signal, the CPU 50A writes the data into the storage device 10A after a corresponding period for avoiding collision between the read data and the write data on the data line 3. After performing a process of outputting the data (write data) to the data input / output terminal 13 of the storage device 10A or outputting a control signal indicating a read period, the data (read data) read from the storage device 10A The processing of taking in data from the data input / output terminal 13 via the line 3 is performed.
[0067]
Next, the configuration of the storage device 10A will be described. The control unit 30 is connected to the control signal input terminal 12 via the control signal input line 15. The control unit 30 is connected to the first edge detecting means 31 for detecting the rising edge of the switching edge in the control signal, the second edge detecting means 32 for detecting the falling edge of the switching edge, and the first edge detecting means 31 A first counter 33 that counts the number of times the rising edge of the switching edge is detected; and a second counter 34 that is connected to the second edge detecting means 32 and counts the number of times that the falling edge of the switching edge is detected. It is configured.
[0068]
When the control unit 30 determines that the count value of the edge counted by the first counter 33 is a count value corresponding to the edge at which data writing is started, a signal for permitting data writing to the storage unit 16 Is output. If it is determined that the count value of the edge counted by the second counter 34 is a count value corresponding to the edge from which data reading is started, a signal for permitting data reading is output to the storage unit 16. It has become so.
[0069]
Further, the control unit 30 takes in signals from the first edge detecting means 31, the second edge detecting means 32, the first counter 33, and the second counter 34, and controls the operation of the data output buffer 17. The output buffer control unit 35 is configured to open the gate of the data output buffer 17 and output a control signal for outputting data from the storage unit 16 to the data output buffer 17. Can be done.
[0070]
The data input / output terminal 13 is connected to a data input / output line 18 for receiving data from the CPU 50A and outputting data read from the storage unit 16, and branches from a branch point B of the data input / output line 18. The data input line 18a and the data output line 18b are connected to the storage unit 16.
[0071]
Next, an operation of reading / writing data from / to the storage device 10A in the storage control system 1A according to the embodiment (2) will be described based on the timing chart shown in FIG.
[0072]
The CPU 50A outputs a control signal in which the read period is at the L level, the write period is at the H level, and a logical fixed period including a plurality of switching edges is provided between the signals in the read period and the write period. It is assumed that
[0073]
Time t 11 , When the control signal is switched from the L level indicating the read period to the H level, a logical fixed period is entered. In the storage device 10A, the rising edge is detected by the first edge detecting means 31, and the rising edge is counted by the first counter 33. When the end of the read period is determined from the count value (1), the reading of the data (read data) from the storage unit 16 ends, and the logical fixing (latch) of the data in the storage unit 16 starts.
[0074]
On the other hand, after a predetermined corresponding period for avoiding collision between the read data and the write data on the data line 3, the CPU 50A sets the time t. 12 Outputs write data for writing to the storage device 10A.
[0075]
When the control signal is at time t 11 After switching from the H level state switched to the L level at time t, at time t Thirteen Is switched to the H level again, the write period starts. In the storage device 10A, the rising edge is detected by the first edge detecting means 31, and the rising edge is counted by the first counter 33. When the start of the write period is determined from the count value (2), the logical fixation of the data in the storage unit 16 is released (that is, the data is made writable), and the data is output from the CPU 50A to the data line 3. The writing of the written data to the storage unit 16 is started.
[0076]
And time t 14 , When the control signal is switched from the H level indicating the write period to the L level, a logic fixed period is entered. In the storage device 10A, the falling edge is detected by the second edge detection means 32, and the falling edge is counted by the second counter. Then, when the end of the write period is determined from the count value (1), the writing of the write data to the storage unit 16 ends, and the logic fixing (latch) of the data in the storage unit 16 starts.
[0077]
On the other hand, the CPU 50A holds the write data for a predetermined period even after entering the logical fixed period, and thereafter, at time t Fifteen , A corresponding period for avoiding collision between write data and read data on data line 3 is started.
[0078]
When the control signal is at time t 14 After switching from the L level state switched to the H level at time t, at time t 16 Is switched to the L level again, the read period starts. In the storage device 10A, the falling edge is detected by the second edge detection means 32, and the falling edge is counted by the second counter. When the start of the read period is determined from the count value (2), reading of the read data output from the storage unit 16 to the CPU 50A is started while the logic of the data in the storage unit 16 is fixed, and so on. The read / write operation is repeated.
[0079]
According to the storage control system 1A according to the embodiment (2), data writing is performed between signals between a read period and a write period (a period from an edge for ending data reading to an edge for starting data writing). A period from an edge to be completed to an edge to start reading data), that is, a predetermined period including a period in which the data input / output terminal 13 is in a high impedance state, is stored in the storage unit 16 using the edge detection of the control signal. Can be fixed in logic, and erroneous data can be prevented from being input in the high impedance state. Therefore, data read / write control can be performed by one control signal line 2 or control signal input line 15 using a control signal, and the storage device 10A conventionally required two for writing and reading. Of the control signal input terminal 12 and the control signal output terminal 52 of the CPU 50A can be reduced to one, respectively, and the number of terminals can be reduced.
[0080]
Next, a storage control system according to Embodiment (3) will be described. However, regarding the configuration of the storage control system 1B according to the embodiment (3), the storage control system 1A shown in FIG. 3 except for the control unit 30A (first counter 33A and second counter 34A) of the storage device 10B. Therefore, different reference numerals are given to the control unit 30A (the first counter 33A and the second counter 34A) of the storage device 10B, and the description of the other components is omitted here.
[0081]
In the storage device 10A in the storage control system 1A according to the embodiment (2), once the switching edge from the L level indicating the read period to the H level is counted once, the logical fixed period is entered and the H level indicating the write period is entered. When the switching edge from the level to the L level is counted once, a logic fixed period is entered.
[0082]
On the other hand, in the storage device 10B in the storage control system 1B according to the embodiment (3), when the switching edge from the L level indicating the read period to the H level is counted n times, the logical fixed period is entered and the write period is entered. When the switching edge from the H level to the L level indicating n is counted n times, the logic fixing period is entered. Control for logically fixing the data in 16 is started. That is, the storage control system 1A according to the embodiment (2) is different from the storage control system 1A in that the storage control system enters a logical fixed period.
[0083]
Next, an operation of reading / writing data from / to the storage device 10B in the storage control system 1B according to the embodiment (3) will be described based on a timing chart shown in FIG. From the CPU 50B, the read period is set to the L level, the write period is set to the H level, and a logic fixed period including a plurality of switching edges is provided between signals between the read period and the write period. It is assumed that a control signal including a plurality of switching edges is also output during the period.
[0084]
Time t 21 , When the control signal is switched from the L level indicating the read period to the H level, in the storage device 10B, the rising edge is detected by the first edge detecting means 31, and the rising edge is counted by the first counter 33A. . Then, when it is determined from the count value (1) that the read period has not ended (in this case, the read period is set to end when the count value reaches 2), data is continuously read from the storage unit 16. .
[0085]
Time t 22 , When the control signal is switched from the L level indicating the read period to the H level, in the storage device 10B, the rising edge is detected by the first edge detecting means 31, and the rising edge is counted by the first counter 33A. . When it is determined from the count value (2) that the read period has ended, the reading of the data (read data) from the storage unit 16 ends, and the logical fixing period starts. (Latch).
[0086]
On the other hand, after a predetermined corresponding period for avoiding collision between the read data and the write data on the data line 3 at the CPU 50B, at time t 23 Outputs write data for writing to the storage device 10B.
[0087]
When the control signal is at time t 22 After switching from the H level state switched to the L level at time t, at time t 24 Is switched to the H level again, the write period starts. In the storage device 10B, the rising edge is detected by the first edge detecting means 31, and the rising edge is counted by the first counter 33A. When the start of the write period is determined from the count value (3) (in this case, the write period is set when the count value reaches 3), the logical fixation of the data in the storage unit 16 is released. At the same time, writing of the write data output from the CPU 50B to the data line 3 to the storage unit 16 is started.
[0088]
And time t 25 , When the control signal is switched from the H level indicating the write period to the L level, in the storage device 10B, the falling edge is detected by the second edge detecting means 32, and the falling edge is counted by the second counter 34A. Is done. If it is determined from the count value (1) that the read period has not ended (in this case, the read period is set to end when the count value reaches 2), data writing to the storage unit 16 is continued. .
[0089]
And time t 26 , When the control signal is switched from the H level indicating the write period to the L level, in the storage device 10B, the falling edge is detected by the second edge detecting means 32, and the falling edge is counted by the second counter 34A. Is done. When the end of the write period is determined based on the count value (2), the writing of the write data to the storage unit 16 ends, and a logical fixing period is entered to logically lock (latch) the data in the storage unit 16. To start.
[0090]
On the other hand, the CPU 50B holds the write data for a predetermined period even after entering the logic fixed period, and thereafter, at time 27 , A corresponding period for avoiding collision between write data and read data on data line 3 is started.
[0091]
When the control signal is at time t 26 After switching from the L level state switched to the H level at time t, at time t 28 Is switched to the L level again, the read period starts. In the storage device 10B, the falling edge is detected by the second edge detecting means 32, and the falling edge is counted by the second counter 34A. Then, when the start of the read period is determined from the count value (3) (in this case, the read period is set when the count value becomes 3), the logic of the data in the storage unit 16 remains fixed. Then, reading of the read data output from the storage unit 16 to the CPU 50B is started, and the read / write operation is repeated in the same manner.
[0092]
According to the storage control system 1B according to Embodiment (3), the edge that performs the same logical switching as the end of the read period in the read period, or the edge that performs the same logical switch as the end of the write period in the write period. After counting the predetermined number of times by the first counter 33A or the second counter 34A, the control for logically fixing the data in the storage unit 16 can be started, and by setting the predetermined number of times to a predetermined value, The variation of the read / write control by the count of the number can be increased.
[0093]
FIG. 6 is a block diagram schematically showing a main part of the storage control system according to the embodiment (4). However, components having the same functions as those of the storage control system 1 shown in FIG. 1 are denoted by the same reference numerals, and description thereof is omitted here.
[0094]
The storage control system 1C includes a storage device 10C and a CPU 50C that can control reading and writing of data from and to the storage device 10C. The storage device 10C and the CPU 50C are connected via one control signal line 2 and N data lines 3. The storage device 10C has a control signal input terminal 12 and a data signal corresponding to these signal lines. An input / output terminal 13 is provided.
[0095]
Further, the CPU 50C is provided with a control signal output terminal 52 and a data input / output terminal 53, and outputs a control signal consisting of a binary signal in which the write period is H level and the read period is L level. From the control signal line 2 to the control signal input terminal 12 of the storage device 10C.
[0096]
The CPU 50C outputs write data from the data input / output terminal 53 to the data input / output terminal 13 of the storage device 10C via the data line 3 in response to the output of the H-level control signal, or controls the L-level control. Read data read from the storage device 10C can be taken in from the data input / output terminal 53 via the data line 3 in accordance with the signal output.
[0097]
Next, the configuration of the storage device 10C will be described. The control unit 30 </ b> B is connected to the control signal input terminal 12 via the control signal input line 15. The control unit 30B receives first rising edge detection means 31 for detecting the rising edge of the switching edge in the control signal, and receives a rising edge detection signal from the first edge detecting means 31 to write data to the storage unit 16. And a timer 36 for measuring a predetermined time for measuring the timing of writing the data. When the predetermined time is measured by the timer 36, the timer 36 outputs a signal for permitting data writing to the storage unit 16. Then, the write data is written to the storage unit 16. An L level read control signal is output from the branch point A of the control signal input line 15 to the data output buffer 17, and the gate is opened by outputting the L level to open the storage unit 16 Can be read.
[0098]
Next, an operation of reading / writing data from / to the storage device 10C in the storage control system 1C according to Embodiment (4) will be described based on the timing chart shown in FIG. It is assumed that the CPU 50C outputs a control signal including a binary signal in which the read period is at the L level and the write period is at the H level.
[0099]
Time t 31 In, when the control signal is switched from H level to L level, a read period starts. In the storage device 10C, when the L level signal is fetched and the start of the read period is determined, reading of the read data output from the storage unit 16 to the CPU 50C is started while the logic of the data in the storage unit 16 is fixed.
[0100]
Time t 32 In, when the control signal is switched from L level to H level, a write period starts. In the CPU 50C, a corresponding period for avoiding collision between the read data and the write data on the data line 3 has entered, and a time t after a predetermined period has elapsed. 33 The write data is output to the storage device 10C.
[0101]
On the other hand, in the storage device 10C, the rising edge is detected by the first edge detection means 31, and the timer 36 starts the measurement of a predetermined time for measuring the timing of writing data to the storage unit 16 and starts the storage unit 10C. The logic fixing (latch) of the data in the memory 16 starts, and a time t after a predetermined time has elapsed. 34 Then, the logical fixation of the data in the storage unit 16 is released (that is, put into a writable state), the write data output to the data line 3 is written in the storage unit 16, and the data in the storage unit 16 is again stored. Start logical fixing of data.
[0102]
On the other hand, in the CPU 50C, the time t 34 After that, the write data is held for a predetermined period, and 35 At t, a corresponding period for avoiding collision between write data and read data on the data line 3 is started. And time t 36 In this case, when the control signal is switched from the H level to the L level, a read period starts, and the read / write operation is repeated in the same manner as described above.
[0103]
According to the storage control system 1C according to Embodiment (4), the period until the predetermined time is measured by the timer 36, that is, the predetermined period including the period when the data input / output terminal 13 is in the high impedance state is By using the timer 36, the logic of the data in the storage unit 16 can be fixed, and erroneous data can be prevented from being input. Therefore, data read / write control can be performed by one control signal line 2 and control signal input line 15 using the control signal, and conventionally two storage devices, one for writing and one for reading, are required. The number of control signal input terminals 12 of the 10C and the number of control signal output terminals 52 of the CPU 50C can be reduced to one, and the number of terminals can be reduced.
[0104]
FIG. 8 is a block diagram schematically showing a main part of the storage control system according to the embodiment (5). However, components having the same functions as those of the storage control system 1C shown in FIG. 6 are denoted by the same reference numerals, and description thereof is omitted here.
[0105]
The difference between the storage control system 1D according to the embodiment (5) and the storage control system 1C according to the embodiment (4) is that the storage control system 1C according to the embodiment (4) changes from L to H. After detecting the rising edge, a predetermined time is measured by the timer 36, and after the predetermined time, the data is written to the storage unit 16, that is, the write data is written only once in the write period. In contrast, in the storage control system 1D according to the embodiment (5), after detecting the rising edge from L to H, the ring timer 37 repeats a predetermined time a predetermined number of times (n times). However, the point is that data is written to the storage unit 16 every predetermined time, that is, data can be written n times during the write period.
[0106]
Next, an operation of reading / writing data from / to the storage device 10D in the storage control system 1D according to Embodiment (5) will be described with reference to the timing chart shown in FIG. It is assumed that the CPU 50D outputs a control signal including a binary signal in which the read period is at the L level and the write period is at the H level.
[0107]
Time t 41 In, when the control signal is switched from H level to L level, a read period starts. In the storage device 10D, when the L level signal is fetched and the start of the read period is determined, reading of the read data output from the storage unit 16 to the CPU 50D is started while the logic of the data in the storage unit 16 is fixed.
[0108]
Time t 42 In, when the control signal is switched from L level to H level, a write period starts. In the CPU 50D, a corresponding period for avoiding a collision between the read data and the write data on the data line 3 has entered, and a time t after a predetermined period has elapsed. 43 The write data A is output to the storage device 10D.
[0109]
On the other hand, in the storage device 10D, the rising edge is detected by the first edge detection means 31, and the process of repeatedly measuring the predetermined time by the ring timer 37 (twice in this case) is started. Is fixed (latch) at a time t after a first predetermined time. 44 Then, the logical fixation of the data in the storage unit 16 is released (that is, put into a writable state), the write data A output to the data line 3 is written in the storage unit 16, and the data in the storage unit 16 is stored again. Start logical fixing of data.
[0110]
On the other hand, in the CPU 50D, the time t 44 Thereafter, the write data is held for a predetermined period, and thereafter, at time t 45 The write data B is output to the storage device 10D. In the storage device 10D, the time t after the second predetermined time 46 Then, the logical fixing of the data in the storage unit 16 is released, the write data B output to the data line 3 is written in the storage unit 16, and the logical fixing of the data in the storage unit 16 is started again.
[0111]
And time t 47 In, when the control signal is switched from H level to L level, a read period starts. When the storage device 10D captures the L-level signal and determines the start of the read period, the write data B written at the end of the immediately preceding write period is stored while the logic of the data in the storage unit 16 is fixed. A process of reading as read data B to be output from the unit 16 to the CPU 50D is performed, and the read / write operation is repeated in the same manner as described above.
[0112]
According to the storage control system 1D according to the embodiment (5), data read / write control can be performed by one control signal line 2 and control signal input line 15 using the control signal. The number of control signal input terminals 12 of the storage device 10D and the number of control signal output terminals 52 of the CPU 50D required for writing and reading can be reduced to one, and the number of terminals can be reduced. In addition, the logic of the data in the storage unit 16 can be fixed for each period in which the predetermined time is repeatedly measured by the ring timer 37, so that erroneous data can be prevented from being input. The data can be repeatedly input a predetermined number of times during the writing period, and correct data can be input immediately even if, for example, there is an error in the input data.
[0113]
FIG. 10 is a block diagram schematically showing a main part of a storage control system according to Embodiment (6). However, components having the same functions as those of the storage control system 1D shown in FIG. 8 are denoted by the same reference numerals, and description thereof is omitted here.
[0114]
In the storage control system 1D according to the embodiment (5), data is written n times in the write period, and in the next read period, the (n-th) write data written last in the immediately preceding write period is written. While processing for reading as read data to be output from the storage unit 16 to the CPU 50D is performed, the storage control system 1E according to the embodiment (6) sets the rising edge from L to H to the first. After the edge detecting means 31 detects the predetermined time, the first ring timer 37 repeatedly counts the predetermined number of times (n times), and writes data to the storage unit 16 at the predetermined time. Up to this point, the operation is the same as that of the embodiment (5). However, in the embodiment (6), after the falling edge from H to L is detected by the second edge detection means 32, a certain period of time is set. The second ring timer 38 counts repeatedly a predetermined number of times (n times), and reads data from the storage unit 16 at regular intervals, that is, data is read n times during the read period. Are different.
[0115]
Next, an operation of reading / writing data from / to the storage device 10E in the storage control system 1E according to the embodiment (6) will be described based on a timing chart shown in FIG. It is assumed that the CPU 50E outputs a control signal including a binary signal in which the read period is at the L level and the write period is at the H level.
[0116]
Time t 51 In, when the control signal is switched from L level to H level, a write period starts. In the CPU 50E, a corresponding period for avoiding a collision between the read data and the write data on the data line 3 has entered, and a time t after a predetermined period has elapsed. 52 The write data A is output to the storage device 10E.
[0117]
On the other hand, in the storage device 10E, the rising edge is detected by the first edge detection means 31, and the process of repeatedly measuring the predetermined time by the first ring timer 37 (two times in this case) is started, and the storage unit 16E is started. The logic fixing (latch) of the data in the memory is started, and the time t after the first predetermined time has elapsed. 53 Then, the logical fixation of the data in the storage unit 16 is released (that is, the data can be written), the write data A output to the data line is written in the storage unit 16, and the data in the storage unit 16 is stored again. Start logical fixing of data.
[0118]
On the other hand, in the CPU 50E, the time t 53 Thereafter, the write data is held for a predetermined period, and thereafter, at time t 54 The write data B is output to the storage device 10E. Then, in the storage device 10E, the time t after the second predetermined time 55 Then, the logical fixing of the data in the storage unit 16 is released, the write data B output to the data line 3 is written in the storage unit 16, and the logical fixing of the data in the storage unit 16 is started again.
[0119]
And time t 56 In, when the control signal is switched from H level to L level, a read period starts. In the storage device 10 </ b> E, the falling edge is detected by the second edge detection means 32, and the process of repeatedly measuring the predetermined time by the second ring timer 38 (two times in this case) is started. At the time t when the first predetermined time elapses while the logic of the data is fixed. 57 During this time, a process of reading out the write data A from the storage unit 16 as the read data A to be output to the CPU 50E is performed. 57 Then, the time t at which the second predetermined time elapses 58 During this period, a process of reading the write data B as the read data B to be output from the storage unit 16 to the CPU 50E is performed. And time t 59 In this case, when the control signal is switched from the L level to the H level, a write period starts and the read / write operation is repeated in the same manner as described above.
[0120]
According to the storage control system 1E according to the embodiment (6), data read / write control can be performed by one control signal line 2 and control signal input line 15 using a control signal. The number of control signal input terminals 12 of the storage device 10E and the number of control signal output terminals 52 of the CPU 50E, each of which were required for the two, one for use and one for readout, can be reduced to one.
[0121]
Further, the logic of the data in the storage unit 16 can be fixed for each period in which the predetermined time is repeatedly measured by the first ring timer 37, so that erroneous data can be prevented from being input. Data can be repeatedly written a predetermined number of times in one write period. Further, data can be read out at every predetermined time counted by the second ring timer 38, and the CPU 50E can grasp all the contents of the data input to the storage unit 16.
[0122]
FIG. 12 is a block diagram schematically showing a main part of the storage control system according to the embodiment (7). However, components having the same functions as those of the storage control system 1 shown in FIG. 1 are denoted by the same reference numerals, and description thereof is omitted here.
[0123]
The storage control system 1F includes a storage device 10F and a CPU 50F capable of inputting and outputting data to and from the storage device 10F.
The storage device 10F and the CPU 50F are connected via N data lines 3, and the storage device 10F and the CPU 50F are provided with data input / output terminals 13 and 33 corresponding to the data lines 3.
[0124]
The storage device 10F includes a storage unit 16 that stores data, and a control unit 30E that controls writing of data output from the CPU 50F and reading of data stored in the storage unit 16.
[0125]
The control unit 30E includes a ring timer 39 that repeatedly counts a predetermined time set for writing and reading data, and switching to write control or read control of data at each time of the predetermined time measured by the ring timer 39. And a timer 41 for measuring a predetermined time for measuring the timing of writing the write data to the storage unit 16 after switching to the write control by the control switching unit 40. ing. The control unit 30E writes the write data given from the CPU 50F to the data line 3 to the storage unit 16 after the timer 41 measures the predetermined time, and switches to the read control by the control switching unit 40, A process of reading data from the device is performed.
[0126]
The data input / output terminal 13 is connected to a data input / output line 18 for taking in data from the CPU 50F or outputting data read from the storage unit 16. It is branched into a data input line 18a and a data output line 18b and connected to the storage unit 16. A data input buffer 19 is interposed in the data input line 18a, and data output from the data input buffer 19 is written to the storage unit 16. The data output line 18b is provided with a data output buffer 17 for outputting data read from the storage unit 16 in accordance with the timer value.
[0127]
The CPU 50F controls a ring timer 55 that measures a predetermined time at the same timing as the ring timer 39 of the storage device 10F, and controls or supplies the write data to the storage device 10F by the ring timer 55 every time the predetermined time is measured. Control switching means 56 for switching the control for reading the read data read out, and after switching to the data supply control by the control switching means 56, within a predetermined time measured by the timer 41 of the storage device 10F. The write data is supplied to the storage device 10F, and after switching to the data reading control by the control switching means 56, control for reading data from the storage device 10F is performed.
[0128]
Next, an operation of reading / writing data from / to the storage device 10F in the storage control system 1F according to the embodiment (7) will be described based on a timing chart shown in FIG. The timer value indicates a timer value measured by the ring timers 39 and 55, and the read period is T 1 And the write period is T 2 And the CPU 50F and the storage device 10F are synchronized.
[0129]
Time t 61 When the timer value T2 of the write period by the ring timers 39 and 55 has been measured, the control switching means 40 and 56 switch the control from the write period to the read period. Then, in the storage unit 16, the ring timer 39 sets the timer value T for the read period. 1 The reading of the read data to be output from the storage unit 16 to the CPU 50F is started while the logic of the data in the storage unit 16 is fixed.
[0130]
Ring timer 39 has timer value T 1 Time t 62 In, control is switched from the read period to the write period by the control switching means 40 and 56. The CPU 50F has entered a corresponding period for avoiding collision between read data and write data on the data line 3, and at a time t after a predetermined period. 63 The write data is output to storage device 10F.
[0131]
On the other hand, in the storage device 10F, the timer value T during the write period by the ring timer 39 is used. 2 Start timing. In addition, the timer 41 starts measuring a predetermined time for measuring the timing of writing data to the storage unit 16, and starts fixing the logic of the data in the storage unit 16 (latch). t 64 Then, the logical fixation of the data in the storage unit 16 is released (that is, the data is written), the write data output to the data line is written in the storage unit 16, and the data in the storage unit 16 is again written. Start logical fixation of.
[0132]
On the other hand, in the CPU 50F, the time t 64 Thereafter, the write data is held for a predetermined period, and thereafter, at time t 65 Enters a corresponding period for avoiding collision between write data and read data on data line 3.
[0133]
And time t 66 , The timer value T of the write period by the ring timers 39 and 55 2 Is completed, the control is switched from the write period to the read period by the control switching means 40 and 55, and the read / write operation is repeated in the same manner as described above.
[0134]
According to the storage control system 1F according to the embodiment (7), the control unit 30E uses the ring timer 39 and the control switching unit 40 to control the writing and reading of data at each time of the writing period and the reading period. In addition to switching the control, the logic of the data in the storage unit 16 is fixed for a period until the predetermined time is measured by the timer 41, that is, for a predetermined period including a period in which the data input / output terminal 13 is in a high impedance state. And erroneous data can be prevented from being input. Further, a control signal line for receiving a control signal from the CPU 50F is not required, and an input terminal for the control signal is not required. Therefore, it is possible to eliminate the need for two control signal input terminals for writing and reading, and to reduce the number of terminals by two.
[0135]
FIG. 14 is a block diagram schematically showing a main part of the storage control system according to the embodiment (8). However, components having the same functions as those of the storage control system 1F shown in FIG. 12 are denoted by the same reference numerals, and description thereof is omitted here.
[0136]
The difference between the storage control system 1G according to the embodiment (8) and the storage control system 1F according to the embodiment (7) is that in the storage control system 1F according to the embodiment (7), the control switching unit 40 is different. After the control is switched from the read period to the write period, a predetermined time is measured by the timer 41, and after the predetermined time, the data is written to the storage unit 16, that is, the data is written only once in the write period. While data is written, the storage control system 1G according to the embodiment (8) switches the control from the read period to the write period by the control switching unit 40, and then executes the ring timer. 42, a predetermined time is repeated a predetermined number of times (n times), and data is written to the storage unit 16 at every predetermined time. It is that the writing of data is able to perform.
[0137]
The time measured by the ring timers 39 and 55 of the storage device 10F and the CPU 50F in the storage control system 1F according to the embodiment (7) is set in advance and cannot be changed. In the storage control system 1G according to the mode (8), the time measured by the ring timers 39 and 55 of the storage device 10G and the CPU 50G (timer value) can be changed in design via the timer value changing means 43 and 57. It has become. As the timer value changing means 43 and 57, a circuit for taking in a timer value setting voltage value from the outside and changing the timer value by an external voltage (a circuit in which a comparator, an A / D converter, and the like are incorporated) is incorporated. You can do it.
[0138]
Next, an operation of reading / writing data from / to the storage device 10G in the storage control system 1G according to the embodiment (8) will be described based on a timing chart shown in FIG. The timer value indicates a timer value measured by the ring timers 39 and 55, and the read period is T 1 And the write period is T 2 , And the CPU 50G and the storage device 10G are synchronized.
[0139]
Time t 61 , The timer value T of the write period by the ring timers 39 and 55 2 Is completed, the control is switched by the control switching means 40 and 56 from the write period to the read period. In the storage device 10G, the timer value T of the read period is set by the ring timer 39. 1 The reading of the read data to be output from the storage unit 16 to the CPU 50G is started while the logic of the data in the storage unit 16 is fixed.
[0140]
When the ring timers 39 and 55 have the timer value T 1 Time t 62 In, control is switched from the read period to the write period by the control switching means 40 and 56. CPU 50G has entered a corresponding period for avoiding collision between read data and write data on data line 3, and at time t after a predetermined period. 63 The write data A is output to the storage device 10G.
[0141]
On the other hand, in the storage device 10G, the timer value T during the write period by the ring timer 39 is used. 2 Start timing. In addition, a process of repeatedly (two times in this case) measuring a predetermined time for timing of writing data to the storage unit 16 by the ring timer 42 is started, and the logic of the data in the storage unit 16 is fixed ( Latch) is started and the time t after the first predetermined time 64 Then, the logical fixation of the data in the storage unit 16 is released (that is, put into a writable state), the write data A output to the data line 3 is written in the storage unit 16, and the data in the storage unit 16 is stored again. Start logical fixing of data.
[0142]
On the other hand, in the CPU 50G, the time t 64 Thereafter, write data A is held for a predetermined period, and thereafter, at time t 65 The write data B is output to the storage device 10G. Then, in the storage device 10G, the time t after the second predetermined time 66 Then, the logical fixing of the data in the storage unit 16 is released, the write data B given to the data line 3 is written in the storage unit 16, and the logical fixing of the data in the storage unit 16 is started again.
[0143]
And time t 67 , The timer value T of the write period by the ring timers 39 and 55 2 Is completed, the control is switched by the control switching means 40 and 56 from the write period to the read period. In the storage device 10G, the timer value T of the read period is set by the ring timer 39. 1 , The write data B written at the end of the immediately preceding write period is read out as read data to be output from the storage unit 16 to the CPU 50G while the logic of the data in the storage unit 16 is fixed. The read / write operation is repeated in the same manner as described above.
[0144]
According to the storage control system 1G according to the embodiment (8), a control signal line for taking in a control signal from the CPU 50G and a control signal input line are not required, and a control signal input terminal of the storage device 10G and a control signal output terminal of the CPU 50G. Is no longer needed. Therefore, the control signal input terminal of the storage device 10G and the control signal output terminal of the CPU 50G, which have conventionally been required for writing and reading, can be eliminated, and the number of terminals can be reduced by two. In addition, the logic of the data in the storage unit 16 can be fixed for each period in which the predetermined time is repeatedly measured by the ring timer 42, so that erroneous data can be prevented from being input. In the write period, data can be repeatedly input a predetermined number of times. For example, even if there is an error in the input data, correct data can be input immediately.
[0145]
Further, by providing the timer value changing means 43, 57, the write period and / or the read period measured by the ring timers 39, 55 can be changed, and any write period according to the control, and / or The lead period can be set.
[0146]
FIG. 16 is a block diagram schematically showing a main part of the storage control system according to the embodiment (9). However, components having the same functions as those of the storage control system 1G shown in FIG. 14 are denoted by the same reference numerals, and description thereof is omitted here.
[0147]
In the storage control system 1G according to the embodiment (8), data is written n times in the write period, and in the next read period, the last (n-th) write data written in the immediately preceding write period is stored. In the storage control system 1H according to the embodiment (9), the control switching unit 40 switches from the read period to the write period, whereas the storage control system 1H according to the embodiment (9) performs the process of reading as read data output from the unit 16 to the CPU 50G. After switching to the control, the first ring timer 42 repeatedly counts a predetermined time a predetermined number of times (n times), and writes data to the storage unit 16 at each predetermined time. Up to this point, the operation is the same as that of the embodiment (8). However, in the embodiment (9), after the control switching unit 40 switches the control from the write period to the read period, a certain period of time is set for the second ring. The point that the timer 43 repeatedly counts a predetermined number of times (n times) and reads data from the storage unit 16 at regular time intervals, that is, data is read n times during the read period. Are different.
[0148]
Next, an operation of reading / writing data from / to the storage device 10H in the storage control system 1H according to the embodiment (9) will be described based on a timing chart shown in FIG. The timer value indicates a timer value measured by the ring timers 39 and 55, and the read period is T 1 And the write period is T 2 , And the CPU 50H and the storage device 10H are synchronized.
[0149]
When the ring timers 39 and 55 have the timer value T 1 Time t 71 In, control is switched from the read period to the write period by the control switching means 40 and 56. CPU 50H has entered a corresponding period for avoiding collision between read data and write data on data line 3, and at time t after a predetermined period. 72 The write data A is output to the storage device 10H.
[0150]
On the other hand, in the storage device 10H, the timer value T during the write period by the ring timer 39 is used. 2 Start timing. In addition, a process of repeating (two times in this case) measurement of a predetermined time for measuring the timing of writing data to the storage unit 16 by the first ring timer 42 is started, and the data in the storage unit 16 is stored. The logic fixing (latch) is started and the time t after the first predetermined time 73 Then, the logical fixation of the data in the storage unit 16 is released (that is, put into a writable state), the write data A output to the data line 3 is written in the storage unit 16, and the data in the storage unit 16 is stored again. Start logical fixing of data.
[0151]
On the other hand, in the CPU 50H, the time t 73 Thereafter, the write data is held for a predetermined period, and thereafter, at time t 74 The write data B is output to the storage device 10H. In the storage device 10H, the time t after the second predetermined time 75 Then, the logical fixing of the data in the storage unit 16 is released, the write data B given to the data line 3 is written in the storage unit 16, and the logical fixing of the data in the storage unit 16 is started again.
[0152]
And time t 76 , The timer value T of the write period by the ring timers 39 and 55 2 Is completed, the control is switched by the control switching means 40 and 56 from the write period to the read period. In the storage device 10H, the ring timer 39 sets the timer value T for the read period. 1 , And while the logic of the data in the storage unit 16 is fixed, the process of repeating the predetermined time measurement by the second ring timer 43 (in this case, twice) is started. At the time t when the first predetermined time elapses while the logic of the data is fixed. 77 During this period, a process of reading the write data A from the storage unit 16 as the read data A to be output to the CPU 50H is performed, and further, at time t 77 Then, the time t at which the second predetermined time elapses 78 During this period, a process of reading the write data B from the storage unit 16 as the read data B to be output to the CPU 50H is performed.
[0153]
And time t 79 , The timer value T of the read period by the ring timers 39 and 55 1 Is completed, the control is switched from the read period to the write period by the control switching means 40 and 56, and the read / write operation is repeated in the same manner as described above.
[0154]
According to the storage control system 1H according to the embodiment (9), a control signal line for taking in a control signal from the CPU 50H and a control signal input line are not required, and a control signal input terminal in the storage device 10H and a control signal output terminal in the CPU 50H. Is no longer needed. Therefore, the control signal input terminal and the control signal output terminal, which were conventionally required for writing and reading, can be eliminated, and the number of terminals can be reduced by two. In addition, the logic of the data in the storage unit 16 can be fixed for each period in which the predetermined time is repeatedly measured by the first ring timer 42, and erroneous data can be prevented from being input. Further, data can be repeatedly input a predetermined number of times during one write period, and the data can be read out at every predetermined time counted by the second ring timer 43. It is possible to make the CPU 50H understand all the data contents.
[Brief description of the drawings]
FIG. 1 is a block diagram schematically showing a main part of a storage control system employing a storage device according to a first embodiment of the present invention.
FIG. 2 is a timing chart showing a data read / write operation for a storage device in the storage control system according to the embodiment (1).
FIG. 3 is a block diagram schematically showing a main part of a storage control system according to a second embodiment.
FIG. 4 is a timing chart showing a data read / write operation for a storage device in the storage control system according to the embodiment (2).
FIG. 5 is a timing chart showing an operation of reading / writing data from / to a storage device in the storage control system according to Embodiment (3).
FIG. 6 is a block diagram schematically showing a main part of a storage control system according to Embodiment (4).
FIG. 7 is a timing chart showing a data read / write operation for a storage device in the storage control system according to the embodiment (4).
FIG. 8 is a block diagram schematically showing a main part of a storage control system according to an embodiment (5).
FIG. 9 is a timing chart showing a data read / write operation for a storage device in the storage control system according to the embodiment (5).
FIG. 10 is a block diagram schematically showing a main part of a storage control system according to Embodiment (6).
FIG. 11 is a timing chart showing a data read / write operation for a storage device in the storage control system according to the embodiment (6).
FIG. 12 is a block diagram schematically showing a main part of a storage control system according to an embodiment (7).
FIG. 13 is a timing chart showing a data read / write operation for a storage device in the storage control system according to the embodiment (7).
FIG. 14 is a block diagram schematically showing a main part of a storage control system according to an embodiment (8).
FIG. 15 is a timing chart showing a data read / write operation for a storage device in the storage control system according to the embodiment (8).
FIG. 16 is a block diagram schematically showing a main part of a storage control system according to an embodiment (9).
FIG. 17 is a timing chart showing a data read / write operation for a storage device in the storage control system according to the embodiment (9).
FIG. 18 is a block diagram schematically showing a main part of a conventional storage control system.
FIG. 19 is a timing chart showing a data read / write operation for a storage device in a conventional storage control system.
[Explanation of symbols]
10 Storage device
13 Data input / output terminal
15 Control signal input line
16 Storage unit
21 Pulldown resistor

Claims (16)

データを格納する記憶部を備え、データの読み書きを行うための制御信号を外部から取り込み、該制御信号に基づいて、前記記憶部へのデータの書き込みと前記記憶部に格納されたデータの読み出しとを行う記憶装置において、
前記制御信号を取り込むための制御信号ラインが1本で構成され、
前記制御信号が、2値信号の2つの状態でデータの書き込みと読み出しとを行わせるものであり、
前記データの入出力端子がハイインピーダンス状態となる期間に前記記憶部へ所定の論理を入力し、前記記憶部に書き込まれたデータを保持させるための論理固定手段を備えていることを特徴とする記憶装置。
A storage unit for storing data is provided, and a control signal for reading and writing data is fetched from the outside, and based on the control signal, writing of data to the storage unit and reading of data stored in the storage unit are performed. In the storage device performing
A single control signal line for capturing the control signal;
The control signal causes data to be written and read in two states of a binary signal,
A logic fixing means for inputting a predetermined logic to the storage unit during a period when the data input / output terminal is in a high-impedance state and holding data written in the storage unit is provided. Storage device.
前記論理固定手段が、前記入出力端子と前記記憶部とを接続するラインに接続されたプルアップ抵抗又はプルダウン抵抗で構成されていることを特徴とする請求項1記載の記憶装置。2. The storage device according to claim 1, wherein said logic fixing means comprises a pull-up resistor or a pull-down resistor connected to a line connecting said input / output terminal and said storage unit. 前記記憶部へ書き込まれるデータが変化する際、該データのばらつき周期以上の周期を有する基準信号に基づいて前記データのばらつきをフィルタリングするフィルタ手段を備えていることを特徴とする請求項2記載の記憶装置。3. The apparatus according to claim 2, further comprising: a filter unit configured to filter a variation of the data based on a reference signal having a cycle equal to or longer than a variation cycle of the data when the data written to the storage unit changes. Storage device. データを格納する記憶部と、データの読み書きを行うための制御信号を外部から取り込み、該制御信号に基づいて、前記記憶部へのデータの書き込みと前記記憶部に格納されたデータの読み出しとを制御する制御手段とを備えた記憶装置において、
前記制御信号を取り込むための制御信号ラインが1本で構成され、
前記制御信号が、データの読み出し期間と書き込み期間との信号間に複数の切り替えエッジが含まれている2値信号からなり、
前記制御手段が、
前記切り替えエッジの立上がりと立下がりとを区別して検出するエッジ検出手段と、
該エッジ検出手段により検出される前記切り替えエッジの立上がりと立下がりとの検出回数をそれぞれ区別してカウントするエッジカウント手段とを備え、
該エッジカウント手段によりカウントされるエッジカウント数に基づいて、前記制御信号の切り替え内容を判断し、前記読み出し期間と前記書き込み期間との信号間は前記記憶部内のデータを論理固定する制御を行う一方、前記書き込み期間は書き込み制御を行い、前記読み出し期間は読み出し制御を行うものであることを特徴とする記憶装置。
A storage unit for storing data, a control signal for reading and writing data is fetched from outside, and based on the control signal, writing of data to the storage unit and reading of data stored in the storage unit are performed. Control means for controlling the storage device,
A single control signal line for capturing the control signal;
The control signal is a binary signal including a plurality of switching edges between signals in a data reading period and a data writing period;
The control means,
Edge detection means for distinguishing and detecting the rising edge and the falling edge of the switching edge,
Edge counting means for distinguishing and counting the number of times of detection of the rising edge and the falling edge of the switching edge detected by the edge detecting means,
The switching content of the control signal is determined based on the edge count number counted by the edge counting means, and control for logically fixing data in the storage unit is performed between signals in the read period and the write period. A memory device for performing write control during the write period and performing read control during the read period.
前記エッジカウント手段が、
前記読み出し期間において、データの読み出しを終了させるエッジと同じ論理切り替えを行う第1エッジと、前記書き込み期間において、データの書き込みを終了させるエッジと同じ論理切り替えを行う第2エッジとをカウントするものであり、
前記制御手段が、
前記エッジカウント手段により前記第1エッジ又は前記第2エッジが所定回数カウントされると、前記記憶部内のデータを論理固定する制御を開始するものであることを特徴とする請求項4記載の記憶装置。
The edge counting means,
In the reading period, a first edge that performs the same logical switching as the edge that ends the data reading is counted, and a second edge that performs the same logical switching as the edge that ends the data writing in the writing period is counted. Yes,
The control means,
5. The storage device according to claim 4, wherein when the first edge or the second edge is counted a predetermined number of times by the edge counting means, control for logically fixing data in the storage unit is started. .
データを格納する記憶部と、データの読み書きを行うための制御信号を外部から取り込み、該制御信号に基づいて、前記記憶部へのデータの書き込みと前記記憶部に格納されたデータの読み出しとを制御する制御手段とを備えた記憶装置において、
前記制御信号を取り込むための制御信号ラインが1本で構成され、
前記制御信号が、2値信号の2つの状態でデータの書き込みと読み出しとを行わせるものであり、
前記制御手段が、
前記制御信号におけるデータの読み出し期間から書き込み期間への切り替えと、データの書き込み期間から読み出し期間への切り替えとを検出する信号切替検出手段と、
該信号切替検出手段による前記読み出し期間から書き込み期間への切り替え検出後、所定時間を計時する第1の計時手段とを備え、
該第1の計時手段により前記所定時間が計時されるまでの期間、前記記憶部内のデータを論理固定する制御を行う一方、前記第1の計時手段により前記所定時間が計時されると外部からの書込データを前記記憶部へ書き込み、前記信号切替検出手段により前記書き込み期間から読み出し期間への切り替えを検出すると、前記書込データを読み出す制御を行うものであることを特徴とする記憶装置。
A storage unit for storing data, a control signal for reading and writing data is fetched from outside, and based on the control signal, writing of data to the storage unit and reading of data stored in the storage unit are performed. Control means for controlling the storage device,
A single control signal line for capturing the control signal;
The control signal causes data to be written and read in two states of a binary signal,
The control means,
Signal switching detection means for detecting switching from the data reading period to the writing period in the control signal and switching from the data writing period to the reading period,
First timing means for measuring a predetermined time after detecting the switching from the read period to the writing period by the signal switching detection means,
Until the predetermined time is measured by the first timer, control is performed to logically fix the data in the storage unit, and when the predetermined time is measured by the first timer, external control is performed. A storage device for writing write data into the storage unit and performing control to read out the write data when the switching from the write period to the read period is detected by the signal switching detection unit.
データを格納する記憶部と、データの読み書きを行うための制御信号を外部から取り込み、該制御信号に基づいて、前記記憶部へのデータの書き込みと前記記憶部に格納されたデータの読み出しとを制御する制御手段とを備えた記憶装置において、
前記制御信号を取り込むための制御信号ラインが1本で構成され、
前記制御信号が、2値信号の2つの状態でデータの書き込みと読み出しとを行わせるものであり、
前記制御手段が、
前記制御信号におけるデータの読み出し期間から書き込み期間への切り替えと、データの書き込み期間から読み出し期間への切り替えとを検出する信号切替検出手段と、
該信号切替検出手段による前記読み出し期間から書き込み期間への切り替え検出時から所定時間を所定回数繰り返し計時する第2の計時手段とを備え、
該第2の計時手段により前記所定時間が繰り返し計時される期間毎に、前記記憶部内のデータを論理固定する制御を行う一方、前記第2の計時手段による前記所定時間の計時毎に外部からの書込データを前記記憶部へ書き込み、前記信号切替検出手段により前記書き込み期間から読み出し期間への切り替えを検出すると、最後に書き込まれた書込データを読み出す制御を行うものであることを特徴とする記憶装置。
A storage unit for storing data, a control signal for reading and writing data is fetched from outside, and based on the control signal, writing of data to the storage unit and reading of data stored in the storage unit are performed. Control means for controlling the storage device,
A single control signal line for capturing the control signal;
The control signal causes data to be written and read in two states of a binary signal,
The control means,
Signal switching detection means for detecting switching from the data reading period to the writing period in the control signal and switching from the data writing period to the reading period,
A second time counting means for repeatedly counting a predetermined time a predetermined number of times from the time when the switching from the reading period to the writing period is detected by the signal switching detection means,
Control is performed to logically fix the data in the storage unit for each period in which the predetermined time is repeatedly measured by the second timer. Write data is written to the storage unit, and when the switching from the write period to the read period is detected by the signal switching detection unit, control is performed to read the last written write data. Storage device.
データを格納する記憶部と、データの読み書きを行うための制御信号を外部から取り込み、該制御信号に基づいて、前記記憶部へのデータの書き込みと前記記憶部に格納されたデータの読み出しとを制御する制御手段とを備えた記憶装置において、
前記制御信号を取り込むための制御信号ラインが1本で構成され、
前記制御信号が、2値信号の2つの状態でデータの書き込みと読み出しとを行わせるものであり、
前記制御手段が、
前記制御信号におけるデータの読み出し期間から書き込み期間への切り替えと、データの書き込み期間から読み出し期間への切り替えとを検出する信号切替検出手段と、
該信号切替検出手段によるデータの読み出し期間から書き込み期間への切り替え検出時から所定時間を所定回数繰り返し計時する第2の計時手段と、
前記信号切替検出手段によるデータの書き込み期間から読み出し期間への切り替え検出時から所定時間を所定回数繰り返し計時する第3の計時手段とを備え、
前記第2の計時手段により前記所定時間が繰り返し計時される期間毎に、前記記憶部内のデータを論理固定する制御を行う一方、前記第2の計時手段による前記所定時間の計時毎に外部からの書込データを前記記憶部へ書き込み、前記信号切替検出手段により前記書き込み期間から読み出し期間への切り替えを検出すると、前記第3の計時手段により計時される前記所定時間毎に前記データを読み出す制御を行うものであることを特徴とする記憶装置。
A storage unit for storing data, a control signal for reading and writing data is fetched from outside, and based on the control signal, writing of data to the storage unit and reading of data stored in the storage unit are performed. Control means for controlling the storage device,
A single control signal line for capturing the control signal;
The control signal causes data to be written and read in two states of a binary signal,
The control means,
Signal switching detection means for detecting switching from the data reading period to the writing period in the control signal and switching from the data writing period to the reading period,
A second time counting means for repeatedly counting a predetermined time a predetermined number of times from the time when the signal switching detection means detects the switching from the data reading period to the writing period;
A third time counting means for repeatedly counting a predetermined time a predetermined number of times from the time of detection of switching from the data writing period to the reading period by the signal switching detection unit,
Control is performed to logically fix the data in the storage unit for each period in which the predetermined time is repeatedly measured by the second clocking unit, and external control is performed every time the predetermined time is measured by the second clocking unit. When write data is written to the storage unit, and when the switching from the writing period to the reading period is detected by the signal switching detection unit, the control to read the data at the predetermined time intervals counted by the third timing unit is performed. Storage device.
データを格納する記憶部と、該記憶部へのデータの書き込みと前記記憶部に格納されたデータの読み出しとを制御する制御手段とを備えた記憶装置において、
前記制御手段が、
予め設定されたデータの書き込み期間と読み出し期間とを繰り返し計時する第4の計時手段と、
該第4の計時手段による前記書き込み期間と読み出し期間との計時毎にデータの書き込み制御又は読み出し制御への切り替えを行う制御切替手段と、
該制御切替手段による前記書き込み制御への切替後、所定時間を計時する第5の計時手段とを備え、
該第5の計時手段により前記所定時間が計時されるまで、前記記憶部内のデータを論理固定する制御を行う一方、前記第5の計時手段により前記所定時間を計時すると外部からの書込データを前記記憶部へ書き込み、前記制御切替手段による前記読み出し制御への切替後、前記書込データを読み出す制御を行うものであることを特徴とする記憶装置。
A storage unit that stores data, and a storage device that includes a control unit that controls writing of data to the storage unit and reading of data stored in the storage unit,
The control means,
Fourth timing means for repeatedly counting a preset data writing period and a preset data period;
Control switching means for switching to data write control or data read control for each time between the writing period and the reading period by the fourth timer means;
After switching to the writing control by the control switching unit, the control unit includes a fifth clock unit that clocks a predetermined time,
Until the predetermined time is measured by the fifth timer, control for logically fixing the data in the storage unit is performed. A storage device for writing data to the storage unit and performing control to read the write data after switching to the read control by the control switching unit.
データを格納する記憶部と、該記憶部へのデータの書き込みと前記記憶部に格納されたデータの読み出しとを制御する制御手段とを備えた記憶装置において、
前記制御手段が、
予め設定されたデータの書き込み期間と読み出し期間とを繰り返し計時する第4の計時手段と、
該第4の計時手段による前記書き込み期間と読み出し期間との計時毎にデータの書き込み制御又は読み出し制御への切り替えを行う制御切替手段と、
該制御切替手段による前記書き込み制御への切替後、所定時間を所定回数繰り返し計時する第6の計時手段とを備え、
該第6の計時手段により前記所定時間が繰り返し計時される期間毎に、前記記憶部内のデータを論理固定する制御を行う一方、前記第6の計時手段による前記所定時間の計時毎に外部からの書込データを前記記憶部へ書き込み、前記制御切替手段による前記読み出し制御への切替後、最後に書き込まれた書込データを読み出す制御を行うものであることを特徴とする記憶装置。
A storage unit that stores data, and a storage device that includes a control unit that controls writing of data to the storage unit and reading of data stored in the storage unit,
The control means,
Fourth timing means for repeatedly counting a preset data writing period and a preset data period;
Control switching means for switching to data write control or data read control for each time between the writing period and the reading period by the fourth timer means;
After switching to the writing control by the control switching means, the control means comprises:
Control is performed to fix the logic of the data in the storage unit for each period in which the predetermined time is repeatedly counted by the sixth timer. A storage device for writing write data to the storage unit and performing control to read the last written write data after switching to the read control by the control switching unit.
データが格納される記憶部と、該記憶部へのデータの書き込みと前記記憶部に格納されたデータの読み出しとを制御する制御手段とを備えた記憶装置において、
前記制御手段が、
予め設定されたデータの書き込み期間と読み出し期間とを繰り返し計時する第4の計時手段と、
該第4の計時手段による前記書き込み期間と読み出し期間との計時毎にデータの書き込み制御又は読み出し制御への切り替えを行う制御切替手段と、
該制御切替手段による前記書き込み制御への切替後、所定時間を所定回数繰り返し計時する第6の計時手段と、
前記制御切替手段による前記読み出し制御への切替後、所定時間を所定回数繰り返し計時する第7の計時手段とを備え、
前記第6の計時手段により前記所定時間が繰り返し計時される期間毎に、前記記憶部内のデータを論理固定する制御を行う一方、前記第6の計時手段による前記所定時間の計時毎に外部からの書込データを前記記憶部へ書き込み、前記第7の計時手段により計時される前記所定時間毎に前記書込データを読み出す制御を行うものであることを特徴とする記憶装置。
In a storage device including a storage unit in which data is stored, and a control unit that controls writing of data to the storage unit and reading of data stored in the storage unit,
The control means,
Fourth timing means for repeatedly counting a preset data writing period and a preset data period;
Control switching means for switching to data write control or data read control for each time between the writing period and the reading period by the fourth timer means;
After switching to the writing control by the control switching unit, a sixth timing unit that repeatedly counts a predetermined time a predetermined number of times,
After switching to the readout control by the control switching unit, the control unit includes a seventh timer that repeats a predetermined time a predetermined number of times.
While the control of logically fixing the data in the storage unit is performed for each period in which the predetermined time is repeatedly measured by the sixth timer, an external control is performed every time the predetermined time is measured by the sixth timer. A storage device for controlling writing of write data to the storage unit and reading of the write data at every predetermined time counted by the seventh timing unit.
前記第4の計時手段により計時される前記書き込み期間、及び/又は前記読み出し期間を変更する期間変更手段を備えていることを特徴とする請求項9〜11のいずれかの項に記載の記憶装置。The storage device according to claim 9, further comprising a period changing unit configured to change the writing period and / or the reading period measured by the fourth time measuring unit. . 請求項1〜3のいずれかの項に記載の記憶装置と、
該記憶装置に対して、1つの制御信号出力端子から2値信号の2つの状態でデータの書き込みと読み出しとを行わせる制御信号を出力し、該制御信号に基づいて、前記記憶装置への書込データの出力や前記記憶装置から読出データの取り込みを行う外部制御手段とを含んで構成されていることを特徴とする記憶制御システム。
A storage device according to any one of claims 1 to 3,
A control signal for writing and reading data in two states of a binary signal is output from one control signal output terminal to the storage device, and a write to the storage device is performed based on the control signal. A storage control system comprising external control means for outputting read-in data and taking in read-out data from the storage device.
請求項4又は請求項5記載の記憶装置と、
該記憶装置に対して、1つの制御信号出力端子から2値信号の切り替えエッジを検出させることによってデータの読み書きの制御を行わせる制御信号を出力し、該制御信号に基づいて、前記記憶装置への書込データの出力や前記記憶装置から読出データの取り込みを行う外部制御手段とを含んで構成されていることを特徴とする記憶制御システム。
A storage device according to claim 4 or 5,
A control signal for controlling the reading and writing of data by detecting a switching edge of a binary signal from one control signal output terminal to the storage device, and to the storage device based on the control signal. A storage control system comprising: an external control unit that outputs write data of the above and fetches read data from the storage device.
請求項6〜8のいずれかの項に記載の記憶装置と、
該記憶装置に対して、1つの制御信号出力端子から2値信号の切り替えエッジを検出させることによってデータの読み書きの制御を行わせる制御信号を出力し、該制御信号に基づいて、前記記憶装置への書込データの出力や前記記憶装置から読出データの取り込みを行う外部制御手段とを含んで構成されていることを特徴とする記憶制御システム。
A storage device according to any one of claims 6 to 8,
A control signal for controlling the reading and writing of data by detecting a switching edge of a binary signal from one control signal output terminal to the storage device, and to the storage device based on the control signal. A storage control system comprising: an external control unit that outputs write data of the above and fetches read data from the storage device.
請求項9〜12のいずれかの項に記載の記憶装置と、
外部制御手段と含んで構成され、
該外部制御手段が、
前記記憶装置の前記第4の計時手段と同じタイミングで前記書き込み期間と前記読み出し期間とを繰り返し計時する第8の計時手段と、
該第8の計時手段による前記書き込み期間と前記読み出し期間との計時毎に前記記憶装置への書込データの出力制御と前記記憶装置から読出データの取込制御とを切り替える外部制御切替手段とを備え、
該外部制御切替手段による書込データの出力制御への切替後、前記記憶装置の前記第5の計時手段、又は前記第6の計時手段により計時される前記所定時間内に前記記憶装置へ書込データを出力する制御と、前記外部制御切替手段による読出データの取込制御への切替後、前記記憶装置から読出データを取り込む制御とを行うものであることを特徴とする記憶制御システム。
A storage device according to any one of claims 9 to 12,
It is configured to include external control means,
The external control means,
Eighth clock means for repeatedly clocking the write period and the read period at the same timing as the fourth clock means of the storage device,
External control switching means for switching between output control of write data to the storage device and control of fetching of read data from the storage device every time the writing period and the reading period are measured by the eighth timer means. Prepare,
After switching to the output control of the write data by the external control switching means, writing to the storage device is performed within the predetermined time counted by the fifth clocking means or the sixth clocking means of the storage device. A storage control system comprising: a control for outputting data; and a control for taking in read data from the storage device after switching to a control to take in read data by the external control switching means.
JP2003134867A 2003-05-13 2003-05-13 Storage device and storage control system Expired - Fee Related JP4381029B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003134867A JP4381029B2 (en) 2003-05-13 2003-05-13 Storage device and storage control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003134867A JP4381029B2 (en) 2003-05-13 2003-05-13 Storage device and storage control system

Publications (2)

Publication Number Publication Date
JP2004341632A true JP2004341632A (en) 2004-12-02
JP4381029B2 JP4381029B2 (en) 2009-12-09

Family

ID=33525308

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003134867A Expired - Fee Related JP4381029B2 (en) 2003-05-13 2003-05-13 Storage device and storage control system

Country Status (1)

Country Link
JP (1) JP4381029B2 (en)

Also Published As

Publication number Publication date
JP4381029B2 (en) 2009-12-09

Similar Documents

Publication Publication Date Title
US20240019489A1 (en) Selectable jtag or trace access with data store and output
KR100819720B1 (en) Data processing system having an on-chip background debug system and method therefor
CN107665033B (en) Digital logic circuit module with reset deburring function
EP2808800B1 (en) Multiple data rate memory with read timing information
US11221977B2 (en) Daisy chain mode entry sequence
CN113009961B (en) Cross-clock synchronous circuit and SoC system
US5388225A (en) Time-domain boundary bridge method and apparatus for asynchronous sequential machines
JP2004341632A (en) Storage device and storage control system
JP3207392B2 (en) Data storage control circuit
US6487140B2 (en) Circuit for managing the transfer of data streams from a plurality of sources within a system
US5058050A (en) Timer unit and data processing apparatus including the same
KR100389038B1 (en) Synchronous sram device with late write function
JP4122128B2 (en) Edge detection circuit
JP4217803B2 (en) Method and apparatus for sequentially reading from memory having address jump function
SU1377858A1 (en) Device for recording failures
JPH07129486A (en) Serial communication circuit
JP2519114B2 (en) Data transmission equipment
JPH11273380A (en) Lsi operation mode setting signal fetching method and lsi with mode signal fetching function
CN114519018A (en) Double data rate memory system and related gate signal control circuit
JPH1063218A (en) Data load circuit
CN115144740A (en) Power-on latch circuit, power-on latch device and power-on latch method
JPH1041804A (en) Register read/reset circuit
JPS6080193A (en) Memory system
JP2010088186A (en) Motor control circuit
JPS6139720A (en) Trigger control circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060515

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090527

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: 20090915

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090915

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

Free format text: PAYMENT UNTIL: 20121002

Year of fee payment: 3

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: 20121002

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131002

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20131002

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees