JPH04236631A - Information processor incorporatted with multiport random access memory - Google Patents

Information processor incorporatted with multiport random access memory

Info

Publication number
JPH04236631A
JPH04236631A JP1842391A JP1842391A JPH04236631A JP H04236631 A JPH04236631 A JP H04236631A JP 1842391 A JP1842391 A JP 1842391A JP 1842391 A JP1842391 A JP 1842391A JP H04236631 A JPH04236631 A JP H04236631A
Authority
JP
Japan
Prior art keywords
interrupt
selection
status
memory cell
registers
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
Application number
JP1842391A
Other languages
Japanese (ja)
Inventor
Takashi Miyake
孝志 三宅
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP1842391A priority Critical patent/JPH04236631A/en
Publication of JPH04236631A publication Critical patent/JPH04236631A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the information processing capability and to reduce a failure of data transfer by accessing a multiport RAM to interrupt it by read or write and read to plural interrupt generation object addresses. CONSTITUTION:Selecting bits to select plural interrupt generation object addresses of a memory cell part based on input/output ports are stored in selecting registers 8, 9, and 10. Status bits to hold the states of respective interrupts are stored in status registers 11, 12, and 13 in accordance with contents of selecting registers 8, 9, and 10. Or selecting bits to select plural interrupt generation object addresses of the memory cell part of both of interrupt generation based on write from input/output ports and that based on read from them are stored in selecting registers 8, 9, 10, and 19. Consequently, an interrupt control circuit part controls interrupt generation in accordance with contents of these registers.

Description

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

【0001】0001

【産業上の利用分野】この発明はデータを一時的に記憶
するマルチポート型ランダムアクセスメモリを内蔵した
情報処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus incorporating a multi-port random access memory for temporarily storing data.

【0002】0002

