TW201706846A - Information processing device, method, and program - Google Patents

Information processing device, method, and program Download PDF

Info

Publication number
TW201706846A
TW201706846A TW105115986A TW105115986A TW201706846A TW 201706846 A TW201706846 A TW 201706846A TW 105115986 A TW105115986 A TW 105115986A TW 105115986 A TW105115986 A TW 105115986A TW 201706846 A TW201706846 A TW 201706846A
Authority
TW
Taiwan
Prior art keywords
access
shared memory
access mode
mpus
main mpu
Prior art date
Application number
TW105115986A
Other languages
Chinese (zh)
Inventor
毛利文□
Original Assignee
東芝股份有限公司
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 東芝股份有限公司 filed Critical 東芝股份有限公司
Publication of TW201706846A publication Critical patent/TW201706846A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)
  • Programmable Controllers (AREA)

Abstract

An information processing device in an embodiment of the present invention controls access to the shared memory of n MPUs (n being an integer greater than or equal to 2). A control unit analyzes an access pattern to the shared memory on the basis of requests for access to the shared memory accepted in parallel from the n MPUs in the same access phase, and processes m accepted access requests (m being a natural number less than or equal to n) sequentially in the access phase in an order based on the analyzed access pattern. Therefore, even when there is an increase in the number of master MPUs that perform the delivery of input/output data via the shared memory of intelligent input/output devices, it is possible to deliver data without lowering the effective processing speed of each of the master MPUs.

Description

資訊處理裝置、方法及程式 Information processing device, method and program

本發明之實施形態,有關資訊處理裝置、方法及程式。 Embodiments of the present invention relate to an information processing apparatus, method, and program.

已知有一種智慧型(intelligent)輸出入裝置,例如在運用於處理控制(process control)之系統中,於進行控制時,複數個主MPU(micro processing unit;微處理單元)係透過共享記憶體(shared memory)進行存取(access)。 An intelligent input/output device is known, for example, in a system for process control, in which a plurality of main MPUs (micro processing units) pass through shared memory. (shared memory) access.

該智慧型輸出入裝置中,具備:一或複數個主MPU,分別進行和被控制裝置對應之輸出入資料之處理;及共享記憶體,用來與上位控制裝置的主MPU之間進行輸出入資料之轉移;及電路,將進行輸出入資料之處理之主MPU及上位控制裝置之主MPU連接至共享記憶體。作為這類物品,有日本國的公開專利公報,特開2000-20491號公報(以下稱專利文獻1)。 The smart input/output device includes: one or a plurality of main MPUs, respectively performing processing of input and output data corresponding to the controlled device; and shared memory for inputting and outputting with the main MPU of the upper control device The transfer of data; and the circuit, the main MPU that performs the processing of the input and output data and the main MPU of the upper control device are connected to the shared memory. Japanese Patent Laid-Open Publication No. 2000-20491 (hereinafter referred to as Patent Document 1).

上述習知之智慧型輸出入裝置中,當複數個主MPU同時對共享記憶體進行存取的情形下,在一個主MPU完成處理之前,必須讓其他的一或複數個主MPU等候存取,導致被迫等候處理之主MPU的實效的處理速度有降低之虞。特別是若主MPU的數量增加,則各主MPU的實效的處理速度之降低可能變得顯著。 In the above-mentioned smart input/output device, when a plurality of master MPUs access the shared memory at the same time, before one master MPU finishes processing, one or more other master MPUs must wait for access, resulting in access. The processing speed of the actual MPU that is forced to wait for processing is reduced. In particular, if the number of primary MPUs increases, the reduction in the effective processing speed of each primary MPU may become significant.

本發明有鑑於上述事態而研發,目的在於提供一種資訊處理裝置、方法及程式,即使透過智慧型輸出入裝置的共享記憶體進行輸出入資料之轉移之主MPU的個數變多,仍不會降低各主MPU的實效的處理速度而可進行資料之轉移。 The present invention has been developed in view of the above circumstances, and an object of the present invention is to provide an information processing apparatus, method, and program that can not even increase the number of primary MPUs for transferring input and output data through a shared memory of a smart input/output device. The processing speed of each master MPU can be reduced to transfer data.

實施形態之資訊處理裝置,係控制對於n個(n:2以上之整數)MPU(micro processing unit;微處理單元)的共享記憶體之存取之資訊處理裝置。 The information processing device according to the embodiment is an information processing device that controls access to shared memory of n (n: 2 or more integers) MPU (micro processing unit).

又,控制部,於同一存取階段中,依據從n個MPU並行受理之對於共享記憶體之存取要求,分析對共享記憶體的存取模式,並以基於分析出的存取模式之順序,於存取階段內依序處理受理之m個(m:n以下之自然數)存取要求。 Moreover, in the same access phase, the control unit analyzes the access mode to the shared memory according to the access request for the shared memory received from the n MPUs in parallel, and in the order based on the analyzed access mode. In the access phase, m (m: n or less natural number) access requests are processed in order.

10‧‧‧處理控制系統 10‧‧‧Processing Control System

11‧‧‧上位控制器 11‧‧‧Upper controller

11A、23-1~23-n‧‧‧主MPU 11A, 23-1~23-n‧‧‧Main MPU

12‧‧‧智慧型輸出入裝置 12‧‧‧Smart input and output device

13‧‧‧介面部 13‧‧‧ face

14‧‧‧通訊網路 14‧‧‧Communication network

21‧‧‧共享記憶體 21‧‧‧ shared memory

22‧‧‧調停控制電路 22‧‧‧Mediation control circuit

31‧‧‧第1存取暫時鎖存處理部 31‧‧‧1st access temporary latch processing unit

32‧‧‧第2存取暫時鎖存處理部 32‧‧‧2nd access temporary latch processing unit

33‧‧‧存取模式分析部 33‧‧‧Access Mode Analysis Department

34‧‧‧位址切換處理部 34‧‧‧Address switching processing unit

35‧‧‧指令輸出處理部 35‧‧‧Command Output Processing Department

36‧‧‧資料切換處理部 36‧‧‧Data Switching Processing Department

A0‧‧‧第1副階段 A0‧‧‧1st stage

A1‧‧‧第2副階段 A1‧‧‧2nd stage

A2‧‧‧第3副階段 A2‧‧‧3rd stage

DEV1~DEVn‧‧‧被控制裝置 DEV1~DEVn‧‧‧ controlled device

T1~T3‧‧‧階段(存取階段) T1~T3‧‧‧ phase (access phase)

[圖1]圖1為具有實施形態之資訊處理裝置的處理控制系統10的概要構成方塊圖。 Fig. 1 is a block diagram showing a schematic configuration of a process control system 10 having an information processing device according to an embodiment.

[圖2]圖2為上位控制器11及智慧型輸出入裝置12的概要構成方塊圖。 FIG. 2 is a schematic block diagram showing the upper controller 11 and the smart input/output device 12.

[圖3]圖3為以智慧型輸出入裝置處於T2階段中主MPU11A及主MPU23-1分別進行資料讀出處理之情形為例之處理時序圖。 [Fig. 3] Fig. 3 is a timing chart showing a case where the main MPU 11A and the main MPU 23-1 perform data reading processing in the T2 phase with the smart input/output device in the T2 phase.

[圖4]圖4為以智慧型輸出入裝置處於T2階段中主MPU11A及主MPU23-1分別進行資料寫入處理之情形為例之處理時序圖。 [Fig. 4] Fig. 4 is a timing chart showing a case where the main input MPU 11A and the main MPU 23-1 perform data writing processing in the T2 phase with the smart input/output device in the T2 phase.

[圖5]圖5為存取模式分析表格的說明圖。 FIG. 5 is an explanatory diagram of an access mode analysis table. FIG.

[圖6]圖6為智慧型輸出入裝置12的處理流程圖。 FIG. 6 is a flowchart showing the processing of the smart input/output device 12.

接著參照圖面詳細說明實施形態。 Next, an embodiment will be described in detail with reference to the drawings.

圖1為具有實施形態之資訊處理裝置的處理控制系統10的概要構成方塊圖。 Fig. 1 is a block diagram showing a schematic configuration of a process control system 10 having an information processing device according to an embodiment.

處理控制系統10,具備:上位控制器11,進行處理控制系統10全體之統括控制;及智慧型輸出入裝置12,在上位控制器11的控制下進行輸出入控制;及介面部13,備有輸出入介面I11~I1n;及被控制裝置DEV1~DEVn,各自透過對應之介面部I21~I2n及通訊網路14而連接至介面部13。 The processing control system 10 includes: a higher-level controller 11 that performs overall control of the processing control system 10; and a smart input/output device 12 that performs input/output control under the control of the upper controller 11; The input/output interfaces I11 to I1n and the controlled devices DEV1 to DEVn are connected to the interface 13 through the corresponding dielectric surfaces I21 to I2n and the communication network 14.

此處,作為被控制裝置DEV1~DEVn,訂為除電動機、閥等被控制機器以外,還包含感測各種狀態(電流、電壓、溫度、流量、壓力等)之感測器單元等。 Here, as the controlled devices DEV1 to DEVn, a sensor unit that senses various states (current, voltage, temperature, flow rate, pressure, etc.) in addition to the controlled device such as a motor or a valve is also included.

以下說明中,為便於理解,以智慧型輸出入裝置12具備一個主MPU23-1之情形為例來說明。此外,以下說明中,共享記憶體21中的讀出位址/寫入位址,係訂為事先被分派給被控制裝置DEV1~DEVn每一者,存取順序亦以循環(cyclic)方式事先指定,對於同一個被控制裝置DEV1~DEVn,讀出位址或寫入位址不會被重複指定。 In the following description, for the sake of understanding, the case where the smart input/output device 12 includes one main MPU 23-1 will be described as an example. In addition, in the following description, the read address/write address in the shared memory 21 is subscribed to each of the controlled devices DEV1 to DEVn in advance, and the access sequence is also in a cyclic manner. It is specified that for the same controlled device DEV1~DEVn, the read address or the write address will not be repeatedly specified.

