JP2006146390A - Memory bus conversion device and information processing system - Google Patents
Memory bus conversion device and information processing system Download PDFInfo
- Publication number
- JP2006146390A JP2006146390A JP2004332796A JP2004332796A JP2006146390A JP 2006146390 A JP2006146390 A JP 2006146390A JP 2004332796 A JP2004332796 A JP 2004332796A JP 2004332796 A JP2004332796 A JP 2004332796A JP 2006146390 A JP2006146390 A JP 2006146390A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- signal
- bus
- data
- rom
- 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.)
- Pending
Links
Images
Landscapes
- Bus Control (AREA)
Abstract
Description
本発明は、異なるバスを接続するメモリバス変換装置、特に動作速度やアクセス方法が異なる複数の半導体メモリを共通に接続するメモリバス変換装置、及び、これを用いた情報処理システムに関するものである。 The present invention relates to a memory bus converter for connecting different buses, and more particularly to a memory bus converter for connecting a plurality of semiconductor memories having different operation speeds and access methods in common, and an information processing system using the same.
従来、この種のメモリバス変換装置としては、電源電圧の異なる半導体メモリが各々接続される2つのバスの間に配置され、相互にやり取りされる信号の振幅レベルを変換する技術が公開されている(特許文献1参照)。この技術では、CPU(マイクロプロセッサ)に接続されるバスAに、メモリバス変換装置を介してバスBが接続されている。バスAには半導体メモリAが接続され、バスBには半導体メモリBが接続されている。半導体メモリAと半導体メモリBとは、電源電圧が異なっている。そこで、メモリバス変換装置が半導体メモリAと半導体メモリBとの振幅レベルを同一レベルに変換している。従って、電源電圧が異なっていても同種の半導体メモリ、例えばDRAMどうし、あるいはSRAMどうしを接続することは出来るが、動作速度やアクセス方法の異なる半導体メモリどうしを接続することは、不可能であった。
解決しようとする問題点は、上記従来技術では、例えばDRAMどうし、あるいはSRAMどうしを接続することは出来るが、動作速度やアクセス方法の異なる半導体メモリどうしを接続することが不可能である点である。 The problem to be solved is that in the above prior art, for example, DRAMs or SRAMs can be connected, but semiconductor memories having different operation speeds and access methods cannot be connected. .
本発明によるメモリバス変換装置では、第一のメモリの制御プロトコルに基づくアドレス情報と制御信号とを一方のバスから受け入れて、内部で第二のメモリの制御プロトコルに基づくアドレス情報と制御信号に変換し、第二のメモリから所望のデータを読み出し、更に、このデータを上記第一のメモリの制御プロトコルに基づいて上記一方のバスへ出力することを最も主要な特徴とする。 In the memory bus conversion device according to the present invention, the address information and the control signal based on the control protocol of the first memory are received from one bus and converted into the address information and the control signal based on the control protocol of the second memory internally. The most important feature is that desired data is read from the second memory, and this data is output to the one bus based on the control protocol of the first memory.
第一のメモリが接続されているバスを共通バスとして、一つのメモリコントローラで制御プロトコルの異なる複数のメモリを制御することが出来るという効果を得る。 By using the bus to which the first memory is connected as a common bus, a single memory controller can control a plurality of memories having different control protocols.
制御プロトコルの異なる半導体メモリを複数個備える情報処理システムを簡単な構成によって容易に実現することが出来た。 An information processing system having a plurality of semiconductor memories with different control protocols could be easily realized with a simple configuration.
最初に本実施例によるメモリバス変換装置を用いて制御プロトコルの異なるSDRAM、及びROMを一つのメモリコントローラによって制御する情報処理システムの概要について説明し、続いて本実施例によるメモリバス変換装置の詳細について説明する。
図1は、実施例1の情報処理システムの構成を示すブロック図である。
図に示すように、情報処理システム100は、CPU1、メモリコントローラ2、SDRAM3、メモリバス変換装置4、ROM5、及び入出力制御手段6を含む。
First, an outline of an information processing system for controlling SDRAMs and ROMs having different control protocols using a memory controller using the memory bus conversion device according to this embodiment will be described, and then the details of the memory bus conversion device according to this embodiment. Will be described.
FIG. 1 is a block diagram illustrating the configuration of the information processing system according to the first embodiment.
As shown in the figure, the
CPU1は、情報処理装置100全体を制御する中央演算処理装置であり、メモリコントローラ2に接続される。
メモリコントローラ2は、CPU1と入出力制御手段6からSDRAM3、及びROM5へのアクセスを制御する部分であり、SDRAM3、及びメモリバス変換装置4とバス7で接続される。
The
The
SDRAM3は、同期式のランダムアクセスメモリでありバス7に接続される。
メモリバス変換装置4は、バス7からSDRAM3の制御プロトコルに基づく信号を受け入れて、ROM5の制御プロトコルに基づく信号に変換してバス8へ出力し、バス8からROM5の制御プロトコルに基づく信号を受け入れて、SDRAM3の制御プロトコルに基づく信号に変換してバス7へ出力する制御プロトコル変換装置である。この装置はメモリコントローラ2とバス7で、ROM5とバス8でそれぞれ接続される。この装置については後に詳細に説明する。
ROM5は、非同期式の読み出し専用メモリでありバス8に接続される。
The SDRAM 3 is a synchronous random access memory and is connected to the
The memory
The
入出力制御手段6は、キーボードや表示装置からなり、メモリコントローラ2と操作者とのマンマシンインタフェースの役割を果たし、メモリコントローラ2に接続される。
バス7は、メモリコントローラ2、SDRAM3、及びメモリバス変換装置4を接続する信号路である。このバス7は、SDRAM3の制御プロトコルに基づく信号を伝送する。
バス8は、メモリバス変換装置4とROM5を接続する信号路である。このバス8は、ROM5の制御プロトコルに基づく信号を伝送する。
The input / output control means 6 includes a keyboard and a display device, serves as a man-machine interface between the
The
The
続いて上記メモリバス変換装置4の詳細について説明する。
図2は、実施例1のメモリバス変換装置の構成を示すブロック図である。
図に示すように、メモリバス変換装置4は、その内部に、信号変換部20、アドレス変換部21、記憶部22、及び出力制御部23を備え、SDRAM3が接続されているバス7、及びROM5が接続されているバス8に接続される。
Next, details of the
FIG. 2 is a block diagram illustrating a configuration of the memory bus conversion device according to the first embodiment.
As shown in the figure, the memory
信号変換部20は、バス7からアドレス信号SIG20と制御信号SIG21を受け入れて、バス8を介してROMリード信号SIG27をROM5へ送出する部分である。又、制御信号SIG21に基づいてアドレスロード信号SIG23を生成してアドレス変換部21へ送出し、更に、制御信号SIG21に基づいてデータラッチ信号SIG24を生成し、アドレス変換部21と記憶部22へ送出する部分でもある。
アドレス変換部21は、バス7からアドレス信号SIG20を、信号変換部20からアドレスロード信号SIG23とデータラッチ信号SIG24とを受け入れて、バス8を介してROMアドレス信号SIG26をROM5へ送出する部分である。
The
The
記憶部22は、例えばフリップフロップやスタティックRAM等の書き換え可能な半導体メモリであり、バス8を介してROM5から読み出されたROMデータ信号SIG28を受け入れて、信号変換部20から受け入れるデータラッチ信号SIG24に同期させて、そのデータ(値)を一時保持する部分である。
出力制御部23は、記憶部22に一時保持されているデータ(値)を読み出して、上記SDRAM3の制御プロトコルに基づいてデータ信号SIG22をバス7へ送出する部分である。
The
The
次に、バス7に接続されているSDRAM3の制御プロトコルについて本発明の説明に必要な部分のみに限定して説明する。
図3は、モード設定の説明図(その1)である。
(a)はモードレジスタ設定時のアクセスを説明する図であり、(b)は稼働中のSDRAM3(図1)からデータを読み出す動作を説明する図である。
図4はモード設定の説明図(その2)である。
(a)はSDRAMに対するモードレジスタ設定命令時に於けるモードレジスタのアドレスと設定内容の関係を表す図であり、(b)はメモリバス変換装置設定命令時に於けるモードレジスタのアドレスと設定内容の関係を表す図である。
Next, the control protocol of the SDRAM 3 connected to the
FIG. 3 is an explanatory diagram (part 1) of mode setting.
(A) is a figure explaining the access at the time of mode register setting, (b) is a figure explaining the operation | movement which reads data from SDRAM3 (FIG. 1) in operation.
FIG. 4 is an explanatory diagram (part 2) of mode setting.
(A) is a diagram showing the relationship between the mode register address and the setting contents at the time of the mode register setting command for the SDRAM, and (b) is the relationship between the mode register address and the setting contents at the memory bus converter setting command. FIG.
電源投入後にCPU1(図1)がメモリコントローラ2(図1)を介して、モードレジスタ設定命令をSDRAM3(図1)へ送出する。このときの制御信号SIG21(図2)はMRSである。ここでMRSとはSDRAMのユーザーズマニュアルに記載されている論理レベルで組み合わせた標準コマンドなので説明を省略する。同時に設定値が送出される。この設定値は、図4の(a)に示すように、モードレジスタのa0からa2にバースト長が、a3にラップタイプが、a4からa6にCASレイテンシが、それぞれ格納される。ここで、図3(b)に示すように、バースト長とは、1回のリードコマンドでSDRAM3(図1)が連続したアドレスのデータを出力する回数のことである。ラップタイプは、本発明に無関係なので説明を省略する。CASレイテンシとはSDRAM3(図2)がリード命令を受けてからデータ信号SIG22(図2)を出力するまでのクロックサイクル数である。 After power-on, CPU 1 (FIG. 1) sends a mode register setting command to SDRAM 3 (FIG. 1) via memory controller 2 (FIG. 1). The control signal SIG21 (FIG. 2) at this time is MRS. Here, MRS is a standard command combined at the logic level described in the SDRAM user's manual, and therefore, the description thereof is omitted. At the same time, the set value is sent out. As shown in FIG. 4A, the set value stores the burst length from a0 to a2 of the mode register, the lap type from a3, and the CAS latency from a4 to a6. Here, as shown in FIG. 3B, the burst length is the number of times the SDRAM 3 (FIG. 1) outputs data at consecutive addresses in one read command. The wrap type is irrelevant to the present invention and will not be described. The CAS latency is the number of clock cycles from when the SDRAM 3 (FIG. 2) receives a read command until the data signal SIG22 (FIG. 2) is output.
同様にして、電源投入後にCPU1(図1)がメモリコントローラ2(図1)を介して、モードレジスタ設定命令をメモリバス変換装置4(図1)へ送出する。このときの制御信号SIG21(図2)は上記SDRAM3(図1)の場合と同様である。同時に設定値が送出される。この設定値は、図4の(b)に示すように、モードレジスタのa0からa2にROMバースト長が、a3からa6にCASレイテンシが、a7からa9にスタートアクセスサイクルが、a10からa11にバーストアクセスサイクルが、それぞれ格納される。ここで、バーストアクセスサイクル、スタートアクセスサイクルは、メモリバス変換装置4(図1)に固有のものであり、ROM5(図1)にアクセスするときのクロックサイクル数である。ROMバースト長はROM5(図1)に対する連続アクセス数であり、CASレイテンシは上記SDRAM3(図1)の場合と同様である。 Similarly, after the power is turned on, the CPU 1 (FIG. 1) sends a mode register setting command to the memory bus converter 4 (FIG. 1) via the memory controller 2 (FIG. 1). The control signal SIG21 (FIG. 2) at this time is the same as that of the SDRAM 3 (FIG. 1). At the same time, the set value is sent out. As shown in FIG. 4B, the set values are as follows: ROM burst length from a0 to a2 of the mode register, CAS latency from a3 to a6, start access cycle from a7 to a9, burst from a10 to a11 Each access cycle is stored. Here, the burst access cycle and the start access cycle are unique to the memory bus converter 4 (FIG. 1) and are the number of clock cycles when accessing the ROM 5 (FIG. 1). The ROM burst length is the number of continuous accesses to the ROM 5 (FIG. 1), and the CAS latency is the same as that of the SDRAM 3 (FIG. 1).
実施例1のメモリバス変換装置の動作について説明する。
図5は、実施例1のメモリバス変換装置の動作を示すタイムチャートである。
この図は、ROM5(図1)からデータを読み出す動作を表している。
図の上から順番に(a)は全項目に共通のクロック周期で表した時間経過を、(b)は制御信号SIG21を、(c)はアドレス信号SIG20を、(d)はデータ信号SIG22を、(e)はアドレスロード信号SIG23を、(f)はデータラッチ信号SIG24を、(g)はROMリード信号SIG27を、(h)はROMアドレス信号SIG26を、(i)はROMデータ信号SIG28を、それぞれ表している。
The operation of the memory bus conversion device according to the first embodiment will be described.
FIG. 5 is a time chart illustrating the operation of the memory bus conversion device according to the first embodiment.
This figure shows the operation of reading data from the ROM 5 (FIG. 1).
In order from the top of the figure, (a) shows the passage of time expressed by a clock cycle common to all items, (b) shows the control signal SIG21, (c) shows the address signal SIG20, and (d) shows the data signal SIG22. (E) shows the address load signal SIG23, (f) shows the data latch signal SIG24, (g) shows the ROM read signal SIG27, (h) shows the ROM address signal SIG26, and (i) shows the ROM data signal SIG28. , Respectively.
動作説明の前提としてモードレジスタの設定時にメモリバス変換装置4(図1)に対して、CASレイテンシを11、ROMバースト長を4、スタートサイクルを3、バーストサイクルを2に設定してあるものとする。以下にクロック周期の順番に説明する。 As a premise of the operation description, the CAS latency is set to 11, the ROM burst length is set to 4, the start cycle is set to 3, and the burst cycle is set to 2 for the memory bus conversion device 4 (FIG. 1) when the mode register is set. To do. The description will be given below in the order of clock cycles.
クロック20
メモリコントローラ2(図1)は、制御信号SIG21をREADに遷移させ、同時にアドレス信号SIG20を読み出すアドレス(A0)に遷移させる。信号変換部20(図2)は、READ命令を認識してアドレスロード信号をオンする。
The memory controller 2 (FIG. 1) changes the control signal SIG21 to READ and at the same time changes to the address (A0) from which the address signal SIG20 is read. The signal converter 20 (FIG. 2) recognizes the READ command and turns on the address load signal.
クロック21
アドレス変換部21(図2)は、アドレスロード信号SIG23がオンしたのを認識し、アドレスA0をROM5(図2)へ出力する(ROMアドレス信号SIG26)。ROM5(図2)は、一定時間経過後にアドレスA0に該当するデータD0を出力する(ROMデータ信号SIG28)。
The address conversion unit 21 (FIG. 2) recognizes that the address load signal SIG23 is turned on, and outputs the address A0 to the ROM 5 (FIG. 2) (ROM address signal SIG26). The ROM 5 (FIG. 2) outputs data D0 corresponding to the address A0 after a predetermined time has elapsed (ROM data signal SIG28).
クロック23
信号変換部20(図2)は、モードレジスタ設定命令時に設定したスタートサイクルに合わせてデータラッチ信号SIG24をオンする。
クロック24
アドレス変換部21(図2)は、データラッチ信号SIG24がオンしたことを認識し、ROMアドレス信号SIG26をA0+1にインクリメントしてROM5(図1)へ出力する。記憶部(図1)は、データラッチ信号SIG24がオンしたことを認識してデータD0を記憶する(ROMデータ信号SIG28)。
The signal converter 20 (FIG. 2) turns on the data latch signal SIG24 in accordance with the start cycle set at the time of the mode register setting instruction.
The address conversion unit 21 (FIG. 2) recognizes that the data latch signal SIG24 is turned on, increments the ROM address signal SIG26 to A0 + 1, and outputs it to the ROM 5 (FIG. 1). The storage unit (FIG. 1) recognizes that the data latch signal SIG24 is turned on and stores the data D0 (ROM data signal SIG28).
クロック25
信号変換部20(図1)は、モードレジスタ設定命令時に設定したバーストサイクルに合わせてデータラッチ信号SIG24をオンする。
クロック26
アドレス変換部21(図2)は、データラッチ信号SIG24がオンしたことを認識してROMアドレス信号SIG26をA0+2にインクリメントし、記憶部(図2)は、データD1を記憶する(ROMデータ信号SIG28)。
The signal converter 20 (FIG. 1) turns on the data latch signal SIG24 in accordance with the burst cycle set at the time of the mode register setting instruction.
The address conversion unit 21 (FIG. 2) recognizes that the data latch signal SIG24 is turned on and increments the ROM address signal SIG26 to A0 + 2, and the storage unit (FIG. 2) stores the data D1 (ROM data signal SIG28). ).
クロック27
信号変換部20(図1)は、モードレジスタ設定命令時に設定したバーストサイクルに合わせてデータラッチ信号SIG24をオンする。
クロック28
アドレス変換部21(図2)は、データラッチ信号SIG24がオンしたことを認識してROMアドレス信号SIG26をA0+3にインクリメントし、記憶部(図2)は、データD2を記憶する(ROMデータ信号SIG28)。
The signal converter 20 (FIG. 1) turns on the data latch signal SIG24 in accordance with the burst cycle set at the time of the mode register setting instruction.
The address conversion unit 21 (FIG. 2) recognizes that the data latch signal SIG24 is turned on and increments the ROM address signal SIG26 to A0 + 3, and the storage unit (FIG. 2) stores the data D2 (ROM data signal SIG28). ).
クロック29
信号変換部20(図1)は、モードレジスタ設定命令時に設定したバーストサイクルに合わせてデータラッチ信号SIG24をオンする。
クロック30
アドレス変換部21(図2)は、データラッチ信号SIG24がオンしたことを認識してROMアドレス信号SIG26をA0+4にインクリメントし、記憶部(図2)は、データD3を記憶する(ROMデータ信号SIG28)。モードレジスタ設定命令時に設定したROMバースト長と同じ回数だけROM5(図1)からデータを読み出したのでROMリード信号SIG27はオフされる。
The signal converter 20 (FIG. 1) turns on the data latch signal SIG24 in accordance with the burst cycle set at the time of the mode register setting instruction.
The address conversion unit 21 (FIG. 2) recognizes that the data latch signal SIG24 is turned on and increments the ROM address signal SIG26 to A0 + 4, and the storage unit (FIG. 2) stores the data D3 (ROM data signal SIG28). ). Since the data is read from the ROM 5 (FIG. 1) as many times as the ROM burst length set at the time of the mode register setting command, the ROM read signal SIG27 is turned off.
クロック31
メモリコントローラ2(図1)がREAD命令を発行してから経過したクロック数とモードレジスタ設定命令時に設定したCASレイテンシが一致したので出力制御部23(図2)は記憶部22(図2)からラッチデータD0を読み出してバス7へ出力する(データ信号SIG22)。
Since the number of clocks that have elapsed since the memory controller 2 (FIG. 1) issued the READ instruction and the CAS latency set at the time of the mode register setting instruction match, the output control unit 23 (FIG. 2) is changed from the storage unit 22 (FIG. 2). The latch data D0 is read and output to the bus 7 (data signal SIG22).
クロック32
出力制御部23(図2)は記憶部22(図2)から次のラッチデータD1を読み出してバス7へ出力する(データ信号SIG22)。
クロック33
出力制御部23(図2)は記憶部22(図2)から次のラッチデータD2を読み出してバス7へ出力する(データ信号SIG22)。
The output control unit 23 (FIG. 2) reads the next latch data D1 from the storage unit 22 (FIG. 2) and outputs it to the bus 7 (data signal SIG22).
The output control unit 23 (FIG. 2) reads the next latch data D2 from the storage unit 22 (FIG. 2) and outputs it to the bus 7 (data signal SIG22).
クロック34
出力制御部23(図2)は記憶部22(図2)から次のラッチデータD3を読み出してバス7へ出力する(データ信号SIG22)。
クロック35
モードレジスタ設定命令時に設定したバースト長と出力制御部23(図2)が出力したデータ量が一致したのでアクセスを終了する。
The output control unit 23 (FIG. 2) reads the next latch data D3 from the storage unit 22 (FIG. 2) and outputs it to the bus 7 (data signal SIG22).
Since the burst length set at the time of the mode register setting instruction matches the amount of data output by the output control unit 23 (FIG. 2), the access is terminated.
以上説明したように、SDRAMの制御プロトコルに基づくアドレス情報と制御信号とをバス7から受け入れて、内部でROMの制御プロトコルに基づくアドレス情報と制御信号に変換し、ROMから所望のデータを読み出し、更に、このデータを上記SDRAMの制御プロトコルに基づいて上記バス7へ出力することが可能になるので、SDRAMが接続されているバス7を共通バスとして、一つのメモリコントローラで制御プロトコルの異なるメモリ(ROM)を制御することが出来るという効果を得る。
As described above, address information and control signals based on the SDRAM control protocol are received from the
尚、上記説明では、第一のメモリの信号振幅レベルと第二のメモリとの信号振幅レベルの相違に関しては言及していない。しかしながら、図2に示すように、アドレス信号SIG20とROMアドレス信号SIG26との間にはアドレス変換部21が、制御信号SIG21とROMリード信号SIG27との間には信号変換部20が、データ信号SIG22とROMデータ信号SIG28との間には出力制御部23が、それぞれ介在している。従って、これらアドレス変換部21、信号変換部20、及び出力制御部23に於ける入出力の信号振幅レベルを所定のレベルに設定することによって第一のメモリの信号振幅レベルと第二のメモリとの信号振幅レベルの相違を容易に変換可能になる。
In the above description, the difference between the signal amplitude level of the first memory and the signal amplitude level of the second memory is not mentioned. However, as shown in FIG. 2, the
上記実施例1では、SDRAMが接続されているバス7を共通バスとして、一つのメモリコントローラで制御プロトコルの異なるROMを制御することが出来ることとした。しかし実施例1では、SDRAMのデータ幅とROMのデータ幅とが同じであることを前提としている。しかし、ときにはSDRAMのデータ幅とROMのデータ幅が異なる場合も発生し得る。本実施例では、かかる場合に対処することを目的とする。
In the first embodiment, the
最初に本実施例によるメモリバス変換装置を用いて制御プロトコルの異なるSDRAM、及びROMを一つのメモリコントローラによって制御する情報処理システムの概要について説明し、続いて本実施例によるメモリバス変換装置の詳細について説明する。
図6は、実施例2の情報処理システムの構成を示すブロック図である。
図に示すように、情報処理システム200は、CPU1、メモリコントローラ2、メモリバス変換装置40、SDRAM41、ROM5、及び入出力制御手段6を含む。
First, an outline of an information processing system for controlling SDRAMs and ROMs having different control protocols using a memory controller using the memory bus conversion device according to this embodiment will be described, and then the details of the memory bus conversion device according to this embodiment. Will be described.
FIG. 6 is a block diagram illustrating a configuration of the information processing system according to the second embodiment.
As shown in the figure, the
本実施例では、一例としてSDRAM41が64bitでありROM5が32bitでものとする。このビット数の異なるSDRAM41とROM5を一つのメモリコントローラ2で制御するためにメモリバス変換装置40は、ビット幅変換部を備える。他の部分は、実施例1と同様なので説明を省略しメモリバス変換装置40のみについて説明する。
In the present embodiment, as an example, the
図7は、実施例2のメモリバス変換装置の構成を示すブロック図である。
図に示すように、メモリバス変換装置40は、その内部に、信号変換部31、アドレス変換部21、記憶部22、出力制御部23、及びビット幅変換部30を備え、SDRAM41が接続されているバス7、及びROM5が接続されているバス8に接続される。以下に実施例1との相違部分のみについて説明する。実施例1と同様の部分には実施例1と同一の符合を付して説明を省略する。
FIG. 7 is a block diagram illustrating a configuration of the memory bus conversion device according to the second embodiment.
As shown in the figure, the memory
信号変換部31は、バス7からアドレス信号SIG20と制御信号SIG21を受け入れて、バス8を介してROMリード信号SIG27をROM5へ送出する部分である。又、制御信号SIG21に基づいてアドレスロード信号SIG23を生成してアドレス変換部21へ送出し、更に、制御信号SIG21に基づいてデータラッチ信号SIG24、及びバス幅変換指定信号SIG30を生成し、データラッチ信号SIG24をアドレス変換部21とビット幅変換部30へ送出し、バス幅変換指定信号SIG30をビット幅変換部30へ送出する部分でもある。信号変換部31は、その内部にROM5のビット幅を記憶するビット幅記憶手段31−1を有している。
The
ここでバス幅変換指定信号SIG30は、制御信号SIG21とビット幅記憶手段31−1が記憶するROM5のビット幅とを比較し、ビット幅変換部30に対してROMデータ信号SIG28を何回分まとめて記憶するかを指定する信号である。一例としてSDRAM41のビット幅が64bitでありROM5のビット幅が32bitの場合には、ROMデータ信号SIG28を2回分まとめて、SDRAM41のビット幅64bitに一致させることを指定する信号である。
Here, the bus width conversion designation signal SIG30 compares the control signal SIG21 with the bit width of the
ビット幅変換部30は、信号変換部31からデータラッチ信号SIG24、及びバス幅変換指定信号SIG30を、バス8からROMデータ信号SIG28を、それぞれ受け入れてバス幅変換データ信号SIG31を記憶部22へ出力する部分である。
The bit
実施例2のメモリバス変換装置の動作について説明する。
図8は、実施例2のメモリバス変換装置の動作を示すタイムチャートである。
この図は、ROM5(図7)からデータを読み出す動作を表している。
図の上から順番に(a)は全項目に共通のクロック周期で表した時間経過を、(b)は制御信号SIG21を、(c)はアドレス信号SIG20を、(d)はデータ信号SIG22を、(e)はアドレスロード信号SIG23を、(f)はデータラッチ信号SIG24を、(g)はROMリード信号SIG27を、(h)はROMアドレス信号SIG26を、(i)はROMデータ信号SIG28を、(j)はバス幅変換データ信号SIG31を、それぞれ表している。
The operation of the memory bus conversion device according to the second embodiment will be described.
FIG. 8 is a time chart illustrating the operation of the memory bus conversion device according to the second embodiment.
This figure shows the operation of reading data from the ROM 5 (FIG. 7).
In order from the top of the figure, (a) shows the passage of time expressed by a clock cycle common to all items, (b) shows the control signal SIG21, (c) shows the address signal SIG20, and (d) shows the data signal SIG22. (E) shows the address load signal SIG23, (f) shows the data latch signal SIG24, (g) shows the ROM read signal SIG27, (h) shows the ROM address signal SIG26, and (i) shows the ROM data signal SIG28. , (J) represents the bus width conversion data signal SIG31, respectively.
動作説明の前提としてモードレジスタの設定時にメモリバス変換装置4(図7)に対して、CASレイテンシを11、ROMバースト長を4、スタートサイクルを3、バーストサイクルを2に設定してあるものとする。更に、SDRAM41のビット数は64bitで、ROM5のビット数は32bitと仮定する。以下にクロック周期の順番に説明する。
As a premise for the explanation of the operation, it is assumed that the CAS latency is set to 11, the ROM burst length is set to 4, the start cycle is set to 3, and the burst cycle is set to 2 for the memory bus conversion device 4 (FIG. 7) when the mode register is set. To do. Further, it is assumed that the bit number of the
クロック40
メモリコントローラ2(図6)は、制御信号SIG21をREADに遷移させ、同時にアドレス信号SIG20を読み出すアドレス(A0)に遷移させる。信号変換部31(図7)は、READ命令を認識してアドレスロード信号をオンする。
The memory controller 2 (FIG. 6) changes the control signal SIG21 to READ and at the same time changes to the address (A0) from which the address signal SIG20 is read. The signal converter 31 (FIG. 7) recognizes the READ command and turns on the address load signal.
クロック41
アドレス変換部21(図7)は、アドレスロード信号SIG23がオンしたのを認識し、アドレスA0をROM5(図6)へ出力する(ROMアドレス信号SIG26)。ROM5(図6)は、一定時間経過後にアドレスA0に該当するデータD0を出力する(ROMデータ信号SIG28)。
The address conversion unit 21 (FIG. 7) recognizes that the address load signal SIG23 is turned on, and outputs the address A0 to the ROM 5 (FIG. 6) (ROM address signal SIG26). The ROM 5 (FIG. 6) outputs data D0 corresponding to the address A0 after a predetermined time has elapsed (ROM data signal SIG28).
クロック43
信号変換部20(図7)は、モードレジスタ設定命令時に設定したスタートサイクルに合わせてデータラッチ信号SIG24をオンする。
クロック44
アドレス変換部21(図7)は、データラッチ信号SIG24がオンしたことを認識し、ROMアドレス信号SIG26をA0+1にインクリメントしてROM5(図6)へ出力する。ビット幅変換部30(図7)は、データラッチ信号SIG24がオンしたことを認識してデータD0を記憶する(ROMデータ信号SIG28)。
The signal converter 20 (FIG. 7) turns on the data latch signal SIG24 in accordance with the start cycle set at the time of the mode register setting instruction.
The address conversion unit 21 (FIG. 7) recognizes that the data latch signal SIG24 is turned on, increments the ROM address signal SIG26 to A0 + 1, and outputs it to the ROM 5 (FIG. 6). The bit width conversion unit 30 (FIG. 7) recognizes that the data latch signal SIG24 is turned on and stores the data D0 (ROM data signal SIG28).
クロック45
信号変換部31(図7)は、モードレジスタ設定命令時に設定したバーストサイクルに合わせてデータラッチ信号SIG24をオンする。
クロック46
アドレス変換部21(図7)は、データラッチ信号SIG24がオンしたことを認識してROMアドレス信号SIG26をA0+2にインクリメントし、ビット幅変換部30(図7)は、データD1を記憶する(ROMデータ信号SIG28)。
The signal converter 31 (FIG. 7) turns on the data latch signal SIG24 in accordance with the burst cycle set at the time of the mode register setting instruction.
The address conversion unit 21 (FIG. 7) recognizes that the data latch signal SIG24 is turned on and increments the ROM address signal SIG26 to A0 + 2, and the bit width conversion unit 30 (FIG. 7) stores the data D1 (ROM) Data signal SIG28).
クロック47
信号変換部31(図7)は、モードレジスタ設定命令時に設定したバーストサイクルに合わせてデータラッチ信号SIG24をオンする。ビット幅変換部30は、バス幅変換指定信号SIG30の指定に従ってROMデータ信号SIG28を2回(データD0とデータD1)記憶したので、このデータD0D1をバス幅変換データ信号SIG31として記憶部22(図7)へ送出し、記憶部22(図7)は、このデータD0D1を一時保持する。
The signal converter 31 (FIG. 7) turns on the data latch signal SIG24 in accordance with the burst cycle set at the time of the mode register setting instruction. Since the bit
クロック48
アドレス変換部21(図7)は、データラッチ信号SIG24がオンしたことを認識し、ROMアドレス信号SIG26をA0+3にインクリメントしてROM5(図6)へ出力する。ビット幅変換部30(図7)は、データラッチ信号SIG24がオンしたことを認識してデータD2を記憶する(ROMデータ信号SIG28)。
The address conversion unit 21 (FIG. 7) recognizes that the data latch signal SIG24 is turned on, increments the ROM address signal SIG26 to A0 + 3, and outputs it to the ROM 5 (FIG. 6). The bit width conversion unit 30 (FIG. 7) recognizes that the data latch signal SIG24 is turned on and stores the data D2 (ROM data signal SIG28).
クロック49
信号変換部31(図7)は、モードレジスタ設定命令時に設定したバーストサイクルに合わせてデータラッチ信号SIG24をオンする。
クロック50
アドレス変換部21(図7)は、データラッチ信号SIG24がオンしたことを認識してROMアドレス信号SIG26をA0+4にインクリメントし、ビット幅変換部30(図7)は、データラッチ信号SIG24がオンしたことを認識してデータD3を記憶する(ROMデータ信号SIG28)。モードレジスタ設定命令時に設定したROMバースト長と同じ回数だけROM5(図1)からデータを読み出したのでROMリード信号SIG27はオフされる。
The signal converter 31 (FIG. 7) turns on the data latch signal SIG24 in accordance with the burst cycle set at the time of the mode register setting instruction.
The address conversion unit 21 (FIG. 7) recognizes that the data latch signal SIG24 is turned on and increments the ROM address signal SIG26 to A0 + 4, and the bit width conversion unit 30 (FIG. 7) turns on the data latch signal SIG24. Recognizing this, the data D3 is stored (ROM data signal SIG28). Since the data is read from the ROM 5 (FIG. 1) as many times as the ROM burst length set at the time of the mode register setting command, the ROM read signal SIG27 is turned off.
クロック51
ビット幅変換部30は、バス幅変換指定信号SIG30の指定に従って、ROMデータ信号SIG28を2回(データD2とデータD3)記憶したので、このデータD2D3をバス幅変換データ信号SIG31として記憶部22(図7)へ送出し、記憶部22(図7)は、このデータD2D3を一時保持する。メモリコントローラ2(図6)がREAD命令を発行してから経過したクロック数とモードレジスタ設定命令時に設定したCASレイテンシが一致したので出力制御部23(図7)は、記憶部22(図7)からラッチデータD0D1をラッチデータ信号SIG29として読み出してデータ信号SIG22としてバス7へ送出する。
Since the bit
クロック52
出力制御部23(図7)は、記憶部22(図7)からラッチデータD2D3をラッチデータ信号SIG29として読み出してデータ信号SIG22としてバス7へ送出する。
クロック53
モードレジスタ設定命令時に設定したバースト長とデータ信号SIG22として出力したデータ量が一致したのでアクセスを終了する。
The output control unit 23 (FIG. 7) reads the latch data D2D3 from the storage unit 22 (FIG. 7) as the latch data signal SIG29 and sends it to the
Since the burst length set at the time of the mode register setting instruction matches the amount of data output as the data signal SIG22, the access is terminated.
以上説明したように、本実施例によるメモリバス変換装置40(図7)は、ビット幅変換部30と、ビット幅記憶手段31−1とを備えることによって、SDRAMのデータ幅とROMのデータ幅が異なる場合であっても一つのメモリコントローラで制御することが出来るという効果を得る。
As described above, the memory bus conversion device 40 (FIG. 7) according to the present embodiment includes the bit
本発明によるメモリバス変換装置はSDRAMとROMとを使用する全ての情報処理システムに適用可能である。 The memory bus converter according to the present invention is applicable to all information processing systems using SDRAM and ROM.
4 メモリバス変換装置
7 バス
8 バス
20 信号変換部
21 アドレス変換部
22 記憶部
23 出力制御部
SIG20 アドレス信号
SIG21 制御信号
SIG22 データ信号
SIG23 アドレスロード信号
SIG24 データラッチ信号
SIG26 ROMアドレス信号
SIG27 ROMリード信号
SIG28 ROMデータ信号
SIG29 ラッチデータ信号
4 Memory
Claims (5)
前記一方のバスから受け入れるアドレス情報を前記第二のメモリに送出するアドレス情報に変換するアドレス変換部と、
前記一方のバスから受け入れる制御信号を前記第二のメモリに送出する制御信号に変換する信号変換部と、
前記第二のメモリから受け入れるデータを一時保持する記憶部と、
前記記憶部が格納するデータを読み出して、前記第一のメモリの制御プロトコルに基づくデータを出力する出力制御部とを備えることを特徴とするメモリバス変換装置。 A bus conversion device in which a first memory is connected to one bus and a second memory based on a control protocol different from that of the first memory is connected to the other bus,
An address conversion unit that converts address information received from the one bus into address information to be sent to the second memory;
A signal converter for converting a control signal received from the one bus into a control signal to be sent to the second memory;
A storage unit for temporarily storing data received from the second memory;
An output control unit that reads out data stored in the storage unit and outputs data based on the control protocol of the first memory.
An information processing system comprising the memory bus conversion device according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004332796A JP2006146390A (en) | 2004-11-17 | 2004-11-17 | Memory bus conversion device and information processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004332796A JP2006146390A (en) | 2004-11-17 | 2004-11-17 | Memory bus conversion device and information processing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006146390A true JP2006146390A (en) | 2006-06-08 |
Family
ID=36626018
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004332796A Pending JP2006146390A (en) | 2004-11-17 | 2004-11-17 | Memory bus conversion device and information processing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006146390A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008003711A (en) * | 2006-06-20 | 2008-01-10 | Canon Inc | Memory system and memory module |
JP2009048306A (en) * | 2007-08-15 | 2009-03-05 | Tokyo Metropolitan Univ | Parallel process architecture and parallel processor using the same |
-
2004
- 2004-11-17 JP JP2004332796A patent/JP2006146390A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008003711A (en) * | 2006-06-20 | 2008-01-10 | Canon Inc | Memory system and memory module |
JP2009048306A (en) * | 2007-08-15 | 2009-03-05 | Tokyo Metropolitan Univ | Parallel process architecture and parallel processor using the same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5682555A (en) | Bus control apparatus | |
JP2000315173A (en) | Memory control device | |
JPS5950077B2 (en) | Synthetic speech mid-stop control method | |
JP2007299227A (en) | Information processing apparatus and method for booting the same | |
JP2006146390A (en) | Memory bus conversion device and information processing system | |
JP2987809B2 (en) | CAS signal generator for synchronous DRAM | |
JP2000067576A (en) | Semiconductor storage device | |
JP2007059047A (en) | Semiconductor memory system, and semiconductor memory chip | |
US6148424A (en) | Pattern generating apparatus | |
JP2000207889A (en) | Serial memory | |
JPH05341872A (en) | Data processor | |
JP3251237B2 (en) | Reprogramming method in SDRAM | |
KR100459391B1 (en) | Device for controlling access timing of dram of different types using programmable wait cycle | |
JPH10320267A (en) | Memory controller and its method | |
JP2849804B2 (en) | Memory access interface circuit and memory access method | |
JPH10105457A (en) | Memory control system and memory control circuitt | |
JPH05197612A (en) | Data access circuit | |
JPS62109154A (en) | Data transfer device | |
JPH11328003A (en) | Memory control system | |
JPH1153252A (en) | Memory control circuit | |
JP2000099457A (en) | Local bus controller | |
JPS63271652A (en) | Dma controller | |
JPH08255241A (en) | Method and device for image display control | |
JPS61220042A (en) | Memory access control system | |
JPS63245757A (en) | Direct memory access controller |