【従来の技術】図7はこの種のマルチポート型RAM(
マルチポート型ランダムアクセスメモリ)としてデュア
ルポート型RAMを内蔵した情報処理装置の要部構成を
示すブロック図である。この情報処理装置71は、デー
タを処理するための演算及び制御を行なうCPU(中央
処理装置)72と、このCPU72のデータ処理に必要
なデータを一時的に記憶するデュアルポート型RAM7
3とを備えている。デュアルポート型RAM73の入出
力ポートであるAポート側にCPU72が接続され、デ
ュアルポート型RAM73の入出力ポートであるBポー
ト側に外部情報処理装置77が接続されている。デュア
ルポート型RAM73は、データを格納する複数のメモ
リセルを有するメモリセル部76と、このメモリセル部
76を制御するメモリ制御部75と、メモリセル部76
に対するアクセスによりCPU72に対して割り込みを
発生するための制御を行なう割り込み制御回路部74と
を備えている。
[Prior Art] FIG. 7 shows this type of multi-port RAM (
1 is a block diagram showing a main part configuration of an information processing device incorporating a dual-port RAM as a multi-port random access memory; FIG. This information processing device 71 includes a CPU (central processing unit) 72 that performs calculations and controls for processing data, and a dual-port RAM 7 that temporarily stores data necessary for data processing by the CPU 72.
3. The CPU 72 is connected to the A port side which is the input/output port of the dual port type RAM 73, and the external information processing device 77 is connected to the B port side which is the input/output port of the dual port type RAM 73. The dual-port RAM 73 includes a memory cell section 76 having a plurality of memory cells for storing data, a memory control section 75 that controls the memory cell section 76, and a memory cell section 76.
The CPU 72 includes an interrupt control circuit section 74 that performs control to generate an interrupt to the CPU 72 upon access to the CPU 72 .

【0003】図8は上記割り込み制御回路部74に備え
られる従来のレジスタ構成を示す図であり、図中の19
,20,21は例えばそれぞれアドレスa,b,cへの
書き込みによる割り込みの発生の選択(割り込み発生対
象アドレスの選択)を行なうための選択レジスタ、22
,23,24はそれぞれの割り込みの発生状態を保持す
るステータスレジスタである。ステータスレジスタ22
,23,24はそれぞれ選択レジスタ19,20,21
の割り込み発生対象アドレスに対応した割り込みの発生
状態を保持する。
FIG. 8 is a diagram showing a conventional register configuration provided in the interrupt control circuit section 74, and 19 in the figure
, 20 and 21 are selection registers 22 for selecting the generation of an interrupt (selection of the target address for interrupt generation) by writing to addresses a, b, and c, respectively.
, 23, and 24 are status registers that hold the occurrence status of each interrupt. Status register 22
, 23, 24 are selection registers 19, 20, 21, respectively.
Holds the interrupt generation status corresponding to the interrupt generation target address.

【0004】図9は上記割り込み制御回路部74の従来
回路構成を示す回路図である。図9において、WR(B
)はBポートからのライト信号、DB4(A)はAポー
トのデータバスのうちの4ビット目のデータバス信号、
DB0(A)はAポートのデータバスのうちの0ビット
目のデータバス信号、WRMODEは書き込みを行なう
ためのライトモード信号、RDMODEは読み出しを行
なうためのリードモード信号、IRQDPRAMは割り
込みの発生を示す信号である。その他のDB5(A),
DB1(A)等も同様なデータバス信号である。19は
図8中の選択レジスタ19に相当し、22は図8中のス
テータスレジスタ22に相当する。
FIG. 9 is a circuit diagram showing a conventional circuit configuration of the interrupt control circuit section 74. As shown in FIG. In FIG. 9, WR(B
) is the write signal from the B port, DB4 (A) is the 4th bit data bus signal of the A port data bus,
DB0(A) is the 0th bit data bus signal of the A port data bus, WRMODE is the write mode signal for writing, RDMODE is the read mode signal for reading, and IRQDPRAM indicates the occurrence of an interrupt. It's a signal. Other DB5(A),
DB1(A) and the like are also similar data bus signals. 19 corresponds to the selection register 19 in FIG. 8, and 22 corresponds to the status register 22 in FIG.

【0005】次に図7〜図9を参照して従来例の動作に
ついて説明する。情報処理装置71は、Bポートに接続
されている外部情報処理装置77からのアクセスにより
、CPU72に対して割り込みの発生を行なう。この割
り込みを発生するための制御を行なうのが、割り込み制
御回路74である。まず、この割り込み制御回路部74
は、選択レジスタ19,20,21にセットされる書き
込みの選択ビットにより割り込み発生条件を決める。 割り込みの発生はIRQDPRAM信号がアクティブと
なることにより行なわれる。割り込みが発生した場合に
は、ステータスレジスタ22,23,24の状態を読む
ことにより、どの割り込みが発生したかを知り、これに
より、発生した割り込みに合わせた処理を行なっていく
Next, the operation of the conventional example will be explained with reference to FIGS. 7 to 9. The information processing device 71 generates an interrupt to the CPU 72 upon access from the external information processing device 77 connected to the B port. The interrupt control circuit 74 controls the generation of this interrupt. First, this interrupt control circuit section 74
The interrupt generation conditions are determined by the write selection bits set in the selection registers 19, 20, and 21. An interrupt is generated when the IRQDPRAM signal becomes active. When an interrupt occurs, by reading the states of the status registers 22, 23, and 24, it is possible to know which interrupt has occurred, and based on this, processing is performed in accordance with the generated interrupt.

【0006】例えば、図9中の一番上の点線ブロックの
回路において、アドレスaのデコード信号14とWR(
B)信号とをデコードしてデコード信号25を得、選択
レジスタ19が論理1のDB0信号によりセットされて
いれば、ステータスレジスタ22がデコード信号25と
選択レジスタ19のセット信号とによるセット信号16
によってセットされ、IRQDPRAM信号を発生させ
るようになっている。なお、ステータスレジスタ22は
リセット信号29によってリセットされる。
For example, in the circuit shown in the top dotted line block in FIG. 9, the decode signal 14 at address a and WR(
B) If the selection register 19 is set by the DB0 signal of logic 1, the status register 22 receives the set signal 16 based on the decode signal 25 and the set signal of the selection register 19.
is set by the IRQDPRAM signal to generate the IRQDPRAM signal. Note that the status register 22 is reset by a reset signal 29.

【0007】[0007]

【発明が解決しようとする課題】上述したような構成を
有する従来のマルチポート型RAMを内蔵した情報処理
装置においては、中央処理装置に対する割り込みを行な
うためのマルチポート型RAMへのアクセスによる割り
込みとしては複数の割り込み発生対象アドレスに対する
書き込みによってのみ行なっており、このため割り込み
発生による複雑な処理に制限があり、情報処理能力の向
上を図ることが難しいという問題点があった。
[Problems to be Solved by the Invention] In an information processing device incorporating a conventional multi-port RAM having the above-described configuration, interrupts caused by access to the multi-port RAM for interrupting the central processing unit are This is performed only by writing to a plurality of interrupt generation addresses, which limits the complexity of processing caused by the generation of interrupts, making it difficult to improve information processing performance.

【0008】この発明は上記のような問題点を解決する
ためになされたもので、マルチポート型RAMへのアク
セスによる割り込みとして、複数の割り込み発生対象ア
ドレスに対する読み出し、あるいは書き込み及び読み出
しによって行なうことにより、情報処理能力の向上を図
れるマルチポート型RAM内蔵情報処理装置を提供する
ことを目的とする。
The present invention has been made to solve the above-mentioned problems, and by performing reading or writing and reading to multiple interrupt generation target addresses as an interrupt caused by accessing a multi-port RAM. An object of the present invention is to provide an information processing device with a built-in multi-port RAM that can improve information processing ability.

【0009】[0009]

【課題を解決するための手段】この発明に係るマルチポ
ート型RAM内蔵情報処理装置は、入出力ポートからの
読み出しによるメモリセル部76の複数の割り込み発生
対象アドレスをそれぞれ選択するための選択ビットを格
納する選択レジスタ8,9,10及びそれぞれの割り込
み発生の状態を保持するためのステータスビットを格納
するステータスレジスタ11,12,13を、あるいは
入出力ポートからの書き込みによる割り込みの発生と読
み出しによる割り込みの発生の両方のメモリセル部76
の複数の割り込み発生対象アドレスをそれぞれ選択する
ための選択ビットを格納する選択レジスタ8,9,10
,19,20,21を割り込み制御回路部74に備え、
上記各レジスタの内容に従って割り込み発生の制御を行
なうものである。
[Means for Solving the Problems] A multi-port RAM built-in information processing device according to the present invention has a selection bit for selecting each of a plurality of interrupt generation target addresses of a memory cell section 76 by reading from an input/output port. Selection registers 8, 9, and 10 to store and status registers 11, 12, and 13 that store status bits to hold the status of each interrupt occurrence, or generation of an interrupt by writing from an input/output port and interrupt by reading. occurs in both memory cell sections 76
selection registers 8, 9, and 10 that store selection bits for selecting each of the plurality of interrupt generation target addresses;
, 19, 20, 21 in the interrupt control circuit section 74,
Interrupt generation is controlled according to the contents of each of the above registers.

【0010】0010

【作用】選択レジスタ8,9,10は入出力ポートから
の読み出しによるメモリセル部76の複数の割り込み発
生対象アドレスをそれぞれ選択するための選択ビットを
格納する。ステータスレジスタ11,12,13は選択
レジスタ8,9,10の内容に従ってそれぞれの割り込
み発生の状態を保持するためのステータスビットを格納
する。あるいは選択レジスタ8,9,10,19,20
,21は入出力ポートからの書き込みによる割り込みの
発生と読み出しによる割り込みの発生の両方のメモリセ
ル部76の複数の割り込み発生対象アドレスをそれぞれ
選択するための選択ビットを格納する。したがって割り
込み制御回路部74は上記各レジスタの内容に従って割
り込み発生の制御を行なう。
[Operation] The selection registers 8, 9, and 10 store selection bits for respectively selecting a plurality of interrupt generation target addresses of the memory cell section 76 by reading from the input/output ports. Status registers 11, 12, and 13 store status bits for holding respective interrupt generation states according to the contents of selection registers 8, 9, and 10. Or selection register 8, 9, 10, 19, 20
, 21 store selection bits for respectively selecting a plurality of interrupt generation target addresses of the memory cell section 76 for both generation of interrupts due to writing from input/output ports and generation of interrupts due to reading. Therefore, the interrupt control circuit section 74 controls the generation of interrupts according to the contents of each register.

【0011】[0011]

【実施例】図1はこの発明の一実施例に係るマルチポー
ト型RAMとしてのデュアルポート型RAM内の割り込
み制御回路部に備えられるレジスタ構成を示す図である
。図1において、8,9,10は入出力ポートであるB
ポートによるメモリセル部76の割り込み発生対象アド
レスであるアドレスa,b,cからの読み出しによる割
り込み発生の選択をそれぞれ行なうための選択ビットを
格納する選択レジスタ、11,12,13は選択レジス
タ8,9,10の選択ビットに対応した割り込みの発生
状態をそれぞれ保持するためのステータスビットを格納
するステータスレジスタである。この図1の場合、選択
ビットを選択0,選択1,選択2、ステータスビットを
ステータス0,ステータス1,ステータス2として表わ
している。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a diagram showing a register structure provided in an interrupt control circuit section in a dual-port RAM as a multi-port RAM according to an embodiment of the present invention. In FIG. 1, 8, 9, 10 are input/output ports B
Selection registers 11, 12, and 13 are selection registers 8, 11, 12, and 13, which store selection bits for selecting interrupt generation by reading from addresses a, b, and c, which are the interrupt generation target addresses of the memory cell unit 76 by ports, respectively. This is a status register that stores status bits for holding the occurrence states of interrupts corresponding to selection bits 9 and 10, respectively. In the case of FIG. 1, the selection bits are represented as selection 0, selection 1, and selection 2, and the status bits are represented as status 0, status 1, and status 2.

【0012】図2は図7中の割り込み制御回路部74の
この実施例の回路構成を示す回路図である。図2におい
て、図9に示す構成要素に対応するものには同一の符号
を付し、その説明を省略する。図2において、RD(B
)はBポートからのリード信号、8は図1中の選択レジ
スタ8、11は図1中のステータスレジスタ11を示す
FIG. 2 is a circuit diagram showing the circuit configuration of this embodiment of the interrupt control circuit section 74 in FIG. In FIG. 2, components corresponding to those shown in FIG. 9 are designated by the same reference numerals, and their explanations will be omitted. In Figure 2, RD(B
) indicates a read signal from the B port, 8 indicates the selection register 8 in FIG. 1, and 11 indicates the status register 11 in FIG.

【0013】次に図1,図2及び図7を参照してこの実
施例の動作について説明する。Bポートによるメモリセ
ル部76内のアドレスaからの読み出しが発生すると、
まず、アドレスaのデコード信号14とRD(B)信号
とのデコード信号15がアクティブとなり、このとき選
択レジスタ8がDB0信号によりセットされていれば、
ステータスレジスタ11がセット信号16によりセット
され、これによりIRQDPRAM信号がアクティブと
なり、CPU72への割り込みが発生する。このように
、選択レジスタ8,9,10により割り込みの選択を行
ない、割り込みの発生が起きたときに、CPU72はス
テータスレジスタ11,12,13の内容を読むことに
より、割り込みの発生状態を認識し、それぞれの割り込
みに対応した処理を行なう。
Next, the operation of this embodiment will be explained with reference to FIGS. 1, 2, and 7. When reading from address a in the memory cell section 76 by port B occurs,
First, the decode signal 14 of address a and the decode signal 15 of the RD(B) signal become active, and if the selection register 8 is set by the DB0 signal at this time,
The status register 11 is set by the set signal 16, which causes the IRQDPRAM signal to become active and generate an interrupt to the CPU 72. In this way, an interrupt is selected using the selection registers 8, 9, and 10, and when an interrupt occurs, the CPU 72 recognizes the interrupt occurrence state by reading the contents of the status registers 11, 12, and 13. , perform processing corresponding to each interrupt.

【0014】図3に複数の割り込み発生対象アドレスか
らの読み出しによる割り込みを用いた場合の使用例を示
す。Aポート側からBポート側へ、データの転送をデュ
アルポート型RAM73を用いて行う場合の1つの方法
として、Aポート側からは、アドレスa(デュアルポー
ト型RAM73の先頭アドレス)からアドレスC(デュ
アルポート型RAM73の最終アドレス)に向けてデー
タを書き込んでいき、Bポート側からはアドレスaから
アドレスcに向けてデータを読み出していく方法がある
。この場合に、アドレスb(デュアルポート型RAM7
3の中間アドレス)をBポート側から読み出したときに
割り込みを発生させ、その信号をもとにアドレスa〜ア
ドレスbまでのエリアを再び使用し、残りの転送データ
を書き込んでいき、その後もBポートからのアドレスc
の読み出しによる割り込みの発生に合わせて、アドレス
(b+1)〜アドレスcのエリアを再び使用し、残りの
データを書き込んでいく。そして、Bポートからは順に
データを読み出していく。このようにすると、デュアル
ポート型RAM73のRAM容量を超えるデータの転送
においても、転送データを誤って壊すことなく、効率の
よいデータ転送を行うことができ、情報処理能力も上が
る。
FIG. 3 shows an example of use in which interrupts are read from a plurality of interrupt generation addresses. One way to transfer data from the A port side to the B port side using the dual port type RAM 73 is to transfer data from the A port side to the address A (starting address of the dual port RAM 73) to the address C (dual port type RAM 73). There is a method in which data is written toward the final address of the port type RAM 73, and data is read from address a toward address c from the B port side. In this case, address b (dual port type RAM7
An interrupt is generated when the intermediate address of 3) is read from the B port side, and based on that signal, the area from address a to address b is used again and the remaining transfer data is written. address c from port
In response to the occurrence of an interrupt due to reading, the area from address (b+1) to address c is used again and the remaining data is written. Then, data is sequentially read from the B port. In this way, even when transferring data that exceeds the RAM capacity of the dual-port RAM 73, efficient data transfer can be performed without accidentally destroying the transferred data, and the information processing capacity can be improved.

【0015】図4は他の実施例によるレジスタ構成を示
す図である。図4において、19,20,21は入出力
ポートである例えばBポートからの書き込みによるメモ
リセル部76内の割り込み発生対象アドレスa,b,c
をそれぞれ選択するための選択ビット(選択0,選択1
,選択2)を格納する選択レジスタである。即ち選択レ
ジスタ19,20,21はアドレスa,b,cへのデー
タ書き込みによる割り込み発生の選択を行なうものであ
る。8,9,10は例えばBポートからの読み出しによ
るメモリセル部76の割り込み発生対象アドレスa,b
,cをそれぞれ選択するための選択ビット(選択3,選
択4,選択5)を格納する選択レジスタである。即ち選
択レジスタ8,9,10はアドレスa,b,cからのデ
ータ読み出しによる割り込み発生の選択を行なうもので
ある。22,23,24は選択レジスタ19,20,2
1の内容を基に各割り込み発生の状態を保持するための
ステータスビット(ステータス0,ステータス1,ステ
ータス2)を格納するステータスレジスタである。11
,12,13は選択レジスタ8,9,10の内容を基に
各割り込み発生の状態を保持するためのステータスビッ
ト(ステータス3,ステータス4,ステータス5)であ
る。
FIG. 4 is a diagram showing a register configuration according to another embodiment. In FIG. 4, 19, 20, and 21 are input/output ports, for example, addresses a, b, and c to which interrupts are generated in the memory cell section 76 by writing from the B port.
Selection bits (selection 0, selection 1
, selection 2). That is, the selection registers 19, 20, and 21 are used to select whether or not to generate an interrupt by writing data to addresses a, b, and c. 8, 9, and 10 are, for example, addresses a and b where interrupts are generated in the memory cell section 76 by reading from the B port.
, c is a selection register that stores selection bits (selection 3, selection 4, selection 5) for selecting respectively. That is, the selection registers 8, 9, and 10 are used to select whether or not to generate an interrupt by reading data from addresses a, b, and c. 22, 23, 24 are selection registers 19, 20, 2
This is a status register that stores status bits (status 0, status 1, status 2) for holding the status of each interrupt occurrence based on the contents of 1. 11
, 12, and 13 are status bits (status 3, status 4, and status 5) for holding the state of each interrupt occurrence based on the contents of the selection registers 8, 9, and 10.

【0016】図5は他の実施例による割り込み制御回路
部の回路構成図である。図5において、図2又は図9に
示す構成要素に対応するものには同一の符号を付し、そ
の説明を省略する。図5において、19は図4中の選択
レジスタ19に相当し、22は図4中のステータスレジ
スタ22に相当する。
FIG. 5 is a circuit diagram of an interrupt control circuit section according to another embodiment. In FIG. 5, components corresponding to those shown in FIG. 2 or FIG. 9 are designated by the same reference numerals, and their explanations will be omitted. In FIG. 5, 19 corresponds to the selection register 19 in FIG. 4, and 22 corresponds to the status register 22 in FIG.

【0017】図5の割り込み制御回路の動作は、データ
読み出しによる割り込み発生の選択は図2で説明した動
作と同じで、データ書き込みによる割り込み発生の選択
は図9で説明した動作と同じであるので、ここでは省略
する。
The operation of the interrupt control circuit shown in FIG. 5 is that the selection of interrupt generation due to data reading is the same as the operation explained in FIG. 2, and the selection of interrupt generation due to data writing is the same as the operation explained in FIG. , will be omitted here.

【0018】図6に、Bポート側からAポート側へのデ
ータ転送の例を示す。まず、Bポート側より、アドレス
a(デュアルポート型RAM73の先頭のアドレス)か
らアドレスc(デュアルポート型RAM73の最終アド
レス)に向けてデータを書き込んでいき、アドレスbへ
の書き込みによる割り込みが発生したときに、Aポート
側からアドレスa〜アドレスbまでのエリアのデータを
読み出していく。さらに、アドレスcへの書き込みによ
る割り込みの発生に合わせて、Aポート側からアドレス
(b+1)〜アドレスcまでのエリアのデータの読み出
していく。このようにデータの転送を行うと、誤って書
き変る前のデータを読み出してしまうことがなく、ソフ
トウエアの負荷の少ない転送ができ、情報処理能力も上
がる。
FIG. 6 shows an example of data transfer from the B port side to the A port side. First, from the B port side, data is written from address a (first address of dual-port RAM 73) to address c (last address of dual-port RAM 73), and an interrupt occurs due to writing to address b. At times, data in the area from address a to address b is read from the A port side. Further, in accordance with the occurrence of an interrupt due to writing to address c, data in the area from address (b+1) to address c is read from the A port side. When data is transferred in this way, the data before being rewritten will not be read out by mistake, the transfer can be performed with less load on the software, and the information processing capacity can be improved.

【0019】上記他の実施例の場合には、上記一実施例
で示したAポート側からBポート側へのデュアルポート
型RAM73を用いたデータ転送において、データ転送
ミスの少ない、効率の良いデータ転送が行なえるのに加
え、逆にBポート側からAポート側への転送においても
、誤って書き変えられる前のデータを読み出してしまう
ことのないデータ転送を行うことができる。
In the case of the other embodiment described above, in the data transfer using the dual port type RAM 73 from the A port side to the B port side shown in the above embodiment, efficient data transfer with few data transfer errors is possible. In addition to being able to transfer data, it is also possible to transfer data from the B port side to the A port side without accidentally reading data before it is rewritten.

【0020】なお、上記各実施例において、デュアルポ
ート型RAM73は情報処理装置71内にワンチップ構
成で組み込んでもよい。また、デュアルポート型RAM
73及びCPU72も情報処理装置71内にワンチップ
構成で組み込んでもよい。
In each of the above embodiments, the dual port RAM 73 may be incorporated into the information processing device 71 in a one-chip configuration. In addition, dual port type RAM
73 and the CPU 72 may also be incorporated into the information processing device 71 in a one-chip configuration.

【0021】[0021]

【発明の効果】以上のように本発明によれば、入出力ポ
ートからの読み出しによるメモリセル部の複数の割り込
み発生対象アドレスをそれぞれ選択するための選択ビッ
トを格納する選択レジスタ及びそれぞれの割り込み発生
の状態を保持するためのステータスビットを格納するス
テータスレジスタを、あるいは入出力ポートからの書き
込みによる割り込みの発生と読み出しによる割り込みの
発生の両方のメモリセル部の複数の割り込み発生対象ア
ドレスをそれぞれ選択するための選択ビットを格納する
選択レジスタを割り込み制御回路に設けて構成したので
、割り込みとして、読み出しによる割り込み発生対象ア
ドレスを複数個持つことができ、あるいは書き込み及び
読み出しの両方の割り込み発生が可能となって書き込み
及び読み出し共に割り込み発生対象アドレスとして複数
個持つことができ、これにより複雑な割り込みの制御が
可能となり、したがって情報処理能力が向上するという
効果が得られ、また、特にマルチポート型RAMを用い
たデータ転送時にデータ転送ミスの少ない効率の良いデ
ータ転送を行なえるという効果が得られる。
As described above, according to the present invention, there is a selection register storing selection bits for selecting each of a plurality of interrupt generation target addresses in a memory cell section by reading from an input/output port, and a selection register for each of the interrupt generation targets. Select a status register that stores status bits to maintain the state of the input/output port, or select multiple interrupt generation addresses in the memory cell section for both interrupt generation due to writing from the input/output port and interrupt generation due to reading. Since the interrupt control circuit is configured with a selection register that stores the selection bit for the interrupt, it is possible to have multiple addresses for which interrupts are generated by reading, or it is possible to generate interrupts for both writing and reading. It is possible to have multiple addresses as interrupt generation targets for both writing and reading, which makes it possible to control complex interrupts, thereby improving information processing ability. The effect is that efficient data transfer with fewer data transfer errors can be achieved during data transfer.

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

【図1】この発明の一実施例によるレジスタ構成を示す
図である。
FIG. 1 is a diagram showing a register configuration according to an embodiment of the present invention.

【図2】一実施例による割り込み制御回路部の回路構成
図である。
FIG. 2 is a circuit configuration diagram of an interrupt control circuit section according to an embodiment.

【図3】一実施例において複数の割り込み発生対象アド
レスからの読み出しによる割り込みを用いた場合の使用
例を説明するための図である。
FIG. 3 is a diagram illustrating an example of use when interrupts are read from a plurality of interrupt generation target addresses in one embodiment.

【図4】この発明の他の実施例によるレジスタ構成を示
す図である。
FIG. 4 is a diagram showing a register configuration according to another embodiment of the invention.

【図5】他の実施例による割り込み制御回路部の回路構
成図である。
FIG. 5 is a circuit configuration diagram of an interrupt control circuit section according to another embodiment.

【図6】他の実施例において複数の割り込み発生対象ア
ドレスからの書き込みによる割り込みを用いた場合の使
用例を説明するための図である。
FIG. 6 is a diagram illustrating an example of use in a case where interrupts caused by writing from a plurality of interrupt generation target addresses are used in another embodiment.

【図7】上記各実施例及び従来例に係る情報処理装置の
要部構成を示すブロック図である。
FIG. 7 is a block diagram showing the configuration of main parts of an information processing apparatus according to each of the above embodiments and a conventional example.

【図8】従来例によるレジスタ構成を示す図である。FIG. 8 is a diagram showing a register configuration according to a conventional example.

【図9】従来例による割り込み制御回路部の回路構成図
である。
FIG. 9 is a circuit configuration diagram of an interrupt control circuit section according to a conventional example.

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

8,9,10,19,20,21  選択レジスタ11
,12,13  ステータスレジスタ71  情報処理
装置 72  CPU(中央処理装置) 73  デュアルポート型RAM(マルチポート型RA
M) 74  割り込み制御回路部 75  メモリ制御部 76  メモリセル部
8, 9, 10, 19, 20, 21 Selection register 11
, 12, 13 Status register 71 Information processing device 72 CPU (Central Processing Unit) 73 Dual-port RAM (Multi-port RAM
M) 74 Interrupt control circuit section 75 Memory control section 76 Memory cell section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  データを格納する複数のメモリセルを
有するメモリセル部と、このメモリセル部を制御するメ
モリ制御部と、上記メモリセル部に対するアクセスによ
り中央処理装置に対して割り込みを発生するための制御
を行なう割り込み制御回路部と、データの入出力を行な
う複数の入出力ポートとを備えたマルチポート型ランダ
ムアクセスメモリを内蔵した情報処理装置において、入
出力ポートからの読み出しによる上記メモリセル部の複
数の割り込み発生対象アドレスをそれぞれ選択するため
の選択ビットを格納する選択レジスタ及びそれぞれの割
り込み発生の状態を保持するためのステータスビットを
格納するステータスレジスタを、あるいは入出力ポート
からの書き込みによる割り込みの発生と読み出しによる
割り込みの発生の両方の上記メモリセル部の複数の割り
込み発生対象アドレスをそれぞれ選択するための選択ビ
ットを格納する選択レジスタを上記割り込み制御回路部
に設け、上記各レジスタの内容に従って割り込み発生の
制御を行なうことを特徴とするマルチポート型ランダム
アクセスメモリ内蔵情報処理装置。
1. A memory cell section having a plurality of memory cells for storing data, a memory control section for controlling the memory cell section, and a memory cell section for generating an interrupt to a central processing unit upon access to the memory cell section. In an information processing device that includes a built-in multi-port random access memory that has an interrupt control circuit section that controls the input/output of data, and a plurality of input/output ports that input/output data, the above memory cell section is processed by reading from the input/output ports. A selection register that stores selection bits for selecting each of multiple interrupt generation target addresses, and a status register that stores status bits for holding the status of each interrupt generation, or interrupts written from input/output ports. The interrupt control circuit section is provided with a selection register that stores selection bits for selecting each of the plurality of interrupt generation target addresses in the memory cell section for both the generation of interrupts due to reading and the generation of interrupts due to reading, and according to the contents of each of the above registers. An information processing device with a built-in multi-port random access memory characterized by controlling interrupt generation.
JP1842391A 1991-01-18 1991-01-18 Information processor incorporatted with multiport random access memory Pending JPH04236631A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1842391A JPH04236631A (en) 1991-01-18 1991-01-18 Information processor incorporatted with multiport random access memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1842391A JPH04236631A (en) 1991-01-18 1991-01-18 Information processor incorporatted with multiport random access memory

Publications (1)

Publication Number Publication Date
JPH04236631A true JPH04236631A (en) 1992-08-25

Family

ID=11971243

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1842391A Pending JPH04236631A (en) 1991-01-18 1991-01-18 Information processor incorporatted with multiport random access memory

Country Status (1)

Country Link
JP (1) JPH04236631A (en)

Similar Documents

Publication Publication Date Title
US5375089A (en) Plural port memory system utilizing a memory having a read port and a write port
JPS62152050A (en) Semiconductor memory
JPS5960658A (en) Semiconductor storage device provided with logical function
JPH0760594B2 (en) Semiconductor memory device
JPH04236631A (en) Information processor incorporatted with multiport random access memory
JPS63226735A (en) Register circuit
JPH05151769A (en) Multi port memory
JPH0329187A (en) Multiport sram
JPH04263332A (en) Information processor containing multi-port type random access memory
JPS6386191A (en) Dynamic memory
JPH0512883A (en) Sequential memory
JPH01119823A (en) First-in first-out storage device
JPH05210572A (en) Memory controller
JPS6244352B2 (en)
JPS63129438A (en) Memory controller
JPS63142589A (en) Semiconductor memory
JPS62188093A (en) Semiconductor memory device
JPS5818652B2 (en) CRT display control device
JPH02141851A (en) Register read-out circuit
KR950020095A (en) DMA controller improves data transfer capacity
JPH06208539A (en) High-speed data transfer system
JPH02159623A (en) Microcomputer
JPH0283900A (en) Semiconductor memory
JPH04326438A (en) Storage device
JPH01223689A (en) Dual port memory device