圖2為上位控制器11及智慧型輸出入裝置12的概要構成方塊圖。 FIG. 2 is a schematic block diagram of the upper controller 11 and the smart input/output device 12.

上位控制器11,具備主MPU11A,其控制上位控制器11全體,並且備有時脈端子CLK、供第1就緒訊號RDY1輸入之就緒(Ready)端子RDY、晶片選擇端子CS、位址端子ADR、讀出端子RD、寫入端子WT及資料端子DATA。 The host controller 11 includes a main MPU 11A that controls the entire upper controller 11 and prepares a pulse-time terminal CLK, a Ready terminal RDY for inputting the first ready signal RDY1, a wafer selection terminal CS, an address terminal ADR, The terminal RD, the write terminal WT, and the data terminal DATA are read.

智慧型輸出入裝置12,具備:共享記憶體21,記憶輸出入資料;及控制部(以下稱調停控制電路22),當主MPU對共享記憶體21之存取有競爭的情形下進行調整;及主MPU23-1~23-n,進行用來與被控制裝置DEV1之間進行資料輸出入之控制。 The smart input/output device 12 includes: a shared memory 21 that memorizes input and output data; and a control unit (hereinafter referred to as a mediation control circuit 22) that adjusts when the main MPU competes for access to the shared memory 21; And the main MPUs 23-1 to 23-n perform control for data input and output with the controlled device DEV1.

調停控制電路22,具備:第1存取暫時鎖存處理部31,將從上位控制器11的主MPU11A對共享記憶 體21之存取資料予以暫時地鎖存;及第2存取暫時鎖存處理部32,將從主MPU23-1~23-n對共享記憶體21之存取資料予以暫時地鎖存;及存取模式分析部33,依據被鎖存於第1存取暫時鎖存處理部31之存取資料及被鎖存於第2存取暫時鎖存處理部32之存取資料來分析對共享記憶體21之存取模式(access pattern);及位址切換處理部34,依據存取模式分析部33的分析結果,將共享記憶體21的讀出位址或寫入位址切換至第1存取暫時鎖存處理部31中存儲之位址資料或第2存取暫時鎖存處理部32中存儲之位址資料;及指令輸出處理部35,依據存取模式分析部33的分析結果而輸出共享記憶體21的寫入指令、讀出指令或晶片選擇指令;及資料切換處理部36,依據存取模式分析部33的分析結果而切換資料的輸入對象之主MPU或輸出對象之主MPU。 The mediation control circuit 22 includes a first access temporary latch processing unit 31 that stores shared memory from the master MPU 11A of the upper controller 11 The access data of the body 21 is temporarily latched; and the second access temporary latch processing unit 32 temporarily latches the access data of the shared memory 21 from the main MPUs 23-1 to 23-n; The access mode analysis unit 33 analyzes the shared memory based on the access data latched in the first access temporary latch processing unit 31 and the access data latched in the second access temporary latch processing unit 32. The access pattern of the body 21; and the address switching processing unit 34 switches the read address or the write address of the shared memory 21 to the first memory based on the analysis result of the access pattern analyzing unit 33. The address data stored in the temporary latch processing unit 31 or the address data stored in the second access temporary latch processing unit 32; and the command output processing unit 35 are output based on the analysis result of the access pattern analyzing unit 33. The write command, the read command, or the wafer select command of the shared memory 21; and the data switching processing unit 36 switches the main MPU of the input object of the data or the main MPU of the output target in accordance with the analysis result of the access mode analysis unit 33.

主MPU23-1,具備時脈端子CLK、供第2就緒訊號RDY2輸入之就緒(Ready)端子RDY、晶片選擇端子CS、位址端子ADR、讀出端子RD、寫入端子WT及資料端子DATA。 The main MPU 23-1 includes a clock terminal CLK, a ready (Ready) terminal RDY for inputting the second ready signal RDY2, a wafer selection terminal CS, an address terminal ADR, a read terminal RD, a write terminal WT, and a data terminal DATA.

接著說明實施形態之動作。 Next, the operation of the embodiment will be described.

智慧型輸出入裝置12的存取模式,具備時間上連續之三個存取階段(access phase)亦即T1階段~T3階段。 The access mode of the smart input/output device 12 has three consecutive access phases, namely, a T1 phase to a T3 phase.

圖3為以智慧型輸出入裝置處於T2階段中主MPU11A及主MPU23-1分別進行資料讀出處理之情形為 例之處理時序圖。 3 is a case where the main MPU 11A and the main MPU 23-1 perform data reading processing in the T2 phase with the smart input/output device in the T2 phase. Example processing timing diagram.

此外,圖4為以智慧型輸出入裝置處於T2階段中主MPU11A及主MPU23-1分別進行資料寫入處理之情形為例之處理時序圖。 In addition, FIG. 4 is a processing sequence diagram in which the main MPU 11A and the main MPU 23-1 perform data writing processing in the T2 phase in the smart input/output device.

T1階段~T3階段,訂為分別具備依時序配置之三個副階段亦即第1副階段A0~第3副階段A2。又,設計成於第1副階段A0分析存取模式,於第2副階段A1進行和其中一方的主MPU對應之共享記憶體存取處理,於第3副階段A2進行和另一方的主MPU對應之共享記憶體存取處理。另,副階段,訂為除了進行存取模式之分析之至少一個副階段(本實施形態中為1個)以外,還具備至少和可對共享記憶體21同時並行存取之主MPU分別對應之個數的副階段(本實施形態為2個)。 In the T1 phase to the T3 phase, there are three sub-stages, namely, the first sub-stage A0 to the third sub-stage A2, which are arranged in accordance with the time series. Further, it is designed to analyze the access mode in the first sub-stage A0, and to perform shared memory access processing corresponding to one of the main MPUs in the second sub-stage A1, and to perform the other main MPU in the third sub-stage A2. Corresponding shared memory access processing. Further, in the sub-stage, in addition to at least one sub-stage (one in the present embodiment) for performing the analysis of the access mode, at least one of the main MPUs that can simultaneously access the shared memory 21 is provided. The secondary stage of the number (two in this embodiment).

首先,說明存取模式分析部的動作。 First, the operation of the access mode analysis unit will be described.

圖5為存取模式分析表格的說明圖。 FIG. 5 is an explanatory diagram of an access mode analysis table.

圖5中,揭示於T2階段分析存取模式之情形。 In Figure 5, the situation in which the access mode is analyzed in the T2 phase is disclosed.

作為共享記憶體21的存取模式,在圖2的裝置構成的情形下,存在以下的9個模式。 As the access mode of the shared memory 21, in the case of the device configuration of Fig. 2, the following nine modes exist.

此處,存取模式分析部33,會因應主MPU11A及主MPU23-1的晶片選擇端子CS、讀出端子RD及寫入端子WT之狀態(正邏輯〔高態有效(high active)〕的情形下,係圖3中“1”所示“H”位準或圖3中“0”所示“L”位準)的組合來分析存取模式。 Here, the access mode analysis unit 33 responds to the state of the wafer selection terminal CS, the read terminal RD, and the write terminal WT of the main MPU 11A and the main MPU 23-1 (positive logic [high active]). Next, the combination of the "H" level shown by "1" in Fig. 3 or the "L" level shown by "0" in Fig. 3 is used to analyze the access pattern.

(1)存取模式No.1 (1) Access mode No. 1

主MPU11A及主MPU23-1的雙方均從共享記憶體21進行資料讀出之情形。 Both the main MPU 11A and the main MPU 23-1 read data from the shared memory 21.

具體而言,存取模式分析部33,於分析對象之階段(本說明中為T2階段,以下同)中,當主MPU11A的晶片選擇端子CS=“L”,讀出端子RD=“L”,寫入端子WT=“H”,且,主MPU23-1的晶片選擇端子CS=“L”,讀出端子RD=“L”、寫入端子WT=“H”的情形下,判定為存取模式No.1。 Specifically, in the stage of analysis (in the T2 stage in the present description, the same applies hereinafter), the access mode analysis unit 33 reads the terminal RD = "L" when the wafer selection terminal CS of the main MPU 11A is "L". When the write terminal WT is "H" and the wafer selection terminal CS of the main MPU 23-1 is "L", the read terminal RD is "L", and the write terminal WT is "H", it is determined that the memory is present. Take mode No.1.

(2)存取模式No.2 (2) Access mode No. 2

主MPU11A及主MPU23-1的雙方均對共享記憶體21進行資料寫入之情形。 Both the main MPU 11A and the main MPU 23-1 write data to the shared memory 21.

具體而言,存取模式分析部33,於分析對象之階段中,當主MPU11A的晶片選擇端子CS=“L”,讀出端子RD=“H”,寫入端子WT=“L”,且,主MPU23-1的晶片選擇端子CS=“L”,讀出端子RD=“H”,寫入端子WT=“L”的情形下,判定為存取模式No.2。 Specifically, in the stage of analyzing, the access mode analysis unit 33 reads the terminal RD = "H" and the write terminal WT = "L" when the wafer selection terminal CS of the main MPU 11A = "L", and The wafer selection terminal CS of the main MPU 23-1 is "L", the read terminal RD is "H", and when the write terminal WT is "L", it is determined to be the access mode No. 2.

(3)存取模式No.3 (3) Access mode No. 3

主MPU11A從共享記憶體21進行資料讀出,主MPU23-1對共享記憶體21進行資料寫入之情形。 The main MPU 11A reads data from the shared memory 21, and the main MPU 23-1 writes data to the shared memory 21.

具體而言,存取模式分析部33,於分析對象之階段中,當主MPU11A的晶片選擇端子CS=“L”,讀出 端子RD=“L”,寫入端子WT=“H”,且,主MPU23-1的晶片選擇端子CS=“L”,讀出端子RD=“H”,寫入端子WT=“L”的情形下,判定為存取模式No.3。 Specifically, the access mode analysis unit 33 reads out the wafer selection terminal CS of the main MPU 11A = "L" at the stage of analysis. Terminal RD = "L", write terminal WT = "H", and wafer select terminal CS of the main MPU 23-1 = "L", read terminal RD = "H", write terminal WT = "L" In this case, it is determined as access mode No. 3.

