JP3635899B2 - Information processing apparatus, control method therefor, and memory address conversion apparatus - Google Patents
Information processing apparatus, control method therefor, and memory address conversion apparatus Download PDFInfo
- Publication number
- JP3635899B2 JP3635899B2 JP32301197A JP32301197A JP3635899B2 JP 3635899 B2 JP3635899 B2 JP 3635899B2 JP 32301197 A JP32301197 A JP 32301197A JP 32301197 A JP32301197 A JP 32301197A JP 3635899 B2 JP3635899 B2 JP 3635899B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- addresses
- memory
- bank
- ram module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
【0001】
【発明の属する技術分野】
本発明は、プリンタの制御装置などに適した情報処理装置およびその制御方法に関し、特に、RAMモジュールに対するメモリアドレスの変換に関するものである。
【0002】
【従来の技術】
ページプリンタの画像処理部を構成する情報処理装置などにおいては、CPUの作業領域などの一時記憶領域としてRAMモジュールが用いられている。近年、処理速度が速くて安価な同期型のDRAM(SDRAM)を搭載したRAMモジュールが多く用いられるようになっている。
【0003】
【発明が解決しようとする課題】
しかしながら、RAMモジュールは、搭載されるメモリデバイス(以降においてはデバイス)のビット幅および容量により、メモリアドレスの数が変わるので、現状ではさまざまなアドレス仕様のRAMモジュールが存在している。例えば、図2に表を用いて示してあるように、デバイス容量が4Mビット、16Mビットおよび64Mビットで、ビット幅が4、8および16のデバイスでは、それぞれローアドレス数およびカラムアドレス数が異なる。従来、RAMモジュールのメモリアドレスに対するアドレスの割付は情報処理装置毎に一意的に決められており、このため、仕様の異なるデバイスを搭載したRAMモジュールをそのまま利用することは不可能である。従って、RAMモジュールを増設するときは、予め指定された仕様に合致するRAMモジュールが必要であり、選択できるモジュールが限られ、ユーザーが入手可能な適当な価格のモジュールが使用できないなどの問題があった。
【0004】
仕様の異なるモジュールを使用できる情報処理装置もあるが、アドレス仕様を変更するためには、ユーザーがジャンパなどのハードウェア、あるいは、BIOSなどのソフトウェアを操作してRAMモジュールの仕様にマッチした条件を設定する必要があり、面倒である。さらに、メモリ等に対する十分な知識が必要であり、一般のユーザーでは難しい。
【0005】
そこで、本発明においては、仕様の異なるRAMモジュールであっても簡単に使用することができ、低コストでメモリの増設が可能な情報処理装置およびその制御方法、メモリアドレス変換装置などを提供することを目的としている。さらに、仕様の異なるRAMモジュールを用いる際に、アドレスの割付を間違えずに確実に使用することができる情報処理装置およびその制御方法を提供することを目的としている。
【0006】
【課題を解決するための手段】
このため、本発明の情報処理装置においては、装着されたRAMモジュールのデバイス容量およびビット幅を判断する仕様判断機能と、この仕様判断機能で判明したデバイス容量およびビット幅によってメモリアドレスの割付を変更可能な割付設定機能とを設け、自動的にRAMモジュールの仕様を判断すると共に、それに合わせてメモリアドレスの割付を自動的に設定できるようにしている。また、本発明の情報処理装置の制御方法においては、RAMモジュールのデバイス容量およびビット幅を判断する仕様判断工程と、この仕様判断工程で判明したデバイス容量およびビット幅によってメモリアドレスの割付を変更する割付設定工程とを設けて、自動的にアドレスの割付を変更できるようにしている。
【0007】
本発明の情報処理装置およびその制御方法においては、自動的にRAMモジュールの仕様を判断し、その仕様に従ってメモリアドレスの割付が自動的に行われる。このため、ユーザーはRAMモジュールに搭載されたデバイスタイプの差を意識することなく利用でき、入手可能な仕様で低コストのRAMモジュールを利用することができる。さらに、RAMモジュールの仕様が自動的に判断され、それに適したメモリアドレスの割付が自動的に行われるので、アドレスの割付を間違えたりすることなく、仕様の異なるRAMモジュールを確実に利用することができる。従って、信頼性が高く、RAMモジュールをフレキシブルに選択可能な半導体処理装置およびその制御方法を提供することができる。RAMモジュールの仕様判断は、RAMモジュールの不揮発記憶領域に用意された仕様情報を読み取ることによって判断可能である。
【0008】
割付設定するときは、アドレスに対し、次のようにローアドレスおよびカラムアドレスを割り付けるメモリアドレス変換装置あるいはメモリアドレス変換方法を採用することが望ましい。まず、ローアドレスストローブ時は、メモリアドレスMA0〜MA7に対しアドレスA11〜A18を、メモリアドレスMA8〜MA9に対しアドレスA21〜A22を、プリチャージアドレスPA(MA10)に対しアドレスA19を、バンクアドレスBA0に対しアドレスA20を割り当てる。さらに、カラムアドレスストローブ時には、メモリアドレスMA0〜MA7に対しアドレスA3〜A10を、メモリアドレスMA8〜MA9に対しアドレスA23〜A24を割り当てる。
【0009】
ただし、デバイス容量が64MビットのRAMモジュールに対しては、ビット幅が4ビットのときは、メモリアドレスMA11およびバンクアドレスBA1/MA12に対しアドレスA25およびA26を、ビット幅が8ビットのときは、メモリアドレスMA11およびバンクアドレスBA1/MA12に対しアドレスA25およびA24を、さらに、ビット幅が16ビットのときは、メモリアドレスMA11およびバンクアドレスBA1/MA12に対しアドレスA23およびA24を割り当てる。なお、デバイス容量およびビット幅により、ローアドレスストローブ時、あるいはカラムアドレスストローブ時に無効なメモリアドレスにアドレスが割り当てられているものについては無効となる。
【0010】
このような割付を採用することにより、デバイス容量が4Mビットから64Mビットでビット幅が4ビットから16ビットのデバイスを搭載した全てのRAMモジュールに対しアドレスを連続して割り付けることが可能となる。さらに、カラムアドレスが下位アドレスに割り付けられているのでRAMモジュールのページ領域を大きくできる。そして、デバイスの仕様によって変更する箇所は、デバイス容量が64MビットのときのメモリアドレスMA11およびバンクアドレスBA1/MA12に限られる。従って、非常に簡易なメモリアドレス変換用のソフトウェアあるいはハードウェアによってデバイスの仕様に対応した割付を自動的に設定することができる。
【0011】
さらに、本発明の割付を用いて、不揮発記憶領域が用意されていない、あるいは不揮発記憶領域に仕様情報が記載されていないRAMモジュールに対しては、搭載されているデバイスの仕様を自動的に判別することも可能となる。すなわち、仕様判断機能あるいは工程において、ローアドレスおよびカラムアドレスの割付を、デバイス容量が64Mビットでビット幅が4ビットのRAMモジュールに対する状態に設定し、8Mバイト毎に異なるデータを想定される最大メモリ容量まで書き込むことにより、データが連続して記録され、あるいは上書きされるので、その後、想定される最大メモリ容量まで読み取り、読み取ったデータによりデバイス容量およびビット幅を判断することができる。
【0012】
本発明の情報処理装置の制御方法およびメモリアドレス変換方法は、上記の各処理を行う命令を備えたプログラムとして実現することが可能であり、そのプログラムをROM、ROMモジュールあるいはフロッピーディスクなどのCPUに読み取り可能な記録媒体に記録して提供することができる。
【0013】
【発明の実施の形態】
以下に図面を参照しながら本発明の実施の形態を説明する。図1に、本発明に係るプリンタ1の概略構成を示してある。このプリンタ1は、パソコンなどのホスト側から印刷用の入力データを受信して印刷機構(プリンタエンジン)で印刷可能な構成の出力データに変換する画像処理部10と、出力データに基づき印刷用紙上に印刷を行う印刷機構2とを備えている。
【0014】
画像処理部10は、ホストから入力データを受信する入力インタフェース回路部25と、画像データを作成する印刷処理プログラム22およびIPL21などが収納されたプログラム収納用のROM12と、画像データを作成するためのフォントのビットマップデータなどが収納されたフォント収納用のROM13を備えており、メモリコントローラ15とメモリバス17を介して接続されている。また、画像処理部10は、画像データを作成する際の作業領域となり、中間のデータなどが格納される同期型のDRAM(SDRAM)14を備えており、このSDRAM14と、CPU11およびメモリコントローラ15がCPUバス18によって接続されている。この画像処理部10によってホストから入力された入力データが情報処理されて画像データに変換され、メモリバス17に接続されたビデオインタフェース回路部20を介してプリンタエンジン2に供給されてページ毎の印刷が行われる。
【0015】
SDRAMモジュール14に対しては、CPUから発生されたアドレスが、メモリコントローラ15のアドレス変換部16によりメモリアドレスに変更され、そのメモリアドレス(ローアドレスおよびカラムアドレス)がメモリアドレスバス19を介して供給されてSDRAMモジュール14に対する入出力が行われる。SDRAMモジュール14は、8MB(メガバイト)から128MB程度までの種々の容量のものが市販されている。このため、ユーザーは適当な容量のモジュールを購入して置き換えることにより、メモリの増設を行うことが可能であり、メモリ容量を大きくして大量の画像データをより高速で処理可能にするなど、プリンター10の機能アップを図ることができる。しかしながら、上述したように、RAMモジュール14に搭載されているデバイスによってアドレス仕様が異なり、従来のプリンターでは、どのようなRAMモジュール14でもそのまますぐに使用できるようにはなっていない。
【0016】
図2に、デバイス容量およびビット幅毎のアドレス仕様を表を用いて示してある。本図に示したように、例えば、デバイス容量が4Mビットでビット幅が16のデバイスを搭載したRAMモジュールにおいては、9ビットのローアドレスRA、1ビットのバンクアドレスBA、および8ビットのカラムアドレスCAがローアドレスストローブ(RAS)信号が供給されたとき(アドレスストローブ時)およびカラムアドレスストローブ(CAS)信号が供給されたとき(カラムアドレスストローブ時)にそれぞれ有効になる。加えて、カラムアドレスストローブ時には、ローアドレスの1ビットに相当するプリチャージアドレスPAが有効になる。
【0017】
一方、デバイス容量が64Mビットでビット幅が4のデバイスを搭載したRAMモジュールにおいては、12または13ビットのローアドレスRA、2または1ビットのバンクアドレスBA、および10ビットのカラムアドレスCAがローアドレスストローブ時およびカラムアドレスストローブ時にそれぞれ有効になる。また、ローアドレスの1ビットであるMA10がプリチャージアドレスであり、カラムアドレスストローブ時にはプリチャージ信号も有効になる。
【0018】
このように搭載されているデバイスによってアドレス仕様の異なるRAMモジュールに対し、従来のプリンターでは、いずれかのアドレス仕様のRAMモジュールがプリンターメーカーによって指定されており、メモリを増設する際はその仕様に則したRAMモジュールを購入する必要があった。これに対し、本願出願人は、よりフレキシブルに、また低コストでメモリの増設ができるように、アドレス仕様の異なるRAMモジュールでも利用可能なアドレス割付方法を検討し、その結果、図3(a)に示すようなアドレス割付マップを得ることができた。このアドレス割付マップでは、バイト単位でデータが入出力可能であることを考慮し、アドレスA3から最大でアドレスA26までが連続してローアドレス、バンクアドレスおよびカラムアドレスに割り付けられている。すなわち、次にようにアドレスA3から最大でA26MAまでがローアドレス、バンクアドレスおよびカラムアドレスに変換されるようになっている。
【0019】
1.ローアドレスストローブ時:
メモリアドレスMA0〜MA7に対し、アドレスA11〜A18、
メモリアドレスMA8〜MA9に対し、アドレスA21〜A22、
プリチャージアドレスPAに対し、アドレスA19、
バンクアドレスBA0に対し、アドレスA20、
2.カラムアドレスストローブ時:
メモリアドレスMA0〜MA7に対し、アドレスA3〜A10、
メモリアドレスMA8〜MA9に対し、アドレスA23〜A24、
3.ただし、デバイス容量が64MビットのRAMモジュールに対して:
ビット幅が4では:
メモリアドレスMA11およびバンクアドレスBA1/MA12に、アドレスA25およびA26、
ビット幅が8では:
メモリアドレスMA11およびバンクアドレスBA1/MA12に、アドレスA25およびA24、
ビット幅が16では:
メモリアドレスMA11およびバンクアドレスBA1/MA12に、アドレスA23およびA24を割り当てる。
【0020】
このアドレス割付マップは、全ての仕様のRAMモジュールに対しアドレスを連続的に割り付けること、RAMのページ領域を大きくするために、カラムアドレスに下位アドレスを割り付けること、および仕様の異なるRAMモジュールに対応して割り当てを変える必要があるメモリアドレスをできるだけ少なくすることが考慮されている。このため、図3(b)に示すように、本発明のアドレス割付マップに基づいてメモリアドレスの変換を行うと、デバイス容量が4Mビットおよび16Mビットの場合は変更はなく、デバイス容量が64MビットのRAMモジュールに対しては、ビット幅に対応してメモリアドレスMA11およびバンクアドレスBA1(MA12)の2つのアドレスについて割付を変更するだけで全ての仕様のRAMモジュールに対しアドレスを連続して割り付けることが可能となっている。
【0021】
図4に、本発明の割付マップに基づき、それぞれのデバイスのアドレス仕様に対応してメモリアドレスにアドレスを割り付けた様子を示してある。例えば、デバイス容量が4Mビットでビット幅が16のデバイスを使用したRAMモジュールに対しては、ローアドレスストローブ時にメモリアドレスMA0〜MA7、プリチャージアドレスPAおよびバンクアドレスBA0にアドレスA11〜A20が連続して割り当てられており、カラムアドレスストローブ時にメモリアドレスMA0〜MA7にアドレスA3〜A10が割り当てられ、全体としてアドレスA3〜A20がローアドレス、バンクアドレスおよびカラムアドレスに連続して割り当てられている。そして、カラムアドレスストローブ時にはプリチャージアドレスPAにプリチャージ信号が割り当てられ、バンクアドレスBAとともにプリチャージを制御する信号となる。
【0022】
なお、図3(a)のアドレス割り当てマップに示したメモリアドレスの内、4Mビットのデバイスではアドレスストローブ時にメモリアドレスMA8およびMA9などは図4に「×」で示したように有効になっておらず、このメモリアドレスに割り当てられたアドレスは4Mビットのデバイスのアクセスには用いられていない。
【0023】
一方、デバイス容量が64Mビットでビット幅が4のデバイスを使用したRAMモジュールに対しては、ローアドレスストローブ時にメモリアドレスMA0〜MA7、プリチャージアドレスPA、バンクアドレスBA0、メモリアドレスMA8〜MA9にアドレスA11〜A22が連続して割り当てられ、さらに、メモリアドレスMA11およびバンクアドレスBA1(MA12)にアドレスA25およびA26が割り当てられている。また、カラムアドレスストローブ時にメモリアドレスMA0〜MA7にアドレスA3〜A10が割り当てられ、さらに、メモリアドレスMA8〜MA9にアドレスA23およびA24が割り当てられている。このため、全体としてアドレスA3〜A26がローアドレス、バンクアドレスおよびカラムアドレスに連続して割り当てられている。プリチャージアドレスPAにプリチャージ信号が割り当てられているのも上記と同様である。
【0024】
図5に、本例のプリンター10において、RAMモジュール14に搭載されているデバイスの仕様を識別してアドレスの割付を自動的に設定する処理の概要をフローチャートを用いて示してある。これらの処理は、電源投入直後などのIPL21がロードされたときに行われ、まず、RAMモジュール14にEEPROMが内蔵されているものとして、ステップ51でEEPROMのデータを読む。RAMモジュールの多くには、通常はEEPROMなどによって不揮発性の記憶領域が用意されており、そこにSPDと称されるモジュールの仕様情報(構成、性能など)が格納されている。従って、RAMモジュールのSPDを取得することにより、RAMモジュールに搭載されているデバイスの仕様を判断することが可能である。このため、ステップ52でEEPROMのデータが正常であることを判断し、正常の場合はステップ53でSPDをデコードし、ステップ54でデバイスの容量およびビット幅といったデバイスの仕様を判断する。
【0025】
そして、デバイスの容量が16Mビット以下であれば、先に図3(a)に示したアドレスの割付マップに従い、メモリアドレスMA11およびバンクアドレスBA1(MA12)を除いてアドレスを割り付けることにより、デバイス容量あるいはビット幅が異なるデバイスに対しても連続してアドレスをメモリアドレスに変換することが可能である。このため、仕様の異なるデバイスが搭載されたメモリーモジュールを使用することができる。このような割付をソフトウェアを用いて行ってももちろん良いが、本例のプリンター1においては、メモリアドレス変換部16でハードウェア的に図3(a)に示した割付(メモリアドレスMA11およびバンクアドレスBA1(MA12)を除き)が設定されている。
【0026】
従って、本例のプリンター1においては、ステップ54で判断されたデバイス容量が64Mビット以上のときにステップ59以降において、残りのメモリアドレスMA11およびバンクアドレスBA1(MA12)の割付をソフトウェアで設定している。まず、ステップ59でビット幅が4のときは、ステップ60でバンクアドレスBA1(MA12)にアドレスA26を、また、メモリアドレスMA11にアドレスA25を設定する。ステップ61でビット幅が8のときは、ステップ62でバンクアドレスBA1(MA12)にアドレスA24を、また、メモリアドレスMA11にアドレスA25を設定する。ステップ63でビット幅が16のときは、ステップ64でバンクアドレスBA1(MA12)にアドレスA24を、また、メモリアドレスMA11にアドレスA23を設定する。
【0027】
このようにデバイスの容量およびビット幅によってアドレスの割付設定を変更することにより、仕様の異なるデバイスが搭載されたRAMモジュールに対し適切なアドレスを設定して入出力を行うことが可能となる。従って、プリンター1で使用可能なRAMモジュールの仕様を限定せずに種々なRAMモジュールを利用することができる。さらに、RAMモジュールに搭載されたデバイスの仕様の判断およびそれに適したアドレスの割付が自動的に行われるので、ユーザーの手間を省略でき、また、アドレスの割付の間違いを防止することも可能である。
【0028】
これらの処理は、本例のプリンター1においては、初期設定を行うプログラムであるIPL21に含まれており、電源投入時あるいはリセット時などに実行される。従って、本例のプリンター1においては、デバイスの容量およびビット幅を判断する仕様判断機能、および仕様判断機能で判明したデバイス容量およびビット幅によってメモリアドレスの割付を変更可能な割付設定機能は、IPL21に基づきCPU11で実現される。
【0029】
このように、RAMモジュールにEEPROMが搭載され、その中にデバイスの仕様などを含んだSPDが収納されていれば上記のような手順でRAMモジュールに対するアドレスの割付を設定できる。しかしながら、現状では、パソコンあるいはプリンターなどの情報処理装置の側で設置できるRAMモジュールの仕様を限定しているのでSPDが情報処理装置の側で利用されておらず、低コスト化などのためにSPDを省略したRAMモジュールも存在する。そこで、本例のプリンター1においては、ステップ52でEEPROMから読まれたデータが正常でない場合は、SPDを利用しないでデバイスタイプを判断できるようにしている。このため、ステップ55に移行し、バンクアドレスBA1(MA12)にアドレスA26を、また、メモリアドレスMA11にアドレスA25を割り付けてローアドレスおよびカラムアドレスに対しフルにアドレスを設定できるようにする。そして、ステップ56において、現状で想定される最大のメモリ容量である128MBまで8MB毎に異なったデータを書き込む。
【0030】
このような書き込みを行うと、図6に表を用いて示してあるように、メモリ容量および搭載されているデバイスの仕様によってRAMモジュールに記憶される内容が異なる。このため、ステップ57で想定される最大のメモリ容量である128MBまでRAMモジュールに記憶された値を読み取ることにより、ステップ58でRAMモジュールの容量およびそのRAMモジュールに搭載されているデバイスの仕様を判断することが可能となる。例えば、RAMモジュールの容量が8MBであれば、メモリの内容が8MB毎に上書きされるので、読み取り可能なデータは120MBから128Mバイトまでのアドレスに対応して最終的に記録された「15」の値となる。
【0031】
一方、ビット幅が4で64Mビットの容量のデバイスを搭載した128MBのRAMモジュールにおいては、0から128MBまで異なったデータが書き込まれるので、書き込まれた通りのデータが読み取られる。また、64Mビットでビット幅が16のデバイスが搭載されたRAMモジュールにおいては、カラムアドレスストローブ時にメモリアドレスMA8およびMA9に割り当てられたアドレスA23およびA24が有効にならない。従って、16MBピッチの領域にしかアクセスができず、その領域が上書きされるので、表6に示したような値が読み取られることになる。
【0032】
このような方法により、EEPROMを搭載していないRAMモジュールに対してもデバイス容量およびビット幅を自動的に判断できるので、上記と同様にステップ59以降のプロセスによってRAMモジュールに搭載されたデバイスの仕様に則したメモリアドレスの割付けを設定し、RAMモジュールを利用することが可能となる。
【0033】
このように、本例のプリンター1は、仕様の異なるRAMモジュール、特に、SDRAMモジュールであってもそのまま設置して利用することが可能である。従って、大量の画像データを扱うために大容量のSDRAMモジュールに差し替えるときに、ユーザーが入手可能な仕様のSDRAMモジュールを設置することが可能であり、メーカーに指定された仕様のSDRAMモジュールを選択する必要はなくなる。このため、ユーザーが容易に、また、安価に入手できるSDRAMモジュールを利用できるので、手間がかからずに、低コストでメモリの増設を行うことが可能となる。
【0034】
なお、上記では、プリンターを例に説明しているが、パソコンなどの情報処理装置であってももちろん良く、本発明を適用することにより、搭載されているRAMモジュールのデバイスタイプに左右されずに、ユーザーが最も入手し易いRAMモジュールを利用することが可能となる。さらに、デバイスタイプをユーザーが調べてアドレスの割付を調整する必要がないので、割付設定を間違えることもなく、どのようなデバイスタイプのRAMモジュールであっても確実に利用することが可能となる。
【0035】
【発明の効果】
以上に説明したように、従来の情報処理装置においては、その情報処理装置のメモリアドレスの割付に合致した定められた仕様のデバイスが搭載されたRAMモジュールが指定されており、ユーザーがメモリを増設する際などにおいては、その定められた仕様のRAMモジュール以外は利用できなかった。これに対し、本発明においては、RAMモジュールに搭載されているデバイスの仕様を自動的に判断し、それに合わせてメモリアドレスの割付を変更すると機能および工程を備えた情報処理装置およびその制御方法を提供するようにしている。従って、ユーザーは入手可能な仕様の異なるRAMモジュールであっても自由に利用することが可能であり、手軽にメモリの増設など行うことができる。
【0036】
さらに、本発明においては、図3に示したようなアドレスの割付マップを採用しており、これにより、デバイスの仕様が異なるRAMモジュールに対し、ほとんど割付を変更することなくアドレス空間が連続するようにメモリアドレスに割り付けることが可能となる。従って、デバイスタイプの相違に対応して割付を調整する処理が簡単となり、簡易なソフトウェアあるいはハードウェアて対応することができる。
【0037】
また、本発明においては、デバイスの仕様情報を搭載していないRAMモジュールに対しても所定のメモリ領域毎に異なるデータを書き込んだ後に、その内容を読み取ることによりメモリ容量およびそれに搭載されているデバイスタイプを判断できるようにしている。従って、市販されているどのようなRAMモジュール、特に、SDRAMモジュールであっても、そのデバイスタイプを自動的に判断し、それに適した割付を設定して利用することが可能である。
【図面の簡単な説明】
【図1】本発明の実施の形態に係るプリンタの概略構成を示すブロック図である。
【図2】デバイスタイプに対応したアドレス仕様を示した表である。
【図3】(a)は本発明において採用したメモリアドレスの割付マップであり、(b)はデバイスタイプによって変更する部分を示す表である。
【図4】図3に示す割付マップによって各デバイスタイプ毎にアドレスを割り付けた状態を示す表である。
【図5】RAMモジュールに搭載されたデバイス仕様を判断し、それに適した割付設定を行う処理を示すフローチャートである。
【図6】RAMモジュールに所定のデータを書き込んだ後に読みだして、その容量およびデバイスタイプを判断する条件を示した表である。
【符号の説明】
1 プリンタ
2 印刷機構
10 画像処理部
11 CPU
12 プログラム用ROM
13 フォント用ROM
14 SDRAMモジュール
15 メモリコントローラ
16 メモリアドレス変換部
17 メモリバス
18 CPUバス
19 メモリアドレスバス
20 ビデオインタフェース部
25 入力インタフェース部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an information processing apparatus suitable for a printer control apparatus and the like and a control method therefor, and more particularly to conversion of a memory address for a RAM module.
[0002]
[Prior art]
In an information processing apparatus or the like constituting an image processing unit of a page printer, a RAM module is used as a temporary storage area such as a CPU work area. In recent years, a RAM module equipped with a synchronous DRAM (SDRAM), which has a high processing speed and is inexpensive, is often used.
[0003]
[Problems to be solved by the invention]
However, since the number of memory addresses varies depending on the bit width and capacity of the mounted memory device (hereinafter referred to as a device), RAM modules with various address specifications currently exist. For example, as shown in the table of FIG. 2, devices with device capacities of 4M bits, 16M bits, and 64M bits and bit widths of 4, 8, and 16 have different numbers of row addresses and column addresses. . Conventionally, the assignment of addresses to the memory addresses of the RAM modules is uniquely determined for each information processing apparatus. Therefore, it is impossible to directly use RAM modules equipped with devices having different specifications. Therefore, when adding a RAM module, there is a need for a RAM module that conforms to the specifications specified in advance, and there are problems such as the limited number of modules that can be selected and the use of a module with an appropriate price available to the user. It was.
[0004]
Some information processing devices can use modules with different specifications, but in order to change the address specifications, the user must operate hardware such as jumpers or software such as BIOS to match the conditions that match the specifications of the RAM module. It is necessary to set and is troublesome. Furthermore, sufficient knowledge about memory and the like is necessary, which is difficult for general users.
[0005]
Accordingly, the present invention provides an information processing apparatus, a control method thereof, a memory address conversion apparatus, and the like that can be easily used even with RAM modules having different specifications and can expand the memory at a low cost. It is an object. It is another object of the present invention to provide an information processing apparatus and a control method for the information processing apparatus that can be used reliably without mistakes in address assignment when using RAM modules having different specifications.
[0006]
[Means for Solving the Problems]
For this reason, in the information processing apparatus of the present invention, the specification determination function for determining the device capacity and bit width of the mounted RAM module and the allocation of the memory address are changed according to the device capacity and bit width determined by the specification determination function. A possible allocation setting function is provided to automatically determine the specifications of the RAM module and to automatically set the allocation of the memory address accordingly. In the control method of the information processing apparatus according to the present invention, the specification determining step for determining the device capacity and bit width of the RAM module, and the allocation of the memory address are changed according to the device capacity and bit width determined in the specification determining step. An assignment setting step is provided so that the address assignment can be automatically changed.
[0007]
In the information processing apparatus and the control method thereof according to the present invention, the specification of the RAM module is automatically determined, and the memory address is automatically assigned according to the specification. Therefore, the user can use the RAM module without being aware of the difference between the device types mounted on the RAM module, and can use the low-cost RAM module with available specifications. Furthermore, since the specifications of the RAM module are automatically determined and the appropriate memory address is automatically assigned, it is possible to reliably use the RAM modules having different specifications without making a mistake in the address assignment. it can. Therefore, it is possible to provide a semiconductor processing apparatus with high reliability and capable of flexibly selecting a RAM module and a control method thereof. The RAM module specification can be determined by reading the specification information prepared in the nonvolatile storage area of the RAM module.
[0008]
When assigning and setting, it is desirable to employ a memory address conversion device or a memory address conversion method for assigning row addresses and column addresses to addresses as follows. First, at the time of row address strobe, addresses A11 to A18 are assigned to memory addresses MA0 to MA7, addresses A21 to A22 are assigned to memory addresses MA8 to MA9, address A19 is assigned to precharge address PA (MA10), and bank address BA0 is assigned. An address A20 is assigned to. Further, at the time of column address strobe, addresses A3 to A10 are assigned to memory addresses MA0 to MA7, and addresses A23 to A24 are assigned to memory addresses MA8 to MA9.
[0009]
However, for a RAM module having a device capacity of 64 Mbits, when the bit width is 4 bits, the addresses A25 and A26 are assigned to the memory address MA11 and the bank addresses BA1 / MA12, and when the bit width is 8 bits, Addresses A25 and A24 are assigned to memory address MA11 and bank address BA1 / MA12, and addresses A23 and A24 are assigned to memory address MA11 and bank address BA1 / MA12 when the bit width is 16 bits. Depending on the device capacity and bit width, an invalid address is assigned to an invalid memory address at the time of row address strobe or column address strobe.
[0010]
By adopting such allocation, it becomes possible to continuously allocate addresses to all RAM modules on which devices having a device capacity of 4 Mbits to 64 Mbits and a bit width of 4 bits to 16 bits are mounted. Further, since the column address is assigned to the lower address, the page area of the RAM module can be increased. And the place changed by the specification of the device is limited to the memory address MA11 and the bank address BA1 / MA12 when the device capacity is 64M bits. Therefore, the assignment corresponding to the specification of the device can be automatically set by very simple memory address conversion software or hardware.
[0011]
Furthermore, using the allocation of the present invention, the specification of the mounted device is automatically determined for a RAM module in which a nonvolatile storage area is not prepared or specification information is not described in the nonvolatile storage area. It is also possible to do. That is, in the specification judging function or process, the row address and column address assignment is set to the state for a RAM module having a device capacity of 64 Mbits and a bit width of 4 bits, and a maximum memory that can assume different data every 8 Mbytes By writing up to the capacity, the data is continuously recorded or overwritten. Therefore, the data is read up to the assumed maximum memory capacity, and the device capacity and bit width can be determined from the read data.
[0012]
The control method of the information processing apparatus and the memory address conversion method of the present invention can be realized as a program having instructions for performing the above-described processes, and the program is stored in a CPU such as a ROM, a ROM module, or a floppy disk. It can be provided by being recorded on a readable recording medium.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a schematic configuration of a
[0014]
The
[0015]
For the
[0016]
FIG. 2 shows an address specification for each device capacity and bit width using a table. As shown in this figure, for example, in a RAM module equipped with a device having a device capacity of 4 Mbits and a bit width of 16, a 9-bit row address RA, a 1-bit bank address BA, and an 8-bit column address CA becomes effective when a row address strobe (RAS) signal is supplied (at the time of address strobe) and when a column address strobe (CAS) signal is supplied (at the time of column address strobe). In addition, at the time of column address strobe, the precharge address PA corresponding to one bit of the row address becomes valid.
[0017]
On the other hand, in a RAM module equipped with a device having a device capacity of 64 Mbits and a bit width of 4, 12 or 13-bit row address RA, 2 or 1-bit bank address BA, and 10-bit column address CA are row addresses. It becomes effective at the time of strobe and column address strobe, respectively. Further, MA10 which is one bit of the row address is a precharge address, and the precharge signal is also valid at the time of column address strobe.
[0018]
In contrast to RAM modules with different address specifications depending on the devices installed in this way, in conventional printers, RAM modules with one of the address specifications are specified by the printer manufacturer. It was necessary to purchase the RAM module. On the other hand, the applicant of the present application examined an address allocation method that can be used even with RAM modules having different address specifications so that the memory can be expanded more flexibly and at low cost. As a result, FIG. The address allocation map as shown in Fig. 1 was obtained. In this address allocation map, considering that data can be input / output in byte units, addresses A3 to A26 are allocated to row addresses, bank addresses, and column addresses continuously. That is, the address A3 to the maximum A26MA are converted into a row address, a bank address, and a column address as follows.
[0019]
1. When row address strobe:
For memory addresses MA0-MA7, addresses A11-A18,
For memory addresses MA8-MA9, addresses A21-A22,
For precharge address PA, address A19,
For bank address BA0, address A20,
2. During column address strobe:
For memory addresses MA0-MA7, addresses A3-A10,
For memory addresses MA8-MA9, addresses A23-A24,
3. However, for a RAM module with a device capacity of 64 Mbits:
For a bit width of 4:
To memory address MA11 and bank address BA1 / MA12, addresses A25 and A26,
For a bit width of 8:
To memory address MA11 and bank address BA1 / MA12, addresses A25 and A24,
For a bit width of 16:
Addresses A23 and A24 are assigned to memory address MA11 and bank address BA1 / MA12.
[0020]
This address allocation map is used to allocate addresses consecutively to RAM modules of all specifications, to assign lower addresses to column addresses in order to increase the RAM page area, and to RAM modules with different specifications. It is considered to minimize the number of memory addresses that need to be changed. For this reason, as shown in FIG. 3B, when the memory address is converted based on the address allocation map of the present invention, there is no change when the device capacity is 4M bits and 16M bits, and the device capacity is 64M bits. For the RAM modules of this type, the addresses are continuously assigned to the RAM modules of all specifications simply by changing the assignment of the two addresses of the memory address MA11 and the bank address BA1 (MA12) corresponding to the bit width. Is possible.
[0021]
FIG. 4 shows a state in which addresses are allocated to memory addresses corresponding to the address specifications of each device based on the allocation map of the present invention. For example, for a RAM module using a device having a device capacity of 4 Mbits and a bit width of 16, addresses A11 to A20 are consecutive to memory addresses MA0 to MA7, precharge address PA and bank address BA0 at the time of row address strobe. The addresses A3 to A10 are assigned to the memory addresses MA0 to MA7 during the column address strobe, and the addresses A3 to A20 are continuously assigned to the row address, the bank address, and the column address as a whole. At the time of column address strobe, a precharge signal is assigned to the precharge address PA and becomes a signal for controlling the precharge together with the bank address BA.
[0022]
Of the memory addresses shown in the address allocation map of FIG. 3A, in the 4M bit device, the memory addresses MA8 and MA9 are effective as indicated by “x” in FIG. 4 during the address strobe. In addition, the address assigned to this memory address is not used for accessing a 4-Mbit device.
[0023]
On the other hand, for a RAM module using a device having a device capacity of 64 Mbits and a bit width of 4, the addresses of the memory addresses MA0 to MA7, the precharge address PA, the bank address BA0, and the memory addresses MA8 to MA9 are addressed during the row address strobe. A11 to A22 are continuously assigned, and further, addresses A25 and A26 are assigned to the memory address MA11 and the bank address BA1 (MA12). Further, addresses A3 to A10 are assigned to the memory addresses MA0 to MA7 during the column address strobe, and addresses A23 and A24 are assigned to the memory addresses MA8 to MA9. Therefore, as a whole, the addresses A3 to A26 are continuously assigned to the row address, bank address, and column address. Similarly to the above, the precharge signal is assigned to the precharge address PA.
[0024]
FIG. 5 is a flowchart showing an outline of processing for identifying the specifications of the devices mounted on the
[0025]
If the device capacity is 16 Mbits or less, the device capacity is determined by assigning addresses excluding the memory address MA11 and bank address BA1 (MA12) according to the address assignment map shown in FIG. Alternatively, it is possible to continuously convert addresses into memory addresses even for devices having different bit widths. For this reason, it is possible to use memory modules on which devices having different specifications are mounted. Of course, such allocation may be performed using software. However, in the
[0026]
Therefore, in the
[0027]
As described above, by changing the address assignment setting according to the capacity and bit width of the device, it becomes possible to perform input / output by setting an appropriate address to the RAM module on which the device having different specifications is mounted. Therefore, various RAM modules can be used without limiting the specifications of the RAM modules that can be used in the
[0028]
In the
[0029]
As described above, if the EEPROM is mounted on the RAM module and the SPD including the device specifications and the like is stored in the RAM module, the assignment of addresses to the RAM module can be set by the above procedure. However, at present, the specifications of the RAM module that can be installed on the information processing apparatus such as a personal computer or a printer are limited, so the SPD is not used on the information processing apparatus side, and the SPD is used for cost reduction. There is a RAM module in which is omitted. Therefore, in the
[0030]
When such writing is performed, the contents stored in the RAM module differ depending on the memory capacity and the specifications of the mounted device, as shown in the table of FIG. Therefore, by reading the value stored in the RAM module up to 128 MB, which is the maximum memory capacity assumed in
[0031]
On the other hand, in a 128 MB RAM module equipped with a device having a bit width of 4 and a capacity of 64 Mbits, different data from 0 to 128 MB is written, so the data as written is read. Further, in a RAM module in which a device having 64 Mbits and a bit width of 16 is mounted, the addresses A23 and A24 assigned to the memory addresses MA8 and MA9 are not valid at the time of column address strobe. Therefore, only the area of 16 MB pitch can be accessed and the area is overwritten, so that the values shown in Table 6 are read.
[0032]
By such a method, the device capacity and the bit width can be automatically determined even for a RAM module not equipped with an EEPROM. Therefore, the specification of the device mounted on the RAM module by the process after
[0033]
As described above, the
[0034]
In the above description, the printer is described as an example. However, an information processing apparatus such as a personal computer may be used, and by applying the present invention, the device type of the mounted RAM module is not affected. It becomes possible to use the RAM module that is most easily available to the user. Furthermore, since it is not necessary for the user to check the device type and adjust the address assignment, it is possible to use any RAM module of any device type without any mistake in the assignment setting.
[0035]
【The invention's effect】
As described above, in a conventional information processing apparatus, a RAM module equipped with a device with a defined specification that matches the memory address assignment of the information processing apparatus is specified, and the user adds memory. For example, a RAM module other than the specified specification could not be used. On the other hand, in the present invention, an information processing apparatus having a function and a process and a control method thereof are provided by automatically determining the specification of a device mounted on the RAM module and changing the allocation of the memory address accordingly. I am trying to provide it. Therefore, the user can freely use RAM modules having different specifications that can be obtained, and can easily add a memory.
[0036]
Furthermore, in the present invention, an address allocation map as shown in FIG. 3 is employed, so that the address space can be made continuous with almost no change in allocation for RAM modules having different device specifications. Can be assigned to memory addresses. Therefore, the process of adjusting the allocation corresponding to the difference in device type is simplified, and can be handled with simple software or hardware.
[0037]
Further, in the present invention, the memory capacity and the device mounted on the RAM module are read by reading the contents after writing different data for each predetermined memory area to the RAM module not mounted with the device specification information. The type can be determined. Therefore, any commercially available RAM module, in particular, an SDRAM module, can automatically determine its device type, set an appropriate allocation, and use it.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a schematic configuration of a printer according to an embodiment of the present invention.
FIG. 2 is a table showing address specifications corresponding to device types.
FIG. 3A is a memory address allocation map employed in the present invention, and FIG. 3B is a table showing a portion to be changed according to a device type.
4 is a table showing a state in which addresses are assigned for each device type by the assignment map shown in FIG. 3;
FIG. 5 is a flowchart showing a process for determining a device specification mounted on a RAM module and performing allocation setting suitable for the device specification.
FIG. 6 is a table showing conditions for reading after predetermined data is written in a RAM module and determining its capacity and device type.
[Explanation of symbols]
1 Printer
2 Printing mechanism
10 Image processing unit
11 CPU
12 ROM for program
13 ROM for font
14 SDRAM module
15 Memory controller
16 Memory address converter
17 Memory bus
18 CPU bus
19 Memory address bus
20 Video interface
25 Input interface section
Claims (10)
この仕様判断機能で判明したデバイス容量およびビット幅に応じて、次のように、CPUから発生されたアドレスAを、ローアドレスストローブ時およびカラムアドレスストローブ時に夫々前記RAMモジュールに供給するローアドレス又はカラムアドレス,プリチャージアドレス,およびバンクアドレスとして、前記RAMモジュールのメモリアドレスMA,プリチャージアドレスPA,バンクアドレスBAに割り付ける割付設定機能と
を有することを特徴とする情報処理装置。
ローアドレスストローブ時:
メモリアドレスMA0〜MA7に対し、アドレスA11〜A18、
メモリアドレスMA8〜MA9に対し、アドレスA21〜A22、
プリチャージアドレスPAに対し、アドレスA19、
バンクアドレスBA0に対し、アドレスA20、
カラムアドレスストローブ時:
メモリアドレスMA0〜MA7に対し、アドレスA3〜A10、
メモリアドレスMA8〜MA9に対し、アドレスA23〜A24。
ただし、ローアドレスストローブ時において、判明したデバイス容量が64MビットのRAMモジュールに対しては、
判明したビット幅が4ビットのときは、メモリアドレスMA11およびバンクアドレスBA1/MA12に対し、アドレスA25およびA26を、
判明したビット幅が8ビットのときは、メモリアドレスMA11およびバンクアドレスBA1/MA12に対し、アドレスA25およびA24を、
判明したビット幅が16ビットのときは、メモリアドレスMA11およびバンクアドレスBA1/MA12に対し、アドレスA23およびA24を、更に割り付ける。 A specification determination function for determining the device capacity and bit width of the memory device mounted in the mounted RAM module;
In accordance with the device capacity and bit width determined by the specification judging function, the row address or column for supplying the address A generated from the CPU to the RAM module at the time of row address strobe and column address strobe as follows. An information processing apparatus having an allocation setting function for allocating to a memory address MA, a precharge address PA, and a bank address BA of the RAM module as an address, a precharge address, and a bank address .
When row address strobe:
For memory addresses MA0-MA7, addresses A11-A18,
For memory addresses MA8-MA9, addresses A21-A22,
For precharge address PA, address A19,
For bank address BA0, address A20,
During column address strobe:
For memory addresses MA0-MA7, addresses A3-A10,
Addresses A23 to A24 for memory addresses MA8 to MA9.
However, at the time of row address strobe, for a RAM module having a device capacity of 64 Mbit,
When the determined bit width is 4 bits, addresses A25 and A26 are assigned to memory address MA11 and bank address BA1 / MA12.
When the determined bit width is 8 bits, addresses A25 and A24 are assigned to memory address MA11 and bank address BA1 / MA12.
When the determined bit width is 16 bits, addresses A23 and A24 are further allocated to memory address MA11 and bank address BA1 / MA12.
この仕様判断工程で判明したデバイス容量およびビット幅に応じて、次のように、CPUから発生されたアドレスAを、ローアドレスストローブ時およびカラムアドレスストローブ時に夫々前記RAMモジュールに供給するローアドレス又はカラムアドレス,プリチャージアドレス,およびバンクアドレスとして、前記RAMモジュールのメモリアドレスMA,プリチャージアドレスPA,バンクアドレスBA0,BA1/MA12に割り付ける割付設定工程と
を有することを特徴とする情報処理装置の制御方法。
ローアドレスストローブ時:
メモリアドレスMA0〜MA7に対し、アドレスA11〜A18、
メモリアドレスMA8〜MA9に対し、アドレスA21〜A22、
プリチャージアドレスPAに対し、アドレスA19、
バンクアドレスBA0に対し、アドレスA20、
カラムアドレスストローブ時:
メモリアドレスMA0〜MA7に対し、アドレスA3〜A10、
メモリアドレスMA8〜MA9に対し、アドレスA23〜A24。
ただし、ローアドレスストローブ時において、判明したデバイス容量が64MビットのRAMモジュールに対しては、
判明したビット幅が4ビットのときは、メモリアドレスMA11およびバンクアドレスBA1/MA12に対し、アドレスA25およびA26を、
判明したビット幅が8ビットのときは、メモリアドレスMA11およびバンクアドレスBA1/MA12に対し、アドレスA25およびA24を、
判明したビット幅が16ビットのときは、メモリアドレスMA11およびバンクアドレスBA1/MA12に対し、アドレスA23およびA24を、更に割り付ける。 A specification determining step of determining the device capacity and bit width of the memory device mounted on the RAM module;
In accordance with the device capacity and bit width found in this specification judging step, the row address or column for supplying the address A generated from the CPU to the RAM module at the time of row address strobe and column address strobe as follows. An information processing apparatus control method comprising: an allocation setting step for allocating memory addresses MA, precharge addresses PA, and bank addresses BA0, BA1 / MA12 of the RAM module as addresses, precharge addresses, and bank addresses .
When row address strobe:
For memory addresses MA0-MA7, addresses A11-A18,
For memory addresses MA8-MA9, addresses A21-A22,
For precharge address PA, address A19,
For bank address BA0, address A20,
During column address strobe:
For memory addresses MA0-MA7, addresses A3-A10,
Addresses A23 to A24 for memory addresses MA8 to MA9.
However, at the time of row address strobe, for a RAM module having a device capacity of 64 Mbit,
When the determined bit width is 4 bits, addresses A25 and A26 are assigned to memory address MA11 and bank address BA1 / MA12.
When the determined bit width is 8 bits, addresses A25 and A24 are assigned to memory address MA11 and bank address BA1 / MA12.
When the determined bit width is 16 bits, addresses A23 and A24 are further allocated to memory address MA11 and bank address BA1 / MA12.
ローアドレスストローブ時:
メモリアドレスMA0〜MA7に対し、アドレスA11〜A18、
メモリアドレスMA8〜MA9に対し、アドレスA21〜A22、
プリチャージアドレスPAに対し、アドレスA19、
バンクアドレスBA0に対し、アドレスA20、
カラムアドレスストローブ時:
メモリアドレスMA0〜MA7に対し、アドレスA3〜A10、
メモリアドレスMA8〜MA9に対し、アドレスA23〜A24。
ただし、ローアドレスストローブ時において、搭載されているメモリデバイスのデバイス容量が64MビットのRAMモジュールに対しては、
前記メモリデバイスのビット幅が4ビットのときは、メモリアドレスMA11およびバンクアドレスBA1/MA12に対し、アドレスA25およびA26を、
前記メモリデバイスのビット幅が8ビットのときは、メモリアドレスMA11およびバンクアドレスBA1/MA12に対し、アドレスA25およびA24を、
前記メモリデバイスのビット幅が16ビットのときは、メモリアドレスMA11およびバンクアドレスBA1/MA12に対し、アドレスA23およびA24を、更に割り付ける。When inputting / outputting data to / from the RAM module, the address A generated from the CPU is supplied to the RAM module at the time of row address strobe and column address strobe , as follows: A memory address conversion device , wherein the RAM address is assigned to a memory address MA, a precharge address PA, and a bank address BA of the RAM module as addresses and bank addresses .
When row address strobe:
For memory addresses MA0-MA7, addresses A11-A18,
For memory addresses MA8-MA9, addresses A21-A22,
For precharge address PA, address A19,
For bank address BA0, address A20,
During column address strobe:
For memory addresses MA0-MA7, addresses A3-A10,
Addresses A23-A24 for memory addresses MA8-MA9 .
However, at the time of row address strobe, for a RAM module having a 64 Mbit device capacity of the mounted memory device ,
When the bit width of the memory device is 4 bits, addresses A25 and A26 are assigned to the memory address MA11 and the bank address BA1 / MA12.
When the bit width of the memory device is 8 bits, addresses A25 and A24 are assigned to the memory address MA11 and the bank address BA1 / MA12.
Wherein when the memory device of the bit width is 16 bits, the memory address MA11 and the bank address BA1 / MA12, the address A23 and A24, Ru further split with.
ローアドレスストローブ時:
メモリアドレスMA0〜MA7に対し、アドレスA11〜A18、
メモリアドレスMA8〜MA9に対し、アドレスA21〜A22、
プリチャージアドレスPAに対し、アドレスA19、
バンクアドレスBA0に対し、アドレスA20、
カラムアドレスストローブ時:
メモリアドレスMA0〜MA7に対し、アドレスA3〜A10、
メモリアドレスMA8〜MA9に対し、アドレスA23〜A24。
ただし、ローアドレスストローブ時において、搭載されているメモリデバイスのデバイス容量が64MビットのRAMモジュールに対しては、
前記メモリデバイスのビット幅が4ビットのときは、メモリアドレスMA11およびバンクアドレスBA1/MA12に対し、アドレスA25およびA26を、
前記メモリデバイスのビット幅が8ビットのときは、メモリアドレスMA11およびバンクアドレスBA1/MA12に対し、アドレスA25およびA24を、
前記メモリデバイスのビット幅が16ビットのときは、メモリアドレスMA11およびバンクアドレスBA1/MA12に対し、アドレスA23およびA24を、更に割り付ける。When inputting / outputting data to / from the RAM module, the address A generated from the CPU is supplied to the RAM module at the time of row address strobe and column address strobe , as follows: A memory address conversion method characterized in that a memory address MA, a precharge address PA, and a bank address BA of the RAM module are assigned as addresses and bank addresses .
When row address strobe:
For memory addresses MA0-MA7, addresses A11-A18,
For memory addresses MA8-MA9, addresses A21-A22,
For precharge address PA, address A19,
For bank address BA0, address A20,
During column address strobe:
For memory addresses MA0-MA7, addresses A3-A10,
Addresses A23-A24 for memory addresses MA8-MA9 .
However, at the time of row address strobe, for a RAM module having a 64 Mbit device capacity of the mounted memory device ,
When the bit width of the memory device is 4 bits, addresses A25 and A26 are assigned to the memory address MA11 and the bank address BA1 / MA12.
When the bit width of the memory device is 8 bits, addresses A25 and A24 are assigned to the memory address MA11 and the bank address BA1 / MA12.
Wherein when the memory device of the bit width is 16 bits, the memory address MA11 and the bank address BA1 / MA12, the address A23 and A24, Ru further split with.
この仕様判断処理で判明したデバイス容量およびビット幅に応じて、次のように、CPUから発生されたアドレスAを、ローアドレスストローブ時およびカラムアドレスストローブ時に夫々前記RAMモジュールに供給するローアドレス又はカラムアドレス,プリチャージアドレス,およびバンクアドレスとして、前記RAMモジュールのメモリアドレスMA,プリチャージアドレスPA,メモリアドレス,バンクアドレスBAに割り付ける割付設定処理と
を実行可能な命令を有するプログラムが記録されていることを特徴とする記録媒体。
ローアドレスストローブ時:
メモリアドレスMA0〜MA7に対し、アドレスA11〜A18、
メモリアドレスMA8〜MA9に対し、アドレスA21〜A22、
プリチャージアドレスPAに対し、アドレスA19、
バンクアドレスBA0に対し、アドレスA20、
カラムアドレスストローブ時:
メモリアドレスMA0〜MA7に対し、アドレスA3〜A10、
メモリアドレスMA8〜MA9に対し、アドレスA23〜A24。
ただし、ローアドレスストローブ時において、判明したデバイス容量が64MビットのRAMモジュールに対しては、
判明したビット幅が4ビットのときは、メモリアドレスMA11およびバンクアドレスBA1/MA12に対し、アドレスA25およびA26を更に割り付け、
判明したビット幅が8ビットのときは、メモリアドレスMA11およびバンクアドレスBA1/MA12に対し、アドレスA25およびA24を更に割り付け、
判明したビット幅が16ビットのときは、メモリアドレスMA11およびバンクアドレスBA1/MA12に対し、アドレスA23およびA24を更に割り付ける。 Specification determination processing for determining the device capacity and bit width of the memory device mounted on the RAM module;
In accordance with the device capacity and bit width determined by the specification determination process, the row address or column for supplying the address A generated from the CPU to the RAM module at the time of row address strobe and column address strobe as follows. As the address, precharge address, and bank address, a program having instructions capable of executing the memory module MA, the precharge address PA, the memory address, and the assignment setting process assigned to the bank address BA is recorded. A recording medium characterized by the above.
When row address strobe:
For memory addresses MA0-MA7, addresses A11-A18,
For memory addresses MA8-MA9, addresses A21-A22,
For precharge address PA, address A19,
For bank address BA0, address A20,
During column address strobe:
For memory addresses MA0-MA7, addresses A3-A10,
Addresses A23 to A24 for memory addresses MA8 to MA9.
However, at the time of row address strobe, for a RAM module having a device capacity of 64 Mbit,
When the determined bit width is 4 bits, addresses A25 and A26 are further allocated to memory address MA11 and bank address BA1 / MA12,
When the determined bit width is 8 bits, addresses A25 and A24 are further allocated to memory address MA11 and bank address BA1 / MA12,
When the determined bit width is 16 bits, addresses A23 and A24 are further allocated to the memory address MA11 and the bank address BA1 / MA12.
ローアドレスストローブ時:
メモリアドレスMA0〜MA7に対し、アドレスA11〜A18、
メモリアドレスMA8〜MA9に対し、アドレスA21〜A22、
プリチャージアドレスPAに対し、アドレスA19、
バンクアドレスBA0に対し、アドレスA20、
カラムアドレスストローブ時:
メモリアドレスMA0〜MA7に対し、アドレスA3〜A10、
メモリアドレスMA8〜MA9に対し、アドレスA23〜A24。
ただし、ローアドレスストローブ時において、前記RAMモジュールに搭載されているメモリデバイスのデバイス容量が64MビットのRAMモジュールに対しては、
前記メモリデバイスのビット幅が4ビットのときは、メモリアドレスMA11およびバンクアドレスBA1/MA12に対し、アドレスA25およびA26を更に割り付け、
前記メモリデバイスのビット幅が8ビットのときは、メモリアドレスMA11およびバンクアドレスBA1/MA12に対し、アドレスA25およびA24を更に割り付け、
前記メモリデバイスのビット幅が16ビットのときは、メモリアドレスMA11およびバンクアドレスBA1/MA12に対し、アドレスA23およびA24を更に割り付ける。When inputting / outputting data to / from the RAM module, the address A generated from the CPU is supplied to the RAM module at the time of row address strobe and column address strobe , as follows: A recording medium in which a program capable of executing a process of assigning to a memory address MA, a precharge address PA, and a bank address BA of the RAM module is recorded as an address and a bank address .
When row address strobe:
For memory addresses MA0-MA7, addresses A11-A18,
For memory addresses MA8-MA9, addresses A21-A22,
For precharge address PA, address A19,
For bank address BA0, address A20,
During column address strobe:
For memory addresses MA0-MA7, addresses A3-A10,
Addresses A23-A24 for memory addresses MA8-MA9 .
However, at the time of row address strobe, for a RAM module having a 64 Mbit device capacity of the memory device mounted on the RAM module,
Wherein when the memory device of the bit width is 4 bits, the memory address MA11 and the bank address BA1 / MA12, further divided with the addresses A25 and A26,
Wherein when the memory device of the bit width is 8 bits, the memory address MA11 and the bank address BA1 / MA12, further divided with the addresses A25 and A24,
Wherein when the memory device of the bit width is 16 bits, the memory address MA11 and the bank address BA1 / MA12, Ru further divided with the addresses A23 and A24.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP32301197A JP3635899B2 (en) | 1997-11-25 | 1997-11-25 | Information processing apparatus, control method therefor, and memory address conversion apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP32301197A JP3635899B2 (en) | 1997-11-25 | 1997-11-25 | Information processing apparatus, control method therefor, and memory address conversion apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH11161544A JPH11161544A (en) | 1999-06-18 |
| JP3635899B2 true JP3635899B2 (en) | 2005-04-06 |
Family
ID=18150142
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP32301197A Expired - Fee Related JP3635899B2 (en) | 1997-11-25 | 1997-11-25 | Information processing apparatus, control method therefor, and memory address conversion apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3635899B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2010001622A1 (en) * | 2008-07-03 | 2010-01-07 | 株式会社バッファロー | Memory module and auxiliary module for memory |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5040660B2 (en) * | 2005-12-16 | 2012-10-03 | 日本電気株式会社 | Storage area allocation system and method, and control apparatus |
| EP2487794A3 (en) | 2006-08-22 | 2013-02-13 | Mosaid Technologies Incorporated | Modular command structure for memory and memory system |
| US7904639B2 (en) * | 2006-08-22 | 2011-03-08 | Mosaid Technologies Incorporated | Modular command structure for memory and memory system |
| JP5435647B2 (en) * | 2010-02-25 | 2014-03-05 | エヌイーシーコンピュータテクノ株式会社 | Computer system, memory initialization method, and program |
| CN109542799B (en) * | 2018-11-05 | 2023-03-28 | 西安智多晶微电子有限公司 | Block memory splicing method, splicing module, storage device and field programmable gate array |
-
1997
- 1997-11-25 JP JP32301197A patent/JP3635899B2/en not_active Expired - Fee Related
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2010001622A1 (en) * | 2008-07-03 | 2010-01-07 | 株式会社バッファロー | Memory module and auxiliary module for memory |
| CN102077180A (en) * | 2008-07-03 | 2011-05-25 | 巴比禄股份有限公司 | Memory module and auxiliary module for memory |
| CN102077180B (en) * | 2008-07-03 | 2013-07-31 | 巴法络股份有限公司 | Memory module and auxiliary module for memory |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH11161544A (en) | 1999-06-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2014044527A (en) | Information processing apparatus, control method therefor, program therefor, and storage medium | |
| JP3635899B2 (en) | Information processing apparatus, control method therefor, and memory address conversion apparatus | |
| JP2740568B2 (en) | Printing equipment | |
| JP4616586B2 (en) | Memory initialization controller | |
| JP4534336B2 (en) | Data management method in memory device | |
| JP4250250B2 (en) | Memory management device | |
| JP2723038B2 (en) | Method of storing data in storage device | |
| JP4218406B2 (en) | Information recording and playback method | |
| US20130212329A1 (en) | Electronic apparatus and method for memory control | |
| JP4438739B2 (en) | Image forming apparatus | |
| JP2932392B2 (en) | Memory card | |
| US6209049B1 (en) | Data processing system and method for inputting data from storage devices where the data buss width for input depends on the number of memory devices | |
| JP3791652B2 (en) | Semiconductor memory access control device | |
| US6430647B1 (en) | Data processing system for use in conjunction with a font card or the like | |
| JP2003216507A (en) | Storage capacity processing system | |
| JP4724289B2 (en) | Data processing apparatus and memory access control method for data processing apparatus | |
| JP2745349B2 (en) | Printing device | |
| JP2004287989A (en) | Printer controller, printer, and method of changing refresh interval in printer controller | |
| JPH0887446A (en) | Information processing device | |
| JPH0289119A (en) | Data processor | |
| JP2004295177A (en) | Electronic device controller and printer controller | |
| JPH05282194A (en) | Memory access control method | |
| JP2002283624A (en) | Imaging apparatus and its image memory address controlling method | |
| JP2001022680A (en) | Computer peripherals | |
| JPH03286347A (en) | Memory card |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20040820 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040928 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20041119 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20041119 |
|
| 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: 20041214 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20041227 |
|
| 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: 20090114 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100114 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110114 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110114 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120114 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120114 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130114 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130114 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140114 Year of fee payment: 9 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |