JPH02267795A - Digital controller - Google Patents

Digital controller

Info

Publication number
JPH02267795A
JPH02267795A JP1088681A JP8868189A JPH02267795A JP H02267795 A JPH02267795 A JP H02267795A JP 1088681 A JP1088681 A JP 1088681A JP 8868189 A JP8868189 A JP 8868189A JP H02267795 A JPH02267795 A JP H02267795A
Authority
JP
Japan
Prior art keywords
initialization
cpu
information
area
logic operation
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
JP1088681A
Other languages
Japanese (ja)
Inventor
Satoru Ito
悟 伊藤
Manabu Takahashi
学 高橋
Kazunobu Morimoto
森本 和信
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
NipponDenso Co 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 NipponDenso Co Ltd filed Critical NipponDenso Co Ltd
Priority to JP1088681A priority Critical patent/JPH02267795A/en
Publication of JPH02267795A publication Critical patent/JPH02267795A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明(表 複数の論理演算素子よりアクセス可能な複
数ポート記憶素子を利用するディジタル制御装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention relates to a digital control device that utilizes a multi-port storage element that can be accessed by a plurality of logic operation elements.

[従来の技術] 従来、複数の論理演算素子よりアクセス可能な複数ポー
ト記憶素子として、デュアルポートRAM等が公知であ
る。これらの複数ポート記憶素子(表 同一アドレスに
対して複数の論理演算素子からアクセスがあったとき、
そのアクセス順序にしたがって情報の書き込みまたは読
み出しを実行する機能を有する。
[Prior Art] Dual port RAM and the like are conventionally known as multi-port storage elements that can be accessed by a plurality of logic operation elements. These multi-port storage elements (Table) When the same address is accessed from multiple logical operation elements,
It has a function of writing or reading information according to the access order.

このため、論理演算素子E複数備える、いわゆるマルチ
CPUシステムにおいて利用される事例が多数ある。例
え(芙 ランダムに情報を発生する情報発生源が多数存
在し、これらの情報発生源から情報を入力しつつその入
力した情報を処理するシステム等において、次のように
利用される。
Therefore, there are many cases in which it is used in a so-called multi-CPU system that includes a plurality of logic operation elements E. For example, there are many information sources that randomly generate information, and in systems that input information from these sources and process the input information, it is used as follows.

多数存在する情報発生源にて情報が発生する度にその情
報の入力を行う入力処理を実行するので(表 論理演算
素子(以下、単にCPUという)が本来実行すべき情報
処理速度が低下する。そこで、CPUを複数設け、−の
CPUが情報入力を担当し、入力した情報をデュアルポ
ートRAMの所定アドレスをアクセスして書き込む。他
のCPUは情報処理を担当し、必要な情報を記憶してい
るアドレスを適宜アクセスしてデュアルポートRAMか
ら情報を読み出す。また、この様なシステムにおいてデ
ュアルポートRAMの初期化が必要となったときに(上
 情報入力を担当するCPUが記憶内容を消去したりあ
るいは予め定められた初期値を書き込む等の処理を実行
している。
Every time information is generated from a large number of information sources, input processing is performed to input that information (table), which reduces the information processing speed that the logical operation element (hereinafter simply referred to as the CPU) should normally perform. Therefore, multiple CPUs are provided, and the - CPU is in charge of inputting information, and writes the input information by accessing a predetermined address of the dual port RAM.The other CPUs are in charge of information processing, and store the necessary information. The information is read from the dual-port RAM by accessing the address in the dual-port RAM as appropriate.In addition, when it is necessary to initialize the dual-port RAM in such a system (see above), the CPU responsible for inputting information erases the memory contents. Alternatively, processing such as writing a predetermined initial value is executed.

[発明が解決しようとする課題] しかし、処理速度の向上を目的とし、上記のごときデュ
アルポートRAM等の複数ポート記憶素子の特性を有効
に利用したシステムが公知であるが、次のような課題が
未解決である。
[Problems to be Solved by the Invention] However, systems that effectively utilize the characteristics of multi-port storage elements such as the dual-port RAM described above for the purpose of improving processing speed are known, but they have the following problems. is unresolved.

情報ディジタル化が進み、CPUの管理する情報量は増
大し、通常のRAMをはじめとして複数ポート記憶素子
の記憶容量はきわめて大きくなっている。
As information digitization progresses, the amount of information managed by CPUs increases, and the storage capacity of multi-port storage elements, including ordinary RAM, has become extremely large.

この複数ポート記憶素子の大容量化(よ 反面、初期化
に要する時間の長期化を招来し、システムの立ち上げ時
やリセット時などの応答性の低下をもたらしている。し
かも、複数ポート記憶素子の初期化が完了するまでは当
該複数ポート記憶素子を利用する複数のCPUは待機状
態に制御される。
This increase in the capacity of multi-port memory elements (on the other hand, increases the time required for initialization, resulting in decreased responsiveness during system startup and reset. The plurality of CPUs using the multi-port storage element are controlled to be in a standby state until the initialization of the multi-port storage element is completed.

このため、複数ポート記憶素子の初期化が終了するまで
システム全体が動作不能状態となり、マルチCPUの主
目的である動作速度の向上に反する結果を招いているの
である。
As a result, the entire system remains inoperable until the initialization of the multi-port storage elements is completed, which is contrary to the main purpose of multi-CPUs, which is to improve operating speed.

本発明は上記課題を解決するためになされたもので、複
数の論理演算素子と複数ポート記憶素子とを備えるシス
テムを高効率に制御し、その能力を最大限に利用して、
たとえ複数ポート記憶素子が大容量化しようともその初
期化を迅速に完了し、処理速度及び応答性をより一層向
上させることができるディジタル制御装置を提供するこ
とを目的としている。
The present invention has been made to solve the above problems, and it is possible to highly efficiently control a system equipped with a plurality of logical operation elements and a plurality of port storage elements, and to make full use of its capabilities.
It is an object of the present invention to provide a digital control device that can quickly complete the initialization of a multi-port storage element even if its capacity increases, and can further improve processing speed and responsiveness.

[課題を解決するための手段] 前記目的を達するためになされた本発明のディジタル制
御装置の構成は、第1図に示すごとく、複数の論理演算
素子、C1と、 該複数の論理演算素子C]よりアクセス可能なアドレス
を有し、当該アドレスに対するアクセス順序にしたがっ
て情報の書き込みまたは読み出しを実行する複数ポート
記憶素子C2と、を備えるディジタル制御装置において
、前記複数の論理演算素子C1が、前記複数ポート記憶
素子C2の初期化が必要となったとき、各論理演算素子
C]毎に割り当てられた当該複数ポート記憶素子C2の
記憶領域を初期化する分割初期化手段C1aを備えたこ
とをその要旨としている。
[Means for Solving the Problems] As shown in FIG. 1, the configuration of the digital control device of the present invention made to achieve the above object includes a plurality of logic operation elements C1, and a plurality of logic operation elements C1. ] A digital control device comprising a multi-port storage element C2 that has an address that can be accessed from a plurality of ports and writes or reads information in accordance with the order of access to the address, wherein the plurality of logical operation elements C1 are The gist of the invention is that, when it becomes necessary to initialize the port storage element C2, a divisional initialization means C1a is provided which initializes the storage area of the multi-port storage element C2 allocated to each logic operation element C]. It is said that

[作用] 本発明のディジタル制御装置における複数の論理演算素
子C1+i  次のような作用の分割初期化手段C1a
を備えている。
[Function] A plurality of logic operation elements C1+i in the digital control device of the present invention. Division initialization means C1a having the following function.
It is equipped with

分割初期化手段C1aと1上 複数ポート記憶素子C2
の初期化が必要となったときに作動を開始し、各論理演
算素子C1毎に割り当てられた複数ポート記憶素子C2
の記憶領域を初期化する。
Division initialization means C1a and 1 above multi-port storage element C2
The multi-port storage element C2 starts operating when it becomes necessary to initialize the multi-port storage element C2 assigned to each logical operation element C1.
Initialize the storage area.

すなわち、複数ポート記憶素子C2の初期化は複数の論
理演算素子C1により分担して実行さ札各論理演算素子
C]の初期化に要する負担は軽減さね かつ、複数ポー
ト記憶素子C2の初期化は従来同様に確実に実行される
In other words, the initialization of the multi-port storage element C2 is performed in a shared manner by the plurality of logical operation elements C1. is executed reliably as before.

以下、本発明をより具体的に説明するために、本発明の
一実施例を図面を参照しつつ説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In order to explain the present invention more specifically, one embodiment of the present invention will be described below with reference to the drawings.

[実施例] 第2図のブロック図(上 本発明の一実施例であるディ
ジタル制御装置を用いて、車両に搭載される内燃機関を
制御するエンジン・コントロール・システムを構築した
例である。
[Embodiment] The block diagram in FIG. 2 (top) is an example in which an engine control system for controlling an internal combustion engine mounted on a vehicle is constructed using a digital control device that is an embodiment of the present invention.

図示するように、本実施例のエンジン・コントロール・
システム+;l:、論理演算素子であるCPUを2つ利
用′している。
As shown in the figure, the engine control system of this embodiment
The system uses two CPUs, which are logical operation elements.

第一のCPLJIOは燃料噴射制御を担当するものであ
り、エンジンの回転信号、吸気量などを含む各種のセン
サ信号及びスイッチ信号を入カパッファ12.14を介
して入力する。入力された情報1上 ROM16の記憶
するプログラムにしたがってCPUl0により・各種の
処理に供される。この情報の処理に際して必要となる記
憶領域(よ 複数ボート記憶素子の一種であるデュアル
ポートRAM18の所定領域に割り当てられている。ま
た、後述する第二のCPU30の処理にも必要となる、
いわゆる共有すべき情報などもこのデュアルポートRA
M18の所定領域に書き込んでいる。
The first CPLJIO is in charge of fuel injection control, and inputs various sensor signals and switch signals including engine rotation signals, intake air amount, etc. via input buffers 12 and 14. The input information 1 is subjected to various processes by the CPU 10 according to the program stored in the ROM 16. The storage area required for processing this information is allocated to a predetermined area of the dual-port RAM 18, which is a type of multi-board storage element. Also, the storage area required for the processing of the second CPU 30, which will be described later, is
This dual port RA also handles information that should be shared.
It is written in a predetermined area of M18.

CP U 10 +1  上記プログラムの実行結果と
して燃料噴射制御に必要な各種制御量を算出すると、そ
の結果を出力バッファ20.22を介し、車載の対応す
る機器に対して燃料噴射制御信号及びアクチュエータ制
御信号として出力する。
CPU 10 +1 When the various control amounts required for fuel injection control are calculated as the execution result of the above program, the results are sent to the corresponding equipment on the vehicle as a fuel injection control signal and an actuator control signal via the output buffer 20.22. Output as .

第二のCPU30ft、  エンジンの点火時期及びア
イドルスピード制御等を担当する論理演算素子である。
The second CPU 30ft is a logic operation element in charge of engine ignition timing, idle speed control, etc.

従って、第二のCP U 30 (t、  回転信号、
アイドルスイッチ信号などの各種スイッチ信号及びノッ
キング信号を入力バッファ32.34を介して入力し、
それをROM36に記憶されたプログラムに基づき処理
し、その処理の結果である点火制御信号、アイドルスピ
ード制御信号及びアクチュエータ制御信号を出力バッフ
ァ38.40e介して所定の機器へ出力している。この
様なCPIJ30の一連の処理に必要となる情報の記憶
領域としては、前述の第一のCPIJIOと同一のデュ
アルポートRAM18が利用される。
Therefore, the second CPU 30 (t, rotation signal,
Various switch signals such as an idle switch signal and knocking signals are inputted via input buffers 32 and 34,
It processes it based on a program stored in the ROM 36, and outputs the ignition control signal, idle speed control signal, and actuator control signal that are the results of the processing to predetermined equipment via the output buffer 38.40e. The dual port RAM 18, which is the same as the first CPIJIO described above, is used as a storage area for information necessary for such a series of processing by the CPIJ30.

なお、第2図中に点線で示す2つの信号線W。Note that two signal lines W are indicated by dotted lines in FIG.

x (1本実施例の構成には無関係のものであり、後述
する他の実施例においてあらためて説明する。
x (1) This is unrelated to the configuration of this embodiment, and will be explained again in other embodiments to be described later.

以上のように構成されるエンジン・コントロール・シス
テムにおいて、ROM16及び36には公知の燃料噴射
制御プログラムや点火時期制御プログラムなどが記憶さ
れており、第一のCPU 10及び第二のCPU30が
これらの制御プログラムを実行することで、車載エンジ
ンは常に最適状態を維持しつつ、目標とするトルクを出
力し続けることができる。この様な一般的な制御につい
ては各種の制御方法が既に公知であり、本実施例におい
ても従来と同様の制御を採用するため、その詳細な説明
は省略する。
In the engine control system configured as described above, the ROMs 16 and 36 store known fuel injection control programs, ignition timing control programs, etc., and the first CPU 10 and the second CPU 30 store these programs. By executing the control program, the in-vehicle engine can always maintain an optimal state and continue outputting the target torque. Various control methods for such general control are already known, and since the same control as the conventional one is adopted in this embodiment, a detailed explanation thereof will be omitted.

更に、本実施例のエンジン・コントロール・システムI
−L  ROM16. 36に[初期化処理プログラム
」が記憶されており、システムの起動時及びシステムの
リセット時に第一のCPUl0及び第二のCPU30に
より実行される。
Furthermore, the engine control system I of this embodiment
-L ROM16. An "initialization processing program" is stored in 36, and is executed by the first CPU10 and the second CPU30 at the time of system startup and system reset.

第3図(A)、  (B)fi  その「初期化処理プ
ログラム」のフローチャートである。
FIGS. 3A and 3B are flowcharts of the "initialization processing program".

まず、第一のCPUl0により実行される初期化処理プ
ログラム(第3図(A))について説明する。このプロ
グラムはROM16に記憶されており、エンジン・コン
トロール・システムが起動されたとき、あるいはシステ
ムのリセットが必要となったときに第一のCPU 10
に読み込ま札処理される。
First, the initialization processing program (FIG. 3(A)) executed by the first CPU 10 will be explained. This program is stored in the ROM 16 and is sent to the first CPU 10 when the engine control system is started or when it is necessary to reset the system.
The bills loaded will be processed.

初期化処理プログラムにしたがった処理を開始すると、
初めに第一のCPtJloti  デュアルホトRAM
18のD番地をクリアしてそこに記憶されていた情報を
消去する(ステップ100)。
When you start processing according to the initialization processing program,
First CPtJloti Dual Photo RAM
18 D address is cleared to erase the information stored there (step 100).

ここでD番地とは、デュアルポートRAM18の番地で
あり、次のような領域に設定されている。
Here, address D is an address of the dual port RAM 18, and is set in the following area.

第4図(よ デュアルポートRAM18の記憶領域をリ
ニア空間として視覚的に表したメモリ・マツプである。
FIG. 4 is a memory map that visually represents the storage area of the dual port RAM 18 as a linear space.

図示するように、初期化処理プログラムにおいて(上 
デュアルポートRAM18の記憶領域をA、  B、 
 Cの3つの領域に分割して認識している。ここで領域
Cと1表 記憶内容の初期化処理が不要あるいは不適で
ある情報が記憶される領域であり、初期化処理の対象か
ら外される非初期化領域である。前述したD番地と(よ
 この非初期化処理領域Cの中に設けられる。なお、記
憶領域A、  Bは初期化処理の対象となる初期化領域
であり、この領域には初期化処理が必要な情報が記憶さ
れる。
As shown in the figure, in the initialization processing program (upper
The storage areas of dual port RAM 18 are A, B,
It is recognized by dividing it into three areas: C. Here, area C and table 1 are areas in which information for which initialization processing of storage contents is unnecessary or inappropriate is stored, and are non-initialized areas that are excluded from initialization processing. It is provided in the non-initialization processing area C next to the above-mentioned address D. Note that storage areas A and B are initialization areas that are subject to initialization processing, and this area requires initialization processing. information is stored.

D番地のクリアを完了すると、第一のCPU 10は内
部レジスタや入力、出力バッファなどの周辺回路を初期
化する(ステップ110)。
After completing the clearing of address D, the first CPU 10 initializes peripheral circuits such as internal registers, input and output buffers (step 110).

次に、第一のCPLJ 10は、第4図に示したデュア
ルポートRAM]8の初期化領域への初期化処理を実行
する(ステップ120)。そして、この初期化領域への
初期化が完了したとき、ステップ100にでクリアした
D番地にその旨を示すフラグをセットする(ステップ1
30)。
Next, the first CPLJ 10 executes an initialization process to the initialization area of the dual port RAM 8 shown in FIG. 4 (step 120). When the initialization to this initialization area is completed, a flag indicating this is set at address D cleared in step 100 (step 1
30).

これらの初期化処理が終了すると、第一のCPUIOは
第4図に示す非初期化領域C内に存在するE番地の記憶
内容を判断しくステップ140)、その内容がクリア状
態であるときには所定時間が経過したか否かを判断して
(ステップ150)、所定時間が経過するまではE番地
の記憶内容の確認を繰り返す。そして、 E番地の記憶
内容がクリア状態でなくなったとき、あるいは所定時間
が経過したとき、初期化処理プログラムを終了して80
M16に記憶された通常の制御プログラムの実行へと移
行する。
When these initialization processes are completed, the first CPUIO determines the memory contents of the address E existing in the non-initialized area C shown in FIG. It is determined whether or not the predetermined time has elapsed (step 150), and the confirmation of the stored contents at address E is repeated until the predetermined time has elapsed. Then, when the memory contents at address E are no longer in a clear state, or when a predetermined period of time has elapsed, the initialization processing program is terminated and the 80
The routine moves to execution of the normal control program stored in M16.

第3図(B)11  第二のCPU30により実行され
る初期化処理プログラムのフローチャートであるが、そ
の内容はほぼ(A)に示したそれと同一であり、初期化
処理を実行するデュアルポートRAM18の記憶領域や
フラグをセットする番地などが相違するだけである。以
下、簡単に説明する。
FIG. 3(B) 11 is a flowchart of the initialization processing program executed by the second CPU 30, and its contents are almost the same as that shown in FIG. 3(A). The only difference is the storage area and the address where the flag is set. A brief explanation will be given below.

初期化処理プログラムの処理が開始されるとCP U 
30 It、  デュアルポートRAM18(7)E番
地をクリアしくステップ200)、内部レジスタや入力
、出力バッファなどの周辺回路を初期化する(ステップ
2]0)。次に、第4図に示したデュアルポートRAM
18の初期化領域Bの初期化処理を実行しくステップ2
20)、初期化が完了した旨を示すためステップ200
にてクリアしたE番地にフラグをセットする。(ステッ
プ230)。
When the initialization processing program starts, the CPU
30 It, clear the dual port RAM 18 (7) E address (Step 200), and initialize peripheral circuits such as internal registers, input and output buffers (Step 2] 0). Next, the dual port RAM shown in Figure 4
Step 2: Execute the initialization process for initialization area B of
20), step 200 to indicate that initialization is complete.
Set a flag at address E cleared by . (Step 230).

そして、これらの初期化処理が終了すると、前述の第一
のCPUl0により初期化完了を表すフラグが設定され
るD番地の記憶内容を判断しくステップ240)、フラ
グのセットが実行されるまであるいは所定時間が経過す
るまで(ステップ250)待機した後に、初期化処理プ
ログラムを終了してROM36に記憶された通常の制御
プログラムの実行へと移行する。
When these initialization processes are completed, the first CPU 10 determines the memory contents of address D, where a flag indicating completion of initialization is set (step 240), until the flag is set or at a predetermined time. After waiting until the time has elapsed (step 250), the initialization processing program is terminated and execution of the normal control program stored in the ROM 36 is started.

以上のように構成されるエンジン・コントロール・シス
テムによれ(戴 次のような効果が明らかである。
The engine control system configured as described above has the following effects.

上記システムはマルチCPU・システムとして、第一の
CPUl0と第二のCPU30とにより同時並列的に情
報処理が実行される。このために、各CPUl0,30
の実行する制御処理はきわめて高速化さね 高速応答性
を必要とするエンジン・コントロール・システムに最適
のものとなる。
The above system is a multi-CPU system in which information processing is executed simultaneously and in parallel by the first CPU 10 and the second CPU 30. For this, each CPU l0,30
The control processing executed by the system is extremely fast, making it ideal for engine control systems that require high-speed response.

また、デュアルポルトRAMI 8を共用する構成であ
るから、共有すべき情報を記憶する領域が単一となり、
記憶容量が有効利用さね システムの簡略化が達成され
る。
In addition, since the Dual Port RAMI 8 is shared, there is only one area for storing information to be shared.
Storage capacity is effectively utilized and system simplification is achieved.

更に、上記効果に加えて初期化処理プログラム(第3図
)を実行するようにシステムが構成されるため、システ
ムの起動時あるいはリセット時にデュアルポートRAM
18の初期化が瞬時に実行さ札 高速に制御処理に移行
することができる。
Furthermore, in addition to the above effects, since the system is configured to execute the initialization processing program (Figure 3), the dual port RAM is
18 is instantaneously executed, allowing a high-speed transition to control processing.

すなわち、デュアルポートRAM18の初期化領域(A
+B)が大きな記憶容量であろうとも、 2つのCPU
l0,30により分担して初期化処理が実行されるため
、通常必要とする半分の時間で初期化処理が完了する。
That is, the initialization area (A
Even if +B) has a large storage capacity, two CPUs
Since the initialization process is executed in a shared manner by l0 and 30, the initialization process is completed in half the time normally required.

また、分担されたデュアルポートRAM18の初期化領
域A、  Bの初期化の完了(よ その非初期化領域C
に設けられたり、  E番地のフラグセット状態を確認
することで他方のCPU 10または30によって簡単
に確認することができる。このため、デュアルポートR
AM18の初期化処理が完了する以前にシステムが制御
を開始する不具合の発生が回避さ瓢 信頼性の高いシス
テムとなる。
In addition, the initialization of the initialization areas A and B of the shared dual port RAM 18 is completed (the other non-initialization area C
This can be easily confirmed by the other CPU 10 or 30 by checking the flag set state of address E. For this reason, dual port R
This avoids the problem of the system starting control before the AM18 initialization process is completed, resulting in a highly reliable system.

更に、一方のCPU 10または30に不具合が発生し
た場合、デュアルポートRAM18の初期化領域Aある
いはBの何れか一方の初期化が不能となる。 しかし、
この場合にも正常なCPUl0あるいは30(友 所定
時間の経過を待って通常の制御に移行する構成となって
いるため、エンジン制御に及ぼす影響を最小限に抑える
ことができる。
Furthermore, if a malfunction occurs in one of the CPUs 10 or 30, initialization of either the initialization area A or B of the dual port RAM 18 becomes impossible. but,
In this case as well, since the normal control is configured to wait for the elapse of a predetermined period of time before transitioning to normal control, the influence on engine control can be minimized.

なお、第4図により明らかなように、上記実施例では第
一のCPUl0及び第二のCPU30が担当するデュア
ルポートRAM18の初期化領域A、  Bは、初期化
の必要な領域を略二等分して設定されている。この構成
+1CPU10とCPtJ30の処理能力が同等である
ことを前提としてなされたものである。従って、これら
CPUに処理能力の差異が存在するときに(表 その処
理能力に応じて初期化領域を配分し、両CPUの初期化
処理がほぼ同時に完了するように配慮することが初期化
処理の高速化の面より好ましい。
As is clear from FIG. 4, in the above embodiment, the initialization areas A and B of the dual port RAM 18 handled by the first CPU 10 and the second CPU 30 divide the area requiring initialization into approximately two equal parts. is set. This configuration was made on the premise that the processing capabilities of the +1 CPU 10 and the CPtJ 30 are equivalent. Therefore, when there is a difference in processing capacity between these CPUs (see table), it is important to allocate the initialization area according to the processing capacity and take care to ensure that the initialization processing of both CPUs is completed almost simultaneously. This is preferable in terms of speeding up.

また、上記実施例では複数ポート記憶素子としてデュア
ルポートRAM18を用い、論理演算素子として2つの
CPUl0,30を用いた構成例である。 しかし、容
易に理解できるように論理演算素子の使用個数や複数ポ
ート記憶素子のポート数は3以上の任意の数であっても
よく、その場合には複数ポート記憶素子の初期化領域を
より多数の論理演算素子に分担させることで、−層の高
速化が達成される。そして、この様な場合にも、論理演
算素子の処理能力に応じて初期化領域の分担を決定し、
各論理演算素子がほぼ同時に初期化処理を終了するよう
に構成することが望ましい。
Further, in the above embodiment, a dual port RAM 18 is used as a multi-port storage element, and two CPUs 10 and 30 are used as logical operation elements. However, as can be easily understood, the number of logic operation elements used and the number of ports of a multi-port storage element may be any number greater than or equal to 3, and in that case, the initialization area of the multi-port storage element may be set to a larger number. By assigning the load to the logic operation elements of , the speed of the - layer can be increased. Even in such a case, the allocation of the initialization area is determined according to the processing capacity of the logic operation element,
It is preferable that each logic operation element completes its initialization process at approximately the same time.

次に、複数のCPUにより初期化処理を分担する他の実
施例について、前述の第一実施例を参照しつつ説明する
Next, another embodiment in which initialization processing is shared by a plurality of CPUs will be described with reference to the first embodiment described above.

第一実施例ではデュアルポートRAM18の記憶領域に
非初期化領域Cが存在し、その領域内のD番地及びE番
地をフラグ設定に利用することで2つのCPUl0. 
30は他方のCPLJによる初期化処理の実行状態を管
理することができ翫しかし、デュアルポートRAM 1
8の総ての記憶領域が初期化領域として必要となり、フ
ラグ設定領域が確保不能となる場合がある。第二実施例
(上 この様な場合を考慮したものである。
In the first embodiment, a non-initialized area C exists in the storage area of the dual port RAM 18, and by using addresses D and E in this area for setting flags, two CPUs l0.
However, dual port RAM 1 can manage the execution state of initialization processing by the other CPLJ.
8 storage areas are required as the initialization area, and the flag setting area may not be able to be secured. The second embodiment (above) takes such a case into consideration.

第二実施例のハード構成(志 はぼ第一実施例と同一で
あり、相違点は第一実施例のブロック図(第2図)にお
いて点線で示す信号線w、  xを追加する点のみであ
る。
The hardware configuration of the second embodiment is essentially the same as the first embodiment, and the only difference is the addition of signal lines w and x indicated by dotted lines in the block diagram of the first embodiment (Figure 2). be.

信号線w、  xと(よ 入出力ポートであり、一方の
CPU 10あるいは30から他方のCPU30あるい
は10へ情報を伝えるものである。但し、初期化処理の
最初に、cpu+oはWを出力、 ×を入力に設定し、
CPU30はWを入力、Xを出力に設定しておく必要が
ある。この信号線w、  xを用いて、自己の担当する
デュアルポートRAM18の初期化領域の処理が完了し
た旨を自己の出力ポートから信号線WまたはXを介し他
方のCPUの入力ポートに電圧レベルとして伝えるもの
である。すなわち、この信号線を第一実施例におけるD
番i1  E番地として利用することで、前述したと同
様の作用効果をそうすることができるのである。
The signal lines w, set to input,
The CPU 30 needs to set W as an input and X as an output. Using these signal lines w and x, a voltage level is sent from the own output port to the input port of the other CPU via the signal line W or It is something to convey. That is, this signal line is connected to D in the first embodiment.
By using address i1 as address E, the same effect as described above can be achieved.

また、この様に構成するなら+f、  デュアルポート
RAM18の記憶領域を総て初期化領域として有効利用
できる。
Furthermore, with this configuration, +f, the entire storage area of the dual port RAM 18 can be effectively used as an initialization area.

更に、一般的にデュアルポートRAM18の動作速度+
i  CP U 10. 30などの論理演算素子の動
作速度に比較して低速である。 しがし、第一実施例の
構成によれ(戯 この様な低速のデュアルポートRAM
18を介在させずに、直接的に2つのCPU間でフラグ
情報のやり取りが実行される。
Furthermore, the operating speed of dual port RAM 18 is generally +
i CPU 10. The operation speed is low compared to the operation speed of logic operation elements such as 30. However, due to the configuration of the first embodiment, such a low-speed dual port RAM
Flag information is exchanged directly between the two CPUs without intervening 18.

このため、フラグ情報の書き込みや確認に要する時間を
更に短縮することが可能となり、初期化処理の一層の高
速化が達成される。
Therefore, it is possible to further reduce the time required to write and confirm the flag information, and further speed up the initialization process can be achieved.

[発明の効果] 以上説明したように本発明のディジタル制御装置(表 
複数ポート記憶素子の初期化が必要となったとき分割初
期化手段が作動し、論理演算素子毎に複数ポート記憶素
子の記憶領域を分割して初期化処理を実行する。
[Effect of the invention] As explained above, the digital control device (table 1) of the present invention
When it becomes necessary to initialize the multi-port storage element, the division initialization means is activated to divide the storage area of the multi-port storage element for each logic operation element and execute initialization processing.

従って、複数ポート記憶素子の初期化処理を短時間に完
了することができ、システムの応答性を更に向上させる
ことができる。このため、複数の論理演算素子及び複数
ポート記憶素子を利用したシステムの利点を最大限に引
き出すことが可能となり、高速応答性を要求される用途
に対して最適のシステムを構築することができる。また
、複数ポート記憶素子が大容量化しようともその初期化
を迅速に完了し、処理速度及び応答性を一定以上に確保
することができる。
Therefore, the initialization process of the multi-port storage element can be completed in a short time, and the responsiveness of the system can be further improved. Therefore, it is possible to maximize the advantages of a system using a plurality of logical operation elements and a plurality of port storage elements, and it is possible to construct an optimal system for applications requiring high-speed response. Further, even if the capacity of the multi-port storage element increases, its initialization can be completed quickly, and processing speed and responsiveness can be maintained above a certain level.

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

第1図は本発明の基本的な構成説明医 第2図は実施例
であるディジタル制御装着により構築されたエンジン・
コントロール・システムのブロックは 第3図(A)、
  (B)は同実施例により処理される初期化処理プロ
グラムのフローチャート、第4図は同実施例のデュアル
ポートRAMのメモノ・マツプ、 を示している。 10・・・第一のCPU  30・・・第二のcpu1
2、 14,32. 34・・・入力バッファ16.3
6・・・ROM ]8・・・デュアルポートRAM
Fig. 1 shows the basic configuration of the present invention. Fig. 2 shows an example of an engine constructed by installing digital control.
The control system blocks are shown in Figure 3 (A).
(B) is a flowchart of the initialization processing program processed by the same embodiment, and FIG. 4 shows a memo map of the dual port RAM of the same embodiment. 10...First CPU 30...Second CPU1
2, 14, 32. 34...Input buffer 16.3
6...ROM] 8...Dual port RAM

Claims (1)

【特許請求の範囲】 複数の論理演算素子と、 該複数の論理演算素子よりアクセス可能なアドレスを有
し、当該アドレスに対するアクセス順序にしたがつて情
報の書き込みまたは読み出しを実行する複数ポート記憶
素子と、 を備えるディジタル制御装置において、 前記複数の論理演算素子が、前記複数ポート記憶素子の
初期化が必要となつたとき、各論理演算素子毎に割り当
てられた当該複数ポート記憶素子の記憶領域を初期化す
る分割初期化手段を備えたことを特徴とするディジタル
制御装置。
[Claims] A multi-port storage element that has a plurality of logic operation elements and an address that can be accessed by the plurality of logic operation elements, and that writes or reads information in accordance with the order of access to the addresses. , When the plurality of logic operation elements needs to initialize the multi-port storage element, the plurality of logic operation elements initialize the storage area of the multi-port storage element allocated to each logic operation element. A digital control device characterized by comprising division initialization means for dividing.
JP1088681A 1989-04-08 1989-04-08 Digital controller Pending JPH02267795A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1088681A JPH02267795A (en) 1989-04-08 1989-04-08 Digital controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1088681A JPH02267795A (en) 1989-04-08 1989-04-08 Digital controller

Publications (1)

Publication Number Publication Date
JPH02267795A true JPH02267795A (en) 1990-11-01

Family

ID=13949574

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1088681A Pending JPH02267795A (en) 1989-04-08 1989-04-08 Digital controller

Country Status (1)

Country Link
JP (1) JPH02267795A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62237558A (en) * 1986-04-08 1987-10-17 Nec Corp Initialization control system for shared memory
JPS62241073A (en) * 1986-04-11 1987-10-21 Yaskawa Electric Mfg Co Ltd Parallel processing system for picture processor
JPS6381557A (en) * 1986-09-26 1988-04-12 Ricoh Co Ltd Dual port memory
JPS63186363A (en) * 1987-01-28 1988-08-01 Nec Corp Memory area setting circuit for multi-cpu system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62237558A (en) * 1986-04-08 1987-10-17 Nec Corp Initialization control system for shared memory
JPS62241073A (en) * 1986-04-11 1987-10-21 Yaskawa Electric Mfg Co Ltd Parallel processing system for picture processor
JPS6381557A (en) * 1986-09-26 1988-04-12 Ricoh Co Ltd Dual port memory
JPS63186363A (en) * 1987-01-28 1988-08-01 Nec Corp Memory area setting circuit for multi-cpu system

Similar Documents

Publication Publication Date Title
US7057911B2 (en) Memory structure, a system, and an electronic device, as well as a method in connection with a memory circuit
JP3039557B2 (en) Storage device
JP2004502224A (en) Integrated circuit with flash bridge and autoload
GB2135086A (en) Dynamic memory refreshing
US7000846B2 (en) Semiconductor memory device
WO2002077824A1 (en) Using volatile memory to buffer non-volatile memory
US6742089B1 (en) Access controller and access method for controlling access from a CPU to a memory based on use states of plural access ports
JPH02267795A (en) Digital controller
US6938118B1 (en) Controlling access to a primary memory
US4628450A (en) Data processing system having a local memory which does not use a directory device with distributed resident programs and a method therefor
US6085297A (en) Single-chip memory system including buffer
JPS592058B2 (en) Storage device
JPH07230411A (en) Flash memory card device
JP2597409B2 (en) Microcomputer
JPH06231072A (en) Microcomputer
JPS63142589A (en) Semiconductor memory
JP2687476B2 (en) Vector data processing device
JPS607825B2 (en) memory system
JPS62276663A (en) Program transfer method
JPH0773094A (en) Memory initialization controller
CN116226001A (en) A hardware structure for data fragmentation processing
JPS5938827A (en) Microprocessor ipl system
JPH04117697A (en) Multiport memory circuit
JPS62251857A (en) Memory control system
JP2003228546A (en) Direct memory access controller