(4)存取模式No.4 (4) Access mode No. 4

主MPU11A對共享記憶體21進行資料寫入,主MPU23-1從共享記憶體21進行資料讀出之情形。 The main MPU 11A writes data to the shared memory 21, and the main MPU 23-1 reads data from the shared memory 21.

具體而言,存取模式分析部33,於分析對象之階段中,當主MPU11A的晶片選擇端子CS=“L”,讀出端子RD=“H”,寫入端子WT=“L”,且,主MPU23-1的晶片選擇端子CS=“L”,讀出端子RD=“L”,寫入端子WT=“H”的情形下,判定為存取模式No.4。 Specifically, in the stage of analyzing, the access mode analysis unit 33 reads the terminal RD = "H" and the write terminal WT = "L" when the wafer selection terminal CS of the main MPU 11A = "L", and The wafer selection terminal CS of the main MPU 23-1 is "L", the read terminal RD is "L", and when the write terminal WT is "H", it is determined to be the access mode No. 4.

(5)存取模式No.5 (5) Access mode No. 5

主MPU11A從共享記憶體21進行資料讀出,主MPU23-1對共享記憶體21不進行任何事之情形。 The main MPU 11A reads data from the shared memory 21, and the main MPU 23-1 does not perform anything on the shared memory 21.

具體而言,存取模式分析部33,於分析對象之階段中,當主MPU11A的晶片選擇端子CS=“L”,讀出端子RD=“L”,寫入端子WT=“H”,且,主MPU23-1的晶片選擇端子CS=“H”,讀出端子RD=“H”,寫入端子WT=“H”的情形下,判定為存取模式No.5。 Specifically, in the stage of analyzing, the access mode analysis unit 33 reads the terminal RD = "L" and the write terminal WT = "H" when the wafer selection terminal CS of the main MPU 11A is "L", and The wafer selection terminal CS of the main MPU 23-1 is "H", the read terminal RD is "H", and when the write terminal WT is "H", it is determined to be the access mode No. 5.

此外,存取模式分析部33,於分析對象之階段中,當主MPU11A的晶片選擇端子CS=“L”,讀出端子RD=“L”,寫入端子WT=“H”,且,主MPU23-1的晶片 選擇端子CS=“L”,讀出端子RD=“H”,寫入端子WT=“H”的情形下,判定為存取模式No.5。 Further, in the stage of analyzing, the access mode analysis unit 33 reads the terminal RD = "L", the write terminal WT = "H", and the write terminal WT = "H" when the wafer selection terminal CS of the main MPU 11A is "L". MPU23-1 wafer When the terminal CS=“L” is selected, the read terminal RD=“H”, and the write terminal WT=“H”, it is determined to be the access mode No. 5.

(6)存取模式No.6 (6) Access mode No. 6

主MPU23-1從共享記憶體21進行資料讀出,主MPU11A對共享記憶體21不進行任何事之情形。 The main MPU 23-1 reads data from the shared memory 21, and the main MPU 11A does not perform anything on the shared memory 21.

具體而言,存取模式分析部33,於分析對象之階段中,當主MPU11A的晶片選擇端子CS=“H”,讀出端子RD=“H”,寫入端子WT=“H”,且,主MPU23-1的晶片選擇端子CS=“L”,讀出端子RD=“L”,寫入端子WT=“H”的情形下,判定為存取模式No.6。 Specifically, in the stage of analyzing, the access mode analysis unit 33 reads the terminal RD = "H" and the write terminal WT = "H" when the wafer selection terminal CS of the main MPU 11A is "H", and The wafer selection terminal CS of the main MPU 23-1 is "L", the read terminal RD is "L", and when the write terminal WT is "H", it is determined to be the access mode No. 6.

此外,存取模式分析部33,於分析對象之階段中,當主MPU11A的晶片選擇端子CS=“L”,讀出端子RD=“H”,寫入端子WT=“H”,且,主MPU23-1的晶片選擇端子CS=“L”,讀出端子RD=“L”,寫入端子WT=“H”的情形下,判定為存取模式No.6。 Further, in the stage of analyzing, the access mode analysis unit 33 reads the terminal RD = "H", the write terminal WT = "H", and the write terminal WT = "H" when the wafer selection terminal CS of the main MPU 11A is "L", and the main mode The wafer selection terminal CS of the MPU 23-1 is "L", the read terminal RD is "L", and when the write terminal WT is "H", it is determined to be the access mode No. 6.

(7)存取模式No.7 (7) Access mode No. 7

主MPU11A對共享記憶體21進行資料寫入,主MPU23-1對共享記憶體21不進行任何事之情形。 The main MPU 11A writes data to the shared memory 21, and the main MPU 23-1 does not perform anything to the shared memory 21.

具體而言,存取模式分析部33,於分析對象之階段中,當主MPU11A的晶片選擇端子CS=“L”,讀出端子RD=“H”,寫入端子WT=“L”,且,主MPU23-1的晶片選擇端子CS=“H”,讀出端子RD=“H”,寫入端子 WT=“H”的情形下,判定為存取模式No.7。 Specifically, in the stage of analyzing, the access mode analysis unit 33 reads the terminal RD = "H" and the write terminal WT = "L" when the wafer selection terminal CS of the main MPU 11A = "L", and , the chip selection terminal CS=“H” of the main MPU23-1, the readout terminal RD=“H”, the write terminal In the case of WT = "H", it is determined as access mode No. 7.

此外,存取模式分析部33,於分析對象之階段中,當主MPU11A的晶片選擇端子CS=“L”,讀出端子RD=“H”,寫入端子WT=“L”,且,主MPU23-1的晶片選擇端子CS=“L”,讀出端子RD=“H”,寫入端子WT=“H”的情形下,判定為存取模式No.7。 Further, in the stage of analyzing, the access mode analyzing unit 33 reads the terminal RD = "H", the write terminal WT = "L", and the write terminal WT = "L" when the wafer selection terminal CS of the main MPU 11A is "L", and the main mode The wafer selection terminal CS of the MPU 23-1 is "L", the read terminal RD is "H", and when the write terminal WT is "H", it is determined to be the access mode No. 7.

(8)存取模式No.8 (8) Access mode No. 8

主MPU23-1對共享記憶體21進行資料寫入,主MPU11A對共享記憶體21不進行任何事之情形。 The main MPU 23-1 writes data to the shared memory 21, and the main MPU 11A does not perform anything to the shared memory 21.

具體而言,存取模式分析部33,於分析對象之階段中,當主MPU11A的晶片選擇端子CS=“H”,讀出端子RD=“H”,寫入端子WT=“H”,且,主MPU23-1的晶片選擇端子CS=“L”,讀出端子RD=“H”,寫入端子WT=“L”的情形下,判定為存取模式No.8。 Specifically, in the stage of analyzing, the access mode analysis unit 33 reads the terminal RD = "H" and the write terminal WT = "H" when the wafer selection terminal CS of the main MPU 11A is "H", and The wafer selection terminal CS of the main MPU 23-1 is "L", the read terminal RD is "H", and when the write terminal WT is "L", it is determined to be the access mode No. 8.

此外,存取模式分析部33,於分析對象之階段中,當主MPU11A的晶片選擇端子CS=“L”,讀出端子RD=“H”,寫入端子WT=“H”,且,主MPU23-1的晶片選擇端子CS=“L”,讀出端子RD=“H”,寫入端子WT=“L”的情形下,判定為存取模式No.8。 Further, in the stage of analyzing, the access mode analysis unit 33 reads the terminal RD = "H", the write terminal WT = "H", and the write terminal WT = "H" when the wafer selection terminal CS of the main MPU 11A is "L", and the main mode The wafer selection terminal CS of the MPU 23-1 is "L", the read terminal RD is "H", and when the write terminal WT is "L", it is determined to be the access mode No. 8.

(9)存取模式No.9 (9) Access mode No. 9

主MPU23-1及主MPU11A的雙方均對共享記憶體21不進行任何事之情形。 Both the main MPU 23-1 and the main MPU 11A do not perform anything on the shared memory 21.

具體而言,存取模式分析部33,於分析對象之階段中,當主MPU11A的晶片選擇端子CS=“H”,讀出端子RD=“H”,寫入端子WT=“H”,且,主MPU23-1的晶片選擇端子CS=“H”,讀出端子RD=“H”,寫入端子WT=“H”的情形下,判定為存取模式No.9。 Specifically, in the stage of analyzing, the access mode analysis unit 33 reads the terminal RD = "H" and the write terminal WT = "H" when the wafer selection terminal CS of the main MPU 11A is "H", and The wafer selection terminal CS of the main MPU 23-1 is "H", the read terminal RD is "H", and when the write terminal WT is "H", it is determined to be the access mode No. 9.

此外,存取模式分析部33,於分析對象之階段中,當主MPU11A的晶片選擇端子CS=“L”,讀出端子RD=“H”,寫入端子WT=“H”,且,主MPU23-1的晶片選擇端子CS=“L”,讀出端子RD=“H”,寫入端子WT=“H”的情形下,判定為存取模式No.9。 Further, in the stage of analyzing, the access mode analysis unit 33 reads the terminal RD = "H", the write terminal WT = "H", and the write terminal WT = "H" when the wafer selection terminal CS of the main MPU 11A is "L", and the main mode The wafer selection terminal CS of the MPU 23-1 is "L", the read terminal RD is "H", and when the write terminal WT is "H", it is determined to be the access mode No. 9.

圖6為智慧型輸出入裝置12的處理流程圖。圖6中,為求圖示簡化,將主MPU11A表記為「MPU1」,將主MPU23-1表記為「MPU2」。 FIG. 6 is a process flow diagram of the smart input/output device 12. In FIG. 6, for simplicity of illustration, the main MPU 11A is referred to as "MPU1", and the main MPU 23-1 is referred to as "MPU2".

首先,調停控制電路22的第1存取暫時鎖存處理部31,於T2階段的第1副階段A0(圖4中以T2_A0表示)中,將從主MPU11A的位址端子ADR輸出之位址資料及從資料端子DATA輸出之寫入資料予以鎖存。 First, the first access temporary latch processing unit 31 of the mediation control circuit 22 outputs the address from the address terminal ADR of the main MPU 11A in the first sub-stage A0 (indicated by T2_A0 in FIG. 4) in the T2 phase. The data and the data written from the data terminal DATA are latched.

