JPH04220773A - Memory simulation method - Google Patents

Memory simulation method

Info

Publication number
JPH04220773A
JPH04220773A JP2412443A JP41244390A JPH04220773A JP H04220773 A JPH04220773 A JP H04220773A JP 2412443 A JP2412443 A JP 2412443A JP 41244390 A JP41244390 A JP 41244390A JP H04220773 A JPH04220773 A JP H04220773A
Authority
JP
Japan
Prior art keywords
words
memory
address
output
gate
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
JP2412443A
Other languages
Japanese (ja)
Other versions
JP2908042B2 (en
Inventor
Tomio Mihashi
三橋 富雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2412443A priority Critical patent/JP2908042B2/en
Publication of JPH04220773A publication Critical patent/JPH04220773A/en
Application granted granted Critical
Publication of JP2908042B2 publication Critical patent/JP2908042B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

PURPOSE:To detect an access exceeding the usable number of words when a memory is to be used within the maximum number of words usable. CONSTITUTION:The case where the memory is accessed with an address and the operation of the memory is simulated, is exemplified. In this case, when the memory is to be used with words below the maximum number of words usable for the address, the address is checked by a means provided for detecting from the address the fact that the maximum number of words usable is exceeded, and a bus fight output is generated when such fact is detected. When the address is 3 bits, for example, up to 8 words are available, and when 7 words are usable as the maximum usable words, the bus fight signal is outputted when 8 words exceeding the 7 words are detected. Thus, whether an error is a conventional error or an access error exceeding the usable number of words, can be distinguished.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】(目次)産業上の利用分野従来の技術 発明が解決しようとする課題 課題を解決するための手段(図1) 作用 実施例 (a)第1の実施例の説明(図2) (b)第2の実施例の説明(図3) (c)第3の実施例の説明(図4) (d)他の実施例の説明 発明の効果(Table of Contents) Industrial Application Fields Conventional Technology Problems that the invention aims to solve Means to solve problems (Figure 1) action Example (a) Description of the first embodiment (Figure 2) (b) Description of the second embodiment (Fig. 3) (c) Description of the third embodiment (Fig. 4) (d) Description of other embodiments Effect of the invention

【0002】0002

【産業上の利用分野】本発明は、最大ワード数未満で使
用されるメモリのシミュレーション方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for simulating a memory used with less than the maximum number of words.

【0003】半導体メモリは、広くデータ処理装置に利
用されており、ROM(リード・オンリー・メモリ)、
RAM(ランダム・アクセス・メモリ)、デュアルポー
トRAM等のメモリが様々に利用されている。このよう
なメモリでは、回路設計に際し、その動作を検証するた
め、コンピュータを用いて、プログラムでシミュレーシ
ョンが行われる。
Semiconductor memories are widely used in data processing devices, including ROM (read only memory),
Various types of memory are used, such as RAM (Random Access Memory) and dual-port RAM. When designing a circuit for such a memory, a program simulation is performed using a computer in order to verify its operation.

【0004】このため、メモリのシミュレーションモデ
ル(回路図)が作成され、コンピュータに入力され、コ
ンピュータ上でシミュレーションが行われ、動作の検証
が行うようにしている。
[0004] For this reason, a memory simulation model (circuit diagram) is created, inputted into a computer, and simulated on the computer to verify its operation.

【0005】このような、メモリにおいて、アドレスを
最大ワード未満のワード数で使用したいとの要求があり
、そのシミュレーション方法が求められている。
[0005] In such a memory, there is a demand for using an address with a number of words less than the maximum number of words, and a simulation method for this purpose is required.

【0006】[0006]

【従来の技術】従来のメモリ用シミュレーションモデル
は、最大ワード数のモデルしかなかった。例えば、アド
レスの本数が3本なら、8ワードであり、5〜7ワード
数までのシミュレーションモデルは存在しなかった。
2. Description of the Related Art Conventional memory simulation models have only models with a maximum number of words. For example, if the number of addresses is 3, there are 8 words, and there is no simulation model for 5 to 7 words.

【0007】[0007]

【発明が解決しようとする課題】ところで、メモリの使
用にあたって、必ずしも最大ワード数で使用する場合ば
かりでなく、使用の都合によって、最大ワード数未満で
使用したいとの要求がある。
By the way, when using a memory, it is not always necessary to use it with the maximum number of words, but there is also a demand to use it with less than the maximum number of words depending on the convenience of use.

【0008】このような場合に、従来の最大ワード数の
シミュレーションモデルでシミュレーションすると、使
用ワード数以上のアクセスに対し、システムエラーが発
生し、本来のエラーか、それとも使用ワード数以上のア
クセスの場合か区別出来ないという問題があった。
[0008] In such a case, if a simulation is performed using a conventional simulation model with the maximum number of words, a system error will occur for an access that exceeds the number of words used. The problem was that it was impossible to tell the difference.

【0009】従って、本発明は、使用ワード数を越える
アクセスを検出することができるメモリのシミュレーシ
ョン方法を提供することを目的とする。
Accordingly, an object of the present invention is to provide a memory simulation method capable of detecting accesses exceeding the number of used words.

【0010】0010

【課題を解決するための手段】図1は本発明の原理図で
ある。
[Means for Solving the Problems] FIG. 1 is a diagram showing the principle of the present invention.

【0011】本発明の請求項1は、アドレスによりメモ
リをアクセスして、メモリ動作をシミュレーションする
メモリのシミュレーション方法において、該アドレスを
検査し、該アドレスが使用最大ワードを越えたことを検
出し、バスファイト出力を発することを特徴とする。
According to a first aspect of the present invention, there is provided a memory simulation method for simulating memory operation by accessing a memory by an address, which includes: inspecting the address; detecting that the address exceeds the maximum number of words to be used; It is characterized by emitting bass fight output.

【0012】本発明の請求項2は、請求項1において、
前記メモリがRAMであり、前記アドレスが使用最大ワ
ードを越えたことを検出して、前記RAMに不定データ
を入力することを特徴とする。
[0012] Claim 2 of the present invention provides the following in claim 1:
The memory is a RAM, and upon detecting that the address exceeds the maximum word usage, undefined data is input to the RAM.

【0013】本発明の請求項3は、請求項1において、
前記メモリがデュアルポートRAMであり、2つのポー
トに同時に同一アドレスにアクセスがあり、同時ライト
又は一方がライトで他方がリードであることを検出して
、前記バスファイト出力を発することを特徴とする。
[0013] Claim 3 of the present invention provides the following in claim 1:
The memory is a dual port RAM, and the bus fight output is generated upon detecting that two ports access the same address at the same time and that one is writing and the other is reading. .

【0014】[0014]

【作用】本発明の請求項1では、アドレスから使用最大
ワード数を越えたことを検出し、バスファイト出力を発
するので、使用ワード数を越えたことを区別して検出で
きる。このため、使用最大ワード数未満で使用するメモ
リの検証結果を明確にできる。
According to claim 1 of the present invention, since it is detected from the address that the maximum number of words used is exceeded and a bus fight output is issued, it is possible to distinguish and detect that the number of words used is exceeded. Therefore, it is possible to clarify the verification results of memory used with less than the maximum number of words used.

【0015】本発明の請求項2では、メモリがRAMで
ある場合に、不定データを入力することによって、メモ
リから不定データを出力せしめ、メモリの誤動作を未然
に防止し、シミュレーション上での誤った結果を防げる
[0015] In claim 2 of the present invention, when the memory is a RAM, by inputting the undefined data, the undefined data is outputted from the memory, thereby preventing malfunction of the memory and preventing erroneous errors in simulation. Prevent the consequences.

【0016】本発明の請求項3では、メモリがデュアル
ポートRAMである場合に、2つのポートの同時にアク
セスを検出しているので、両ポートの同時アクセスも区
別して検出できる。
According to claim 3 of the present invention, when the memory is a dual port RAM, simultaneous accesses of two ports are detected, so simultaneous accesses of both ports can also be detected separately.

【0017】[0017]

【実施例】(a)第1の実施例の説明 図2は本発明の第1の実施例説明図であり、メモリとし
てRAMを用い、最大ワード後を7ワードとした例を示
している。
DESCRIPTION OF THE PREFERRED EMBODIMENTS (a) Description of the first embodiment FIG. 2 is an explanatory diagram of the first embodiment of the present invention, showing an example in which a RAM is used as the memory and the number of words after the maximum word is 7 words.

【0018】図中、1はRAMであり、アドレス3ビッ
ト(A0〜A2)、データ3ビット(D0〜D2)、R
AMイネーブルRE、ライトイネーブルWEが与えられ
るもの、2はワード検出部であり、アドレスA0〜A2
のアンドをとり、最大ワード(7ワード)を越えた8ワ
ードであることを検出し、ローレベル出力を発するもの
、3は不定データ発生部であり、ワード検出部3のロー
レベル出力により不定出力XXXを出力するもの、4は
バスファイト発生部であり、ワード検出部3のローレベ
ル出力によりドライバD1、D2からZ01(ハイレベ
ル)、Z02(ローレベル)を出力せしめ、ダブルアン
ドゲートANDでハイレベルのバスファイト出力を発す
るもの、5はデータセレクタ部であり、ワード検出部3
のローレベル出力により入力データD0〜D2をカット
するアンドゲートAと、アンドゲートAの出力と、不定
データ発生部3の不定出力XXXのオアをとるオアゲー
トRとを有するものである。
In the figure, 1 is a RAM, which has 3 address bits (A0 to A2), 3 data bits (D0 to D2), and R
AM enable RE and write enable WE are given, 2 is a word detection unit, and addresses A0 to A2
, and detects that it is 8 words exceeding the maximum word (7 words), and outputs a low level output. 3 is an undefined data generation unit, and an undefined output is generated by the low level output of the word detection unit 3. The one that outputs XXX, 4 is a bus fight generation section, which outputs Z01 (high level) and Z02 (low level) from drivers D1 and D2 by the low level output of the word detection section 3, and the high level is output by double AND gate AND. 5 is a data selector section that generates a level bus fight output, and word detection section 3
It has an AND gate A which cuts the input data D0 to D2 by the low level output of the AND gate A, and an OR gate R which takes the OR of the output of the AND gate A and the indefinite output XXX of the indefinite data generating section 3.

【0019】この実施例の動作を説明すると、1〜7ワ
ードのアドレスでは、ワード検出部2の出力は、ハイレ
ベルであり、バスファイト発生部4の出力は、ローレベ
ルであり、不定データ発生部3からは、ローレベル出力
が発せられる。
To explain the operation of this embodiment, at addresses of 1 to 7 words, the output of the word detection section 2 is high level, the output of the bus fight generation section 4 is low level, and undefined data is generated. Section 3 emits a low level output.

【0020】このため、データセレクタ部5のアンドゲ
ートAが開き、入力データD0〜D2は、データセレク
タ部5のアンドゲートA、オアゲートRを通ってRAM
1へ入力できる。従って、アドレスA0〜A2に従い、
RAM1のリード/ライトアクセスが行われる。
Therefore, the AND gate A of the data selector section 5 opens, and the input data D0 to D2 pass through the AND gate A and the OR gate R of the data selector section 5 and are sent to the RAM.
You can input to 1. Therefore, according to addresses A0-A2,
Read/write access to RAM1 is performed.

【0021】一方、8ワードのアドレスでは、ワード検
出部2の出力は、ローレベル(使用ワード数を越えた)
となり、バスファイト発生部4の出力は、ハイレベルと
なり(バスファイト信号)、不定データ発生部3からは
、不定データ出力が発せられる。
On the other hand, at an address of 8 words, the output of the word detection section 2 is at a low level (the number of words used has been exceeded).
Therefore, the output of the bus fight generation section 4 becomes a high level (bus fight signal), and the indefinite data generation section 3 issues an indefinite data output.

【0022】このため、データセレクタ部5のアンドゲ
ートAが閉じ、入力データD0〜D2のデータセレクタ
部5のアンドゲートA、オアゲートRを通ってRAM1
へ入力は禁止され、不定データがRAM1へ入力される
Therefore, the AND gate A of the data selector section 5 is closed, and the input data D0 to D2 are passed through the AND gate A and the OR gate R of the data selector section 5 to the RAM1.
Input to is prohibited, and undefined data is input to RAM1.

【0023】従って、8ワードのアドレスでは、バスフ
ァイト信号が発生し、RAM1へ不定データが入力され
、RAM1から不定データが出力される。
Therefore, at an address of 8 words, a bus fight signal is generated, undefined data is input to RAM1, and undefined data is output from RAM1.

【0024】(b)第2の実施例の説明図3は本発明の
第2の実施例説明図であり、メモリとしてシングルポー
トRAMを2つ用い、デュアルポートRAMとして、適
用した例を示している。
(b) Explanation of the second embodiment FIG. 3 is an explanatory diagram of the second embodiment of the present invention, showing an example in which two single-port RAMs are used as memories and applied as a dual-port RAM. There is.

【0025】図中、図2で示したものと同一のものは、
同一の記号で示してあり、1a、1bは各々シングルポ
ートRAMであり、7ワード1ビットのI、Jポート共
通タイプのものであり、6はRAM入力制御回路であり
、Iポート側のRAMイネーブルREIA、ライトイネ
ーブルWEI、Jポート側のRAMイネーブルREJA
、ライトイネーブルWEJ、Iポート側のアドレスIA
0〜IA2、Jポート側のアドレスJB0〜JB2を受
け、入力制御して、RAM1a、1bを制御するもの、
7a、7bは各々出力制御回路であり、RAM入力制御
回路6の制御信号により、RAM1a、1bの出力を制
御するものである。
In the figure, the same parts as shown in FIG.
They are shown with the same symbols, and 1a and 1b are single-port RAMs, each of which has 7 words and 1 bit, common to I and J ports, and 6 is a RAM input control circuit, with RAM enable on the I port side. REIA, write enable WEI, RAM enable REJA on the J port side
, write enable WEJ, address IA on the I port side
0 to IA2, those that receive addresses JB0 to JB2 on the J port side, perform input control, and control RAM1a and 1b.
Reference numerals 7a and 7b each represent an output control circuit, which controls the output of the RAMs 1a and 1b in accordance with a control signal from the RAM input control circuit 6.

【0026】ワード検出部2は、Iポート側のアドレス
IA0〜IA2のアンドをとり、Iポート側の8ワード
を検出するアンドゲートA2と、Jポート側のアドレス
JB0〜JB2のアンドをとり、Jポート側の8ワード
を検出するアンドゲートA3との他に、Iポート側のR
AMイネーブルREIAとJポート側のRAMイネーブ
ルREJAとのオアをとり、リード検出を行うオアゲー
トR1と、Iポート側のライトイネーブルWEIとJポ
ート側のライトイネーブルWEJとのアンドをとり、ラ
イト重複検出するアンドゲートA1と、各々Iポート側
のアドレスIA0〜IA2とJポート側のアドレスJB
0〜JB2との排他的論理和をとり、アドレス一致を検
出するE−OR回路E1、E2、E3と、オアゲートR
1、アンドゲートA1、E−OR回路E1、E2、E3
の出力のアンドをとるアンドゲートA4と、アンドゲー
トA4とアンドゲートA2とアンドゲートA3とのオア
をとり、アクセス異常出力を発するオアゲートR2とを
有している。
The word detection unit 2 performs an AND operation on the addresses IA0 to IA2 on the I port side, ANDs the AND gate A2 for detecting 8 words on the I port side, and the addresses JB0 to JB2 on the J port side. In addition to AND gate A3 that detects 8 words on the port side, R on the I port side
OR gate R1 performs read detection by ORing AM enable REIA and RAM enable REJA on the J port side, ANDs write enable WEI on the I port side and write enable WEJ on the J port side to detect write duplication. AND gate A1, addresses IA0 to IA2 on the I port side, and address JB on the J port side, respectively.
E-OR circuits E1, E2, and E3, which perform exclusive OR with 0 to JB2 and detect address matching, and OR gate R.
1, AND gate A1, E-OR circuit E1, E2, E3
It has an AND gate A4 which takes the AND of the output of the AND gate A4, and an OR gate R2 which takes the OR of the AND gate A4, the AND gate A2, and the AND gate A3, and generates an access abnormal output.

【0027】従って、ワード検出部2は、アンドゲート
A2とアンドゲートA3とにより、I、Jポート側の8
ワード検出時に、アクセス異常出力を発し、E−OR回
路E1、E2、E3の出力により、I、Jポート側のア
ドレスが一致し、アンドゲートA1によりI、Jポート
側が両方ともライトなら、アクセス異常出力を発し、I
、Jポート側のアドレスが一致し、アンドゲートA1,
オアゲートR1により、I、Jポートの一方がライトで
一方がリードなら、アクセス異常出力を発する。
Therefore, the word detection unit 2 uses the AND gate A2 and the AND gate A3 to detect the 8
When a word is detected, an access error output is generated, and if the addresses on the I and J ports match according to the outputs of the E-OR circuits E1, E2, and E3, and both I and J ports are written according to the AND gate A1, an access error occurs. emits an output, I
, the addresses on the J port side match, and the AND gate A1,
OR gate R1 generates an access abnormality output if one of the I and J ports is a write and the other is a read.

【0028】データセレクタ部5は、各々Iポート側ラ
イトパルスと、ワード検出部2のアクセス異常出力と、
Iポート側データI0及びJポート側データJ0とのア
ンドをとるアンドゲートA5、A6と、各々Jポート側
ライトパルスと、ワード検出部2のアクセス異常出力と
、Iポート側データI0及びJポート側データJ0との
アンドをとるアンドゲートA7、A8と、アンドゲート
A5、A6と不定データ発生部3の出力のオアをとり、
RAM1aにデータ出力するオアゲートR3と、アンド
ゲートA7、A8と不定データ発生部3の出力のオアを
とり、RAM1bにデータ出力するオアゲートR4とを
有している。
The data selector unit 5 receives the I port side write pulse, the access abnormality output of the word detector 2, and
AND gates A5 and A6 which take the AND with the I port side data I0 and the J port side data J0, the respective J port side write pulses, the access abnormal output of the word detection unit 2, the I port side data I0 and the J port side AND gates A7 and A8 take an AND with data J0, AND gates A5 and A6 take an OR of the output of the undefined data generator 3,
It has an OR gate R3 that outputs data to the RAM 1a, and an OR gate R4 that takes the OR of AND gates A7, A8 and the output of the undefined data generating section 3, and outputs the data to the RAM 1b.

【0029】従って、ワード検出部2からローレベルの
アクセス異常出力が発せられないと、アンドゲートA5
〜A8がIポート側ライトパルス、Jポート側ライトパ
ルスに応じて開き、Iポート側データI0及びJポート
側データJ0がRAM1a、1bに与えられる。
Therefore, if the word detection section 2 does not issue a low level access abnormal output, the AND gate A5
~A8 is opened in response to the I port side write pulse and the J port side write pulse, and the I port side data I0 and the J port side data J0 are given to the RAMs 1a and 1b.

【0030】一方、I、Jポート側の8ワード検出時、
I、Jポート側のアドレスが一致し、I、Jポート側が
両方ともライト時、I、Jポート側のアドレスが一致し
、I、Jポートの少なくとも一方がライトもしくは一方
がライト、他方がリード時に、ワード検出部2よりアク
セス異常出力が発せられる。
On the other hand, when detecting 8 words on the I and J ports,
When the addresses on the I and J ports match and both I and J ports are written, when the addresses on the I and J ports match and at least one of the I and J ports is written, or when one writes and the other reads , the word detection unit 2 issues an access abnormality output.

【0031】これによって、バスファイト発生部4より
バスファイト信号が出力され、不定データ発生部3から
不定データが出力される。このため、アンドゲートA5
〜A8により、Iポート側データI0及びJポート側デ
ータJ0のRAM1a、1bへのデータ入力が禁止され
、オアゲートR3、R4からRAM1a、1bへ不定デ
ータが入力される。
As a result, the bus fight generation section 4 outputs a bus fight signal, and the undefined data generation section 3 outputs undefined data. For this reason, AND gate A5
~A8 inhibits data input of I port side data I0 and J port side data J0 to RAMs 1a and 1b, and undefined data is input from OR gates R3 and R4 to RAMs 1a and 1b.

【0032】このようにして、デュアルポートRAMの
場合でも、I、Jポート側の8ワード検出を行い、バス
ファイト信号を出力し、不定データを出力するとともに
、I、Jポート側のアドレスが一致し、I、Jポート側
が両方ともライトの場合、I、Jポート側のアドレスが
一致し、I、Jポートの少なくとも一方がライトもしく
は一方がライトで他方がリードの場合も検出する。
In this way, even in the case of a dual-port RAM, the 8 words on the I and J ports are detected, the bus fight signal is output, undefined data is output, and the addresses on the I and J ports are matched. However, if both the I and J ports are writing, the addresses of the I and J ports match, and at least one of the I and J ports is writing, or one is writing and the other is reading.

【0033】(c)第3の実施例の説明図4は本発明の
第3の実施例説明図であり、メモリとしてシングルポー
トRAMを2つ用い、デュアルポートRAMとし、I、
Jポート独立タイプの例を示している。
(c) Description of the third embodiment FIG. 4 is an explanatory diagram of the third embodiment of the present invention, in which two single-port RAMs are used as memories, a dual-port RAM is used, and I,
An example of a J port independent type is shown.

【0034】図中、図2、図3で示したものと同一のも
のは、同一の記号で示してある。
In the figures, the same parts as those shown in FIGS. 2 and 3 are indicated by the same symbols.

【0035】この例は、I、Jポート独立タイプのデュ
アルポートRAMのため、ワード検出部2のアクセス異
常出力の発生のためのオアゲートをI側のR2とJ側の
R5の2つ設け、これに応じて不定データ発生部をI側
の3aとJ側の3bを設け、バスファイト発生部4に、
オアゲートR2、R5の出力のアンドをとるアンドゲー
トA9を設けている。
Since this example is a dual port RAM with independent I and J ports, two OR gates, R2 on the I side and R5 on the J side, are provided for generating an access abnormal output of the word detection unit 2. According to this, an undefined data generating section 3a on the I side and 3b on the J side are provided, and the bus fight generating section 4 is
An AND gate A9 is provided which takes the AND of the outputs of the OR gates R2 and R5.

【0036】そして、データセレクタ部5のアンドゲー
トA5、A7に、I側オアゲートR2のアクセス異常出
力を入力し、アンドゲートA6、A8に、J側オアゲー
トR5のアクセス異常出力を入力し、オアゲートR3に
I側不定データ発生部3aの出力を、オアゲートR4に
J側不定データ発生部3bの出力を入力している。
Then, the access abnormal output of the I-side OR gate R2 is input to the AND gates A5 and A7 of the data selector section 5, the access abnormal output of the J-side OR gate R5 is input to the AND gates A6 and A8, and the access abnormal output of the J-side OR gate R5 is input to the AND gates A5 and A7. The output of the I-side undefined data generating section 3a is inputted to the I-side undefined data generating section 3a, and the output of the J-side undefined data generating section 3b is inputted to the OR gate R4.

【0037】従って、図3の第2の実施例との違いは、
I又はJポートが8ワードアクセスであっても、J又は
Iポートが1〜7ワードアクセスなら、1〜7ワードア
クセスのポートのアクセスを許すことであり、その他は
図3の第2の実施例と変わりがない。
Therefore, the difference from the second embodiment shown in FIG.
Even if the I or J port is for 8 word access, if the J or I port is for 1 to 7 word access, the port for 1 to 7 word access is allowed to access, and the rest is the second embodiment in FIG. There is no difference.

【0038】(d)他の実施例の説明 上述の実施例の他に、本発明は、次のような変形が可能
である。
(d) Description of other embodiments In addition to the embodiments described above, the present invention can be modified as follows.

【0039】■RAM、デュアルポートRAMを例に説
明したが、ROM、EPROM等にも適用できる。
① Although RAM and dual port RAM have been described as examples, the present invention can also be applied to ROM, EPROM, etc.

【0040】■ROM、EPROMの場合には、書き込
みを行わないので、不定データ発生部、データセレクタ
部は不要である。
(2) In the case of ROM and EPROM, since writing is not performed, an indefinite data generation section and a data selector section are not necessary.

【0041】■メモリを、プログラムで構成しているが
、実際のハードのメモリであってもよい。
(2) Although the memory is configured by a program, it may be an actual hardware memory.

【0042】■最大ワード数を8ワードで説明したが、
他のワード数であってもよい。
■The maximum number of words was explained using 8 words, but
Other word counts may also be used.

【0043】以上、本発明を実施例により説明したが、
本発明の主旨の範囲内で種々の変形が可能であり、これ
らを本発明の範囲から排除するものではない。
The present invention has been explained above using examples, but
Various modifications are possible within the scope of the present invention, and these are not excluded from the scope of the present invention.

【0044】[0044]

【発明の効果】以上説明したように、本発明によれば、
次の効果を奏する。
[Effects of the Invention] As explained above, according to the present invention,
It has the following effects.

【0045】■アドレスから使用最大ワード数を越えた
ことを検出し、バスファイト出力を発するので、シミュ
レーションにおいて使用ワード数を越えたことを区別し
て検出できる。このため、使用最大ワード数未満で使用
するメモリの検証結果を明確にできる。
(2) It is detected from the address that the maximum number of words used is exceeded, and a bus fight output is issued, so that it is possible to distinguish and detect that the number of words used is exceeded in simulation. Therefore, it is possible to clarify the verification results of memory used with less than the maximum number of words used.

【0046】■使用者は、余分なアドレスを意識しない
で済むため、シミュレーション時のシステムエラー等の
回避ができる。
(2) Since the user does not need to be aware of extra addresses, system errors etc. during simulation can be avoided.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の原理図である。FIG. 1 is a diagram showing the principle of the present invention.

【図2】本発明の第1の実施例説明図である。FIG. 2 is an explanatory diagram of a first embodiment of the present invention.

【図3】本発明の第2の実施例説明図である。FIG. 3 is an explanatory diagram of a second embodiment of the present invention.

【図4】本発明の第3の実施例説明図である。FIG. 4 is an explanatory diagram of a third embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1  メモリ 2  ワード検出部 3  不定データ発生部 4  バスファイト発生部 5  データセレクタ部 1 Memory 2 Word detection section 3 Undefined data generation part 4. Bus fight occurrence area 5 Data selector section

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  アドレスによりメモリをアクセスして
、メモリ動作をシミュレーションするメモリのシミュレ
ーション方法において、該アドレスを検査し、該アドレ
スが使用最大ワードを越えたことを検出し、バスファイ
ト出力を発することを特徴とするメモリのシミュレーシ
ョン方法。
Claim 1: In a memory simulation method for simulating memory operation by accessing memory by an address, the method includes inspecting the address, detecting that the address exceeds the maximum number of words used, and generating a bus fight output. A memory simulation method featuring:
【請求項2】  前記メモリがRAMであり、前記アド
レスが使用最大ワードを越えたことを検出して、前記R
AMに不定データを入力することを特徴とする請求項1
のメモリのシミュレーション制御方法。
2. The memory is a RAM, and upon detecting that the address exceeds the maximum word usage, the R
Claim 1 characterized in that indefinite data is input to AM.
A memory simulation control method.
【請求項3】  前記メモリがデュアルポートRAMで
あり、2つのポートに同時に同一アドレスにアクセスが
あり、同時ライト又は一方がリードで他方がライトであ
ることを検出して、前記バスファイト出力を発すること
を特徴とする請求項1のメモリのシミュレーション方法
3. The memory is a dual-port RAM, and the bus fight output is generated by detecting that two ports access the same address at the same time and that one is writing simultaneously or one is reading and the other is writing. The memory simulation method according to claim 1, characterized in that:
JP2412443A 1990-12-20 1990-12-20 Memory simulation method Expired - Fee Related JP2908042B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2412443A JP2908042B2 (en) 1990-12-20 1990-12-20 Memory simulation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2412443A JP2908042B2 (en) 1990-12-20 1990-12-20 Memory simulation method

Publications (2)

Publication Number Publication Date
JPH04220773A true JPH04220773A (en) 1992-08-11
JP2908042B2 JP2908042B2 (en) 1999-06-21

Family

ID=18521280

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2412443A Expired - Fee Related JP2908042B2 (en) 1990-12-20 1990-12-20 Memory simulation method

Country Status (1)

Country Link
JP (1) JP2908042B2 (en)

Also Published As

Publication number Publication date
JP2908042B2 (en) 1999-06-21

Similar Documents

Publication Publication Date Title
JP5350677B2 (en) Bus signal control circuit and signal processing circuit having bus signal control circuit
JP2007041665A (en) Ecc functional test circuit and ecc functional test method
JPH05334170A (en) Control circuit for dual port memory
JP2000132430A (en) Signal processor
JPH0594377A (en) Parity detecting circuit
KR20060110359A (en) Method and device for analyzing integrated systems for critical safety computing systems in motor vehicles
US6496792B1 (en) Transaction checking for system architecture validation
JPH04220773A (en) Memory simulation method
JP5006121B2 (en) Logic verification device and logic verification method
US20030212840A1 (en) Method of and system for efficiently tracking memory access by direct memory access controller
JPH04119434A (en) Parity error detector
JP2011504579A (en) How to test an address bus in a logic module
US5428632A (en) Control circuit for dual port memory
JP3182834B2 (en) Memory device
KR910008568A (en) Personal computer parity check system
JPS6346460B2 (en)
JPS58115956A (en) Data reception system
JPS5860362A (en) Interruption signal generating system
JPS6218943B2 (en)
JP2004355430A (en) Logic verification technique for dmac circuit
JPH05158810A (en) Error detection circuit
JPS6237748A (en) Triagger signal generating system by firmware
JPH0496844A (en) Cache memory control circuit
JPH02271448A (en) Address control circuit
JPS63753A (en) Test system for memory error checking and correcting circuit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990316

LAPS Cancellation because of no payment of annual fees