另一方面,調停控制電路22的第2存取暫時鎖存處理部32,將從主MPU23-1的位址端子ADR輸出之位址資料及從資料端子DATA輸出之寫入資料予以鎖存(步驟S11)。 On the other hand, the second access temporary latch processing unit 32 of the mediation control circuit 22 latches the address data output from the address terminal ADR of the main MPU 23-1 and the write data output from the data terminal DATA ( Step S11).

接著存取模式分析部33,依據主MPU11A及主MPU23-1的各自的晶片選擇端子CS、讀出端子RD及寫入端子WT之狀態的組合,來分析存取模式(步驟 S12)。 Next, the access pattern analysis unit 33 analyzes the access mode based on the combination of the state of each of the wafer selection terminal CS, the read terminal RD, and the write terminal WT of the main MPU 11A and the main MPU 23-1 (step S12).

接下來,存取模式分析部33,判別分析出的存取模式,是否為主MPU11A及主MPU23-1的雙方均從共享記憶體21進行資料讀出之情形亦即存取模式No.1(步驟S13)。 Next, the access mode analysis unit 33 determines whether or not the analyzed access mode is the access mode No. 1 in the case where both the main MPU 11A and the main MPU 23-1 read data from the shared memory 21 ( Step S13).

步驟S13之判別中,當分析出的存取模式為存取模式No.1的情形下(步驟S13;Yes),存取模式分析部33,於T2階段的第2副階段A1(圖4中以T2_A1表示)中,控制位址切換處理部34,將位址匯流排切換至主MPU11A側(步驟S14)。 In the determination of step S13, when the analyzed access mode is the access mode No. 1 (step S13; Yes), the access mode analyzing unit 33, in the second sub-stage A1 of the T2 phase (in FIG. 4) In the case of T2_A1, the control address switching processing unit 34 switches the address bus bar to the main MPU 11A side (step S14).

如此一來,存取模式分析部33,便發出(輸出)和主MPU11A對應之共享記憶體讀出指令,以作為共享記憶體指令輸出處理(步驟S15)。其結果,第1存取暫時鎖存處理部31,會從共享記憶體21讀出和讀出位址對應之資料,並予以鎖存(步驟S16)。 In this manner, the access mode analysis unit 33 issues (outputs) the shared memory read command corresponding to the main MPU 11A as the shared memory command output process (step S15). As a result, the first access temporary latch processing unit 31 reads and reads the data corresponding to the address from the shared memory 21 and latches it (step S16).

接下來,存取模式分析部33,於T2階段的第3副階段A2(圖4中以T2_A2表示)中,控制位址切換處理部34,將位址匯流排切換至主MPU23-1側(步驟S17)。 Next, in the third sub-stage A2 (indicated by T2_A2 in FIG. 4) of the T2 stage, the access mode analysis unit 33 controls the address switching processing unit 34 to switch the address bus to the main MPU23-1 side ( Step S17).

如此一來,存取模式分析部33,便發出(輸出)和主MPU23-1對應之共享記憶體讀出指令,以作為共享記憶體指令輸出處理(步驟S18)。其結果,第2存取暫時鎖存處理部32,會從共享記憶體21讀出和讀出位址對應之資料,並予以鎖存(步驟S19)。 In this manner, the access mode analysis unit 33 issues (outputs) the shared memory read command corresponding to the main MPU 23-1 as the shared memory command output process (step S18). As a result, the second access temporary latch processing unit 32 reads and reads the data corresponding to the address from the shared memory 21 and latches it (step S19).

然後,主MPU11A從第1存取暫時鎖存處理部31讀出讀出對象之資料,主MPU23-1從第2存取暫時鎖存處理部32讀出讀出對象之資料,結束該T2階段中的處理(步驟S20)。 Then, the main MPU 11A reads the data to be read from the first access temporary latch processing unit 31, and the main MPU 23-1 reads the data to be read from the second access temporary latch processing unit 32, and ends the T2 phase. Processing in (step S20).

此處,以存取模式No.1之情形為例,參照圖3,詳細說明資料讀出處理。 Here, the case of the access mode No. 1 will be described as an example, and the material reading process will be described in detail with reference to FIG. 3.

調停控制電路22,將第1就緒訊號RDY1如圖3所示般橫跨T1階段~T3階段設為“H”位準,以便對於主MPU11A許可對共享記憶體21之存取。同樣地,調停控制電路22,將第2就緒訊號RDY2如圖3所示般橫跨T1階段~T3階段設為“H”位準,以便對於主MPU23-1許可對共享記憶體21之存取。 The mediation control circuit 22 sets the first ready signal RDY1 to the "H" level across the T1 phase to the T3 phase as shown in FIG. 3 to permit access to the shared memory 21 for the master MPU 11A. Similarly, the mediation control circuit 22 sets the second ready signal RDY2 to the "H" level across the T1 phase to the T3 phase as shown in FIG. 3 to permit access to the shared memory 21 for the master MPU 23-1. .

如此一來,主MPU11A,會依據第1就緒訊號RDY1而理解目前許可對於該主MPU11A對共享記憶體21之存取,如圖3所示般橫跨T1階段~T3階段從位址端子ADR輸出共享記憶體的讀出位址110。 In this way, the master MPU 11A understands that the access to the shared memory 21 by the master MPU 11A is currently permitted according to the first ready signal RDY1, and is output from the address terminal ADR across the T1 phase to the T3 phase as shown in FIG. The read address 110 of the shared memory.

接下來主MPU11A,於T2階段的期間中將讀出訊號R設為“L”位準,以便對調停控制電路22通知讀出準備已完成。 Next, the main MPU 11A sets the read signal R to the "L" level during the period of the T2 phase to notify the mediation control circuit 22 that the read preparation has been completed.

另一方面,主MPU23-1,會依據第2就緒訊號RDY2而理解目前許可對於該主MPU23-1對共享記憶體21之存取,如圖3所示般橫跨T1階段~T3階段從位址端子ADR輸出共享記憶體的讀出位址210。 On the other hand, the main MPU 23-1, based on the second ready signal RDY2, understands that the access to the shared memory 21 is currently permitted for the primary MPU 23-1, as shown in FIG. 3, spanning from the T1 phase to the T3 phase. The address terminal ADR outputs the read address 210 of the shared memory.

接下來主MPU23-1,於T2階段的期間中將讀 出訊號R設為“L”位準,以便對調停控制電路22通知讀出準備已完成。 Next, the main MPU23-1 will read during the T2 phase. The signal R is set to the "L" level to notify the mediation control circuit 22 that the readout preparation has been completed.

另一方面,調停控制電路22的第1存取暫時鎖存處理部31,於T2階段的第1副階段A0(圖6中以T2_A0表示)中,將從主MPU11A的位址端子ADR輸出之位址資料110予以鎖存。此外,調停控制電路22的第2存取暫時鎖存處理部32,將從主MPU23-1的位址端子ADR輸出之位址資料210予以鎖存。 On the other hand, the first access temporary latch processing unit 31 of the mediation control circuit 22 outputs the address from the address terminal ADR of the main MPU 11A in the first sub-stage A0 (indicated by T2_A0 in FIG. 6) in the T2 phase. The address data 110 is latched. Further, the second access temporary latch processing unit 32 of the mediation control circuit 22 latches the address data 210 output from the address terminal ADR of the main MPU 23-1.

接著存取模式分析部33,依據主MPU11A及主MPU23-1的各自的晶片選擇端子CS、讀出端子RD及寫入端子WT之狀態的組合,來分析存取模式。 Next, the access mode analysis unit 33 analyzes the access mode based on the combination of the state of each of the wafer selection terminal CS, the read terminal RD, and the write terminal WT of the main MPU 11A and the main MPU 23-1.

接下來,存取模式分析部33,由於T2階段中的第1副階段A0中的主MPU11A及主MPU23-1的各自之晶片選擇端子CS=“L”位準、讀出端子RD的讀出訊號R為“L”位準,因此判別為主MPU11A及主MPU23-1的雙方均從共享記憶體21進行資料讀出之情形亦即存取模式No.1。 Next, the access pattern analysis unit 33 reads out the respective wafer selection terminals CS of the main MPU 11A and the main MPU 23-1 in the T2 stage, the "L" level, and the read terminal RD. Since the signal R is at the "L" level, it is determined that both the main MPU 11A and the main MPU 23-1 read the data from the shared memory 21, that is, the access mode No. 1.

然後,存取模式分析部33,於T2階段的第2副階段A1(圖6中以T2_A1表示)中,控制位址切換處理部34,將位址匯流排及資料匯流排切換至主MPU11A側。 Then, the access mode analysis unit 33 controls the address switching processing unit 34 to switch the address bus and the data bus to the main MPU 11A side in the second sub-stage A1 (indicated by T2_A1 in FIG. 6) in the T2 phase. .

如此一來,存取模式分析部33,便發出(輸出)和主MPU11A對應之共享記憶體讀出指令,以作為共享記憶體指令輸出處理(步驟S15)。其結果,第1存取 暫時鎖存處理部31,會從共享記憶體21讀出並鎖存和讀出位址111對應之讀出資料112,並將讀出資料112輸出至資料匯流排。 In this manner, the access mode analysis unit 33 issues (outputs) the shared memory read command corresponding to the main MPU 11A as the shared memory command output process (step S15). As a result, the first access The temporary latch processing unit 31 reads out and latches and reads the read data 112 corresponding to the address 111 from the shared memory 21, and outputs the read data 112 to the data bus.

如此一來,在主MPU11A的資料匯流排,於T2階段的第2副階段A1~第3副階段A2(圖6中以T2_A1~T2_A2表示)中,會輸出讀出鎖存資料113。 As a result, in the data bus of the main MPU 11A, the read latch data 113 is outputted in the second sub-stage A1 to the third sub-stage A2 (indicated by T2_A1 to T2_A2 in FIG. 6) in the T2 stage.

在此情形下,對於主MPU11A的資料讀出時間點114亦即T2階段的結束時刻而言,於比規定的資料讀取/建立時間DRS(Data Read/Setup)的期間還長之期間,在主MPU11A的資料匯流排會持續輸出讀出鎖存資料113。如此一來,主MPU11A便可確實地擷取讀出鎖存資料113。 In this case, the data reading time point 114 of the main MPU 11A, that is, the end time of the T2 phase, is longer than the period of the predetermined data reading/setting time DRS (Data Read/Setup). The data bus of the main MPU 11A continuously outputs the read latch data 113. In this way, the main MPU 11A can surely capture the read latch data 113.

此外,存取模式分析部33,於T2階段的第3副階段A2(圖6中以T2_A2表示)中,控制位址切換處理部34,將位址匯流排及資料匯流排切換至主MPU23-1側。 Further, in the third sub-stage A2 (indicated by T2_A2 in FIG. 6) of the T2 stage, the access mode analysis unit 33 controls the address switching processing unit 34 to switch the address bus and the data bus to the main MPU 23- 1 side.

如此一來,存取模式分析部33,便發出(輸出)和主MPU23-1對應之共享記憶體讀出指令,以作為共享記憶體指令輸出處理。其結果,第2存取暫時鎖存處理部32,會從共享記憶體21讀出並鎖存和讀出位址211對應之讀出資料212,並將讀出資料212輸出至資料匯流排。 In this manner, the access mode analyzing unit 33 issues (outputs) the shared memory read command corresponding to the main MPU 23-1 as the shared memory command output process. As a result, the second access temporary latch processing unit 32 reads out and reads and reads the read data 212 corresponding to the address 211 from the shared memory 21, and outputs the read data 212 to the data bus.

如此一來,在主MPU23-1的資料匯流排,於T2階段的第3副階段A2(圖6中以T2_A1~T2_A2表 示)中,會輸出讀出鎖存資料213。 As a result, in the data bus of the main MPU23-1, in the third sub-stage A2 of the T2 stage (in the figure T2_A1~T2_A2 in Figure 6) In the display, the read latch data 213 is output.

在此情形下同樣地,對於主MPU23-1的資料讀出時間點214亦即T2階段的結束時刻而言,於比規定的資料讀取/建立時間DRS(Data Read Setup)的期間還長之期間,在主MPU23-1的資料匯流排會持續輸出讀出鎖存資料213。如此一來,主MPU23-1便可確實地擷取讀出鎖存資料213。 In this case as well, the data read time point 214 of the main MPU 23-1, that is, the end time of the T2 phase, is longer than the predetermined data read/build time DRS (Data Read Setup). During this period, the data bus in the main MPU 23-1 continues to output the read latch data 213. In this way, the main MPU 23-1 can surely capture the read latch data 213.

在此再次回到圖6之說明。 Here again, return to the description of FIG. 6.

步驟S13之判別中,當分析出的存取模式不為存取模式No.1的情形下(步驟S13;No),存取模式分析部33,判別分析出的存取模式是否為主MPU11A及主MPU23-1的雙方均對共享記憶體21進行資料寫入之情形亦即存取模式No.2(步驟S21)。 In the determination of step S13, when the analyzed access mode is not the access mode No. 1 (step S13; No), the access mode analyzing unit 33 determines whether the analyzed access mode is the main MPU 11A or not. In the case where both of the main MPUs 23-1 write data to the shared memory 21, that is, access mode No. 2 (step S21).

步驟S21之判別中,當分析出的存取模式為存取模式No.2的情形下(步驟S21;Yes),存取模式分析部33,於T2階段的第2副階段A1中,控制位址切換處理部34,將位址匯流排及資料匯流排切換至主MPU11A側(步驟S22)。 In the determination of step S21, when the analyzed access mode is the access mode No. 2 (step S21; Yes), the access mode analyzing unit 33, in the second sub-stage A1 of the T2 phase, the control bit The address switching processing unit 34 switches the address bus and the data bus to the main MPU 11A side (step S22).

如此一來,存取模式分析部33,便對共享記憶體21發出(輸出)和主MPU11A對應之共享記憶體寫入指令,以作為共享記憶體指令輸出處理(步驟S23)。 In this way, the access mode analysis unit 33 issues (outputs) the shared memory write command corresponding to the main MPU 11A to the shared memory 21 as the shared memory command output process (step S23).

其結果,第1存取暫時鎖存處理部31,會對共享記憶體21的和寫入位址對應之區域寫入主MPU11A之資料(步驟S24)。 As a result, the first access temporary latch processing unit 31 writes the data of the main MPU 11A to the area of the shared memory 21 corresponding to the write address (step S24).

接下來,存取模式分析部33,於T2階段的第3副階段A2中,控制位址切換處理部34,將位址匯流排及資料匯流排切換至主MPU23-12側(步驟S25)。 Next, the access mode analysis unit 33 controls the address switching processing unit 34 to switch the address bus and the data bus to the main MPU 23-12 side in the third sub-stage A2 of the T2 stage (step S25).

然後,存取模式分析部33,便對共享記憶體21發出(輸出)和主MPU23-1對應之共享記憶體寫入指令,以作為共享記憶體指令輸出處理(步驟S26)。 Then, the access mode analysis unit 33 issues (outputs) the shared memory write command corresponding to the main MPU 23-1 to the shared memory 21 as the shared memory command output process (step S26).

其結果,第2存取暫時鎖存處理部32,會對共享記憶體21的和寫入位址對應之區域寫入主MPU23-1之資料(步驟S27)。 As a result, the second access temporary latch processing unit 32 writes the data of the main MPU 23-1 to the area of the shared memory 21 corresponding to the write address (step S27).

此處,以存取模式No.2之情形為例,參照圖4,詳細說明資料寫入處理。 Here, the case where the access mode No. 2 is taken as an example, the data writing process will be described in detail with reference to FIG.

調停控制電路22,將第1就緒訊號RDY1如圖4所示般橫跨T1階段~T3階段設為“H”位準,以便對於主MPU11A許可對共享記憶體21之存取。同樣地,調停控制電路22,將第2就緒訊號RDY2如圖4所示般橫跨T1階段~T3階段設為“H”位準,以便對於主MPU23-1許可對共享記憶體21之存取。 The mediation control circuit 22 sets the first ready signal RDY1 to the "H" level across the T1 phase to the T3 phase as shown in FIG. 4 to permit access to the shared memory 21 for the master MPU 11A. Similarly, the mediation control circuit 22 sets the second ready signal RDY2 to the "H" level across the T1 phase to the T3 phase as shown in FIG. 4 to permit access to the shared memory 21 for the master MPU 23-1. .

如此一來,主MPU11A,會依據第1就緒訊號RDY1而理解目前許可對於該主MPU11A對共享記憶體21之存取,如圖4所示般橫跨T1階段~T3階段從位址端子ADR輸出共享記憶體的寫入位址120。 In this way, the master MPU 11A understands that the access to the shared memory 21 by the master MPU 11A is currently permitted according to the first ready signal RDY1, and is output from the address terminal ADR across the T1 phase to the T3 phase as shown in FIG. The write address of the shared memory is 120.

接下來主MPU11A,於T2階段的期間中將寫入訊號W設為“L”位準,以便對調停控制電路22通知寫入準備已完成。 Next, the main MPU 11A sets the write signal W to the "L" level during the period of the T2 phase to notify the mediation control circuit 22 that the write preparation has been completed.

另一方面,主MPU23-1,會依據第2就緒訊號RDY2而理解目前許可對於該主MPU23-1對共享記憶體21之存取,如圖4所示般橫跨T1階段~T3階段從位址端子ADR輸出共享記憶體的寫入位址220。 On the other hand, the master MPU 23-1 understands that the access to the shared memory 21 by the master MPU 23-1 is currently permitted according to the second ready signal RDY2, as shown in FIG. 4, spanning from the T1 phase to the T3 phase. The address terminal ADR outputs the write address 220 of the shared memory.

接下來主MPU23-1,於T2階段的期間中將寫入訊號W設為“L”位準,以便對調停控制電路22通知寫入準備已完成。另一方面,調停控制電路22的第1存取暫時鎖存處理部31,於T2階段的第1副階段A0(圖6中以T2_A0表示)中,將從主MPU11A的位址端子ADR輸出之位址資料120予以鎖存。此外,調停控制電路22的第2存取暫時鎖存處理部32,將從主MPU23-1的位址端子ADR輸出之位址資料220予以鎖存。 Next, the main MPU 23-1 sets the write signal W to the "L" level during the period of the T2 phase to notify the mediation control circuit 22 that the write preparation has been completed. On the other hand, the first access temporary latch processing unit 31 of the mediation control circuit 22 outputs the address from the address terminal ADR of the main MPU 11A in the first sub-stage A0 (indicated by T2_A0 in FIG. 6) in the T2 phase. The address data 120 is latched. Further, the second access temporary latch processing unit 32 of the mediation control circuit 22 latches the address data 220 output from the address terminal ADR of the main MPU 23-1.

接著存取模式分析部33,依據主MPU11A及主MPU23-1的各自的晶片選擇端子CS、讀出端子RD及寫入端子WT之狀態的組合,來分析存取模式。 Next, the access mode analysis unit 33 analyzes the access mode based on the combination of the state of each of the wafer selection terminal CS, the read terminal RD, and the write terminal WT of the main MPU 11A and the main MPU 23-1.

接下來,存取模式分析部33,由於T2階段中的第1副階段A0中的主MPU11A及主MPU23-1的各自之晶片選擇端子CS=“L”位準、寫入端子WT的寫入訊號W為“L”位準,因此判別為主MPU11A及主MPU23-1的雙方均從共享記憶體21進行資料寫入之情形亦即存取模式No.2。 Next, the access mode analysis unit 33 writes the respective chip selection terminals CS of the main MPU 11A and the main MPU 23-1 in the T2 stage to the "L" level and writes the write terminal WT. Since the signal W is at the "L" level, it is determined that both the main MPU 11A and the main MPU 23-1 write data from the shared memory 21, that is, the access mode No. 2.

然後,存取模式分析部33,於T2階段的第2副階段A1(圖6中以T2_A1表示)中,控制位址切換處理部34,將位址匯流排及資料匯流排切換至主MPU11A 側。 Then, the access mode analysis unit 33 controls the address switching processing unit 34 to switch the address bus and the data bus to the main MPU 11A in the second sub-stage A1 (indicated by T2_A1 in FIG. 6) in the T2 phase. side.

如此一來,存取模式分析部33,便發出(輸出)和主MPU11A對應之共享記憶體寫入指令,以作為共享記憶體指令輸出處理。第1存取暫時鎖存處理部31,會將寫入位址120及對應之寫入資料122輸出至共享記憶體21,以作為寫入位址121及寫入資料123。 In this manner, the access mode analyzing unit 33 issues (outputs) a shared memory write command corresponding to the main MPU 11A as a shared memory command output process. The first access temporary latch processing unit 31 outputs the write address 120 and the corresponding write data 122 to the shared memory 21 as the write address 121 and the write data 123.

伴隨此,共享記憶體21的寫入訊號W成為“L”位準,於T2階段的第2副階段A1(圖6中以T2_A1表示)中,寫入資料123會被寫入和寫入位址121對應之區域。 Along with this, the write signal W of the shared memory 21 becomes the "L" level, and in the second sub-stage A1 of the T2 stage (indicated by T2_A1 in FIG. 6), the write data 123 is written and written. The area corresponding to address 121.

然後,存取模式分析部33,於T2階段的第3副階段A2(圖6中以T2_A2表示)中,控制位址切換處理部34,將位址匯流排及資料匯流排切換至主MPU23-1側。 Then, the access mode analysis unit 33 controls the address switching processing unit 34 to switch the address bus and the data bus to the main MPU 23 in the third sub-stage A2 (indicated by T2_A2 in FIG. 6) in the T2 phase. 1 side.

如此一來,存取模式分析部33,便發出(輸出)和主MPU23-1對應之共享記憶體寫入指令,以作為共享記憶體指令輸出處理。第2存取暫時鎖存處理部32,會將寫入位址220及對應之寫入資料222輸出至共享記憶體21,以作為寫入位址221及寫入資料223。 In this manner, the access mode analyzing unit 33 issues (outputs) a shared memory write command corresponding to the main MPU 23-1 as a shared memory command output process. The second access temporary latch processing unit 32 outputs the write address 220 and the corresponding write data 222 to the shared memory 21 as the write address 221 and the write data 223.

伴隨此,共享記憶體21的寫入訊號W成為“L”位準,於T2階段的第3副階段A2(圖6中以T2_A2表示)中,寫入資料223會被寫入和寫入位址221對應之區域。 Along with this, the write signal W of the shared memory 21 becomes the "L" level, and in the third sub-stage A2 of the T2 stage (indicated by T2_A2 in FIG. 6), the write data 223 is written and written. The area corresponding to address 221.

在此再次回到圖6之說明。 Here again, return to the description of FIG. 6.

步驟S21之判別中,當分析出的存取模式不為存取模式No.2的情形下(步驟S21;No),存取模式分析部33,判別分析出的存取模式是否為主MPU11A從共享記憶體21進行資料讀出,主MPU23-1對共享記憶體21進行資料寫入之情形亦即存取模式No.3(步驟S31)。 In the determination of step S21, when the analyzed access mode is not the access mode No. 2 (step S21; No), the access mode analyzing unit 33 determines whether or not the analyzed access mode is the master MPU 11A. The shared memory 21 reads the data, and the main MPU 23-1 writes the data to the shared memory 21, that is, the access mode No. 3 (step S31).

步驟S31之判別中,當分析出的存取模式為存取模式No.3的情形下(步驟S31;Yes),存取模式分析部33,於T2階段的第2副階段A1中,控制位址切換處理部34,將位址匯流排及資料匯流排切換至主MPU11A側(步驟S32)。 In the determination of step S31, when the analyzed access mode is the access mode No. 3 (step S31; Yes), the access mode analyzing unit 33, in the second sub-stage A1 of the T2 phase, the control bit The address switching processing unit 34 switches the address bus and the data bus to the main MPU 11A side (step S32).

如此一來,存取模式分析部33,便發出(輸出)和主MPU11A對應之共享記憶體讀出指令,以作為共享記憶體指令輸出處理(步驟S33)。其結果,第1存取暫時鎖存處理部31,會從共享記憶體21讀出和讀出位址對應之資料,並予以鎖存(步驟S34)。 In this manner, the access mode analysis unit 33 issues (outputs) the shared memory read command corresponding to the main MPU 11A as the shared memory command output process (step S33). As a result, the first access temporary latch processing unit 31 reads and reads the data corresponding to the address from the shared memory 21 and latches it (step S34).

接下來,存取模式分析部33,於T2階段的第3副階段A2中,控制位址切換處理部34,將位址匯流排及資料匯流排切換至主MPU23-1側的第2存取暫時鎖存處理部32(步驟S35)。 Next, the access mode analysis unit 33 controls the address switching processing unit 34 to switch the address bus and the data bus to the second access on the main MPU 23-1 side in the third sub-stage A2 of the T2 phase. The processing unit 32 is temporarily latched (step S35).

然後,存取模式分析部33,便對共享記憶體21發出(輸出)和主MPU23-1對應之共享記憶體寫入指令,以作為共享記憶體指令輸出處理(步驟S36)。 Then, the access mode analysis unit 33 issues (outputs) the shared memory write command corresponding to the main MPU 23-1 to the shared memory 21 as the shared memory command output process (step S36).

其結果,第2存取暫時鎖存處理部32,會對共享記憶體21的和寫入位址對應之區域寫入主MPU23-1之資料 (步驟S37)。 As a result, the second access temporary latch processing unit 32 writes the data of the main MPU 23-1 to the area corresponding to the write address of the shared memory 21 and the write address. (Step S37).

然後,主MPU11A從第1存取暫時鎖存處理部31讀出讀出對象之資料,結束該T2階段中的處理(步驟S38)。 Then, the main MPU 11A reads the data to be read from the first access temporary latch processing unit 31, and ends the processing in the T2 phase (step S38).

步驟S31之判別中,當分析出的存取模式不為存取模式No.3的情形下(步驟S31;No),存取模式分析部33,判別分析出的存取模式是否為主MPU11A對共享記憶體21進行資料寫入,主MPU23-1從共享記憶體21進行資料讀出之情形亦即存取模式No.4(步驟S41)。 In the determination of step S31, when the analyzed access mode is not the access mode No. 3 (step S31; No), the access mode analyzing unit 33 determines whether or not the analyzed access mode is the master MPU 11A pair. The shared memory 21 writes data, and the main MPU 23-1 reads the data from the shared memory 21, that is, the access mode No. 4 (step S41).

步驟S41之判別中,當分析出的存取模式為存取模式No.4的情形下(步驟S41;Yes),存取模式分析部33,於T2階段的第2副階段A1中,控制位址切換處理部34,將位址匯流排及資料匯流排切換至主MPU23-1側(步驟S42)。 In the determination of step S41, when the analyzed access mode is the access mode No. 4 (step S41; Yes), the access mode analyzing unit 33, in the second sub-stage A1 of the T2 phase, the control bit The address switching processing unit 34 switches the address bus and the data bus to the main MPU 23-1 side (step S42).

如此一來,存取模式分析部33,便發出(輸出)和主MPU23-1對應之共享記憶體讀出指令,以作為共享記憶體指令輸出處理(步驟S43)。 In this way, the access mode analyzing unit 33 issues (outputs) the shared memory read command corresponding to the main MPU 23-1 as the shared memory command output process (step S43).

其結果,第2存取暫時鎖存處理部32,會從共享記憶體21讀出和讀出位址對應之資料,並予以鎖存(步驟S44)。 As a result, the second access temporary latch processing unit 32 reads and reads the data corresponding to the address from the shared memory 21 and latches it (step S44).

接下來,存取模式分析部33,於T2階段的第3副階段A2中,控制位址切換處理部34,將位址匯流排及資料匯流排切換至主MPU11A側的第1存取暫時鎖存處 理部31(步驟S45)。 Next, the access mode analysis unit 33 controls the address switching processing unit 34 to switch the address bus and the data bus to the first access temporary lock on the main MPU 11A side in the third sub-stage A2 of the T2 phase. Deposit The control unit 31 (step S45).

然後,存取模式分析部33,便對共享記憶體21發出(輸出)和主MPU11A對應之共享記憶體寫入指令,以作為共享記憶體指令輸出處理(步驟S46)。 Then, the access mode analysis unit 33 issues (outputs) the shared memory write command corresponding to the main MPU 11A to the shared memory 21 as the shared memory command output process (step S46).

其結果,第1存取暫時鎖存處理部31,會對共享記憶體21的和寫入位址對應之區域寫入主MPU11A之資料(步驟S47)。 As a result, the first access temporary latch processing unit 31 writes the data of the main MPU 11A to the area of the shared memory 21 corresponding to the write address (step S47).

然後,主MPU11A從第2存取暫時鎖存處理部32讀出讀出對象之資料,結束該T2階段中的處理(步驟S48)。 Then, the main MPU 11A reads the data to be read from the second access temporary latch processing unit 32, and ends the processing in the T2 phase (step S48).

步驟S41之判別中,當分析出的存取模式不為存取模式No.4的情形下(步驟S41;No),存取模式分析部33,判別分析出的存取模式是否為主MPU11A從共享記憶體21進行資料讀出,主MPU23-1對共享記憶體21不進行任何事之情形亦即存取模式No.5(步驟S51)。 In the determination of step S41, when the analyzed access mode is not the access mode No. 4 (step S41; No), the access mode analyzing unit 33 determines whether or not the analyzed access mode is the master MPU 11A. The shared memory 21 reads the data, and the main MPU 23-1 does not perform any operation on the shared memory 21, that is, the access mode No. 5 (step S51).

步驟S51之判別中,當分析出的存取模式為存取模式No.5的情形下(步驟S51;Yes),存取模式分析部33,於T2階段的第2副階段A1中,控制位址切換處理部34,將位址匯流排及資料匯流排切換至主MPU11A側(步驟S52)。 In the determination of step S51, when the analyzed access mode is the access mode No. 5 (step S51; Yes), the access mode analyzing unit 33, in the second sub-stage A1 of the T2 phase, the control bit The address switching processing unit 34 switches the address bus and the data bus to the main MPU 11A side (step S52).

如此一來,存取模式分析部33,便發出(輸出)和主MPU11A對應之共享記憶體讀出指令,以作為共享記憶體指令輸出處理(步驟S53)。 In this way, the access mode analysis unit 33 issues (outputs) the shared memory read command corresponding to the main MPU 11A as the shared memory command output process (step S53).

其結果,第1存取暫時鎖存處理部31,會從共享記憶體21讀出和讀出位址對應之資料,並予以鎖存(步驟S54)。 As a result, the first access temporary latch processing unit 31 reads and reads the data corresponding to the address from the shared memory 21 and latches it (step S54).

接著,主MPU11A從第1存取暫時鎖存處理部31讀出讀出對象之資料,結束該T2階段中的處理(步驟S55)。 Then, the main MPU 11A reads the data to be read from the first access temporary latch processing unit 31, and ends the processing in the T2 phase (step S55).

步驟S51之判別中,當分析出的存取模式不為存取模式No.5的情形下(步驟S51;No),存取模式分析部33,判別分析出的存取模式是否為主MPU23-1從共享記憶體21進行資料讀出,主MPU11A對共享記憶體21不進行任何事之情形亦即存取模式No.6(步驟S61)。 In the determination of step S51, when the analyzed access mode is not the access mode No. 5 (step S51; No), the access mode analyzing unit 33 determines whether or not the analyzed access mode is the main MPU 23- (1) The data is read from the shared memory 21, and the main MPU 11A does not perform any operation on the shared memory 21, that is, access mode No. 6 (step S61).

步驟S61之判別中,當分析出的存取模式為存取模式No.6的情形下(步驟S61;Yes),存取模式分析部33,於T2階段的第2副階段A1中,控制位址切換處理部34,將位址匯流排及資料匯流排切換至主MPU23-1側(步驟S62)。 In the determination of step S61, when the analyzed access mode is the access mode No. 6 (step S61; Yes), the access mode analyzing unit 33, in the second sub-stage A1 of the T2 phase, the control bit The address switching processing unit 34 switches the address bus and the data bus to the main MPU 23-1 side (step S62).

如此一來,存取模式分析部33,便發出(輸出)和主MPU23-1對應之共享記憶體讀出指令,以作為共享記憶體指令輸出處理(步驟S63)。 In this manner, the access mode analyzing unit 33 issues (outputs) the shared memory read command corresponding to the main MPU 23-1 as the shared memory command output process (step S63).

其結果,第2存取暫時鎖存處理部32,會從共享記憶體21讀出和讀出位址對應之資料,並予以鎖存(步驟S64)。 As a result, the second access temporary latch processing unit 32 reads and reads the data corresponding to the address from the shared memory 21 and latches it (step S64).

接著,主MPU23-1從第2存取暫時鎖存處理 部32讀出讀出對象之資料,結束該T2階段中的處理(步驟S65)。 Next, the main MPU 23-1 temporarily latches the processing from the second access. The unit 32 reads the data to be read and ends the processing in the T2 phase (step S65).

步驟S61之判別中,當分析出的存取模式不為存取模式No.6的情形下(步驟S61;No),存取模式分析部33,判別分析出的存取模式是否為主MPU11A對共享記憶體21進行資料寫入,主MPU23-1對共享記憶體21不進行任何事之情形亦即存取模式No.7(步驟S71)。 In the determination of step S61, when the analyzed access mode is not the access mode No. 6 (step S61; No), the access mode analyzing unit 33 determines whether or not the analyzed access mode is the master MPU 11A pair. The shared memory 21 writes data, and the main MPU 23-1 does not perform any operation on the shared memory 21, that is, access mode No. 7 (step S71).

步驟S71之判別中,當分析出的存取模式為存取模式No.7的情形下(步驟S71;Yes),存取模式分析部33,於T2階段的第2副階段A1中,控制位址切換處理部34,將位址匯流排及資料匯流排切換至主MPU11A側(步驟S72)。 In the determination of step S71, when the analyzed access mode is the access mode No. 7 (step S71; Yes), the access mode analyzing unit 33, in the second sub-stage A1 of the T2 phase, the control bit The address switching processing unit 34 switches the address bus and the data bus to the main MPU 11A side (step S72).

如此一來,存取模式分析部33,便對共享記憶體21發出(輸出)和主MPU11A對應之共享記憶體寫入指令,以作為共享記憶體指令輸出處理(步驟S73)。 In this way, the access mode analysis unit 33 issues (outputs) the shared memory write command corresponding to the main MPU 11A to the shared memory 21 as the shared memory command output process (step S73).

其結果,第1存取暫時鎖存處理部31,會對共享記憶體21的和寫入位址對應之區域寫入主MPU11A之資料,結束該T2階段中的處理(步驟S74)。 As a result, the first access temporary latch processing unit 31 writes the data of the main MPU 11A to the area corresponding to the write address of the shared memory 21, and ends the processing in the T2 stage (step S74).

步驟S71之判別中,當分析出的存取模式不為存取模式No.7的情形下(步驟S71;No),存取模式分析部33,判別分析出的存取模式是否為主MPU23-1對共享記憶體21進行資料寫入,主MPU11A對共享記憶體21不進行任何事之情形亦即存取模式No.8(步驟 S81)。 In the determination of step S71, when the analyzed access mode is not the access mode No. 7 (step S71; No), the access mode analyzing unit 33 determines whether or not the analyzed access mode is the main MPU 23- 1 data is written to the shared memory 21, and the main MPU 11A does not perform anything on the shared memory 21, that is, access mode No. 8 (step S81).

步驟S81之判別中,當分析出的存取模式為存取模式No.8的情形下(步驟S81;Yes),存取模式分析部33,於T2階段的第2副階段A1中,控制位址切換處理部34,將位址匯流排及資料匯流排切換至主MPU23-1側(步驟S82)。 In the determination of step S81, when the analyzed access mode is the access mode No. 8 (step S81; Yes), the access mode analyzing unit 33, in the second sub-stage A1 of the T2 phase, the control bit The address switching processing unit 34 switches the address bus and the data bus to the main MPU 23-1 side (step S82).

如此一來,存取模式分析部33,便對共享記憶體21發出(輸出)和主MPU23-1對應之共享記憶體寫入指令,以作為共享記憶體指令輸出處理(步驟S83)。 In this manner, the access mode analysis unit 33 issues (outputs) the shared memory write command corresponding to the main MPU 23-1 to the shared memory 21 as the shared memory command output process (step S83).

其結果,第2存取暫時鎖存處理部32,會對共享記憶體21的和寫入位址對應之區域寫入主MPU23-1之資料,結束該T2階段中的處理(步驟S84)。 As a result, the second access temporary latch processing unit 32 writes the data of the main MPU 23-1 to the area corresponding to the write address of the shared memory 21, and ends the processing in the T2 stage (step S84).

步驟S81之判別中,當分析出的存取模式不為存取模式No.8的情形下(步驟S81;No),存取模式分析部33,訂定分析出的存取模式為主MPU23-1及主MPU11A的雙方均對共享記憶體21不進行任何事之情形亦即存取模式No.9,不進行任何事,結束該T2階段中的處理(步驟S91)。 In the determination of step S81, when the analyzed access mode is not the access mode No. 8 (step S81; No), the access mode analyzing unit 33 determines that the analyzed access mode is the main MPU23- 1 and both of the main MPUs 11A do not perform any operation on the shared memory 21, that is, access mode No. 9, and do nothing, and the processing in the T2 phase is terminated (step S91).

如以上說明般,按照本實施形態,同一存取階段(T1~T3階段)中,複數個主MPU,等價於對共享記憶體21同時做了存取,複數個主MPU不會被迫待機,以致於不會招致實效的處理速度之降低。 As described above, according to the present embodiment, in the same access phase (T1 to T3 phase), a plurality of master MPUs are equivalently accessed simultaneously to the shared memory 21, and a plurality of master MPUs are not forced to stand by. So that it will not lead to a reduction in the effective processing speed.

本實施形態之資訊處理裝置中執行之程式,是以可安裝之形式或可執行之形式的檔案被記錄CD- ROM、軟碟(FD)、CD-R、DVD(Digital Versatile Disk)等可藉由電腦讀出之記錄媒體來提供。 The program executed in the information processing apparatus of the present embodiment records the CD in an archive form in an installable form or in an executable form. A ROM, a floppy disk (FD), a CD-R, a DVD (Digital Versatile Disk), or the like can be provided by a recording medium read by a computer.

此外,亦可將本實施形態之資訊處理裝置中執行之程式,構成為存儲於連接到網際網路等網路之電腦上,並藉由令其經由網路下載來提供。此外,亦可將本實施形態之資訊處理裝置中執行之程式,構成為藉由經由網際網路等網路來提供或發佈。 Further, the program executed in the information processing apparatus of the present embodiment may be stored in a computer connected to a network such as the Internet, and provided by downloading it via the Internet. Further, the program executed in the information processing device of the present embodiment may be configured to be provided or distributed via a network such as the Internet.

此外,亦可將本實施形態之資訊處理裝置的程式,構成為事先納入ROM等來提供。 Further, the program of the information processing device of the present embodiment may be configured to be incorporated in a ROM or the like in advance.

以上已說明了本發明的幾個實施形態,但該些實施形態僅是提出作為例子,並非意圖限定發明之範圍。該些新穎的實施形態,可以其他各種形態來實施,在不脫離發明要旨之範圍內,可進行種種省略、置換、變更。該些實施形態或其變形,均包含於發明之範圍或要旨中,且包含於申請專利範圍所記載之發明及其均等範圍內。 The embodiments of the present invention have been described above, but are not intended to limit the scope of the invention. The present invention may be embodied in various other forms, and various omissions, substitutions and changes can be made without departing from the scope of the invention. The invention and its modifications are intended to be included within the scope of the invention and the scope of the invention.

10‧‧‧處理控制系統 10‧‧‧Processing Control System

11‧‧‧上位控制器 11‧‧‧Upper controller

11A、23-1~23-n‧‧‧主MPU 11A, 23-1~23-n‧‧‧Main MPU

12‧‧‧智慧型輸出入裝置 12‧‧‧Smart input and output device

13‧‧‧介面部 13‧‧‧ face

14‧‧‧通訊網路 14‧‧‧Communication network

21‧‧‧共享記憶體 21‧‧‧ shared memory

22‧‧‧調停控制電路 22‧‧‧Mediation control circuit

DEV1~DEVn‧‧‧被控制裝置 DEV1~DEVn‧‧‧ controlled device

I11~I1n‧‧‧輸出入介面 I11~I1n‧‧‧Import interface

I21~I2n‧‧‧(和被控制裝置DEV1~DEVn對應之)介面部 I21~I2n‧‧‧ (corresponding to the controlled devices DEV1~DEVn)

Claims (7)

一種資訊處理裝置,係控制對於n個(n:2以上之整數)MPU(micro processing unit;微處理單元)的共享記憶體之存取之資訊處理裝置,具備:控制部,於同一存取階段中,依據從前述n個MPU並行受理之對於前述共享記憶體之存取要求,分析對前述共享記憶體的存取模式,並以基於前述分析出的存取模式之順序,於前述存取階段內依序處理前述受理之m個(m:n以下之自然數)存取要求。 An information processing device is an information processing device that controls access to shared memory of n (n: 2 or more integers) MPU (micro processing unit), and includes a control unit at the same access stage. And analyzing an access mode to the shared memory according to an access request for the shared memory received from the n MPUs in parallel, and in the order of the access mode based on the analysis, in the access phase The m (m:n or less natural number) access requests accepted as described above are processed in order. 如申請專利範圍第1項所述之資訊處理裝置,其中,前述控制部,具備:複數個鎖存處理部,可分別存儲來自前述MPU之前述存取要求及和前述存取要求對應之資料;及存取模式分析部,依據從前述n個MPU並行受理之對於前述共享記憶體之存取要求,分析對前述共享記憶體之前述複數個MPU的存取模式;及指令輸出處理部,依據前述存取模式的分析結果,對前述共享記憶體進行存取指令之輸出。 The information processing device according to claim 1, wherein the control unit includes: a plurality of latch processing units that store the access request from the MPU and data corresponding to the access request; And the access mode analysis unit analyzes an access mode of the plurality of MPUs to the shared memory based on an access request for the shared memory received from the n MPUs in parallel; and an instruction output processing unit according to the foregoing As a result of the analysis of the access mode, an output of the access command is output to the shared memory. 如申請專利範圍第2項所述之資訊處理裝置,其中,前述控制部,具備:位址切換處理部,依據前述存取模式的分析結果,將和前述n個MPU當中身為處理對象之任一MPU的存取要 求對應之位址資料,輸出至前述共享記憶體;及資料切換處理部,依據前述存取模式的分析結果,將和前述n個MPU當中身為處理對象之任一MPU的存取要求對應之寫入資料,輸出至前述共享記憶體,或,將和前述n個MPU當中身為處理對象之任一MPU的存取要求對應之讀出資料,從前述共享記憶體讀出。 The information processing device according to claim 2, wherein the control unit includes: an address switching processing unit that performs processing with the n MPUs based on an analysis result of the access mode An MPU access And obtaining the corresponding address data and outputting to the shared memory; and the data switching processing unit is configured to correspond to an access request of any MPU that is the processing target among the n MPUs according to the analysis result of the access mode The data is written to the shared memory, or the read data corresponding to the access request of any MPU that is the processing target among the n MPUs is read from the shared memory. 如申請專利範圍第1項至第3項中任一項所述之資訊處理裝置,其中,前述存取階段,具備至少(n+1)個的副階段,前述控制部於前述存取階段的最初的副階段進行前述存取模式之分析,於剩下的n個副階段依序處理前述m個存取要求。 The information processing device according to any one of claims 1 to 3, wherein the access stage includes at least (n+1) sub-stages, and the control unit is in the access stage. The initial sub-stage analyzes the access patterns and processes the m access requests sequentially in the remaining n sub-stages. 如申請專利範圍第1項至第3項中任一項所述之資訊處理裝置,其中,前述n個MPU當中任一至少一者,為構成上位控制器之MPU,前述n個MPU當中,構成前述上位控制器之MPU以外的MPU,為構成該資訊處理裝置,並且在前述上位控制器的控制下分別控制對應之被控制裝置之MPU。 The information processing device according to any one of the preceding claims, wherein at least one of the n MPUs is an MPU constituting a higher-level controller, and among the n MPUs, The MPUs other than the MPU of the host controller are configured to control the MPU of the corresponding controlled device under the control of the upper controller. 一種方法,係控制對於n個(n:2以上之整數)MPU的共享記憶體之存取之資訊處理裝置中執行之方法,具備:於同一存取階段,從前述n個MPU並行受理對於前述共享記憶體之存取要求之過程;及 依據前述存取要求,分析對前述共享記憶體的存取模式之過程;及以基於前述分析出的存取模式之順序,於前述存取階段內依序處理前述受理之m個(m:n以下之自然數)存取要求之過程。 A method for controlling an information processing device for controlling access to shared memory of n (n: 2 or more integers) MPUs, comprising: simultaneously accepting from the n MPUs in parallel in the same access phase The process of sharing access requirements for memory; and And analyzing, according to the foregoing access requirement, a process of accessing the shared memory; and processing, in the order of the access mode according to the foregoing, the m received in the access phase (m:n The following natural number) process of access requirements. 一種程式,係對控制對於n個(n:2以上之整數)MPU的共享記憶體之存取之資訊處理裝置藉由電腦予以控制用之程式,令前述電腦作用成為:於同一存取階段,從前述n個MPU並行受理對於前述共享記憶體之存取要求之手段;及依據前述存取要求,分析對前述共享記憶體的存取模式之手段;及以基於前述分析出的存取模式之順序,於前述存取階段內依序處理前述受理之m個(m:n以下之自然數)存取要求之手段。 A program for controlling an information processing device for accessing shared memory of n (n: 2 or more integers) MPUs by a computer, so that the computer functions as: in the same access phase, Means for concurrently accepting access requests for the shared memory from the n MPUs; and means for analyzing an access mode to the shared memory according to the access request; and using an access mode based on the analysis In the order, the means for accepting m (m: n or less natural number) access requests are sequentially processed in the access phase.
TW105115986A 2015-07-10 2016-05-23 Information processing device, method, and program TW201706846A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015138974A JP2017021589A (en) 2015-07-10 2015-07-10 Information processing device, method and program

Publications (1)

Publication Number Publication Date
TW201706846A true TW201706846A (en) 2017-02-16

Family

ID=57758018

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105115986A TW201706846A (en) 2015-07-10 2016-05-23 Information processing device, method, and program

Country Status (6)

Country Link
JP (1) JP2017021589A (en)
KR (1) KR20180005205A (en)
CN (1) CN107636622A (en)
SG (1) SG11201800088RA (en)
TW (1) TW201706846A (en)
WO (1) WO2017010127A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102223912B1 (en) 2019-01-10 2021-03-08 한국전자통신연구원 Apparatus for recognition of letters using multiple neural networks and operating method thereof
CN111338243A (en) * 2020-02-21 2020-06-26 江苏大量度电气科技有限公司 Electrical equipment terminal intelligent control method and system
CN111984410A (en) * 2020-08-18 2020-11-24 上海睿赛德电子科技有限公司 Memory protection system with low resource occupation in embedded system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0333966A (en) * 1989-06-29 1991-02-14 Nec Corp Memory control circuit
JP2000194683A (en) * 1998-12-28 2000-07-14 Nec Kofu Ltd Arbitration circuit and method for shared memory

Also Published As

Publication number Publication date
CN107636622A (en) 2018-01-26
JP2017021589A (en) 2017-01-26
WO2017010127A1 (en) 2017-01-19
SG11201800088RA (en) 2018-02-27
KR20180005205A (en) 2018-01-15

Similar Documents

Publication Publication Date Title
CN108701081B (en) Apparatus and method for simultaneously accessing multiple partitions of a non-volatile memory
TW201706846A (en) Information processing device, method, and program
US7984310B2 (en) Controller, information processing apparatus and supply voltage control method
CN101861568B (en) Methods and systems for exchanging data
CN105321560A (en) Write driver, resistance variable memory apparatus including the same, and operation method
JP2005071370A (en) System and method for determining activity factor for circuit design
JP2007087284A (en) Memory interface control method in integrated circuit
US10572220B2 (en) Method for controlling controller and host computer with voice
US9684757B2 (en) Cross-hierarchy interconnect adjustment for power recovery
CN110874333A (en) Storage device and storage method
CN108762637A (en) Control method, apparatus and system
KR102084855B1 (en) Device for generating Hash chain and Method for generating Hash chain
KR100957224B1 (en) Method and system for controling flash memory using multiple data channel in SSD
JP2004185619A (en) System and method for switching clock source
JP7388759B2 (en) Power systems, processing methods, and programs
US20170227796A1 (en) Apparatus and method of controlling optical modulator bias based on eye-amplitude monitoring
EP3716062A1 (en) Method and system of generating microservices for cloud computing systems
US10572403B1 (en) Complex programmable logic device with capability of performing multi-address response and operation method thereof
KR20190048274A (en) Multiple Neural Network Configuration Method for Generating Multiple Analog Control Variables
JP2007087086A (en) Dma transfer system
KR20180080463A (en) Semiconductor device and method for operating the same
JP4622871B2 (en) Data processing system, access control method, apparatus thereof, and program thereof
JP2019050501A (en) General-purpose bus control method, general-purpose bus controller and general-purpose bus control program
JP2016151803A (en) Storage control device, storage control program, and storage control method
WO2021130876A1 (en) Generation apparatus, generation method, and program